Index: discovery/googleapis_beta/resourceviews__v1beta2.json |
diff --git a/discovery/googleapis_beta/resourceviews__v1beta1.json b/discovery/googleapis_beta/resourceviews__v1beta2.json |
similarity index 57% |
copy from discovery/googleapis_beta/resourceviews__v1beta1.json |
copy to discovery/googleapis_beta/resourceviews__v1beta2.json |
index 908d2449aa0af131880ede04918a3f76d19cc4e7..652f23e3aa5a5791fff95d1182158524b7c41baa 100644 |
--- a/discovery/googleapis_beta/resourceviews__v1beta1.json |
+++ b/discovery/googleapis_beta/resourceviews__v1beta2.json |
@@ -20,18 +20,18 @@ |
} |
} |
}, |
- "basePath": "/resourceviews/v1beta1/projects/", |
- "baseUrl": "https://www.googleapis.com/resourceviews/v1beta1/projects/", |
+ "basePath": "/resourceviews/v1beta2/projects/", |
+ "baseUrl": "https://www.googleapis.com/resourceviews/v1beta2/projects/", |
"batchPath": "batch", |
"description": "The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/compute/", |
- "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", |
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/h07P0KWaqrcoR1sKo_9XnasKmIs\"", |
"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:v1beta1", |
+ "id": "resourceviews:v1beta2", |
"kind": "discovery#restDescription", |
"labels": [ |
"limited_availability" |
@@ -86,115 +86,43 @@ |
}, |
"protocol": "rest", |
"resources": { |
- "regionViews": { |
+ "zoneOperations": { |
"methods": { |
- "addresources": { |
- "description": "Add resources to the view.", |
- "httpMethod": "POST", |
- "id": "resourceviews.regionViews.addresources", |
- "parameterOrder": [ |
- "projectName", |
- "region", |
- "resourceViewName" |
- ], |
- "parameters": { |
- "projectName": { |
- "description": "The project name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "region": { |
- "description": "The region name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "resourceViewName": { |
- "description": "The name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources", |
- "request": { |
- "$ref": "RegionViewsAddResourcesRequest" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
- ] |
- }, |
- "delete": { |
- "description": "Delete a resource view.", |
- "httpMethod": "DELETE", |
- "id": "resourceviews.regionViews.delete", |
- "parameterOrder": [ |
- "projectName", |
- "region", |
- "resourceViewName" |
- ], |
- "parameters": { |
- "projectName": { |
- "description": "The project name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "region": { |
- "description": "The region name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "resourceViewName": { |
- "description": "The name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}", |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
- ] |
- }, |
"get": { |
- "description": "Get the information of a resource view.", |
+ "description": "Retrieves the specified zone-specific operation resource.", |
"httpMethod": "GET", |
- "id": "resourceviews.regionViews.get", |
+ "id": "resourceviews.zoneOperations.get", |
"parameterOrder": [ |
- "projectName", |
- "region", |
- "resourceViewName" |
+ "project", |
+ "zone", |
+ "operation" |
], |
"parameters": { |
- "projectName": { |
- "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" |
}, |
- "region": { |
- "description": "The region 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" |
}, |
- "resourceViewName": { |
- "description": "The name of the resource view.", |
+ "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": "{projectName}/regions/{region}/resourceViews/{resourceViewName}", |
+ "path": "{project}/zones/{zone}/operations/{operation}", |
"response": { |
- "$ref": "ResourceView" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -204,135 +132,52 @@ |
"https://www.googleapis.com/auth/ndev.cloudman.readonly" |
] |
}, |
- "insert": { |
- "description": "Create a resource view.", |
- "httpMethod": "POST", |
- "id": "resourceviews.regionViews.insert", |
- "parameterOrder": [ |
- "projectName", |
- "region" |
- ], |
- "parameters": { |
- "projectName": { |
- "description": "The project name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "region": { |
- "description": "The region name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectName}/regions/{region}/resourceViews", |
- "request": { |
- "$ref": "ResourceView" |
- }, |
- "response": { |
- "$ref": "RegionViewsInsertResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/compute", |
- "https://www.googleapis.com/auth/ndev.cloudman" |
- ] |
- }, |
"list": { |
- "description": "List resource views.", |
+ "description": "Retrieves the list of operation resources contained within the specified zone.", |
"httpMethod": "GET", |
- "id": "resourceviews.regionViews.list", |
+ "id": "resourceviews.zoneOperations.list", |
"parameterOrder": [ |
- "projectName", |
- "region" |
+ "project", |
+ "zone" |
], |
"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.", |
+ "filter": { |
+ "description": "Optional. Filter expression for filtering listed resources.", |
"location": "query", |
"type": "string" |
}, |
- "projectName": { |
- "description": "The project name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "region": { |
- "description": "The region name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectName}/regions/{region}/resourceViews", |
- "response": { |
- "$ref": "RegionViewsListResponse" |
- }, |
- "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" |
- ] |
- }, |
- "listresources": { |
- "description": "List the resources in the view.", |
- "httpMethod": "POST", |
- "id": "resourceviews.regionViews.listresources", |
- "parameterOrder": [ |
- "projectName", |
- "region", |
- "resourceViewName" |
- ], |
- "parameters": { |
"maxResults": { |
- "default": "5000", |
- "description": "Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default: 5000)", |
- "format": "int32", |
+ "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": "5000", |
+ "maximum": "500", |
"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.", |
+ "description": "Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.", |
"location": "query", |
"type": "string" |
}, |
- "projectName": { |
- "description": "The project 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" |
}, |
- "region": { |
- "description": "The region name of the resource view.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "resourceViewName": { |
- "description": "The name of the resource view.", |
+ "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": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources", |
+ "path": "{project}/zones/{zone}/operations", |
"response": { |
- "$ref": "RegionViewsListResourcesResponse" |
+ "$ref": "OperationList" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -341,67 +186,70 @@ |
"https://www.googleapis.com/auth/ndev.cloudman", |
"https://www.googleapis.com/auth/ndev.cloudman.readonly" |
] |
- }, |
- "removeresources": { |
- "description": "Remove resources from the view.", |
+ } |
+ } |
+ }, |
+ "zoneViews": { |
+ "methods": { |
+ "addResources": { |
+ "description": "Add resources to the view.", |
"httpMethod": "POST", |
- "id": "resourceviews.regionViews.removeresources", |
+ "id": "resourceviews.zoneViews.addResources", |
"parameterOrder": [ |
- "projectName", |
- "region", |
- "resourceViewName" |
+ "project", |
+ "zone", |
+ "resourceView" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "region": { |
- "description": "The region name of the resource view.", |
+ "resourceView": { |
+ "description": "The name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
- "description": "The name of the resource view.", |
+ "zone": { |
+ "description": "The zone name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources", |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/addResources", |
"request": { |
- "$ref": "RegionViewsRemoveResourcesRequest" |
+ "$ref": "ZoneViewsAddResourcesRequest" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/compute", |
"https://www.googleapis.com/auth/ndev.cloudman" |
] |
- } |
- } |
- }, |
- "zoneViews": { |
- "methods": { |
- "addresources": { |
- "description": "Add resources to the view.", |
- "httpMethod": "POST", |
- "id": "resourceviews.zoneViews.addresources", |
+ }, |
+ "delete": { |
+ "description": "Delete a resource view.", |
+ "httpMethod": "DELETE", |
+ "id": "resourceviews.zoneViews.delete", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone", |
- "resourceViewName" |
+ "resourceView" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
+ "resourceView": { |
"description": "The name of the resource view.", |
"location": "path", |
"required": true, |
@@ -414,9 +262,9 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources", |
- "request": { |
- "$ref": "ZoneViewsAddResourcesRequest" |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}", |
+ "response": { |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -424,23 +272,23 @@ |
"https://www.googleapis.com/auth/ndev.cloudman" |
] |
}, |
- "delete": { |
- "description": "Delete a resource view.", |
- "httpMethod": "DELETE", |
- "id": "resourceviews.zoneViews.delete", |
+ "get": { |
+ "description": "Get the information of a zonal resource view.", |
+ "httpMethod": "GET", |
+ "id": "resourceviews.zoneViews.get", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone", |
- "resourceViewName" |
+ "resourceView" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
+ "resourceView": { |
"description": "The name of the resource view.", |
"location": "path", |
"required": true, |
@@ -453,30 +301,40 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}", |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}", |
+ "response": { |
+ "$ref": "ResourceView" |
+ }, |
"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", |
+ "https://www.googleapis.com/auth/ndev.cloudman", |
+ "https://www.googleapis.com/auth/ndev.cloudman.readonly" |
] |
}, |
- "get": { |
- "description": "Get the information of a zonal resource view.", |
- "httpMethod": "GET", |
- "id": "resourceviews.zoneViews.get", |
+ "getService": { |
+ "description": "Get the service information of a resource view or a resource.", |
+ "httpMethod": "POST", |
+ "id": "resourceviews.zoneViews.getService", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone", |
- "resourceViewName" |
+ "resourceView" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
+ "resourceName": { |
+ "description": "The name of the resource if user wants to get the service information of the resource.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "resourceView": { |
"description": "The name of the resource view.", |
"location": "path", |
"required": true, |
@@ -489,16 +347,14 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}", |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/getService", |
"response": { |
- "$ref": "ResourceView" |
+ "$ref": "ZoneViewsGetServiceResponse" |
}, |
"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/ndev.cloudman" |
] |
}, |
"insert": { |
@@ -506,11 +362,11 @@ |
"httpMethod": "POST", |
"id": "resourceviews.zoneViews.insert", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
@@ -523,12 +379,12 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews", |
+ "path": "{project}/zones/{zone}/resourceViews", |
"request": { |
"$ref": "ResourceView" |
}, |
"response": { |
- "$ref": "ZoneViewsInsertResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -541,7 +397,7 @@ |
"httpMethod": "GET", |
"id": "resourceviews.zoneViews.list", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone" |
], |
"parameters": { |
@@ -559,7 +415,7 @@ |
"location": "query", |
"type": "string" |
}, |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
@@ -572,9 +428,9 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews", |
+ "path": "{project}/zones/{zone}/resourceViews", |
"response": { |
- "$ref": "ZoneViewsListResponse" |
+ "$ref": "ZoneViewsList" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
@@ -584,16 +440,45 @@ |
"https://www.googleapis.com/auth/ndev.cloudman.readonly" |
] |
}, |
- "listresources": { |
+ "listResources": { |
"description": "List the resources of the resource view.", |
- "httpMethod": "POST", |
- "id": "resourceviews.zoneViews.listresources", |
+ "httpMethod": "GET", |
+ "id": "resourceviews.zoneViews.listResources", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone", |
- "resourceViewName" |
+ "resourceView" |
], |
"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)", |
@@ -608,18 +493,23 @@ |
"location": "query", |
"type": "string" |
}, |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
+ "resourceView": { |
"description": "The name of the resource view.", |
"location": "path", |
"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.", |
"location": "path", |
@@ -627,7 +517,7 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources", |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/resources", |
"response": { |
"$ref": "ZoneViewsListResourcesResponse" |
}, |
@@ -639,23 +529,23 @@ |
"https://www.googleapis.com/auth/ndev.cloudman.readonly" |
] |
}, |
- "removeresources": { |
+ "removeResources": { |
"description": "Remove resources from the view.", |
"httpMethod": "POST", |
- "id": "resourceviews.zoneViews.removeresources", |
+ "id": "resourceviews.zoneViews.removeResources", |
"parameterOrder": [ |
- "projectName", |
+ "project", |
"zone", |
- "resourceViewName" |
+ "resourceView" |
], |
"parameters": { |
- "projectName": { |
+ "project": { |
"description": "The project name of the resource view.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "resourceViewName": { |
+ "resourceView": { |
"description": "The name of the resource view.", |
"location": "path", |
"required": true, |
@@ -668,10 +558,55 @@ |
"type": "string" |
} |
}, |
- "path": "{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources", |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/removeResources", |
"request": { |
"$ref": "ZoneViewsRemoveResourcesRequest" |
}, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/compute", |
+ "https://www.googleapis.com/auth/ndev.cloudman" |
+ ] |
+ }, |
+ "setService": { |
+ "description": "Update the service information of a resource view or a resource.", |
+ "httpMethod": "POST", |
+ "id": "resourceviews.zoneViews.setService", |
+ "parameterOrder": [ |
+ "project", |
+ "zone", |
+ "resourceView" |
+ ], |
+ "parameters": { |
+ "project": { |
+ "description": "The project name of the resource view.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "resourceView": { |
+ "description": "The name of the resource view.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "zone": { |
+ "description": "The zone name of the resource view.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "{project}/zones/{zone}/resourceViews/{resourceView}/setService", |
+ "request": { |
+ "$ref": "ZoneViewsSetServiceRequest" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/compute", |
@@ -699,77 +634,208 @@ |
}, |
"type": "object" |
}, |
- "RegionViewsAddResourcesRequest": { |
- "description": "The request to add resources to the resource view.", |
- "id": "RegionViewsAddResourcesRequest", |
+ "ListResourceResponseItem": { |
+ "description": "The list response item that contains the resource and end points information.", |
+ "id": "ListResourceResponseItem", |
"properties": { |
- "resources": { |
- "description": "The list of resources to be added.", |
- "items": { |
- "type": "string" |
+ "endpoints": { |
+ "additionalProperties": { |
+ "description": "The name of the service end point.", |
+ "items": { |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "type": "array" |
}, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "RegionViewsInsertResponse": { |
- "description": "The response to a resource view insert request.", |
- "id": "RegionViewsInsertResponse", |
- "properties": { |
+ "description": "The list of service end points on the resource.", |
+ "type": "object" |
+ }, |
"resource": { |
- "$ref": "ResourceView", |
- "description": "The resource view object inserted." |
+ "description": "The full URL of the resource.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "RegionViewsListResourcesResponse": { |
- "description": "The response to the list resource request.", |
- "id": "RegionViewsListResourcesResponse", |
+ "Operation": { |
+ "description": "An operation resource, used to manage asynchronous API requests.", |
+ "id": "Operation", |
"properties": { |
- "members": { |
- "description": "The resources in the view.", |
- "items": { |
- "type": "string" |
+ "clientOperationId": { |
+ "description": "[Output only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.", |
+ "type": "string" |
+ }, |
+ "creationTimestamp": { |
+ "description": "[Output Only] The time that this operation was requested, in RFC3339 text format.", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "[Output Only] The time that this operation was completed, in RFC3339 text format.", |
+ "type": "string" |
+ }, |
+ "error": { |
+ "description": "[Output Only] If errors occurred during processing of this operation, this field will be populated.", |
+ "properties": { |
+ "errors": { |
+ "description": "[Output Only] The array of errors encountered while processing this operation.", |
+ "items": { |
+ "properties": { |
+ "code": { |
+ "description": "[Output Only] The error type identifier for this error.", |
+ "type": "string" |
+ }, |
+ "location": { |
+ "description": "[Output Only] Indicates the field in the request which caused the error. This property is optional.", |
+ "type": "string" |
+ }, |
+ "message": { |
+ "description": "[Output Only] An optional, human-readable error message.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "type": "array" |
+ } |
}, |
- "type": "array" |
+ "type": "object" |
}, |
- "nextPageToken": { |
- "description": "A token used for pagination.", |
+ "httpErrorMessage": { |
+ "description": "[Output only] If operation fails, the HTTP error message returned.", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "RegionViewsListResponse": { |
- "description": "The response to the list resource view request.", |
- "id": "RegionViewsListResponse", |
- "properties": { |
- "nextPageToken": { |
- "description": "A token used for pagination.", |
+ }, |
+ "httpErrorStatusCode": { |
+ "description": "[Output only] If operation fails, the HTTP error status code returned.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "id": { |
+ "description": "[Output Only] Unique identifier for the resource, generated by the server.", |
+ "format": "uint64", |
+ "type": "string" |
+ }, |
+ "insertTime": { |
+ "description": "[Output Only] The time that this operation was requested, in RFC3339 text format.", |
+ "type": "string" |
+ }, |
+ "kind": { |
+ "default": "resourceviews#operation", |
+ "description": "[Output only] Type of the resource.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "[Output Only] Name of the resource.", |
+ "type": "string" |
+ }, |
+ "operationType": { |
+ "description": "[Output only] Type of the operation. Operations include insert, update, and delete.", |
+ "type": "string" |
+ }, |
+ "progress": { |
+ "description": "[Output only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "region": { |
+ "description": "[Output Only] URL of the region where the operation resides. Only available when performing regional operations.", |
+ "type": "string" |
+ }, |
+ "selfLink": { |
+ "description": "[Output Only] Server-defined fully-qualified URL for this resource.", |
+ "type": "string" |
+ }, |
+ "startTime": { |
+ "description": "[Output Only] The time that this operation was started by the server, in RFC3339 text format.", |
+ "type": "string" |
+ }, |
+ "status": { |
+ "description": "[Output Only] Status of the operation.", |
+ "type": "string" |
+ }, |
+ "statusMessage": { |
+ "description": "[Output Only] An optional textual description of the current status of the operation.", |
+ "type": "string" |
+ }, |
+ "targetId": { |
+ "description": "[Output Only] Unique target ID which identifies a particular incarnation of the target.", |
+ "format": "uint64", |
+ "type": "string" |
+ }, |
+ "targetLink": { |
+ "description": "[Output only] URL of the resource the operation is mutating.", |
+ "type": "string" |
+ }, |
+ "user": { |
+ "description": "[Output Only] User who requested the operation, for example: user@example.com.", |
"type": "string" |
}, |
- "resourceViews": { |
- "description": "The list of resource views that meet the criteria.", |
+ "warnings": { |
+ "description": "[Output Only] If there are issues with this operation, a warning is returned.", |
"items": { |
- "$ref": "ResourceView" |
+ "properties": { |
+ "code": { |
+ "description": "[Output only] The warning type identifier for this warning.", |
+ "type": "string" |
+ }, |
+ "data": { |
+ "description": "[Output only] Metadata for this warning in key:value format.", |
+ "items": { |
+ "properties": { |
+ "key": { |
+ "description": "[Output Only] Metadata key for this warning.", |
+ "type": "string" |
+ }, |
+ "value": { |
+ "description": "[Output Only] Metadata value for this warning.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "type": "array" |
+ }, |
+ "message": { |
+ "description": "[Output only] Optional human-readable details for this warning.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
}, |
"type": "array" |
+ }, |
+ "zone": { |
+ "description": "[Output Only] URL of the zone where the operation resides. Only available when performing per-zone operations.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "RegionViewsRemoveResourcesRequest": { |
- "description": "The request to remove resources from the resource view.", |
- "id": "RegionViewsRemoveResourcesRequest", |
+ "OperationList": { |
+ "id": "OperationList", |
"properties": { |
- "resources": { |
- "description": "The list of resources to be removed.", |
+ "id": { |
+ "description": "Unique identifier for the resource; defined by the server (output only).", |
+ "type": "string" |
+ }, |
+ "items": { |
+ "description": "The operation resources.", |
"items": { |
- "type": "string" |
+ "$ref": "Operation" |
}, |
"type": "array" |
+ }, |
+ "kind": { |
+ "default": "resourceviews#operationList", |
+ "description": "Type of resource.", |
+ "type": "string" |
+ }, |
+ "nextPageToken": { |
+ "description": "A token used to continue a truncated list request (output only).", |
+ "type": "string" |
+ }, |
+ "selfLink": { |
+ "description": "Server defined URL for this resource (output only).", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -778,7 +844,7 @@ |
"description": "The resource view object.", |
"id": "ResourceView", |
"properties": { |
- "creationTime": { |
+ "creationTimestamp": { |
"description": "The creation time of the resource view.", |
"type": "string" |
}, |
@@ -786,6 +852,17 @@ |
"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" |
@@ -802,29 +879,45 @@ |
}, |
"type": "array" |
}, |
- "lastModified": { |
- "description": "The last modified time of the view. Not supported yet.", |
+ "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" |
}, |
- "members": { |
+ "resources": { |
"description": "A list of all resources in the resource view.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "name": { |
- "description": "The name of the resource view.", |
+ "selfLink": { |
+ "description": "[Output Only] A self-link to the resource view.", |
"type": "string" |
}, |
- "numMembers": { |
+ "size": { |
"description": "The total number of resources in the resource view.", |
"format": "uint32", |
"type": "integer" |
- }, |
- "selfLink": { |
- "description": "[Output Only] A self-link to the resource view.", |
+ } |
+ }, |
+ "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" |
@@ -843,49 +936,68 @@ |
}, |
"type": "object" |
}, |
- "ZoneViewsInsertResponse": { |
- "description": "The response to an insert request.", |
- "id": "ZoneViewsInsertResponse", |
+ "ZoneViewsGetServiceResponse": { |
+ "id": "ZoneViewsGetServiceResponse", |
"properties": { |
- "resource": { |
- "$ref": "ResourceView", |
- "description": "The resource view object that has been inserted." |
+ "endpoints": { |
+ "description": "The service information.", |
+ "items": { |
+ "$ref": "ServiceEndpoint" |
+ }, |
+ "type": "array" |
+ }, |
+ "fingerprint": { |
+ "description": "The fingerprint of the service information.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "ZoneViewsListResourcesResponse": { |
- "description": "The response to a list resource request.", |
- "id": "ZoneViewsListResourcesResponse", |
+ "ZoneViewsList": { |
+ "description": "The response to a list request.", |
+ "id": "ZoneViewsList", |
"properties": { |
- "members": { |
- "description": "The full URL of resources in the view.", |
+ "items": { |
+ "description": "The result that contains all resource views that meet the criteria.", |
"items": { |
- "type": "string" |
+ "$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" |
}, |
- "ZoneViewsListResponse": { |
- "description": "The response to a list request.", |
- "id": "ZoneViewsListResponse", |
+ "ZoneViewsListResourcesResponse": { |
+ "description": "The response to a list resource request.", |
+ "id": "ZoneViewsListResourcesResponse", |
"properties": { |
- "nextPageToken": { |
- "description": "A token used for pagination.", |
- "type": "string" |
- }, |
- "resourceViews": { |
- "description": "The result that contains all resource views that meet the criteria.", |
+ "items": { |
+ "description": "The formatted JSON that is requested by the user.", |
"items": { |
- "$ref": "ResourceView" |
+ "$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" |
@@ -903,9 +1015,30 @@ |
} |
}, |
"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/v1beta1/projects/", |
+ "servicePath": "resourceviews/v1beta2/projects/", |
"title": "Resource Views API", |
- "version": "v1beta1" |
+ "version": "v1beta2" |
} |