Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: discovery/googleapis/compute__v1.json

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/cloudlatencytest__v2.json ('k') | discovery/googleapis/consumersurveys__v2.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/compute__v1.json
diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json
index ce7d8b657ed81c488d85698ed1f690f712e82e24..3aa66e3470ee8ffccf6e7c3df8d0a08b814cd94f 100644
--- a/discovery/googleapis/compute__v1.json
+++ b/discovery/googleapis/compute__v1.json
@@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/EHCe447NNFzcuEzJ3q8xwd99R4Q\"",
+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/dcQol_MwMQV6CaIFltTH-LLZxJA\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
@@ -2890,7 +2890,7 @@
]
},
"list": {
- "description": "Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 7. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.\n\nSee Accessing images for more information.",
+ "description": "Retrieves the list of private images available to the specified project. Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.",
"httpMethod": "GET",
"id": "compute.images.list",
"parameterOrder": [
@@ -4778,6 +4778,50 @@
"https://www.googleapis.com/auth/compute"
]
},
+ "startWithEncryptionKey": {
+ "description": "Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.",
+ "httpMethod": "POST",
+ "id": "compute.instances.startWithEncryptionKey",
+ "parameterOrder": [
+ "project",
+ "zone",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Name of the instance resource to start.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for 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 name of the zone for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey",
+ "request": {
+ "$ref": "InstancesStartWithEncryptionKeyRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
"stop": {
"description": "Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur per-minute, virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.",
"httpMethod": "POST",
@@ -5512,48 +5556,61 @@
}
}
},
- "routes": {
+ "routers": {
"methods": {
- "delete": {
- "description": "Deletes the specified Route resource.",
- "httpMethod": "DELETE",
- "id": "compute.routes.delete",
+ "aggregatedList": {
+ "description": "Retrieves an aggregated list of routers.",
+ "httpMethod": "GET",
+ "id": "compute.routers.aggregatedList",
"parameterOrder": [
- "project",
- "route"
+ "project"
],
"parameters": {
+ "filter": {
+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: When filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "500",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
"project": {
"description": "Project ID for 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"
- },
- "route": {
- "description": "Name of the Route resource to delete.",
- "location": "path",
- "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
- "required": true,
- "type": "string"
}
},
- "path": "{project}/global/routes/{route}",
+ "path": "{project}/aggregated/routers",
"response": {
- "$ref": "Operation"
+ "$ref": "RouterAggregatedList"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/compute"
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
]
},
- "get": {
- "description": "Returns the specified Route resource. Get a list of available routes by making a list() request.",
- "httpMethod": "GET",
- "id": "compute.routes.get",
+ "delete": {
+ "description": "Deletes the specified Router resource.",
+ "httpMethod": "DELETE",
+ "id": "compute.routers.delete",
"parameterOrder": [
"project",
- "route"
+ "region",
+ "router"
],
"parameters": {
"project": {
@@ -5563,44 +5620,22 @@
"required": true,
"type": "string"
},
- "route": {
- "description": "Name of the Route resource to return.",
+ "region": {
+ "description": "Name of the region for this request.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
- }
- },
- "path": "{project}/global/routes/{route}",
- "response": {
- "$ref": "Route"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/compute",
- "https://www.googleapis.com/auth/compute.readonly"
- ]
- },
- "insert": {
- "description": "Creates a Route resource in the specified project using the data included in the request.",
- "httpMethod": "POST",
- "id": "compute.routes.insert",
- "parameterOrder": [
- "project"
- ],
- "parameters": {
- "project": {
- "description": "Project ID for this request.",
+ },
+ "router": {
+ "description": "Name of the Router resource to delete.",
"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])?))",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
}
},
- "path": "{project}/global/routes",
- "request": {
- "$ref": "Route"
- },
+ "path": "{project}/regions/{region}/routers/{router}",
"response": {
"$ref": "Operation"
},
@@ -5609,62 +5644,56 @@
"https://www.googleapis.com/auth/compute"
]
},
- "list": {
- "description": "Retrieves the list of Route resources available to the specified project.",
+ "get": {
+ "description": "Returns the specified Router resource. Get a list of available routers by making a list() request.",
"httpMethod": "GET",
- "id": "compute.routes.list",
+ "id": "compute.routers.get",
"parameterOrder": [
- "project"
+ "project",
+ "region",
+ "router"
],
"parameters": {
- "filter": {
- "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: When filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
- "location": "query",
+ "project": {
+ "description": "Project ID for 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"
},
- "maxResults": {
- "default": "500",
- "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
- "format": "uint32",
- "location": "query",
- "maximum": "500",
- "minimum": "0",
- "type": "integer"
- },
- "pageToken": {
- "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
- "location": "query",
+ "region": {
+ "description": "Name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
"type": "string"
},
- "project": {
- "description": "Project ID for this request.",
+ "router": {
+ "description": "Name of the Router resource to return.",
"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])?))",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
}
},
- "path": "{project}/global/routes",
+ "path": "{project}/regions/{region}/routers/{router}",
"response": {
- "$ref": "RouteList"
+ "$ref": "Router"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly"
]
- }
- }
- },
- "snapshots": {
- "methods": {
- "delete": {
- "description": "Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.\n\nFor more information, see Deleting snaphots.",
- "httpMethod": "DELETE",
- "id": "compute.snapshots.delete",
+ },
+ "getRouterStatus": {
+ "description": "Retrieves runtime information of the specified router.",
+ "httpMethod": "GET",
+ "id": "compute.routers.getRouterStatus",
"parameterOrder": [
"project",
- "snapshot"
+ "region",
+ "router"
],
"parameters": {
"project": {
@@ -5674,30 +5703,38 @@
"required": true,
"type": "string"
},
- "snapshot": {
- "description": "Name of the Snapshot resource to delete.",
+ "region": {
+ "description": "Name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "router": {
+ "description": "Name of the Router resource to query.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
}
},
- "path": "{project}/global/snapshots/{snapshot}",
+ "path": "{project}/regions/{region}/routers/{router}/getRouterStatus",
"response": {
- "$ref": "Operation"
+ "$ref": "RouterStatusResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/compute"
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
]
},
- "get": {
- "description": "Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request.",
- "httpMethod": "GET",
- "id": "compute.snapshots.get",
+ "insert": {
+ "description": "Creates a Router resource in the specified project and region using the data included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.routers.insert",
"parameterOrder": [
"project",
- "snapshot"
+ "region"
],
"parameters": {
"project": {
@@ -5707,30 +5744,33 @@
"required": true,
"type": "string"
},
- "snapshot": {
- "description": "Name of the Snapshot resource to return.",
+ "region": {
+ "description": "Name of the region for this request.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
}
},
- "path": "{project}/global/snapshots/{snapshot}",
+ "path": "{project}/regions/{region}/routers",
+ "request": {
+ "$ref": "Router"
+ },
"response": {
- "$ref": "Snapshot"
+ "$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/compute"
]
},
"list": {
- "description": "Retrieves the list of Snapshot resources contained within the specified project.",
+ "description": "Retrieves a list of Router resources available to the specified project.",
"httpMethod": "GET",
- "id": "compute.snapshots.list",
+ "id": "compute.routers.list",
"parameterOrder": [
- "project"
+ "project",
+ "region"
],
"parameters": {
"filter": {
@@ -5758,29 +5798,33 @@
"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": "Name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
}
},
- "path": "{project}/global/snapshots",
+ "path": "{project}/regions/{region}/routers",
"response": {
- "$ref": "SnapshotList"
+ "$ref": "RouterList"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/compute.readonly"
]
- }
- }
- },
- "sslCertificates": {
- "methods": {
- "delete": {
- "description": "Deletes the specified SslCertificate resource.",
- "httpMethod": "DELETE",
- "id": "compute.sslCertificates.delete",
+ },
+ "patch": {
+ "description": "Updates the entire content of the Router resource. This method supports patch semantics.",
+ "httpMethod": "PATCH",
+ "id": "compute.routers.patch",
"parameterOrder": [
"project",
- "sslCertificate"
+ "region",
+ "router"
],
"parameters": {
"project": {
@@ -5790,15 +5834,25 @@
"required": true,
"type": "string"
},
- "sslCertificate": {
- "description": "Name of the SslCertificate resource to delete.",
+ "region": {
+ "description": "Name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "router": {
+ "description": "Name of the Router resource to update.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
}
},
- "path": "{project}/global/sslCertificates/{sslCertificate}",
+ "path": "{project}/regions/{region}/routers/{router}",
+ "request": {
+ "$ref": "Router"
+ },
"response": {
"$ref": "Operation"
},
@@ -5807,13 +5861,14 @@
"https://www.googleapis.com/auth/compute"
]
},
- "get": {
- "description": "Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request.",
- "httpMethod": "GET",
- "id": "compute.sslCertificates.get",
+ "update": {
+ "description": "Updates the entire content of the Router resource.",
+ "httpMethod": "PUT",
+ "id": "compute.routers.update",
"parameterOrder": [
"project",
- "sslCertificate"
+ "region",
+ "router"
],
"parameters": {
"project": {
@@ -5823,7 +5878,347 @@
"required": true,
"type": "string"
},
- "sslCertificate": {
+ "region": {
+ "description": "Name of the region for this request.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ },
+ "router": {
+ "description": "Name of the Router resource to update.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/regions/{region}/routers/{router}",
+ "request": {
+ "$ref": "Router"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ }
+ }
+ },
+ "routes": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified Route resource.",
+ "httpMethod": "DELETE",
+ "id": "compute.routes.delete",
+ "parameterOrder": [
+ "project",
+ "route"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "route": {
+ "description": "Name of the Route resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/routes/{route}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified Route resource. Get a list of available routes by making a list() request.",
+ "httpMethod": "GET",
+ "id": "compute.routes.get",
+ "parameterOrder": [
+ "project",
+ "route"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "route": {
+ "description": "Name of the Route resource to return.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/routes/{route}",
+ "response": {
+ "$ref": "Route"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "insert": {
+ "description": "Creates a Route resource in the specified project using the data included in the request.",
+ "httpMethod": "POST",
+ "id": "compute.routes.insert",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ }
+ },
+ "path": "{project}/global/routes",
+ "request": {
+ "$ref": "Route"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "list": {
+ "description": "Retrieves the list of Route resources available to the specified project.",
+ "httpMethod": "GET",
+ "id": "compute.routes.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: When filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "500",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for 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"
+ }
+ },
+ "path": "{project}/global/routes",
+ "response": {
+ "$ref": "RouteList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
+ "snapshots": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.\n\nFor more information, see Deleting snaphots.",
+ "httpMethod": "DELETE",
+ "id": "compute.snapshots.delete",
+ "parameterOrder": [
+ "project",
+ "snapshot"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "snapshot": {
+ "description": "Name of the Snapshot resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/snapshots/{snapshot}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request.",
+ "httpMethod": "GET",
+ "id": "compute.snapshots.get",
+ "parameterOrder": [
+ "project",
+ "snapshot"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "snapshot": {
+ "description": "Name of the Snapshot resource to return.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/snapshots/{snapshot}",
+ "response": {
+ "$ref": "Snapshot"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ },
+ "list": {
+ "description": "Retrieves the list of Snapshot resources contained within the specified project.",
+ "httpMethod": "GET",
+ "id": "compute.snapshots.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.\n\nThe field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.\n\nFor example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.\n\nCompute Engine Beta API Only: When filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.\n\nThe Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "default": "500",
+ "description": "The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests.",
+ "format": "uint32",
+ "location": "query",
+ "maximum": "500",
+ "minimum": "0",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID for 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"
+ }
+ },
+ "path": "{project}/global/snapshots",
+ "response": {
+ "$ref": "SnapshotList"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute",
+ "https://www.googleapis.com/auth/compute.readonly"
+ ]
+ }
+ }
+ },
+ "sslCertificates": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the specified SslCertificate resource.",
+ "httpMethod": "DELETE",
+ "id": "compute.sslCertificates.delete",
+ "parameterOrder": [
+ "project",
+ "sslCertificate"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "sslCertificate": {
+ "description": "Name of the SslCertificate resource to delete.",
+ "location": "path",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{project}/global/sslCertificates/{sslCertificate}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/compute"
+ ]
+ },
+ "get": {
+ "description": "Returns the specified SslCertificate resource. Get a list of available SSL certificates by making a list() request.",
+ "httpMethod": "GET",
+ "id": "compute.sslCertificates.get",
+ "parameterOrder": [
+ "project",
+ "sslCertificate"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID for 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"
+ },
+ "sslCertificate": {
"description": "Name of the SslCertificate resource to return.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
@@ -8161,7 +8556,7 @@
}
}
},
- "revision": "20160509",
+ "revision": "20160525",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AccessConfig": {
@@ -8417,6 +8812,10 @@
"description": "Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance.\n\nIf not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.",
"type": "string"
},
+ "diskEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "Encrypts or decrypts a disk using a customer-supplied encryption key.\n\nIf you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key.\n\nIf you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance.\n\nIf you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later.\n\nInstance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group."
+ },
"index": {
"description": "Assigns a zero-based index to this disk, where 0 is reserved for the boot disk. For example, if you have many disks attached to an instance, each disk would have a unique index number. If not specified, the server will choose an appropriate value.",
"format": "int32",
@@ -8506,6 +8905,10 @@
"sourceImage": {
"description": "The source image used to create this disk. If the source image is deleted, this field will not be set.\n\nTo create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the latest Debian 8 image:\n\nprojects/debian-cloud/global/images/family/debian-8 \n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD \n\nTo create a disk with a private image that you created, specify the image name in the following format:\n\nglobal/images/my-private-image \n\nYou can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\n\nglobal/images/family/my-private-family",
"type": "string"
+ },
+ "sourceImageEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.\n\nInstance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys."
}
},
"type": "object"
@@ -8970,6 +9373,35 @@
},
"type": "object"
},
+ "CustomerEncryptionKey": {
+ "description": "Represents a customer-supplied encryption key",
+ "id": "CustomerEncryptionKey",
+ "properties": {
+ "rawKey": {
+ "description": "Specifies a 256-bit customer-supplied encryption key, encoded in base64 to either encrypt or decrypt this resource.",
+ "type": "string"
+ },
+ "sha256": {
+ "description": "[Output only] The base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CustomerEncryptionKeyProtectedDisk": {
+ "id": "CustomerEncryptionKeyProtectedDisk",
+ "properties": {
+ "diskEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "Decrypts data associated with the disk with a customer-supplied encryption key."
+ },
+ "source": {
+ "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"DeprecationStatus": {
"description": "Deprecation status for a public resource.",
"id": "DeprecationStatus",
@@ -9019,6 +9451,10 @@
"description": "An optional description of this resource. Provide this property when you create the resource.",
"type": "string"
},
+ "diskEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "Encrypts the disk using a customer-supplied encryption key.\n\nAfter you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later (e.g. to create a disk snapshot or an image, or to attach the disk to a virtual machine).\n\nCustomer-supplied encryption keys do not protect access to metadata of the disk.\n\nIf you do not provide an encryption key when creating the disk, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later."
+ },
"id": {
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
"format": "uint64",
@@ -9071,6 +9507,10 @@
"description": "The source image used to create this disk. If the source image is deleted, this field will not be set.\n\nTo create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the latest Debian 8 image:\n\nprojects/debian-cloud/global/images/family/debian-8 \n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD \n\nTo create a disk with a private image that you created, specify the image name in the following format:\n\nglobal/images/my-private-image \n\nYou can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\n\nglobal/images/family/my-private-family",
"type": "string"
},
+ "sourceImageEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key."
+ },
"sourceImageId": {
"description": "[Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.",
"type": "string"
@@ -9079,6 +9519,10 @@
"description": "The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot \n- projects/project/global/snapshots/snapshot \n- global/snapshots/snapshot",
"type": "string"
},
+ "sourceSnapshotEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key."
+ },
"sourceSnapshotId": {
"description": "[Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.",
"type": "string"
@@ -10091,6 +10535,10 @@
"format": "uint64",
"type": "string"
},
+ "imageEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "Encrypts the image using a customer-supplied encryption key.\n\nAfter you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image).\n\nCustomer-supplied encryption keys do not protect access to metadata of the disk.\n\nIf you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later."
+ },
"kind": {
"default": "compute#image",
"description": "[Output Only] Type of the resource. Always compute#image for images.",
@@ -10151,6 +10599,10 @@
"description": "URL of the The source disk used to create this image. This can be a full or valid partial URL. You must provide either this property or the rawDisk.source property but not both to create an image. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk \n- projects/project/zones/zone/disk/disk \n- zones/zone/disks/disk",
"type": "string"
},
+ "sourceDiskEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key."
+ },
"sourceDiskId": {
"description": "The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.",
"type": "string"
@@ -10284,14 +10736,14 @@
"type": "string"
},
"serviceAccounts": {
- "description": "A list of service accounts, with their specified scopes, authorized for this instance. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Authenticating from Google Compute Engine for more information.",
+ "description": "A list of service accounts, with their specified scopes, authorized for this instance. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.",
"items": {
"$ref": "ServiceAccount"
},
"type": "array"
},
"status": {
- "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, and TERMINATED.",
+ "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDED, SUSPENDING, and TERMINATED.",
"enum": [
"PROVISIONING",
"RUNNING",
@@ -11063,7 +11515,7 @@
"id": "InstanceProperties",
"properties": {
"canIpForward": {
- "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the canIpForward documentation for more information.",
+ "description": "Enables instances created based on this template to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding for instances documentation for more information.",
"type": "boolean"
},
"description": {
@@ -11328,6 +11780,19 @@
},
"type": "object"
},
+ "InstancesStartWithEncryptionKeyRequest": {
+ "id": "InstancesStartWithEncryptionKeyRequest",
+ "properties": {
+ "disks": {
+ "description": "Array of disks associated with this instance that are protected with a customer-supplied encryption key.\n\nIn order to start the instance, the disk url and its corresponding key must be provided.\n\nIf the disk is not protected with a customer-supplied encryption key it should not be specified.",
+ "items": {
+ "$ref": "CustomerEncryptionKeyProtectedDisk"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"License": {
"description": "A license resource.",
"id": "License",
@@ -11389,6 +11854,10 @@
"format": "int32",
"type": "integer"
},
+ "isSharedCpu": {
+ "description": "[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.",
+ "type": "boolean"
+ },
"kind": {
"default": "compute#machineType",
"description": "[Output Only] The type of the resource. Always compute#machineType for machine types.",
@@ -12263,6 +12732,10 @@
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
},
+ "defaultServiceAccount": {
+ "description": "[Output Only] Default service account used by VMs running in this project.",
+ "type": "string"
+ },
"description": {
"description": "An optional textual description of the resource.",
"type": "string"
@@ -12333,6 +12806,7 @@
"IN_USE_ADDRESSES",
"LOCAL_SSD_TOTAL_GB",
"NETWORKS",
+ "ROUTERS",
"ROUTES",
"SNAPSHOTS",
"SSD_TOTAL_GB",
@@ -12375,6 +12849,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
@@ -12541,150 +13016,520 @@
"description": "Fully-qualified URL of the network that this route applies to.",
"type": "string"
},
- "nextHopGateway": {
- "description": "The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/<project-id>/global/gateways/default-internet-gateway",
+ "nextHopGateway": {
+ "description": "The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/<project-id>/global/gateways/default-internet-gateway",
+ "type": "string"
+ },
+ "nextHopInstance": {
+ "description": "The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example:\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/",
+ "type": "string"
+ },
+ "nextHopIp": {
+ "description": "The network IP address of an instance that should handle matching packets.",
+ "type": "string"
+ },
+ "nextHopNetwork": {
+ "description": "The URL of the local network if it should handle matching packets.",
+ "type": "string"
+ },
+ "nextHopVpnTunnel": {
+ "description": "The URL to a VpnTunnel that should handle matching packets.",
+ "type": "string"
+ },
+ "priority": {
+ "annotations": {
+ "required": [
+ "compute.routes.insert"
+ ]
+ },
+ "description": "The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "type": "string"
+ },
+ "tags": {
+ "annotations": {
+ "required": [
+ "compute.routes.insert"
+ ]
+ },
+ "description": "A list of instance tags to which this route applies.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "description": "[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.",
+ "items": {
+ "properties": {
+ "code": {
+ "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
+ "enum": [
+ "CLEANUP_FAILED",
+ "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",
+ "NOT_CRITICAL_ERROR",
+ "NO_RESULTS_ON_PAGE",
+ "REQUIRED_TOS_AGREEMENT",
+ "RESOURCE_NOT_DELETED",
+ "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
+ "UNREACHABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "data": {
+ "description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Output Only] A warning data value corresponding to the key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "[Output Only] A human-readable description of the warning code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "RouteList": {
+ "description": "Contains a list of Route resources.",
+ "id": "RouteList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] Unique identifier for the resource. Defined by the server.",
+ "type": "string"
+ },
+ "items": {
+ "description": "[Output Only] A list of Route resources.",
+ "items": {
+ "$ref": "Route"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "compute#routeList",
+ "description": "Type of resource.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for this resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Router": {
+ "description": "Router resource.",
+ "id": "Router",
+ "properties": {
+ "bgp": {
+ "$ref": "RouterBgp"
+ },
+ "bgpPeers": {
+ "items": {
+ "$ref": "RouterBgpPeer"
+ },
+ "type": "array"
+ },
+ "creationTimestamp": {
+ "description": "[Output Only] Creation timestamp in RFC3339 text format.",
+ "type": "string"
+ },
+ "description": {
+ "description": "An optional description of this resource. Provide this property when you create the resource.",
+ "type": "string"
+ },
+ "id": {
+ "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "format": "uint64",
+ "type": "string"
+ },
+ "interfaces": {
+ "items": {
+ "$ref": "RouterInterface"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "compute#router",
+ "description": "[Output Only] Type of resource. Always compute#router for routers.",
+ "type": "string"
+ },
+ "name": {
+ "annotations": {
+ "required": [
+ "compute.routers.insert"
+ ]
+ },
+ "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "type": "string"
+ },
+ "network": {
+ "annotations": {
+ "required": [
+ "compute.routers.insert"
+ ]
+ },
+ "description": "URI of the network to which this router belongs.",
+ "type": "string"
+ },
+ "region": {
+ "description": "[Output Only] URI of the region where the router resides.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for the resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RouterAggregatedList": {
+ "description": "Contains a list of routers.",
+ "id": "RouterAggregatedList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
+ "type": "string"
+ },
+ "items": {
+ "additionalProperties": {
+ "$ref": "RoutersScopedList",
+ "description": "Name of the scope containing this set of routers."
+ },
+ "description": "A map of scoped router lists.",
+ "type": "object"
+ },
+ "kind": {
+ "default": "compute#routerAggregatedList",
+ "description": "Type of resource.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "[Output Only] Server-defined URL for this resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RouterBgp": {
+ "id": "RouterBgp",
+ "properties": {
+ "asn": {
+ "description": "Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.",
+ "format": "uint32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "RouterBgpPeer": {
+ "description": "BGP information that needs to be configured into the routing stack to establish the BGP peering. It must specify peer ASN and either interface name, IP, or peer IP. Reference: https://tools.ietf.org/html/rfc4273",
+ "id": "RouterBgpPeer",
+ "properties": {
+ "advertisedRoutePriority": {
+ "description": "The priority of routes advertised to this BGP peer. In the case where there is more than one matching route of maximum length, the routes with lowest priority value win.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "interfaceName": {
+ "description": "Name of the interface the BGP peer is associated with.",
+ "type": "string"
+ },
+ "ipAddress": {
+ "description": "IP address of the interface inside Google Cloud Platform.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
+ "type": "string"
+ },
+ "peerAsn": {
+ "description": "Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for every tunnel.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "peerIpAddress": {
+ "description": "IP address of the BGP interface outside Google cloud.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RouterInterface": {
+ "description": "Router interfaces. Each interface requires either one linked resource (e.g. linked_vpn_tunnel) or IP address + range (specified in ip_range).",
+ "id": "RouterInterface",
+ "properties": {
+ "ipRange": {
+ "description": "IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.",
+ "type": "string"
+ },
+ "linkedVpnTunnel": {
+ "description": "URI of linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource.",
"type": "string"
},
- "nextHopInstance": {
- "description": "The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example:\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/",
+ "name": {
+ "description": "Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.",
+ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"type": "string"
- },
- "nextHopIp": {
- "description": "The network IP address of an instance that should handle matching packets.",
+ }
+ },
+ "type": "object"
+ },
+ "RouterList": {
+ "description": "Contains a list of Router resources.",
+ "id": "RouterList",
+ "properties": {
+ "id": {
+ "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
"type": "string"
},
- "nextHopNetwork": {
- "description": "The URL of the local network if it should handle matching packets.",
- "type": "string"
+ "items": {
+ "description": "A list of Router resources.",
+ "items": {
+ "$ref": "Router"
+ },
+ "type": "array"
},
- "nextHopVpnTunnel": {
- "description": "The URL to a VpnTunnel that should handle matching packets.",
+ "kind": {
+ "default": "compute#routerList",
+ "description": "[Output Only] Type of resource. Always compute#router for routers.",
"type": "string"
},
- "priority": {
- "annotations": {
- "required": [
- "compute.routes.insert"
- ]
- },
- "description": "The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.",
- "format": "uint32",
- "type": "integer"
+ "nextPageToken": {
+ "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "type": "string"
},
"selfLink": {
- "description": "[Output Only] Server-defined fully-qualified URL for this resource.",
+ "description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
- },
- "tags": {
- "annotations": {
- "required": [
- "compute.routes.insert"
- ]
- },
- "description": "A list of instance tags to which this route applies.",
+ }
+ },
+ "type": "object"
+ },
+ "RouterStatus": {
+ "id": "RouterStatus",
+ "properties": {
+ "bestRoutes": {
+ "description": "Best routes for this router's network.",
"items": {
- "type": "string"
+ "$ref": "Route"
},
"type": "array"
},
- "warnings": {
- "description": "[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.",
+ "bgpPeerStatus": {
"items": {
- "properties": {
- "code": {
- "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
- "enum": [
- "CLEANUP_FAILED",
- "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",
- "NOT_CRITICAL_ERROR",
- "NO_RESULTS_ON_PAGE",
- "REQUIRED_TOS_AGREEMENT",
- "RESOURCE_NOT_DELETED",
- "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
- "UNREACHABLE"
- ],
- "enumDescriptions": [
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- ],
- "type": "string"
- },
- "data": {
- "description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
- "items": {
- "properties": {
- "key": {
- "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).",
- "type": "string"
- },
- "value": {
- "description": "[Output Only] A warning data value corresponding to the key.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "description": "[Output Only] A human-readable description of the warning code.",
- "type": "string"
- }
- },
- "type": "object"
+ "$ref": "RouterStatusBgpPeerStatus"
},
"type": "array"
+ },
+ "network": {
+ "description": "URI of the network to which this router belongs.",
+ "type": "string"
}
},
"type": "object"
},
- "RouteList": {
- "description": "Contains a list of Route resources.",
- "id": "RouteList",
+ "RouterStatusBgpPeerStatus": {
+ "id": "RouterStatusBgpPeerStatus",
"properties": {
- "id": {
- "description": "[Output Only] Unique identifier for the resource. Defined by the server.",
- "type": "string"
- },
- "items": {
- "description": "[Output Only] A list of Route resources.",
+ "advertisedRoutes": {
+ "description": "Routes that were advertised to the remote BGP peer",
"items": {
"$ref": "Route"
},
"type": "array"
},
- "kind": {
- "default": "compute#routeList",
- "description": "Type of resource.",
+ "ipAddress": {
+ "description": "IP address of the local BGP interface.",
"type": "string"
},
- "nextPageToken": {
- "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.",
+ "linkedVpnTunnel": {
+ "description": "URL of the VPN tunnel that this BGP peer controls.",
"type": "string"
},
- "selfLink": {
- "description": "[Output Only] Server-defined URL for this resource.",
+ "name": {
+ "description": "Name of this BGP peer. Unique within the Routers resource.",
+ "type": "string"
+ },
+ "numLearnedRoutes": {
+ "description": "Number of routes learned from the remote BGP Peer.",
+ "format": "uint32",
+ "type": "integer"
+ },
+ "peerIpAddress": {
+ "description": "IP address of the remote BGP interface.",
+ "type": "string"
+ },
+ "state": {
+ "description": "BGP state as specified in RFC1771.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the BGP peer: {UP, DOWN}",
+ "enum": [
+ "DOWN",
+ "UNKNOWN",
+ "UP"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "uptime": {
+ "description": "Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds",
+ "type": "string"
+ },
+ "uptimeSeconds": {
+ "description": "Time this session has been up, in seconds. Format: 145",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RouterStatusResponse": {
+ "id": "RouterStatusResponse",
+ "properties": {
+ "kind": {
+ "default": "compute#routerStatusResponse",
+ "description": "Type of resource.",
"type": "string"
+ },
+ "result": {
+ "$ref": "RouterStatus"
+ }
+ },
+ "type": "object"
+ },
+ "RoutersScopedList": {
+ "id": "RoutersScopedList",
+ "properties": {
+ "routers": {
+ "description": "List of routers contained in this scope.",
+ "items": {
+ "$ref": "Router"
+ },
+ "type": "array"
+ },
+ "warning": {
+ "description": "Informational warning which replaces the list of routers when the list is empty.",
+ "properties": {
+ "code": {
+ "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.",
+ "enum": [
+ "CLEANUP_FAILED",
+ "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",
+ "NOT_CRITICAL_ERROR",
+ "NO_RESULTS_ON_PAGE",
+ "REQUIRED_TOS_AGREEMENT",
+ "RESOURCE_NOT_DELETED",
+ "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
+ "UNREACHABLE"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ],
+ "type": "string"
+ },
+ "data": {
+ "description": "[Output Only] Metadata about this warning in key: value format. For example:\n\"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" }",
+ "items": {
+ "properties": {
+ "key": {
+ "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).",
+ "type": "string"
+ },
+ "value": {
+ "description": "[Output Only] A warning data value corresponding to the key.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "description": "[Output Only] A human-readable description of the warning code.",
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"type": "object"
@@ -12797,10 +13642,18 @@
"description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
},
+ "snapshotEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "Encrypts the snapshot using a customer-supplied encryption key.\n\nAfter you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the image later For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request.\n\nCustomer-supplied encryption keys do not protect access to metadata of the disk.\n\nIf you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later."
+ },
"sourceDisk": {
"description": "[Output Only] The source disk used to create this snapshot.",
"type": "string"
},
+ "sourceDiskEncryptionKey": {
+ "$ref": "CustomerEncryptionKey",
+ "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key."
+ },
"sourceDiskId": {
"description": "[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.",
"type": "string"
@@ -14282,6 +15135,17 @@
"description": "[Output Only] URL of the region where the VPN tunnel resides.",
"type": "string"
},
+ "remoteTrafficSelector": {
+ "description": "Remote traffic selectors to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "router": {
+ "description": "URL of router resource to be used for dynamic routing.",
+ "type": "string"
+ },
"selfLink": {
"description": "[Output Only] Server-defined URL for the resource.",
"type": "string"
« no previous file with comments | « discovery/googleapis/cloudlatencytest__v2.json ('k') | discovery/googleapis/consumersurveys__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698