Index: discovery/googleapis_beta/replicapool__v1beta2.json |
diff --git a/discovery/googleapis_beta/resourceviews__v1beta2.json b/discovery/googleapis_beta/replicapool__v1beta2.json |
similarity index 59% |
copy from discovery/googleapis_beta/resourceviews__v1beta2.json |
copy to discovery/googleapis_beta/replicapool__v1beta2.json |
index d1d1e8cb5056cddb4930e655878c616b0386c623..4ea6921378b78d828fbbc7a2bfd518b5879ae95b 100644 |
--- a/discovery/googleapis_beta/resourceviews__v1beta2.json |
+++ b/discovery/googleapis_beta/replicapool__v1beta2.json |
@@ -10,33 +10,27 @@ |
}, |
"https://www.googleapis.com/auth/compute.readonly": { |
"description": "View your Google Compute Engine resources" |
- }, |
- "https://www.googleapis.com/auth/ndev.cloudman": { |
- "description": "View and manage your Google Cloud Platform management resources and deployment status information" |
- }, |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly": { |
- "description": "View your Google Cloud Platform management resources and deployment status information" |
} |
} |
} |
}, |
- "basePath": "/resourceviews/v1beta2/projects/", |
- "baseUrl": "https://www.googleapis.com/resourceviews/v1beta2/projects/", |
+ "basePath": "/replicapool/v1beta2/projects/", |
+ "baseUrl": "https://www.googleapis.com/replicapool/v1beta2/projects/", |
"batchPath": "batch", |
- "description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.", |
+ "description": "The Google Compute Engine Instance Group Manager API provides groups of homogenous Compute Engine Instances.", |
"discoveryVersion": "v1", |
- "documentationLink": "https://developers.google.com/compute/", |
- "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/h07P0KWaqrcoR1sKo_9XnasKmIs\"", |
+ "documentationLink": "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2", |
+ "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/o8KVD2TZK8SqQA452IHtm6GW-J8\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
}, |
- "id": "resourceviews:v1beta2", |
+ "id": "replicapool:v1beta2", |
"kind": "discovery#restDescription", |
"labels": [ |
"limited_availability" |
], |
- "name": "resourceviews", |
+ "name": "replicapool", |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
@@ -86,577 +80,726 @@ |
}, |
"protocol": "rest", |
"resources": { |
- "zoneOperations": { |
+ "instanceGroupManagers": { |
"methods": { |
- "get": { |
- "description": "Retrieves the specified zone-specific operation resource.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneOperations.get", |
+ "abandonInstances": { |
+ "description": "Removes the specified instances from the managed instance group, and from any target pools of which they were members, without deleting the instances.", |
+ "httpMethod": "POST", |
+ "id": "replicapool.instanceGroupManagers.abandonInstances", |
"parameterOrder": [ |
"project", |
"zone", |
- "operation" |
+ "instanceGroupManager" |
], |
"parameters": { |
- "operation": { |
- "description": "Name of the operation resource to return.", |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
"location": "path", |
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
"project": { |
- "description": "Name of the project scoping this request.", |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "Name of the zone scoping this request.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/operations/{operation}", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", |
+ "request": { |
+ "$ref": "InstanceGroupManagersAbandonInstancesRequest" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/compute.readonly", |
- "https://www.googleapis.com/auth/ndev.cloudman", |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "list": { |
- "description": "Retrieves the list of operation resources contained within the specified zone.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneOperations.list", |
+ "delete": { |
+ "description": "Deletes the instance group manager and all instances contained within. If you'd like to delete the manager without deleting the instances, you must first abandon the instances to remove them from the group.", |
+ "httpMethod": "DELETE", |
+ "id": "replicapool.instanceGroupManagers.delete", |
"parameterOrder": [ |
"project", |
- "zone" |
+ "zone", |
+ "instanceGroupManager" |
], |
"parameters": { |
- "filter": { |
- "description": "Optional. Filter expression for filtering listed resources.", |
- "location": "query", |
- "type": "string" |
- }, |
- "maxResults": { |
- "default": "500", |
- "description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.", |
- "format": "uint32", |
- "location": "query", |
- "maximum": "500", |
- "minimum": "0", |
- "type": "integer" |
- }, |
- "pageToken": { |
- "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.", |
- "location": "query", |
+ "instanceGroupManager": { |
+ "description": "Name of the Instance Group Manager resource to delete.", |
+ "location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
+ "required": true, |
"type": "string" |
}, |
"project": { |
- "description": "Name of the project scoping this request.", |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "Name of the zone scoping this request.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/operations", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", |
"response": { |
- "$ref": "OperationList" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/compute.readonly", |
- "https://www.googleapis.com/auth/ndev.cloudman", |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
+ "https://www.googleapis.com/auth/compute" |
] |
- } |
- } |
- }, |
- "zoneViews": { |
- "methods": { |
- "addResources": { |
- "description": "Add resources to the view.", |
+ }, |
+ "deleteInstances": { |
+ "description": "Deletes the specified instances. The instances are removed from the instance group and any target pools of which they are a member, then deleted. The targetSize of the instance group manager is reduced by the number of instances deleted.", |
"httpMethod": "POST", |
- "id": "resourceviews.zoneViews.addResources", |
+ "id": "replicapool.instanceGroupManagers.deleteInstances", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "instanceGroupManager" |
], |
"parameters": { |
- "project": { |
- "description": "The project name of the resource view.", |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}/addResources", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", |
"request": { |
- "$ref": "ZoneViewsAddResourcesRequest" |
+ "$ref": "InstanceGroupManagersDeleteInstancesRequest" |
}, |
"response": { |
"$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "delete": { |
- "description": "Delete a resource view.", |
- "httpMethod": "DELETE", |
- "id": "resourceviews.zoneViews.delete", |
+ "get": { |
+ "description": "Returns the specified Instance Group Manager resource.", |
+ "httpMethod": "GET", |
+ "id": "replicapool.instanceGroupManagers.get", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "instanceGroupManager" |
], |
"parameters": { |
- "project": { |
- "description": "The project name of the resource view.", |
+ "instanceGroupManager": { |
+ "description": "Name of the instance resource to return.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "InstanceGroupManager" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute.readonly" |
] |
}, |
- "get": { |
- "description": "Get the information of a zonal resource view.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneViews.get", |
+ "insert": { |
+ "description": "Creates an instance group manager, as well as the instance group and the specified number of instances.", |
+ "httpMethod": "POST", |
+ "id": "replicapool.instanceGroupManagers.insert", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "size" |
], |
"parameters": { |
"project": { |
- "description": "The project name of the resource view.", |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
- "location": "path", |
+ "size": { |
+ "description": "Number of instances that should exist.", |
+ "format": "int32", |
+ "location": "query", |
+ "minimum": "0", |
"required": true, |
- "type": "string" |
+ "type": "integer" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers", |
+ "request": { |
+ "$ref": "InstanceGroupManager" |
+ }, |
"response": { |
- "$ref": "ResourceView" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/compute.readonly", |
- "https://www.googleapis.com/auth/ndev.cloudman", |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "getService": { |
- "description": "Get the service information of a resource view or a resource.", |
- "httpMethod": "POST", |
- "id": "resourceviews.zoneViews.getService", |
+ "list": { |
+ "description": "Retrieves the list of Instance Group Manager resources contained within the specified zone.", |
+ "httpMethod": "GET", |
+ "id": "replicapool.instanceGroupManagers.list", |
"parameterOrder": [ |
"project", |
- "zone", |
- "resourceView" |
+ "zone" |
], |
"parameters": { |
- "project": { |
- "description": "The project name of the resource view.", |
- "location": "path", |
- "required": true, |
+ "filter": { |
+ "description": "Optional. Filter expression for filtering listed resources.", |
+ "location": "query", |
"type": "string" |
}, |
- "resourceName": { |
- "description": "The name of the resource if user wants to get the service information of the resource.", |
+ "maxResults": { |
+ "default": "500", |
+ "description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.", |
+ "format": "uint32", |
+ "location": "query", |
+ "maximum": "500", |
+ "minimum": "0", |
+ "type": "integer" |
+ }, |
+ "pageToken": { |
+ "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.", |
"location": "query", |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}/getService", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers", |
"response": { |
- "$ref": "ZoneViewsGetServiceResponse" |
+ "$ref": "InstanceGroupManagerList" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute.readonly" |
] |
}, |
- "insert": { |
- "description": "Create a resource view.", |
+ "recreateInstances": { |
+ "description": "Recreates the specified instances. The instances are deleted, then recreated using the instance group manager's current instance template.", |
"httpMethod": "POST", |
- "id": "resourceviews.zoneViews.insert", |
+ "id": "replicapool.instanceGroupManagers.recreateInstances", |
"parameterOrder": [ |
"project", |
- "zone" |
+ "zone", |
+ "instanceGroupManager" |
], |
"parameters": { |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
+ "location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
+ "required": true, |
+ "type": "string" |
+ }, |
"project": { |
- "description": "The project name of the resource view.", |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", |
"request": { |
- "$ref": "ResourceView" |
+ "$ref": "InstanceGroupManagersRecreateInstancesRequest" |
}, |
"response": { |
"$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "list": { |
- "description": "List resource views.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneViews.list", |
+ "resize": { |
+ "description": "Resizes the managed instance group up or down. If resized up, new instances are created using the current instance template. If resized down, instances are removed in the order outlined in Resizing a managed instance group.", |
+ "httpMethod": "POST", |
+ "id": "replicapool.instanceGroupManagers.resize", |
"parameterOrder": [ |
"project", |
- "zone" |
+ "zone", |
+ "instanceGroupManager", |
+ "size" |
], |
"parameters": { |
- "maxResults": { |
- "default": "5000", |
- "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", |
- "format": "int32", |
- "location": "query", |
- "maximum": "5000", |
- "minimum": "0", |
- "type": "integer" |
- }, |
- "pageToken": { |
- "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.", |
- "location": "query", |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
+ "location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
+ "required": true, |
"type": "string" |
}, |
"project": { |
- "description": "The project name of the resource view.", |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
+ "size": { |
+ "description": "Number of instances that should exist in this Instance Group Manager.", |
+ "format": "int32", |
+ "location": "query", |
+ "minimum": "0", |
+ "required": true, |
+ "type": "integer" |
+ }, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", |
"response": { |
- "$ref": "ZoneViewsList" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/compute.readonly", |
- "https://www.googleapis.com/auth/ndev.cloudman", |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "listResources": { |
- "description": "List the resources of the resource view.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneViews.listResources", |
+ "setInstanceTemplate": { |
+ "description": "Sets the instance template to use when creating new instances in this group. Existing instances are not affected.", |
+ "httpMethod": "POST", |
+ "id": "replicapool.instanceGroupManagers.setInstanceTemplate", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "instanceGroupManager" |
], |
"parameters": { |
- "format": { |
- "description": "The requested format of the return value. It can be URL or URL_PORT. A JSON object will be included in the response based on the format. The default format is NONE, which results in no JSON in the response.", |
- "enum": [ |
- "NONE", |
- "URL", |
- "URL_PORT" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
- "listState": { |
- "default": "ALL", |
- "description": "The state of the instance to list. By default, it lists all instances.", |
- "enum": [ |
- "ALL", |
- "RUNNING" |
- ], |
- "enumDescriptions": [ |
- "", |
- "" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
- "maxResults": { |
- "default": "5000", |
- "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", |
- "format": "int32", |
- "location": "query", |
- "maximum": "5000", |
- "minimum": "0", |
- "type": "integer" |
- }, |
- "pageToken": { |
- "description": "Specifies a nextPageToken returned by a previous list request. This token can be used to request the next page of results from a previous list request.", |
- "location": "query", |
- "type": "string" |
- }, |
- "project": { |
- "description": "The project name of the resource view.", |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
- "serviceName": { |
- "description": "The service name to return in the response. It is optional and if it is not set, all the service end points will be returned.", |
- "location": "query", |
- "type": "string" |
- }, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}/resources", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", |
+ "request": { |
+ "$ref": "InstanceGroupManagersSetInstanceTemplateRequest" |
+ }, |
"response": { |
- "$ref": "ZoneViewsListResourcesResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/compute.readonly", |
- "https://www.googleapis.com/auth/ndev.cloudman", |
- "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
+ "https://www.googleapis.com/auth/compute" |
] |
}, |
- "removeResources": { |
- "description": "Remove resources from the view.", |
+ "setTargetPools": { |
+ "description": "Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.", |
"httpMethod": "POST", |
- "id": "resourceviews.zoneViews.removeResources", |
+ "id": "replicapool.instanceGroupManagers.setTargetPools", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "instanceGroupManager" |
], |
"parameters": { |
- "project": { |
- "description": "The project name of the resource view.", |
+ "instanceGroupManager": { |
+ "description": "The name of the instance group manager.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "The Google Developers Console project name.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "The name of the zone in which the instance group manager resides.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}/removeResources", |
+ "path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", |
"request": { |
- "$ref": "ZoneViewsRemoveResourcesRequest" |
+ "$ref": "InstanceGroupManagersSetTargetPoolsRequest" |
}, |
"response": { |
"$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute" |
] |
- }, |
- "setService": { |
- "description": "Update the service information of a resource view or a resource.", |
- "httpMethod": "POST", |
- "id": "resourceviews.zoneViews.setService", |
+ } |
+ } |
+ }, |
+ "zoneOperations": { |
+ "methods": { |
+ "get": { |
+ "description": "Retrieves the specified zone-specific operation resource.", |
+ "httpMethod": "GET", |
+ "id": "replicapool.zoneOperations.get", |
"parameterOrder": [ |
"project", |
"zone", |
- "resourceView" |
+ "operation" |
], |
"parameters": { |
- "project": { |
- "description": "The project name of the resource view.", |
+ "operation": { |
+ "description": "Name of the operation resource to return.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
}, |
- "resourceView": { |
- "description": "The name of the resource view.", |
+ "project": { |
+ "description": "Name of the project scoping this request.", |
"location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The zone name of the resource view.", |
+ "description": "Name of the zone scoping this request.", |
"location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{project}/zones/{zone}/resourceViews/{resourceView}/setService", |
- "request": { |
- "$ref": "ZoneViewsSetServiceRequest" |
- }, |
+ "path": "{project}/zones/{zone}/operations/{operation}", |
"response": { |
"$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
+ "https://www.googleapis.com/auth/compute" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Retrieves the list of operation resources contained within the specified zone.", |
+ "httpMethod": "GET", |
+ "id": "replicapool.zoneOperations.list", |
+ "parameterOrder": [ |
+ "project", |
+ "zone" |
+ ], |
+ "parameters": { |
+ "filter": { |
+ "description": "Optional. Filter expression for filtering listed resources.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "maxResults": { |
+ "default": "500", |
+ "description": "Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.", |
+ "format": "uint32", |
+ "location": "query", |
+ "maximum": "500", |
+ "minimum": "0", |
+ "type": "integer" |
+ }, |
+ "pageToken": { |
+ "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "project": { |
+ "description": "Name of the project scoping this request.", |
+ "location": "path", |
+ "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "zone": { |
+ "description": "Name of the zone scoping this request.", |
+ "location": "path", |
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "{project}/zones/{zone}/operations", |
+ "response": { |
+ "$ref": "OperationList" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/compute" |
] |
} |
} |
} |
}, |
- "revision": "20140904", |
+ "revision": "20141002", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
- "Label": { |
- "description": "The Label to be applied to the resource views.", |
- "id": "Label", |
+ "InstanceGroupManager": { |
+ "description": "An Instance Group Manager resource.", |
+ "id": "InstanceGroupManager", |
"properties": { |
- "key": { |
- "description": "Key of the label.", |
+ "baseInstanceName": { |
+ "description": "The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.", |
+ "type": "string" |
+ }, |
+ "creationTimestamp": { |
+ "description": "[Output only] The time the instance group manager was created, in RFC3339 text format.", |
+ "type": "string" |
+ }, |
+ "currentSize": { |
+ "description": "[Output only] The number of instances that currently exist and are a part of this group. This includes instances that are starting but are not yet RUNNING, and instances that are in the process of being deleted or abandoned.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "description": { |
+ "description": "An optional textual description of the instance group manager.", |
+ "type": "string" |
+ }, |
+ "fingerprint": { |
+ "description": "[Output only] Fingerprint of the instance group manager. This field is used for optimistic locking. An up-to-date fingerprint must be provided in order to modify the Instance Group Manager resource.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "group": { |
+ "description": "[Output only] The full URL of the instance group created by the manager. This group contains all of the instances being managed, and cannot contain non-managed instances.", |
+ "type": "string" |
+ }, |
+ "id": { |
+ "description": "[Output only] A server-assigned unique identifier for the resource.", |
+ "format": "uint64", |
"type": "string" |
}, |
- "value": { |
- "description": "Value of the label.", |
+ "instanceTemplate": { |
+ "description": "The full URL to an instance template from which all new instances will be created.", |
"type": "string" |
+ }, |
+ "kind": { |
+ "default": "replicapool#instanceGroupManager", |
+ "description": "[Output only] The resource type. Always replicapool#instanceGroupManager.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The name of the instance group manager. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.", |
+ "type": "string" |
+ }, |
+ "selfLink": { |
+ "description": "[Output only] The fully qualified URL for this resource.", |
+ "type": "string" |
+ }, |
+ "targetPools": { |
+ "description": "The full URL of all target pools to which new instances in the group are added. Updating the target pool values does not affect existing instances.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "targetSize": { |
+ "description": "[Output only] The number of instances that the manager is attempting to maintain. Deleting or abandoning instances affects this number, as does resizing the group.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "ListResourceResponseItem": { |
- "description": "The list response item that contains the resource and end points information.", |
- "id": "ListResourceResponseItem", |
+ "InstanceGroupManagerList": { |
+ "id": "InstanceGroupManagerList", |
"properties": { |
- "endpoints": { |
- "additionalProperties": { |
- "description": "The name of the service end point.", |
- "items": { |
- "format": "int32", |
- "type": "integer" |
- }, |
- "type": "array" |
+ "id": { |
+ "description": "Unique identifier for the resource; defined by the server (output only).", |
+ "type": "string" |
+ }, |
+ "items": { |
+ "description": "A list of instance resources.", |
+ "items": { |
+ "$ref": "InstanceGroupManager" |
}, |
- "description": "The list of service end points on the resource.", |
- "type": "object" |
+ "type": "array" |
+ }, |
+ "kind": { |
+ "default": "replicapool#instanceGroupManagerList", |
+ "description": "Type of resource.", |
+ "type": "string" |
+ }, |
+ "nextPageToken": { |
+ "description": "A token used to continue a truncated list request (output only).", |
+ "type": "string" |
}, |
- "resource": { |
- "description": "The full URL of the resource.", |
+ "selfLink": { |
+ "description": "Server defined URL for this resource (output only).", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
+ "InstanceGroupManagersAbandonInstancesRequest": { |
+ "id": "InstanceGroupManagersAbandonInstancesRequest", |
+ "properties": { |
+ "instances": { |
+ "description": "The names of one or more instances to abandon. For example:\n{ 'instances': [ 'instance-c3po', 'instance-r2d2' ] }", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "InstanceGroupManagersDeleteInstancesRequest": { |
+ "id": "InstanceGroupManagersDeleteInstancesRequest", |
+ "properties": { |
+ "instances": { |
+ "description": "Names of instances to delete.\n\nExample: 'instance-foo', 'instance-bar'", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "InstanceGroupManagersRecreateInstancesRequest": { |
+ "id": "InstanceGroupManagersRecreateInstancesRequest", |
+ "properties": { |
+ "instances": { |
+ "description": "The names of one or more instances to recreate. For example:\n{ 'instances': [ 'instance-c3po', 'instance-r2d2' ] }", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "InstanceGroupManagersSetInstanceTemplateRequest": { |
+ "id": "InstanceGroupManagersSetInstanceTemplateRequest", |
+ "properties": { |
+ "instanceTemplate": { |
+ "description": "The full URL to an Instance Template from which all new instances will be created.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "InstanceGroupManagersSetTargetPoolsRequest": { |
+ "id": "InstanceGroupManagersSetTargetPoolsRequest", |
+ "properties": { |
+ "fingerprint": { |
+ "description": "The current fingerprint of the Instance Group Manager resource. If this does not match the server-side fingerprint of the resource, then the request will be rejected.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "targetPools": { |
+ "description": "A list of fully-qualified URLs to existing Target Pool resources. New instances in the Instance Group Manager will be added to the specified target pools; existing instances are not affected.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Operation": { |
"description": "An operation resource, used to manage asynchronous API requests.", |
"id": "Operation", |
@@ -719,7 +862,7 @@ |
"type": "string" |
}, |
"kind": { |
- "default": "resourceviews#operation", |
+ "default": "replicapool#operation", |
"description": "[Output only] Type of the resource.", |
"type": "string" |
}, |
@@ -750,6 +893,16 @@ |
}, |
"status": { |
"description": "[Output Only] Status of the operation.", |
+ "enum": [ |
+ "DONE", |
+ "PENDING", |
+ "RUNNING" |
+ ], |
+ "enumDescriptions": [ |
+ "", |
+ "", |
+ "" |
+ ], |
"type": "string" |
}, |
"statusMessage": { |
@@ -775,6 +928,34 @@ |
"properties": { |
"code": { |
"description": "[Output only] The warning type identifier for this warning.", |
+ "enum": [ |
+ "DEPRECATED_RESOURCE_USED", |
+ "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", |
+ "INJECTED_KERNELS_DEPRECATED", |
+ "NEXT_HOP_ADDRESS_NOT_ASSIGNED", |
+ "NEXT_HOP_CANNOT_IP_FORWARD", |
+ "NEXT_HOP_INSTANCE_NOT_FOUND", |
+ "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", |
+ "NEXT_HOP_NOT_RUNNING", |
+ "NO_RESULTS_ON_PAGE", |
+ "REQUIRED_TOS_AGREEMENT", |
+ "RESOURCE_NOT_DELETED", |
+ "UNREACHABLE" |
+ ], |
+ "enumDescriptions": [ |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "", |
+ "" |
+ ], |
"type": "string" |
}, |
"data": { |
@@ -825,7 +1006,7 @@ |
"type": "array" |
}, |
"kind": { |
- "default": "resourceviews#operationList", |
+ "default": "replicapool#operationList", |
"description": "Type of resource.", |
"type": "string" |
}, |
@@ -839,206 +1020,9 @@ |
} |
}, |
"type": "object" |
- }, |
- "ResourceView": { |
- "description": "The resource view object.", |
- "id": "ResourceView", |
- "properties": { |
- "creationTimestamp": { |
- "description": "The creation time of the resource view.", |
- "type": "string" |
- }, |
- "description": { |
- "description": "The detailed description of the resource view.", |
- "type": "string" |
- }, |
- "endpoints": { |
- "description": "Services endpoint information.", |
- "items": { |
- "$ref": "ServiceEndpoint" |
- }, |
- "type": "array" |
- }, |
- "fingerprint": { |
- "description": "The fingerprint of the service endpoint information.", |
- "type": "string" |
- }, |
- "id": { |
- "description": "[Output Only] The ID of the resource view.", |
- "type": "string" |
- }, |
- "kind": { |
- "default": "resourceviews#resourceView", |
- "description": "Type of the resource.", |
- "type": "string" |
- }, |
- "labels": { |
- "description": "The labels for events.", |
- "items": { |
- "$ref": "Label" |
- }, |
- "type": "array" |
- }, |
- "name": { |
- "description": "The name of the resource view.", |
- "type": "string" |
- }, |
- "network": { |
- "description": "The URL of a Compute Engine network to which the resources in the view belong.", |
- "type": "string" |
- }, |
- "resources": { |
- "description": "A list of all resources in the resource view.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "selfLink": { |
- "description": "[Output Only] A self-link to the resource view.", |
- "type": "string" |
- }, |
- "size": { |
- "description": "The total number of resources in the resource view.", |
- "format": "uint32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "ServiceEndpoint": { |
- "description": "The service endpoint that may be started in a VM.", |
- "id": "ServiceEndpoint", |
- "properties": { |
- "name": { |
- "description": "The name of the service endpoint.", |
- "type": "string" |
- }, |
- "port": { |
- "description": "The port of the service endpoint.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsAddResourcesRequest": { |
- "description": "The request to add resources to the resource view.", |
- "id": "ZoneViewsAddResourcesRequest", |
- "properties": { |
- "resources": { |
- "description": "The list of resources to be added.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsGetServiceResponse": { |
- "id": "ZoneViewsGetServiceResponse", |
- "properties": { |
- "endpoints": { |
- "description": "The service information.", |
- "items": { |
- "$ref": "ServiceEndpoint" |
- }, |
- "type": "array" |
- }, |
- "fingerprint": { |
- "description": "The fingerprint of the service information.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsList": { |
- "description": "The response to a list request.", |
- "id": "ZoneViewsList", |
- "properties": { |
- "items": { |
- "description": "The result that contains all resource views that meet the criteria.", |
- "items": { |
- "$ref": "ResourceView" |
- }, |
- "type": "array" |
- }, |
- "kind": { |
- "default": "resourceviews#zoneViewsList", |
- "description": "Type of resource.", |
- "type": "string" |
- }, |
- "nextPageToken": { |
- "description": "A token used for pagination.", |
- "type": "string" |
- }, |
- "selfLink": { |
- "description": "Server defined URL for this resource (output only).", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsListResourcesResponse": { |
- "description": "The response to a list resource request.", |
- "id": "ZoneViewsListResourcesResponse", |
- "properties": { |
- "items": { |
- "description": "The formatted JSON that is requested by the user.", |
- "items": { |
- "$ref": "ListResourceResponseItem" |
- }, |
- "type": "array" |
- }, |
- "network": { |
- "description": "The URL of a Compute Engine network to which the resources in the view belong.", |
- "type": "string" |
- }, |
- "nextPageToken": { |
- "description": "A token used for pagination.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsRemoveResourcesRequest": { |
- "description": "The request to remove resources from the resource view.", |
- "id": "ZoneViewsRemoveResourcesRequest", |
- "properties": { |
- "resources": { |
- "description": "The list of resources to be removed.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ZoneViewsSetServiceRequest": { |
- "id": "ZoneViewsSetServiceRequest", |
- "properties": { |
- "endpoints": { |
- "description": "The service information to be updated.", |
- "items": { |
- "$ref": "ServiceEndpoint" |
- }, |
- "type": "array" |
- }, |
- "fingerprint": { |
- "description": "Fingerprint of the service information; a hash of the contents. This field is used for optimistic locking when updating the service entries.", |
- "type": "string" |
- }, |
- "resourceName": { |
- "description": "The name of the resource if user wants to update the service information of the resource.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
- "servicePath": "resourceviews/v1beta2/projects/", |
- "title": "Resource Views API", |
+ "servicePath": "replicapool/v1beta2/projects/", |
+ "title": "Google Compute Engine Instance Group Manager API", |
"version": "v1beta2" |
} |