mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-13 09:04:06 -08:00
5b27996cb3
Signed-off-by: Nathan Graves <nathan.graves@kofile.us>
30781 lines
1.4 MiB
30781 lines
1.4 MiB
{
|
|
"auth": {
|
|
"oauth2": {
|
|
"scopes": {
|
|
"https://www.googleapis.com/auth/cloud-platform": {
|
|
"description": "View and manage your data across Google Cloud Platform services"
|
|
},
|
|
"https://www.googleapis.com/auth/compute": {
|
|
"description": "View and manage your Google Compute Engine resources"
|
|
},
|
|
"https://www.googleapis.com/auth/compute.readonly": {
|
|
"description": "View your Google Compute Engine resources"
|
|
},
|
|
"https://www.googleapis.com/auth/devstorage.full_control": {
|
|
"description": "Manage your data and permissions in Google Cloud Storage"
|
|
},
|
|
"https://www.googleapis.com/auth/devstorage.read_only": {
|
|
"description": "View your data in Google Cloud Storage"
|
|
},
|
|
"https://www.googleapis.com/auth/devstorage.read_write": {
|
|
"description": "Manage your data in Google Cloud Storage"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"basePath": "/compute/v1/projects/",
|
|
"baseUrl": "https://www.googleapis.com/compute/v1/projects/",
|
|
"batchPath": "batch/compute/v1",
|
|
"description": "Creates and runs virtual machines on Google Cloud Platform.",
|
|
"discoveryVersion": "v1",
|
|
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
|
|
"etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/lEZNlk_TKPcpkzZuUbkH7l21XY4\"",
|
|
"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"
|
|
},
|
|
"id": "compute:v1",
|
|
"kind": "discovery#restDescription",
|
|
"name": "compute",
|
|
"ownerDomain": "google.com",
|
|
"ownerName": "Google",
|
|
"parameters": {
|
|
"alt": {
|
|
"default": "json",
|
|
"description": "Data format for the response.",
|
|
"enum": [
|
|
"json"
|
|
],
|
|
"enumDescriptions": [
|
|
"Responses with Content-Type of application/json"
|
|
],
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"fields": {
|
|
"description": "Selector specifying which fields to include in a partial response.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"oauth_token": {
|
|
"description": "OAuth 2.0 token for the current user.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"prettyPrint": {
|
|
"default": "true",
|
|
"description": "Returns response with indentations and line breaks.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"quotaUser": {
|
|
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"userIp": {
|
|
"description": "Deprecated. Please use quotaUser instead.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"protocol": "rest",
|
|
"resources": {
|
|
"acceleratorTypes": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of accelerator types.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.acceleratorTypes.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/acceleratorTypes",
|
|
"response": {
|
|
"$ref": "AcceleratorTypeAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified accelerator type. Gets a list of available accelerator types by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.acceleratorTypes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"acceleratorType"
|
|
],
|
|
"parameters": {
|
|
"acceleratorType": {
|
|
"description": "Name of the accelerator type to return.",
|
|
"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-z0-9](?:[-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}/acceleratorTypes/{acceleratorType}",
|
|
"response": {
|
|
"$ref": "AcceleratorType"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of accelerator types available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.acceleratorTypes.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/acceleratorTypes",
|
|
"response": {
|
|
"$ref": "AcceleratorTypeList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"addresses": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of addresses.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.addresses.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/addresses",
|
|
"response": {
|
|
"$ref": "AddressAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified address resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.addresses.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"address"
|
|
],
|
|
"parameters": {
|
|
"address": {
|
|
"description": "Name of the address resource to delete.",
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/addresses/{address}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified address resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.addresses.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"address"
|
|
],
|
|
"parameters": {
|
|
"address": {
|
|
"description": "Name of the address resource to return.",
|
|
"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-z0-9](?:[-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}/regions/{region}/addresses/{address}",
|
|
"response": {
|
|
"$ref": "Address"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an address resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.addresses.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/addresses",
|
|
"request": {
|
|
"$ref": "Address"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of addresses contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.addresses.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/addresses",
|
|
"response": {
|
|
"$ref": "AddressList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"autoscalers": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of autoscalers.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.autoscalers.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/autoscalers",
|
|
"response": {
|
|
"$ref": "AutoscalerAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified autoscaler.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.autoscalers.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"autoscaler"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers/{autoscaler}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.autoscalers.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"autoscaler"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers/{autoscaler}",
|
|
"response": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an autoscaler in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.autoscalers.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of autoscalers contained within the specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.autoscalers.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers",
|
|
"response": {
|
|
"$ref": "AutoscalerList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.autoscalers.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to patch.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates an autoscaler in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.autoscalers.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to update.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"backendBuckets": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified BackendBucket resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.backendBuckets.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendBuckets.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}",
|
|
"response": {
|
|
"$ref": "BackendBucket"
|
|
},
|
|
"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 BackendBucket resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendBuckets.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets",
|
|
"request": {
|
|
"$ref": "BackendBucket"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of BackendBucket resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendBuckets.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets",
|
|
"response": {
|
|
"$ref": "BackendBucketList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.backendBuckets.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}",
|
|
"request": {
|
|
"$ref": "BackendBucket"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified BackendBucket resource with the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.backendBuckets.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}",
|
|
"request": {
|
|
"$ref": "BackendBucket"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"backendServices": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all BackendService resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendServices.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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": "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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/backendServices",
|
|
"response": {
|
|
"$ref": "BackendServiceAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified BackendService resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.backendServices.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified BackendService resource. Gets a list of available backend services by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendServices.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}",
|
|
"response": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getHealth": {
|
|
"description": "Gets the most recent health check results for this BackendService.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.getHealth",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to which the queried instance belongs.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"project": {
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}/getHealth",
|
|
"request": {
|
|
"$ref": "ResourceGroupReference"
|
|
},
|
|
"response": {
|
|
"$ref": "BackendServiceGroupHealth"
|
|
},
|
|
"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 BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Restrictions and Guidelines for more information.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of BackendService resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendServices.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices",
|
|
"response": {
|
|
"$ref": "BackendServiceList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.backendServices.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.backendServices.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"diskTypes": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of disk types.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.diskTypes.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/diskTypes",
|
|
"response": {
|
|
"$ref": "DiskTypeAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified disk type. Gets a list of available disk types by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.diskTypes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"diskType"
|
|
],
|
|
"parameters": {
|
|
"diskType": {
|
|
"description": "Name of the disk type to return.",
|
|
"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-z0-9](?:[-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}/diskTypes/{diskType}",
|
|
"response": {
|
|
"$ref": "DiskType"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of disk types available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.diskTypes.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/diskTypes",
|
|
"response": {
|
|
"$ref": "DiskTypeList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"disks": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of persistent disks.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.disks.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/disks",
|
|
"response": {
|
|
"$ref": "DiskAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"createSnapshot": {
|
|
"description": "Creates a snapshot of a specified persistent disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.createSnapshot",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the persistent disk to snapshot.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"guestFlush": {
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/disks/{disk}/createSnapshot",
|
|
"request": {
|
|
"$ref": "Snapshot"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.disks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the persistent disk to delete.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/disks/{disk}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.disks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the persistent disk to return.",
|
|
"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-z0-9](?:[-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}/disks/{disk}",
|
|
"response": {
|
|
"$ref": "Disk"
|
|
},
|
|
"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 persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"sourceImage": {
|
|
"description": "Optional. Source image to restore onto a disk.",
|
|
"location": "query",
|
|
"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}/disks",
|
|
"request": {
|
|
"$ref": "Disk"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of persistent disks contained within the specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.disks.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/disks",
|
|
"response": {
|
|
"$ref": "DiskList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"resize": {
|
|
"description": "Resizes the specified persistent disk. You can only increase the size of the disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.resize",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "The name of the persistent disk.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/disks/{disk}/resize",
|
|
"request": {
|
|
"$ref": "DisksResizeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"resource"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[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}/disks/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "ZoneSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"firewalls": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified firewall.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.firewalls.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"firewall"
|
|
],
|
|
"parameters": {
|
|
"firewall": {
|
|
"description": "Name of the firewall rule to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls/{firewall}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified firewall.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.firewalls.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"firewall"
|
|
],
|
|
"parameters": {
|
|
"firewall": {
|
|
"description": "Name of the firewall rule to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls/{firewall}",
|
|
"response": {
|
|
"$ref": "Firewall"
|
|
},
|
|
"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 firewall rule in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.firewalls.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls",
|
|
"request": {
|
|
"$ref": "Firewall"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of firewall rules available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.firewalls.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls",
|
|
"response": {
|
|
"$ref": "FirewallList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.firewalls.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"firewall"
|
|
],
|
|
"parameters": {
|
|
"firewall": {
|
|
"description": "Name of the firewall rule to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls/{firewall}",
|
|
"request": {
|
|
"$ref": "Firewall"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified firewall rule with the data included in the request. The PUT method can only update the following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.firewalls.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"firewall"
|
|
],
|
|
"parameters": {
|
|
"firewall": {
|
|
"description": "Name of the firewall rule to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls/{firewall}",
|
|
"request": {
|
|
"$ref": "Firewall"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"forwardingRules": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of forwarding rules.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.forwardingRules.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/forwardingRules",
|
|
"response": {
|
|
"$ref": "ForwardingRuleAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified ForwardingRule resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.forwardingRules.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules/{forwardingRule}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified ForwardingRule resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.forwardingRules.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules/{forwardingRule}",
|
|
"response": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"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 ForwardingRule resource in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.forwardingRules.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules",
|
|
"request": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of ForwardingRule resources available to the specified project and region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.forwardingRules.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules",
|
|
"response": {
|
|
"$ref": "ForwardingRuleList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setTarget": {
|
|
"description": "Changes target URL for forwarding rule. The new target should be of the same type as the old target.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.forwardingRules.setTarget",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource in which target is to be set.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget",
|
|
"request": {
|
|
"$ref": "TargetReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"globalAddresses": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified address resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.globalAddresses.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"address"
|
|
],
|
|
"parameters": {
|
|
"address": {
|
|
"description": "Name of the address resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses/{address}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified address resource. Gets a list of available addresses by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalAddresses.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"address"
|
|
],
|
|
"parameters": {
|
|
"address": {
|
|
"description": "Name of the address resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses/{address}",
|
|
"response": {
|
|
"$ref": "Address"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an address resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalAddresses.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses",
|
|
"request": {
|
|
"$ref": "Address"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of global addresses.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalAddresses.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses",
|
|
"response": {
|
|
"$ref": "AddressList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"globalForwardingRules": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified GlobalForwardingRule resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.globalForwardingRules.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules/{forwardingRule}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalForwardingRules.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules/{forwardingRule}",
|
|
"response": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"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 GlobalForwardingRule resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalForwardingRules.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules",
|
|
"request": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of GlobalForwardingRule resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalForwardingRules.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules",
|
|
"response": {
|
|
"$ref": "ForwardingRuleList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setTarget": {
|
|
"description": "Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalForwardingRules.setTarget",
|
|
"parameterOrder": [
|
|
"project",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource in which target is to be set.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules/{forwardingRule}/setTarget",
|
|
"request": {
|
|
"$ref": "TargetReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"globalOperations": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of all operations.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalOperations.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/operations",
|
|
"response": {
|
|
"$ref": "OperationAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified Operations resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.globalOperations.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/operations/{operation}",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Retrieves the specified Operations resource. Gets a list of operations by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalOperations.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/operations/{operation}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of Operation resources contained within the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalOperations.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/operations",
|
|
"response": {
|
|
"$ref": "OperationList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"healthChecks": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified HealthCheck resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.healthChecks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks/{healthCheck}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.healthChecks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks/{healthCheck}",
|
|
"response": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"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 HealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.healthChecks.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks",
|
|
"request": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of HealthCheck resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.healthChecks.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks",
|
|
"response": {
|
|
"$ref": "HealthCheckList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.healthChecks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks/{healthCheck}",
|
|
"request": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a HealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.healthChecks.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks/{healthCheck}",
|
|
"request": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"httpHealthChecks": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified HttpHealthCheck resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.httpHealthChecks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpHealthCheck": {
|
|
"description": "Name of the HttpHealthCheck resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks/{httpHealthCheck}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.httpHealthChecks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpHealthCheck": {
|
|
"description": "Name of the HttpHealthCheck resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks/{httpHealthCheck}",
|
|
"response": {
|
|
"$ref": "HttpHealthCheck"
|
|
},
|
|
"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 HttpHealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.httpHealthChecks.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks",
|
|
"request": {
|
|
"$ref": "HttpHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of HttpHealthCheck resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.httpHealthChecks.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks",
|
|
"response": {
|
|
"$ref": "HttpHealthCheckList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.httpHealthChecks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpHealthCheck": {
|
|
"description": "Name of the HttpHealthCheck resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks/{httpHealthCheck}",
|
|
"request": {
|
|
"$ref": "HttpHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.httpHealthChecks.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpHealthCheck": {
|
|
"description": "Name of the HttpHealthCheck resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks/{httpHealthCheck}",
|
|
"request": {
|
|
"$ref": "HttpHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"httpsHealthChecks": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified HttpsHealthCheck resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.httpsHealthChecks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpsHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpsHealthCheck": {
|
|
"description": "Name of the HttpsHealthCheck resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.httpsHealthChecks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpsHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpsHealthCheck": {
|
|
"description": "Name of the HttpsHealthCheck resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
|
|
"response": {
|
|
"$ref": "HttpsHealthCheck"
|
|
},
|
|
"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 HttpsHealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.httpsHealthChecks.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks",
|
|
"request": {
|
|
"$ref": "HttpsHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of HttpsHealthCheck resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.httpsHealthChecks.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks",
|
|
"response": {
|
|
"$ref": "HttpsHealthCheckList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.httpsHealthChecks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpsHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpsHealthCheck": {
|
|
"description": "Name of the HttpsHealthCheck resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
|
|
"request": {
|
|
"$ref": "HttpsHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.httpsHealthChecks.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"httpsHealthCheck"
|
|
],
|
|
"parameters": {
|
|
"httpsHealthCheck": {
|
|
"description": "Name of the HttpsHealthCheck resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks/{httpsHealthCheck}",
|
|
"request": {
|
|
"$ref": "HttpsHealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"images": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified image.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.images.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"image"
|
|
],
|
|
"parameters": {
|
|
"image": {
|
|
"description": "Name of the image resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{image}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"deprecate": {
|
|
"description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.images.deprecate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"image"
|
|
],
|
|
"parameters": {
|
|
"image": {
|
|
"description": "Image name.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{image}/deprecate",
|
|
"request": {
|
|
"$ref": "DeprecationStatus"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified image. Gets a list of available images by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.images.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"image"
|
|
],
|
|
"parameters": {
|
|
"image": {
|
|
"description": "Name of the image resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{image}",
|
|
"response": {
|
|
"$ref": "Image"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getFromFamily": {
|
|
"description": "Returns the latest image that is part of an image family and is not deprecated.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.images.getFromFamily",
|
|
"parameterOrder": [
|
|
"project",
|
|
"family"
|
|
],
|
|
"parameters": {
|
|
"family": {
|
|
"description": "Name of the image family to search for.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/family/{family}",
|
|
"response": {
|
|
"$ref": "Image"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an image in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.images.insert",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"forceCreate": {
|
|
"description": "Force image creation if true.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images",
|
|
"request": {
|
|
"$ref": "Image"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/devstorage.full_control",
|
|
"https://www.googleapis.com/auth/devstorage.read_only",
|
|
"https://www.googleapis.com/auth/devstorage.read_write"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of custom images available to the specified project. Custom 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": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images",
|
|
"response": {
|
|
"$ref": "ImageList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.images.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"resource"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instanceGroupManagers": {
|
|
"methods": {
|
|
"abandonInstances": {
|
|
"description": "Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.abandonInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersAbandonInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of managed instance groups and groups them by zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroupManagers.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/instanceGroupManagers",
|
|
"response": {
|
|
"$ref": "InstanceGroupManagerAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.instanceGroupManagers.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group to delete.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"deleteInstances": {
|
|
"description": "Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.deleteInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersDeleteInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroupManagers.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
|
|
"response": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"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 managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.\n\nA managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where you want to create the managed instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of managed instance groups that are contained within the specified project and zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroupManagers.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers",
|
|
"response": {
|
|
"$ref": "InstanceGroupManagerList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listManagedInstances": {
|
|
"description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.listManagedInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"maxResults": {
|
|
"default": "500",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"order_by": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"pageToken": {
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances",
|
|
"response": {
|
|
"$ref": "InstanceGroupManagersListManagedInstancesResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"recreateInstances": {
|
|
"description": "Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.recreateInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersRecreateInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"resize": {
|
|
"description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.resize",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager",
|
|
"size"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"required": true,
|
|
"type": "integer"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setInstanceTemplate": {
|
|
"description": "Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.setInstanceTemplate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersSetInstanceTemplateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setTargetPools": {
|
|
"description": "Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.setTargetPools",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the managed instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersSetTargetPoolsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instanceGroups": {
|
|
"methods": {
|
|
"addInstances": {
|
|
"description": "Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.addInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group where you are adding instances.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupsAddInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of instance groups and sorts them by zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroups.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/instanceGroups",
|
|
"response": {
|
|
"$ref": "InstanceGroupAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.instanceGroups.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group to delete.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified instance group. Gets a list of available instance groups by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroups.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}",
|
|
"response": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an instance group in the specified project using the parameters that are included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where you want to create the instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups",
|
|
"request": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of instance groups that are located in the specified project and zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceGroups.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups",
|
|
"response": {
|
|
"$ref": "InstanceGroupList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listInstances": {
|
|
"description": "Lists the instances in the specified instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.listInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group from which you want to generate a list of included instances.",
|
|
"location": "path",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupsListInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "InstanceGroupsListInstances"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"removeInstances": {
|
|
"description": "Removes one or more instances from the specified instance group, but does not delete those instances.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.removeInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group where the specified instances will be removed.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupsRemoveInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setNamedPorts": {
|
|
"description": "Sets the named ports for the specified instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.setNamedPorts",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the instance group where the named ports are updated.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "The name of the zone where the instance group is located.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts",
|
|
"request": {
|
|
"$ref": "InstanceGroupsSetNamedPortsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instanceTemplates": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It's not possible to delete templates which are in use by an instance group.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.instanceTemplates.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"instanceTemplate"
|
|
],
|
|
"parameters": {
|
|
"instanceTemplate": {
|
|
"description": "The name of the instance template to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates/{instanceTemplate}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified instance template. Gets a list of available instance templates by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceTemplates.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"instanceTemplate"
|
|
],
|
|
"parameters": {
|
|
"instanceTemplate": {
|
|
"description": "The name of the instance template.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates/{instanceTemplate}",
|
|
"response": {
|
|
"$ref": "InstanceTemplate"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceTemplates.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates",
|
|
"request": {
|
|
"$ref": "InstanceTemplate"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of instance templates that are contained within the specified project and zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceTemplates.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates",
|
|
"response": {
|
|
"$ref": "InstanceTemplateList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instances": {
|
|
"methods": {
|
|
"addAccessConfig": {
|
|
"description": "Adds an access config to an instance's network interface.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.addAccessConfig",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"networkInterface"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "The instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"networkInterface": {
|
|
"description": "The name of the network interface to add to this instance.",
|
|
"location": "query",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/addAccessConfig",
|
|
"request": {
|
|
"$ref": "AccessConfig"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves aggregated list of instances.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/instances",
|
|
"response": {
|
|
"$ref": "InstanceAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"attachDisk": {
|
|
"description": "Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.attachDisk",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "The instance name 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/attachDisk",
|
|
"request": {
|
|
"$ref": "AttachedDisk"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified Instance resource. For more information, see Stopping or Deleting an Instance.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.instances.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"deleteAccessConfig": {
|
|
"description": "Deletes an access config from an instance's network interface.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.deleteAccessConfig",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"accessConfig",
|
|
"networkInterface"
|
|
],
|
|
"parameters": {
|
|
"accessConfig": {
|
|
"description": "The name of the access config to delete.",
|
|
"location": "query",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "The instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"networkInterface": {
|
|
"description": "The name of the network interface.",
|
|
"location": "query",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/deleteAccessConfig",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"detachDisk": {
|
|
"description": "Detaches a disk from an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.detachDisk",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"deviceName"
|
|
],
|
|
"parameters": {
|
|
"deviceName": {
|
|
"description": "Disk device name to detach.",
|
|
"location": "query",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "Instance name.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/detachDisk",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified Instance resource. Gets a list of available instances by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}",
|
|
"response": {
|
|
"$ref": "Instance"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getSerialPortOutput": {
|
|
"description": "Returns the specified instance's serial port output.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.getSerialPortOutput",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"default": "1",
|
|
"description": "Specifies which COM or serial port to retrieve data from.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"maximum": "4",
|
|
"minimum": "1",
|
|
"type": "integer"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"start": {
|
|
"description": "Returns output starting from a specific byte position. Use this to page through output when the output is too large to return in a single request. For the initial request, leave this field unspecified. For subsequent calls, this field should be set to the next value returned in the previous call.",
|
|
"format": "int64",
|
|
"location": "query",
|
|
"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}/serialPort",
|
|
"response": {
|
|
"$ref": "SerialPortOutput"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an instance resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"sourceInstanceTemplate": {
|
|
"description": "Specifies instance template to create the instance.\n\nThis field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: \n- https://www.googleapis.com/compute/v1/projects/project/global/global/instanceTemplates/instanceTemplate \n- projects/project/global/global/instanceTemplates/instanceTemplate \n- global/instancesTemplates/instanceTemplate",
|
|
"location": "query",
|
|
"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",
|
|
"request": {
|
|
"$ref": "Instance"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of instances contained within the specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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",
|
|
"response": {
|
|
"$ref": "InstanceList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listReferrers": {
|
|
"description": "Retrieves the list of referrers to instances contained within the specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.listReferrers",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "Name of the target instance scoping this request, or '-' if the request should span over all instances in the container.",
|
|
"location": "path",
|
|
"pattern": "-|[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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/referrers",
|
|
"response": {
|
|
"$ref": "InstanceListReferrers"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"reset": {
|
|
"description": "Performs a reset on the instance. For more information, see Resetting an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.reset",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/reset",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setDeletionProtection": {
|
|
"description": "Sets deletion protection on the instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setDeletionProtection",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"resource"
|
|
],
|
|
"parameters": {
|
|
"deletionProtection": {
|
|
"default": "true",
|
|
"description": "Whether the resource should be protected against deletion.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[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/{resource}/setDeletionProtection",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setDiskAutoDelete": {
|
|
"description": "Sets the auto-delete flag for a disk attached to an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setDiskAutoDelete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"autoDelete",
|
|
"deviceName"
|
|
],
|
|
"parameters": {
|
|
"autoDelete": {
|
|
"description": "Whether to auto-delete the disk when the instance is deleted.",
|
|
"location": "query",
|
|
"required": true,
|
|
"type": "boolean"
|
|
},
|
|
"deviceName": {
|
|
"description": "The device name of the disk to modify.",
|
|
"location": "query",
|
|
"pattern": "\\w[\\w.-]{0,254}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "The instance name.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setDiskAutoDelete",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setLabels",
|
|
"request": {
|
|
"$ref": "InstancesSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setMachineResources": {
|
|
"description": "Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setMachineResources",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setMachineResources",
|
|
"request": {
|
|
"$ref": "InstancesSetMachineResourcesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setMachineType": {
|
|
"description": "Changes the machine type for a stopped instance to the machine type specified in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setMachineType",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setMachineType",
|
|
"request": {
|
|
"$ref": "InstancesSetMachineTypeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setMetadata": {
|
|
"description": "Sets metadata for the specified instance to the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setMetadata",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setMetadata",
|
|
"request": {
|
|
"$ref": "Metadata"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setMinCpuPlatform": {
|
|
"description": "Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setMinCpuPlatform",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setMinCpuPlatform",
|
|
"request": {
|
|
"$ref": "InstancesSetMinCpuPlatformRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setScheduling": {
|
|
"description": "Sets an instance's scheduling options.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setScheduling",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Instance name.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setScheduling",
|
|
"request": {
|
|
"$ref": "Scheduling"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setServiceAccount": {
|
|
"description": "Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setServiceAccount",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setServiceAccount",
|
|
"request": {
|
|
"$ref": "InstancesSetServiceAccountRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setTags": {
|
|
"description": "Sets tags for the specified instance to the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setTags",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance scoping 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.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/setTags",
|
|
"request": {
|
|
"$ref": "Tags"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"start": {
|
|
"description": "Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.start",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/start",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"startWithEncryptionKey": {
|
|
"description": "Starts an instance that was stopped 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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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 VM usage charges while they are stopped. However, resources that the VM 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",
|
|
"id": "compute.instances.stop",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance resource to stop.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/stop",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"updateAccessConfig": {
|
|
"description": "Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.updateAccessConfig",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"networkInterface"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "The instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"networkInterface": {
|
|
"description": "The name of the network interface where the access config is attached.",
|
|
"location": "query",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/updateAccessConfig",
|
|
"request": {
|
|
"$ref": "AccessConfig"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"updateNetworkInterface": {
|
|
"description": "Updates an instance's network interface. This method follows PATCH semantics.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.updateNetworkInterface",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance",
|
|
"networkInterface"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "The instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"networkInterface": {
|
|
"description": "The name of the network interface to update.",
|
|
"location": "query",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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}/updateNetworkInterface",
|
|
"request": {
|
|
"$ref": "NetworkInterface"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"interconnectAttachments": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of interconnect attachments.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectAttachments.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/interconnectAttachments",
|
|
"response": {
|
|
"$ref": "InterconnectAttachmentAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified interconnect attachment.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.interconnectAttachments.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"interconnectAttachment"
|
|
],
|
|
"parameters": {
|
|
"interconnectAttachment": {
|
|
"description": "Name of the interconnect attachment to delete.",
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified interconnect attachment.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectAttachments.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"interconnectAttachment"
|
|
],
|
|
"parameters": {
|
|
"interconnectAttachment": {
|
|
"description": "Name of the interconnect attachment to return.",
|
|
"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-z0-9](?:[-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}/regions/{region}/interconnectAttachments/{interconnectAttachment}",
|
|
"response": {
|
|
"$ref": "InterconnectAttachment"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an InterconnectAttachment in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnectAttachments.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments",
|
|
"request": {
|
|
"$ref": "InterconnectAttachment"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of interconnect attachments contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectAttachments.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/interconnectAttachments",
|
|
"response": {
|
|
"$ref": "InterconnectAttachmentList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"interconnectLocations": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectLocations.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"interconnectLocation"
|
|
],
|
|
"parameters": {
|
|
"interconnectLocation": {
|
|
"description": "Name of the interconnect location to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnectLocations/{interconnectLocation}",
|
|
"response": {
|
|
"$ref": "InterconnectLocation"
|
|
},
|
|
"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 interconnect locations available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectLocations.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnectLocations",
|
|
"response": {
|
|
"$ref": "InterconnectLocationList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"interconnects": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified interconnect.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.interconnects.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"interconnect"
|
|
],
|
|
"parameters": {
|
|
"interconnect": {
|
|
"description": "Name of the interconnect to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{interconnect}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified interconnect. Gets a list of available interconnects by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnects.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"interconnect"
|
|
],
|
|
"parameters": {
|
|
"interconnect": {
|
|
"description": "Name of the interconnect to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{interconnect}",
|
|
"response": {
|
|
"$ref": "Interconnect"
|
|
},
|
|
"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 Interconnect in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnects.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects",
|
|
"request": {
|
|
"$ref": "Interconnect"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of interconnect available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnects.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects",
|
|
"response": {
|
|
"$ref": "InterconnectList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.interconnects.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"interconnect"
|
|
],
|
|
"parameters": {
|
|
"interconnect": {
|
|
"description": "Name of the interconnect to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{interconnect}",
|
|
"request": {
|
|
"$ref": "Interconnect"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"licenseCodes": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.licenseCodes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"licenseCode"
|
|
],
|
|
"parameters": {
|
|
"licenseCode": {
|
|
"description": "Number corresponding to the License code resource to return.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,61}?",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenseCodes/{licenseCode}",
|
|
"response": {
|
|
"$ref": "LicenseCode"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.licenseCodes.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"resource"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenseCodes/{resource}/testIamPermissions",
|
|
"request": {
|
|
"$ref": "TestPermissionsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "TestPermissionsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"licenses": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified license.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.licenses.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"license"
|
|
],
|
|
"parameters": {
|
|
"license": {
|
|
"description": "Name of the license resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses/{license}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified License resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.licenses.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"license"
|
|
],
|
|
"parameters": {
|
|
"license": {
|
|
"description": "Name of the License resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses/{license}",
|
|
"response": {
|
|
"$ref": "License"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Create a License resource in the specified project.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.licenses.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses",
|
|
"request": {
|
|
"$ref": "License"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/devstorage.full_control",
|
|
"https://www.googleapis.com/auth/devstorage.read_only",
|
|
"https://www.googleapis.com/auth/devstorage.read_write"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 8. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.licenses.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses",
|
|
"response": {
|
|
"$ref": "LicensesListResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.licenses.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"resource"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "(?:[-a-z0-9_]{0,62}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses/{resource}/testIamPermissions",
|
|
"request": {
|
|
"$ref": "TestPermissionsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "TestPermissionsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"machineTypes": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of machine types.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineTypes.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/machineTypes",
|
|
"response": {
|
|
"$ref": "MachineTypeAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified machine type. Gets a list of available machine types by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineTypes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"machineType"
|
|
],
|
|
"parameters": {
|
|
"machineType": {
|
|
"description": "Name of the machine type to return.",
|
|
"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-z0-9](?:[-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}/machineTypes/{machineType}",
|
|
"response": {
|
|
"$ref": "MachineType"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of machine types available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineTypes.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/machineTypes",
|
|
"response": {
|
|
"$ref": "MachineTypeList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"networks": {
|
|
"methods": {
|
|
"addPeering": {
|
|
"description": "Adds a peering to the specified network.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networks.addPeering",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network resource to add peering to.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/addPeering",
|
|
"request": {
|
|
"$ref": "NetworksAddPeeringRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified network.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.networks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified network. Gets a list of available networks by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}",
|
|
"response": {
|
|
"$ref": "Network"
|
|
},
|
|
"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 network in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networks.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks",
|
|
"request": {
|
|
"$ref": "Network"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of networks available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networks.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks",
|
|
"response": {
|
|
"$ref": "NetworkList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.networks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}",
|
|
"request": {
|
|
"$ref": "Network"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"removePeering": {
|
|
"description": "Removes a peering from the specified network.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networks.removePeering",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network resource to remove peering from.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/removePeering",
|
|
"request": {
|
|
"$ref": "NetworksRemovePeeringRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"switchToCustomMode": {
|
|
"description": "Switches the network mode from auto subnet mode to custom subnet mode.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networks.switchToCustomMode",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network to be updated.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/switchToCustomMode",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"projects": {
|
|
"methods": {
|
|
"disableXpnHost": {
|
|
"description": "Disable this project as a shared VPC host project.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.disableXpnHost",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/disableXpnHost",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"disableXpnResource": {
|
|
"description": "Disable a serivce resource (a.k.a service project) associated with this host project.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.disableXpnResource",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/disableXpnResource",
|
|
"request": {
|
|
"$ref": "ProjectsDisableXpnResourceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"enableXpnHost": {
|
|
"description": "Enable this project as a shared VPC host project.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.enableXpnHost",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/enableXpnHost",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"enableXpnResource": {
|
|
"description": "Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.enableXpnResource",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/enableXpnResource",
|
|
"request": {
|
|
"$ref": "ProjectsEnableXpnResourceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified Project resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.projects.get",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}",
|
|
"response": {
|
|
"$ref": "Project"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getXpnHost": {
|
|
"description": "Gets the shared VPC host project that this project links to. May be empty if no link exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.projects.getXpnHost",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/getXpnHost",
|
|
"response": {
|
|
"$ref": "Project"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"getXpnResources": {
|
|
"description": "Gets service resources (a.k.a service project) associated with this host project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.projects.getXpnResources",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"maxResults": {
|
|
"default": "500",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"order_by": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"pageToken": {
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/getXpnResources",
|
|
"response": {
|
|
"$ref": "ProjectsGetXpnResources"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"listXpnHosts": {
|
|
"description": "Lists all shared VPC host projects visible to the user in an organization.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.listXpnHosts",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"maxResults": {
|
|
"default": "500",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"order_by": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"pageToken": {
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/listXpnHosts",
|
|
"request": {
|
|
"$ref": "ProjectsListXpnHostsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "XpnHostList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"moveDisk": {
|
|
"description": "Moves a persistent disk from one zone to another.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.moveDisk",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/moveDisk",
|
|
"request": {
|
|
"$ref": "DiskMoveRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"moveInstance": {
|
|
"description": "Moves an instance and its attached persistent disks from one zone to another.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.moveInstance",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/moveInstance",
|
|
"request": {
|
|
"$ref": "InstanceMoveRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setCommonInstanceMetadata": {
|
|
"description": "Sets metadata common to all instances within the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.setCommonInstanceMetadata",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/setCommonInstanceMetadata",
|
|
"request": {
|
|
"$ref": "Metadata"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setUsageExportBucket": {
|
|
"description": "Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.setUsageExportBucket",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/setUsageExportBucket",
|
|
"request": {
|
|
"$ref": "UsageExportLocation"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/devstorage.full_control",
|
|
"https://www.googleapis.com/auth/devstorage.read_only",
|
|
"https://www.googleapis.com/auth/devstorage.read_write"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionAutoscalers": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified autoscaler.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionAutoscalers.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"autoscaler"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers/{autoscaler}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified autoscaler.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionAutoscalers.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"autoscaler"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers/{autoscaler}",
|
|
"response": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Creates an autoscaler in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionAutoscalers.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of autoscalers contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionAutoscalers.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers",
|
|
"response": {
|
|
"$ref": "RegionAutoscalerList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.regionAutoscalers.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to patch.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates an autoscaler in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.regionAutoscalers.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"autoscaler": {
|
|
"description": "Name of the autoscaler to update.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers",
|
|
"request": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionBackendServices": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified regional BackendService resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionBackendServices.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{backendService}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified regional BackendService resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionBackendServices.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{backendService}",
|
|
"response": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getHealth": {
|
|
"description": "Gets the most recent health check results for this regional BackendService.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionBackendServices.getHealth",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource for which to get health.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"project": {
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{backendService}/getHealth",
|
|
"request": {
|
|
"$ref": "ResourceGroupReference"
|
|
},
|
|
"response": {
|
|
"$ref": "BackendServiceGroupHealth"
|
|
},
|
|
"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 regional BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a regional backend service. Read Restrictions and Guidelines for more information.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionBackendServices.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of regional BackendService resources available to the specified project in the given region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionBackendServices.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices",
|
|
"response": {
|
|
"$ref": "BackendServiceList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.regionBackendServices.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to patch.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{backendService}",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified regional BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.regionBackendServices.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to update.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{backendService}",
|
|
"request": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionCommitments": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of commitments.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionCommitments.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/commitments",
|
|
"response": {
|
|
"$ref": "CommitmentAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified commitment resource. Gets a list of available commitments by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionCommitments.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"commitment"
|
|
],
|
|
"parameters": {
|
|
"commitment": {
|
|
"description": "Name of the commitment to return.",
|
|
"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-z0-9](?:[-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}/regions/{region}/commitments/{commitment}",
|
|
"response": {
|
|
"$ref": "Commitment"
|
|
},
|
|
"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 commitment in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionCommitments.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/commitments",
|
|
"request": {
|
|
"$ref": "Commitment"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of commitments contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionCommitments.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/commitments",
|
|
"response": {
|
|
"$ref": "CommitmentList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionInstanceGroupManagers": {
|
|
"methods": {
|
|
"abandonInstances": {
|
|
"description": "Schedules a group action to remove the specified instances from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.abandonInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersAbandonInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified managed instance group and all of the instances in that group.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionInstanceGroupManagers.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group to delete.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"deleteInstances": {
|
|
"description": "Schedules a group action to delete the specified instances in the managed instance group. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.deleteInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersDeleteInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns all of the details about the specified managed instance group.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionInstanceGroupManagers.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group to return.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}",
|
|
"response": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"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 managed instance group using the information that you specify in the request. After the group is created, it schedules an action to create instances in the group using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.\n\nA regional managed instance group can contain up to 2000 instances.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of managed instance groups that are contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionInstanceGroupManagers.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers",
|
|
"response": {
|
|
"$ref": "RegionInstanceGroupManagerList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listManagedInstances": {
|
|
"description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.listManagedInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"maxResults": {
|
|
"default": "500",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"order_by": {
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"pageToken": {
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances",
|
|
"response": {
|
|
"$ref": "RegionInstanceGroupManagersListInstancesResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"recreateInstances": {
|
|
"description": "Schedules a group action to recreate the specified instances in the managed instance group. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the action is scheduled even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.\n\nYou can specify a maximum of 1000 instances with this method per request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.recreateInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersRecreateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"resize": {
|
|
"description": "Changes the intended size for the managed instance group. If you increase the size, the group schedules actions to create new instances using the current instance template. If you decrease the size, the group schedules delete actions on one or more instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.\n\nIf the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.resize",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager",
|
|
"size"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "Number of instances that should exist in this instance group manager.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"required": true,
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setInstanceTemplate": {
|
|
"description": "Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.setInstanceTemplate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersSetTemplateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setTargetPools": {
|
|
"description": "Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.setTargetPools",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "Name of the managed instance group.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersSetTargetPoolsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionInstanceGroups": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Returns the specified instance group resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionInstanceGroups.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "Name of the instance group resource to return.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroups/{instanceGroup}",
|
|
"response": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"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 instance group resources contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionInstanceGroups.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroups",
|
|
"response": {
|
|
"$ref": "RegionInstanceGroupList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listInstances": {
|
|
"description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroups.listInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"instanceGroup": {
|
|
"description": "Name of the regional instance group for which we want to list the instances.",
|
|
"location": "path",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupsListInstancesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "RegionInstanceGroupsListInstances"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setNamedPorts": {
|
|
"description": "Sets the named ports for the specified regional instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroups.setNamedPorts",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroup"
|
|
],
|
|
"parameters": {
|
|
"instanceGroup": {
|
|
"description": "The name of the regional instance group where the named ports are updated.",
|
|
"location": "path",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupsSetNamedPortsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionOperations": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified region-specific Operations resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionOperations.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to delete.",
|
|
"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-z0-9](?:[-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}/regions/{region}/operations/{operation}",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Retrieves the specified region-specific Operations resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionOperations.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to return.",
|
|
"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-z0-9](?:[-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}/regions/{region}/operations/{operation}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of Operation resources contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionOperations.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/operations",
|
|
"response": {
|
|
"$ref": "OperationList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regions": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Returns the specified Region resource. Gets a list of available regions by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regions.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}",
|
|
"response": {
|
|
"$ref": "Region"
|
|
},
|
|
"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 region resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regions.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions",
|
|
"response": {
|
|
"$ref": "RegionList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"routers": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of routers.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.routers.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/routers",
|
|
"response": {
|
|
"$ref": "RouterAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified Router resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.routers.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"router": {
|
|
"description": "Name of the Router resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/routers/{router}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified Router resource. Gets a list of available routers by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.routers.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"router": {
|
|
"description": "Name of the Router resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/routers/{router}",
|
|
"response": {
|
|
"$ref": "Router"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getRouterStatus": {
|
|
"description": "Retrieves runtime information of the specified router.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.routers.getRouterStatus",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"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}/regions/{region}/routers/{router}/getRouterStatus",
|
|
"response": {
|
|
"$ref": "RouterStatusResponse"
|
|
},
|
|
"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 Router resource in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.routers.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/routers",
|
|
"request": {
|
|
"$ref": "Router"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of Router resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.routers.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/routers",
|
|
"response": {
|
|
"$ref": "RouterList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.routers.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"router": {
|
|
"description": "Name of the Router resource to patch.",
|
|
"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"
|
|
]
|
|
},
|
|
"preview": {
|
|
"description": "Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.routers.preview",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"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}/regions/{region}/routers/{router}/preview",
|
|
"request": {
|
|
"$ref": "Router"
|
|
},
|
|
"response": {
|
|
"$ref": "RoutersPreviewResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified Router resource with the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.routers.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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. Gets 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-z0-9](?:[-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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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. Gets 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-z0-9](?:[-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": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.snapshots.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"resource"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/snapshots/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"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. Gets 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-z0-9](?:[-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])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslCertificates/{sslCertificate}",
|
|
"response": {
|
|
"$ref": "SslCertificate"
|
|
},
|
|
"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 SslCertificate resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.sslCertificates.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslCertificates",
|
|
"request": {
|
|
"$ref": "SslCertificate"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of SslCertificate resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.sslCertificates.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslCertificates",
|
|
"response": {
|
|
"$ref": "SslCertificateList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"sslPolicies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.sslPolicies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"sslPolicy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"sslPolicy": {
|
|
"description": "Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies/{sslPolicy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Lists all of the ordered rules present in a single specified policy.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.sslPolicies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"sslPolicy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"sslPolicy": {
|
|
"description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies/{sslPolicy}",
|
|
"response": {
|
|
"$ref": "SslPolicy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"insert": {
|
|
"description": "Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.sslPolicies.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies",
|
|
"request": {
|
|
"$ref": "SslPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Lists all the SSL policies that have been configured for the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.sslPolicies.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies",
|
|
"response": {
|
|
"$ref": "SslPoliciesList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listAvailableFeatures": {
|
|
"description": "Lists all features that can be specified in the SSL policy when using custom profile.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.sslPolicies.listAvailableFeatures",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies/listAvailableFeatures",
|
|
"response": {
|
|
"$ref": "SslPoliciesListAvailableFeaturesResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified SSL policy with the data included in the request.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.sslPolicies.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"sslPolicy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"sslPolicy": {
|
|
"description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies/{sslPolicy}",
|
|
"request": {
|
|
"$ref": "SslPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"subnetworks": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of subnetworks.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.subnetworks.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/subnetworks",
|
|
"response": {
|
|
"$ref": "SubnetworkAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified subnetwork.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.subnetworks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Name of the Subnetwork resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{subnetwork}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"expandIpCidrRange": {
|
|
"description": "Expands the IP CIDR range of the subnetwork to a specified value.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.subnetworks.expandIpCidrRange",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Name of the Subnetwork resource to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange",
|
|
"request": {
|
|
"$ref": "SubnetworksExpandIpCidrRangeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified subnetwork. Gets a list of available subnetworks list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.subnetworks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Name of the Subnetwork resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{subnetwork}",
|
|
"response": {
|
|
"$ref": "Subnetwork"
|
|
},
|
|
"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 subnetwork in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.subnetworks.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks",
|
|
"request": {
|
|
"$ref": "Subnetwork"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of subnetworks available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.subnetworks.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks",
|
|
"response": {
|
|
"$ref": "SubnetworkList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified subnetwork with the data included in the request. Only the following fields within the subnetwork resource can be specified in the request: secondary_ip_range, allow_subnet_cidr_routes_overlap and role. It is also mandatory to specify the current fingeprint of the subnetwork resource being patched.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.subnetworks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Name of the Subnetwork resource to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{subnetwork}",
|
|
"request": {
|
|
"$ref": "Subnetwork"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setPrivateIpGoogleAccess": {
|
|
"description": "Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.subnetworks.setPrivateIpGoogleAccess",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Name of the Subnetwork resource.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess",
|
|
"request": {
|
|
"$ref": "SubnetworksSetPrivateIpGoogleAccessRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetHttpProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetHttpProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetHttpProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpProxy": {
|
|
"description": "Name of the TargetHttpProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpProxies/{targetHttpProxy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetHttpProxy": {
|
|
"description": "Name of the TargetHttpProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpProxies/{targetHttpProxy}",
|
|
"response": {
|
|
"$ref": "TargetHttpProxy"
|
|
},
|
|
"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 TargetHttpProxy resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpProxies.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpProxies",
|
|
"request": {
|
|
"$ref": "TargetHttpProxy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of TargetHttpProxy resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpProxies.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpProxies",
|
|
"response": {
|
|
"$ref": "TargetHttpProxyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setUrlMap": {
|
|
"description": "Changes the URL map for TargetHttpProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpProxies.setUrlMap",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpProxy": {
|
|
"description": "Name of the TargetHttpProxy to set a URL map for.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap",
|
|
"request": {
|
|
"$ref": "UrlMapReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetHttpsProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetHttpsProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetHttpsProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpsProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpsProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpsProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}",
|
|
"response": {
|
|
"$ref": "TargetHttpsProxy"
|
|
},
|
|
"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 TargetHttpsProxy resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies",
|
|
"request": {
|
|
"$ref": "TargetHttpsProxy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of TargetHttpsProxy resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpsProxies.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies",
|
|
"response": {
|
|
"$ref": "TargetHttpsProxyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setSslCertificates": {
|
|
"description": "Replaces SslCertificates for TargetHttpsProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.setSslCertificates",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpsProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource to set an SslCertificates resource for.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates",
|
|
"request": {
|
|
"$ref": "TargetHttpsProxiesSetSslCertificatesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setSslPolicy": {
|
|
"description": "Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.setSslPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpsProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy",
|
|
"request": {
|
|
"$ref": "SslPolicyReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setUrlMap": {
|
|
"description": "Changes the URL map for TargetHttpsProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.setUrlMap",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetHttpsProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource whose URL map is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap",
|
|
"request": {
|
|
"$ref": "UrlMapReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetInstances": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of target instances.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetInstances.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/targetInstances",
|
|
"response": {
|
|
"$ref": "TargetInstanceAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified TargetInstance resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetInstances.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"targetInstance"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetInstance": {
|
|
"description": "Name of the TargetInstance resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/targetInstances/{targetInstance}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetInstances.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"targetInstance"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetInstance": {
|
|
"description": "Name of the TargetInstance resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/targetInstances/{targetInstance}",
|
|
"response": {
|
|
"$ref": "TargetInstance"
|
|
},
|
|
"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 TargetInstance resource in the specified project and zone using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetInstances.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/targetInstances",
|
|
"request": {
|
|
"$ref": "TargetInstance"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of TargetInstance resources available to the specified project and zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetInstances.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/targetInstances",
|
|
"response": {
|
|
"$ref": "TargetInstanceList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetPools": {
|
|
"methods": {
|
|
"addHealthCheck": {
|
|
"description": "Adds health check URLs to a target pool.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.addHealthCheck",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the target pool to add a health check to.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck",
|
|
"request": {
|
|
"$ref": "TargetPoolsAddHealthCheckRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"addInstance": {
|
|
"description": "Adds an instance to a target pool.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.addInstance",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to add instances to.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/addInstance",
|
|
"request": {
|
|
"$ref": "TargetPoolsAddInstanceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of target pools.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetPools.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/targetPools",
|
|
"response": {
|
|
"$ref": "TargetPoolAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified target pool.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetPools.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified target pool. Gets a list of available target pools by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetPools.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}",
|
|
"response": {
|
|
"$ref": "TargetPool"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getHealth": {
|
|
"description": "Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.getHealth",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to which the queried instance belongs.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/getHealth",
|
|
"request": {
|
|
"$ref": "InstanceReference"
|
|
},
|
|
"response": {
|
|
"$ref": "TargetPoolInstanceHealth"
|
|
},
|
|
"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 target pool in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools",
|
|
"request": {
|
|
"$ref": "TargetPool"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of target pools available to the specified project and region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetPools.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools",
|
|
"response": {
|
|
"$ref": "TargetPoolList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"removeHealthCheck": {
|
|
"description": "Removes health check URL from a target pool.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.removeHealthCheck",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the target pool to remove health checks from.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck",
|
|
"request": {
|
|
"$ref": "TargetPoolsRemoveHealthCheckRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"removeInstance": {
|
|
"description": "Removes instance URL from a target pool.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.removeInstance",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to remove instances from.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/removeInstance",
|
|
"request": {
|
|
"$ref": "TargetPoolsRemoveInstanceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setBackup": {
|
|
"description": "Changes a backup target pool's configurations.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.setBackup",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetPool"
|
|
],
|
|
"parameters": {
|
|
"failoverRatio": {
|
|
"description": "New failoverRatio value for the target pool.",
|
|
"format": "float",
|
|
"location": "query",
|
|
"type": "number"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "Name of the region scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetPool": {
|
|
"description": "Name of the TargetPool resource to set a backup pool for.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{targetPool}/setBackup",
|
|
"request": {
|
|
"$ref": "TargetReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetSslProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetSslProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetSslProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetSslProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}",
|
|
"response": {
|
|
"$ref": "TargetSslProxy"
|
|
},
|
|
"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 TargetSslProxy resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies",
|
|
"request": {
|
|
"$ref": "TargetSslProxy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of TargetSslProxy resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetSslProxies.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies",
|
|
"response": {
|
|
"$ref": "TargetSslProxyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setBackendService": {
|
|
"description": "Changes the BackendService for TargetSslProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.setBackendService",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource whose BackendService resource is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}/setBackendService",
|
|
"request": {
|
|
"$ref": "TargetSslProxiesSetBackendServiceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setProxyHeader": {
|
|
"description": "Changes the ProxyHeaderType for TargetSslProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.setProxyHeader",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource whose ProxyHeader is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader",
|
|
"request": {
|
|
"$ref": "TargetSslProxiesSetProxyHeaderRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setSslCertificates": {
|
|
"description": "Changes SslCertificates for TargetSslProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.setSslCertificates",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource whose SslCertificate resource is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates",
|
|
"request": {
|
|
"$ref": "TargetSslProxiesSetSslCertificatesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setSslPolicy": {
|
|
"description": "Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.setSslPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetSslProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetSslProxy": {
|
|
"description": "Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy",
|
|
"request": {
|
|
"$ref": "SslPolicyReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetTcpProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetTcpProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetTcpProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetTcpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetTcpProxy": {
|
|
"description": "Name of the TargetTcpProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies/{targetTcpProxy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetTcpProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetTcpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"targetTcpProxy": {
|
|
"description": "Name of the TargetTcpProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies/{targetTcpProxy}",
|
|
"response": {
|
|
"$ref": "TargetTcpProxy"
|
|
},
|
|
"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 TargetTcpProxy resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetTcpProxies.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies",
|
|
"request": {
|
|
"$ref": "TargetTcpProxy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of TargetTcpProxy resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetTcpProxies.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies",
|
|
"response": {
|
|
"$ref": "TargetTcpProxyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setBackendService": {
|
|
"description": "Changes the BackendService for TargetTcpProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetTcpProxies.setBackendService",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetTcpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetTcpProxy": {
|
|
"description": "Name of the TargetTcpProxy resource whose BackendService resource is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService",
|
|
"request": {
|
|
"$ref": "TargetTcpProxiesSetBackendServiceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setProxyHeader": {
|
|
"description": "Changes the ProxyHeaderType for TargetTcpProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetTcpProxies.setProxyHeader",
|
|
"parameterOrder": [
|
|
"project",
|
|
"targetTcpProxy"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetTcpProxy": {
|
|
"description": "Name of the TargetTcpProxy resource whose ProxyHeader is to be set.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader",
|
|
"request": {
|
|
"$ref": "TargetTcpProxiesSetProxyHeaderRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetVpnGateways": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of target VPN gateways.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetVpnGateways.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/targetVpnGateways",
|
|
"response": {
|
|
"$ref": "TargetVpnGatewayAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified target VPN gateway.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.targetVpnGateways.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetVpnGateway"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"targetVpnGateway": {
|
|
"description": "Name of the target VPN gateway to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetVpnGateways.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"targetVpnGateway"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"targetVpnGateway": {
|
|
"description": "Name of the target VPN gateway to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}",
|
|
"response": {
|
|
"$ref": "TargetVpnGateway"
|
|
},
|
|
"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 target VPN gateway in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetVpnGateways.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetVpnGateways",
|
|
"request": {
|
|
"$ref": "TargetVpnGateway"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of target VPN gateways available to the specified project and region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetVpnGateways.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/targetVpnGateways",
|
|
"response": {
|
|
"$ref": "TargetVpnGatewayList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"urlMaps": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified UrlMap resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.urlMaps.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.urlMaps.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}",
|
|
"response": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"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 UrlMap resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.urlMaps.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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps",
|
|
"request": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"invalidateCache": {
|
|
"description": "Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.urlMaps.invalidateCache",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}/invalidateCache",
|
|
"request": {
|
|
"$ref": "CacheInvalidationRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of UrlMap resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.urlMaps.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps",
|
|
"response": {
|
|
"$ref": "UrlMapList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.urlMaps.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}",
|
|
"request": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified UrlMap resource with the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.urlMaps.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}",
|
|
"request": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"validate": {
|
|
"description": "Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.urlMaps.validate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"urlMap"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to be validated as.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{urlMap}/validate",
|
|
"request": {
|
|
"$ref": "UrlMapsValidateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "UrlMapsValidateResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"vpnTunnels": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of VPN tunnels.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnTunnels.aggregatedList",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/aggregated/vpnTunnels",
|
|
"response": {
|
|
"$ref": "VpnTunnelAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified VpnTunnel resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.vpnTunnels.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"vpnTunnel"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"vpnTunnel": {
|
|
"description": "Name of the VpnTunnel resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnTunnels/{vpnTunnel}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnTunnels.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"vpnTunnel"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"vpnTunnel": {
|
|
"description": "Name of the VpnTunnel resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnTunnels/{vpnTunnel}",
|
|
"response": {
|
|
"$ref": "VpnTunnel"
|
|
},
|
|
"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 VpnTunnel resource in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnTunnels.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"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-z0-9](?:[-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"
|
|
},
|
|
"requestId": {
|
|
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.\n\nFor example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnTunnels",
|
|
"request": {
|
|
"$ref": "VpnTunnel"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of VpnTunnel resources contained in the specified project and region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnTunnels.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-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}/regions/{region}/vpnTunnels",
|
|
"response": {
|
|
"$ref": "VpnTunnelList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"zoneOperations": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified zone-specific Operations resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.zoneOperations.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to delete.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/operations/{operation}",
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Retrieves the specified zone-specific Operations resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.zoneOperations.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to return.",
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "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}/operations/{operation}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of Operation resources contained within the specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.zoneOperations.list",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone for request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/operations",
|
|
"response": {
|
|
"$ref": "OperationList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"zones": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Returns the specified Zone resource. Gets a list of available zones by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.zones.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone"
|
|
],
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "Name of the zone resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}",
|
|
"response": {
|
|
"$ref": "Zone"
|
|
},
|
|
"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 Zone resources available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.zones.list",
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"parameters": {
|
|
"filter": {
|
|
"description": "A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, \u003e, or \u003c.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).",
|
|
"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. Acceptable values are 0 to 500, inclusive. (Default: 500)",
|
|
"format": "uint32",
|
|
"location": "query",
|
|
"minimum": "0",
|
|
"type": "integer"
|
|
},
|
|
"orderBy": {
|
|
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones",
|
|
"response": {
|
|
"$ref": "ZoneList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"revision": "20180417",
|
|
"rootUrl": "https://www.googleapis.com/",
|
|
"schemas": {
|
|
"AcceleratorConfig": {
|
|
"description": "A specification of the type and number of accelerator cards attached to the instance.",
|
|
"id": "AcceleratorConfig",
|
|
"properties": {
|
|
"acceleratorCount": {
|
|
"description": "The number of the guest accelerator cards exposed to this instance.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"acceleratorType": {
|
|
"description": "Full or partial URL of the accelerator type resource to attach to this instance. If you are creating an instance template, specify only the accelerator name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AcceleratorType": {
|
|
"description": "An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (== resource_for v1.acceleratorTypes ==)",
|
|
"id": "AcceleratorType",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this accelerator type."
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] An optional textual description of 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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#acceleratorType",
|
|
"description": "[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.",
|
|
"type": "string"
|
|
},
|
|
"maximumCardsPerInstance": {
|
|
"description": "[Output Only] Maximum accelerator cards allowed per instance.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined fully-qualified URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AcceleratorTypeAggregatedList": {
|
|
"id": "AcceleratorTypeAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "AcceleratorTypesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of accelerator types."
|
|
},
|
|
"description": "A list of AcceleratorTypesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#acceleratorTypeAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AcceleratorTypeList": {
|
|
"description": "Contains a list of accelerator types.",
|
|
"id": "AcceleratorTypeList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of AcceleratorType resources.",
|
|
"items": {
|
|
"$ref": "AcceleratorType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#acceleratorTypeList",
|
|
"description": "[Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AcceleratorTypesScopedList": {
|
|
"id": "AcceleratorTypesScopedList",
|
|
"properties": {
|
|
"acceleratorTypes": {
|
|
"description": "[Output Only] A list of accelerator types contained in this scope.",
|
|
"items": {
|
|
"$ref": "AcceleratorType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that appears when the accelerator types 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AccessConfig": {
|
|
"description": "An access configuration attached to an instance's network interface. Only one access config per instance is supported.",
|
|
"id": "AccessConfig",
|
|
"properties": {
|
|
"kind": {
|
|
"default": "compute#accessConfig",
|
|
"description": "[Output Only] Type of the resource. Always compute#accessConfig for access configs.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of this access configuration. The default and recommended name is External NAT but you can use any arbitrary string you would like. For example, My external IP or Network Access.",
|
|
"type": "string"
|
|
},
|
|
"natIP": {
|
|
"description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.",
|
|
"type": "string"
|
|
},
|
|
"publicPtrDomainName": {
|
|
"description": "The DNS domain name for the public PTR record. This field can only be set when the set_public_ptr field is enabled.",
|
|
"type": "string"
|
|
},
|
|
"setPublicPtr": {
|
|
"description": "Specifies whether a public DNS ?PTR? record should be created to map the external IP address of the instance to a DNS domain name.",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"default": "ONE_TO_ONE_NAT",
|
|
"description": "The type of configuration. The default and only option is ONE_TO_ONE_NAT.",
|
|
"enum": [
|
|
"ONE_TO_ONE_NAT"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Address": {
|
|
"description": "A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==)",
|
|
"id": "Address",
|
|
"properties": {
|
|
"address": {
|
|
"description": "The static IP address represented by this resource.",
|
|
"type": "string"
|
|
},
|
|
"addressType": {
|
|
"description": "The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.",
|
|
"enum": [
|
|
"EXTERNAL",
|
|
"INTERNAL",
|
|
"UNSPECIFIED_TYPE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"ipVersion": {
|
|
"description": "The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.",
|
|
"enum": [
|
|
"IPV4",
|
|
"IPV6",
|
|
"UNSPECIFIED_VERSION"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#address",
|
|
"description": "[Output Only] Type of the resource. Always compute#address for addresses.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.addresses.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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional address resides. This field is not applicable to global addresses. You must specify this field as part of the HTTP request URL. You cannot set this field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.",
|
|
"enum": [
|
|
"IN_USE",
|
|
"RESERVED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.",
|
|
"type": "string"
|
|
},
|
|
"users": {
|
|
"description": "[Output Only] The URLs of the resources that are using this address.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AddressAggregatedList": {
|
|
"id": "AddressAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "AddressesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of addresses."
|
|
},
|
|
"description": "A list of AddressesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#addressAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AddressList": {
|
|
"description": "Contains a list of addresses.",
|
|
"id": "AddressList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Address resources.",
|
|
"items": {
|
|
"$ref": "Address"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#addressList",
|
|
"description": "[Output Only] Type of resource. Always compute#addressList for lists of addresses.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AddressesScopedList": {
|
|
"id": "AddressesScopedList",
|
|
"properties": {
|
|
"addresses": {
|
|
"description": "[Output Only] A list of addresses contained in this scope.",
|
|
"items": {
|
|
"$ref": "Address"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AliasIpRange": {
|
|
"description": "An alias IP range attached to an instance's network interface.",
|
|
"id": "AliasIpRange",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24).",
|
|
"type": "string"
|
|
},
|
|
"subnetworkRangeName": {
|
|
"description": "Optional subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AttachedDisk": {
|
|
"description": "An instance-attached disk resource.",
|
|
"id": "AttachedDisk",
|
|
"properties": {
|
|
"autoDelete": {
|
|
"description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).",
|
|
"type": "boolean"
|
|
},
|
|
"boot": {
|
|
"description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.",
|
|
"type": "boolean"
|
|
},
|
|
"deviceName": {
|
|
"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."
|
|
},
|
|
"guestOsFeatures": {
|
|
"description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.",
|
|
"items": {
|
|
"$ref": "GuestOsFeature"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"index": {
|
|
"description": "[Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"initializeParams": {
|
|
"$ref": "AttachedDiskInitializeParams",
|
|
"description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property; you can only define one or the other, but not both."
|
|
},
|
|
"interface": {
|
|
"description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.",
|
|
"enum": [
|
|
"NVME",
|
|
"SCSI"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#attachedDisk",
|
|
"description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.",
|
|
"type": "string"
|
|
},
|
|
"licenses": {
|
|
"description": "[Output Only] Any valid publicly visible licenses.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"mode": {
|
|
"description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.",
|
|
"enum": [
|
|
"READ_ONLY",
|
|
"READ_WRITE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"source": {
|
|
"description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or disks.source is required except for local SSD.\n\nIf desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks.\n\nNote that for InstanceTemplate, specify the disk name, not the URL for the disk.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.",
|
|
"enum": [
|
|
"PERSISTENT",
|
|
"SCRATCH"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AttachedDiskInitializeParams": {
|
|
"description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property; you can only define one or the other, but not both.",
|
|
"id": "AttachedDiskInitializeParams",
|
|
"properties": {
|
|
"diskName": {
|
|
"description": "Specifies the disk name. If not specified, the default is to use the name of the instance.",
|
|
"type": "string"
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "Specifies the size of the disk in base-2 GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"diskType": {
|
|
"description": "Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example:\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard\n\n\nOther values include pd-ssd and local-ssd. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n- projects/project/zones/zone/diskTypes/diskType \n- zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL.",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.",
|
|
"type": "object"
|
|
},
|
|
"sourceImage": {
|
|
"description": "The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or disks.source is required except for local SSD.\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:\nprojects/debian-cloud/global/images/family/debian-8\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the image name in the following format:\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\nglobal/images/family/my-image-family\n\n\nIf the source image is deleted later, this field will not be set.",
|
|
"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"
|
|
},
|
|
"Autoscaler": {
|
|
"description": "Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine instances in managed instance groups according to an autoscaling policy that you define. For more information, read Autoscaling Groups of Instances. (== resource_for beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==)",
|
|
"id": "Autoscaler",
|
|
"properties": {
|
|
"autoscalingPolicy": {
|
|
"$ref": "AutoscalingPolicy",
|
|
"description": "The configuration parameters for the autoscaling algorithm. You can define one or more of the policies for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization.\n\nIf none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%."
|
|
},
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#autoscaler",
|
|
"description": "[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceGroups.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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the autoscaler configuration.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"DELETING",
|
|
"ERROR",
|
|
"PENDING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"statusDetails": {
|
|
"description": "[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.",
|
|
"items": {
|
|
"$ref": "AutoscalerStatusDetails"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"target": {
|
|
"description": "URL of the managed instance group that this autoscaler will scale.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalerAggregatedList": {
|
|
"id": "AutoscalerAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "AutoscalersScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of autoscalers."
|
|
},
|
|
"description": "A list of AutoscalersScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#autoscalerAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AutoscalerList": {
|
|
"description": "Contains a list of Autoscaler resources.",
|
|
"id": "AutoscalerList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Autoscaler resources.",
|
|
"items": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#autoscalerList",
|
|
"description": "[Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AutoscalerStatusDetails": {
|
|
"id": "AutoscalerStatusDetails",
|
|
"properties": {
|
|
"message": {
|
|
"description": "The status message.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of error returned.",
|
|
"enum": [
|
|
"ALL_INSTANCES_UNHEALTHY",
|
|
"BACKEND_SERVICE_DOES_NOT_EXIST",
|
|
"CAPPED_AT_MAX_NUM_REPLICAS",
|
|
"CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE",
|
|
"CUSTOM_METRIC_INVALID",
|
|
"MIN_EQUALS_MAX",
|
|
"MISSING_CUSTOM_METRIC_DATA_POINTS",
|
|
"MISSING_LOAD_BALANCING_DATA_POINTS",
|
|
"MORE_THAN_ONE_BACKEND_SERVICE",
|
|
"NOT_ENOUGH_QUOTA_AVAILABLE",
|
|
"REGION_RESOURCE_STOCKOUT",
|
|
"SCALING_TARGET_DOES_NOT_EXIST",
|
|
"UNKNOWN",
|
|
"UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION",
|
|
"ZONE_RESOURCE_STOCKOUT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalersScopedList": {
|
|
"id": "AutoscalersScopedList",
|
|
"properties": {
|
|
"autoscalers": {
|
|
"description": "[Output Only] A list of autoscalers contained in this scope.",
|
|
"items": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of autoscalers 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"AutoscalingPolicy": {
|
|
"description": "Cloud Autoscaler policy.",
|
|
"id": "AutoscalingPolicy",
|
|
"properties": {
|
|
"coolDownPeriodSec": {
|
|
"description": "The number of seconds that the autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds.\n\nVirtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"cpuUtilization": {
|
|
"$ref": "AutoscalingPolicyCpuUtilization",
|
|
"description": "Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group."
|
|
},
|
|
"customMetricUtilizations": {
|
|
"description": "Configuration parameters of autoscaling based on a custom metric.",
|
|
"items": {
|
|
"$ref": "AutoscalingPolicyCustomMetricUtilization"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"loadBalancingUtilization": {
|
|
"$ref": "AutoscalingPolicyLoadBalancingUtilization",
|
|
"description": "Configuration parameters of autoscaling based on load balancer."
|
|
},
|
|
"maxNumReplicas": {
|
|
"description": "The maximum number of instances that the autoscaler can scale up to. This is required when creating or updating an autoscaler. The maximum number of replicas should not be lower than minimal number of replicas.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"minNumReplicas": {
|
|
"description": "The minimum number of replicas that the autoscaler can scale down to. This cannot be less than 0. If not provided, autoscaler will choose a default value depending on maximum number of instances allowed.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalingPolicyCpuUtilization": {
|
|
"description": "CPU utilization policy.",
|
|
"id": "AutoscalingPolicyCpuUtilization",
|
|
"properties": {
|
|
"utilizationTarget": {
|
|
"description": "The target CPU utilization that the autoscaler should maintain. Must be a float value in the range (0, 1]. If not specified, the default is 0.6.\n\nIf the CPU level is below the target utilization, the autoscaler scales down the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization.\n\nIf the average CPU is above the target utilization, the autoscaler scales up until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalingPolicyCustomMetricUtilization": {
|
|
"description": "Custom utilization metric policy.",
|
|
"id": "AutoscalingPolicyCustomMetricUtilization",
|
|
"properties": {
|
|
"metric": {
|
|
"description": "The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values.\n\nThe metric must have a value type of INT64 or DOUBLE.",
|
|
"type": "string"
|
|
},
|
|
"utilizationTarget": {
|
|
"description": "The target value of the metric that autoscaler should maintain. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric.\n\nFor example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.",
|
|
"format": "double",
|
|
"type": "number"
|
|
},
|
|
"utilizationTargetType": {
|
|
"description": "Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.",
|
|
"enum": [
|
|
"DELTA_PER_MINUTE",
|
|
"DELTA_PER_SECOND",
|
|
"GAUGE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalingPolicyLoadBalancingUtilization": {
|
|
"description": "Configuration parameters of autoscaling based on load balancing.",
|
|
"id": "AutoscalingPolicyLoadBalancingUtilization",
|
|
"properties": {
|
|
"utilizationTarget": {
|
|
"description": "Fraction of backend capacity utilization (set in HTTP(s) load balancing configuration) that autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Backend": {
|
|
"description": "Message containing information of one individual backend.",
|
|
"id": "Backend",
|
|
"properties": {
|
|
"balancingMode": {
|
|
"description": "Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for TCP/SSL).\n\nFor Internal Load Balancing, the default and only supported mode is CONNECTION.",
|
|
"enum": [
|
|
"CONNECTION",
|
|
"RATE",
|
|
"UTILIZATION"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"capacityScaler": {
|
|
"description": "A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0].\n\nThis cannot be used for internal load balancing.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"group": {
|
|
"description": "The fully-qualified URL of a Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource.\n\nNote that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL.\n\nWhen the BackendService has load balancing scheme INTERNAL, the instance group must be within the same region as the BackendService.",
|
|
"type": "string"
|
|
},
|
|
"maxConnections": {
|
|
"description": "The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxConnectionsPerInstance": {
|
|
"description": "The max number of simultaneous connections that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxRate": {
|
|
"description": "The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxRatePerInstance": {
|
|
"description": "The max requests per second (RPS) that a single backend instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"maxUtilization": {
|
|
"description": "Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0].\n\nThis cannot be used for internal load balancing.",
|
|
"format": "float",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendBucket": {
|
|
"description": "A BackendBucket resource. This resource defines a Cloud Storage bucket.",
|
|
"id": "BackendBucket",
|
|
"properties": {
|
|
"bucketName": {
|
|
"description": "Cloud Storage bucket name.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional textual description of the resource; provided by the client when the resource is created.",
|
|
"type": "string"
|
|
},
|
|
"enableCdn": {
|
|
"description": "If true, enable Cloud CDN for this BackendBucket.",
|
|
"type": "boolean"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendBucket",
|
|
"description": "Type of the resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendBucketList": {
|
|
"description": "Contains a list of BackendBucket resources.",
|
|
"id": "BackendBucketList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of BackendBucket resources.",
|
|
"items": {
|
|
"$ref": "BackendBucket"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendBucketList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"BackendService": {
|
|
"description": "A BackendService resource. This resource defines a group of backend virtual machines and their serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)",
|
|
"id": "BackendService",
|
|
"properties": {
|
|
"affinityCookieTtlSec": {
|
|
"description": "Lifetime of cookies in seconds if session_affinity is GENERATED_COOKIE. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value for TTL is one day.\n\nWhen the load balancing scheme is INTERNAL, this field is not used.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"backends": {
|
|
"description": "The list of backends that serve this BackendService.",
|
|
"items": {
|
|
"$ref": "Backend"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"cdnPolicy": {
|
|
"$ref": "BackendServiceCdnPolicy",
|
|
"description": "Cloud CDN configuration for this BackendService."
|
|
},
|
|
"connectionDraining": {
|
|
"$ref": "ConnectionDraining"
|
|
},
|
|
"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"
|
|
},
|
|
"enableCDN": {
|
|
"description": "If true, enable Cloud CDN for this BackendService.\n\nWhen the load balancing scheme is INTERNAL, this field is not used.",
|
|
"type": "boolean"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"healthChecks": {
|
|
"description": "The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required for Compute Engine backend services. A health check must not be specified for App Engine backend and Cloud Function backend.\n\nFor internal load balancing, a URL to a HealthCheck resource must be specified instead.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"iap": {
|
|
"$ref": "BackendServiceIAP"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendService",
|
|
"description": "[Output Only] Type of resource. Always compute#backendService for backend services.",
|
|
"type": "string"
|
|
},
|
|
"loadBalancingScheme": {
|
|
"description": "Indicates whether the backend service will be used with internal or external load balancing. A backend service created for one type of load balancing cannot be used with the other. Possible values are INTERNAL and EXTERNAL.",
|
|
"enum": [
|
|
"EXTERNAL",
|
|
"INTERNAL",
|
|
"INVALID_LOAD_BALANCING_SCHEME"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"port": {
|
|
"description": "Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"portName": {
|
|
"description": "Name of backend port. The same name should appear in the instance groups referenced by this service. Required when the load balancing scheme is EXTERNAL.\n\nWhen the load balancing scheme is INTERNAL, this field is not used.",
|
|
"type": "string"
|
|
},
|
|
"protocol": {
|
|
"description": "The protocol this BackendService uses to communicate with backends.\n\nPossible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.\n\nFor internal load balancing, the possible values are TCP and UDP, and the default is TCP.",
|
|
"enum": [
|
|
"HTTP",
|
|
"HTTPS",
|
|
"SSL",
|
|
"TCP",
|
|
"UDP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sessionAffinity": {
|
|
"description": "Type of session affinity to use. The default is NONE.\n\nWhen the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP, or GENERATED_COOKIE.\n\nWhen the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.\n\nWhen the protocol is UDP, this field is not used.",
|
|
"enum": [
|
|
"CLIENT_IP",
|
|
"CLIENT_IP_PORT_PROTO",
|
|
"CLIENT_IP_PROTO",
|
|
"GENERATED_COOKIE",
|
|
"NONE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"timeoutSec": {
|
|
"description": "How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceAggregatedList": {
|
|
"description": "Contains a list of BackendServicesScopedList.",
|
|
"id": "BackendServiceAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "BackendServicesScopedList",
|
|
"description": "Name of the scope containing this set of BackendServices."
|
|
},
|
|
"description": "A list of BackendServicesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendServiceAggregatedList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"BackendServiceCdnPolicy": {
|
|
"description": "Message containing Cloud CDN configuration for a backend service.",
|
|
"id": "BackendServiceCdnPolicy",
|
|
"properties": {
|
|
"cacheKeyPolicy": {
|
|
"$ref": "CacheKeyPolicy",
|
|
"description": "The CacheKeyPolicy for this CdnPolicy."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceGroupHealth": {
|
|
"id": "BackendServiceGroupHealth",
|
|
"properties": {
|
|
"healthStatus": {
|
|
"items": {
|
|
"$ref": "HealthStatus"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendServiceGroupHealth",
|
|
"description": "[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceIAP": {
|
|
"description": "Identity-Aware Proxy",
|
|
"id": "BackendServiceIAP",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"oauth2ClientId": {
|
|
"type": "string"
|
|
},
|
|
"oauth2ClientSecret": {
|
|
"type": "string"
|
|
},
|
|
"oauth2ClientSecretSha256": {
|
|
"description": "[Output Only] SHA256 hash value for the field oauth2_client_secret above.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceList": {
|
|
"description": "Contains a list of BackendService resources.",
|
|
"id": "BackendServiceList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of BackendService resources.",
|
|
"items": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#backendServiceList",
|
|
"description": "[Output Only] Type of resource. Always compute#backendServiceList for lists of backend services.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"BackendServicesScopedList": {
|
|
"id": "BackendServicesScopedList",
|
|
"properties": {
|
|
"backendServices": {
|
|
"description": "A list of BackendServices contained in this scope.",
|
|
"items": {
|
|
"$ref": "BackendService"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of backend services 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"CacheInvalidationRule": {
|
|
"id": "CacheInvalidationRule",
|
|
"properties": {
|
|
"host": {
|
|
"description": "If set, this invalidation rule will only apply to requests with a Host header matching host.",
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CacheKeyPolicy": {
|
|
"description": "Message containing what to include in the cache key for a request for Cloud CDN.",
|
|
"id": "CacheKeyPolicy",
|
|
"properties": {
|
|
"includeHost": {
|
|
"description": "If true, requests to different hosts will be cached separately.",
|
|
"type": "boolean"
|
|
},
|
|
"includeProtocol": {
|
|
"description": "If true, http and https requests will be cached separately.",
|
|
"type": "boolean"
|
|
},
|
|
"includeQueryString": {
|
|
"description": "If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.",
|
|
"type": "boolean"
|
|
},
|
|
"queryStringBlacklist": {
|
|
"description": "Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '\u0026' and '=' will be percent encoded and not treated as delimiters.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"queryStringWhitelist": {
|
|
"description": "Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '\u0026' and '=' will be percent encoded and not treated as delimiters.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Commitment": {
|
|
"description": "Represents a Commitment resource. Creating a Commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.\n\nCommitted use discounts are subject to Google Cloud Platform's Service Specific Terms. By purchasing a committed use discount, you agree to these terms. Committed use discounts will not renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for beta.commitments ==) (== resource_for v1.commitments ==)",
|
|
"id": "Commitment",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"endTimestamp": {
|
|
"description": "[Output Only] Commitment end time in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#commitment",
|
|
"description": "[Output Only] Type of the resource. Always compute#commitment for commitments.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"plan": {
|
|
"description": "The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).",
|
|
"enum": [
|
|
"INVALID",
|
|
"THIRTY_SIX_MONTH",
|
|
"TWELVE_MONTH"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where this commitment may be used.",
|
|
"type": "string"
|
|
},
|
|
"resources": {
|
|
"description": "A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.",
|
|
"items": {
|
|
"$ref": "ResourceCommitment"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"startTimestamp": {
|
|
"description": "[Output Only] Commitment start time in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"CREATING",
|
|
"EXPIRED",
|
|
"NOT_YET_ACTIVE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"statusMessage": {
|
|
"description": "[Output Only] An optional, human-readable explanation of the status.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CommitmentAggregatedList": {
|
|
"id": "CommitmentAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "CommitmentsScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of commitments."
|
|
},
|
|
"description": "A list of CommitmentsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#commitmentAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"CommitmentList": {
|
|
"description": "Contains a list of Commitment resources.",
|
|
"id": "CommitmentList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Commitment resources.",
|
|
"items": {
|
|
"$ref": "Commitment"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#commitmentList",
|
|
"description": "[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"CommitmentsScopedList": {
|
|
"id": "CommitmentsScopedList",
|
|
"properties": {
|
|
"commitments": {
|
|
"description": "[Output Only] A list of commitments contained in this scope.",
|
|
"items": {
|
|
"$ref": "Commitment"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of commitments 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ConnectionDraining": {
|
|
"description": "Message containing connection draining configuration.",
|
|
"id": "ConnectionDraining",
|
|
"properties": {
|
|
"drainingTimeoutSec": {
|
|
"description": "Time for which instance will be drained (not accept new connections, but still work to finish started).",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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 RFC 4648 base64 to either encrypt or decrypt this resource.",
|
|
"type": "string"
|
|
},
|
|
"sha256": {
|
|
"description": "[Output only] The RFC 4648 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",
|
|
"properties": {
|
|
"deleted": {
|
|
"description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.",
|
|
"type": "string"
|
|
},
|
|
"obsolete": {
|
|
"description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.",
|
|
"type": "string"
|
|
},
|
|
"replacement": {
|
|
"description": "The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.",
|
|
"enum": [
|
|
"DELETED",
|
|
"DEPRECATED",
|
|
"OBSOLETE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Disk": {
|
|
"description": "A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==)",
|
|
"id": "Disk",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"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."
|
|
},
|
|
"guestOsFeatures": {
|
|
"description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.",
|
|
"items": {
|
|
"$ref": "GuestOsFeature"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#disk",
|
|
"description": "[Output Only] Type of the resource. Always compute#disk for disks.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make a get() request to retrieve a disk.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this disk. These can be later modified by the setLabels method.",
|
|
"type": "object"
|
|
},
|
|
"lastAttachTimestamp": {
|
|
"description": "[Output Only] Last attach timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"lastDetachTimestamp": {
|
|
"description": "[Output Only] Last detach timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"licenseCodes": {
|
|
"description": "Integer license codes indicating which licenses are attached to this disk.",
|
|
"items": {
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"licenses": {
|
|
"description": "Any applicable publicly visible licenses.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.disks.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"
|
|
},
|
|
"options": {
|
|
"description": "Internal use only.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined fully-qualified URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"sizeGb": {
|
|
"description": "Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk.\n\nIf you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must not be less than the size of the sourceImage or the size of the snapshot. Acceptable values are 1 to 65536, inclusive.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"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:\nprojects/debian-cloud/global/images/family/debian-8\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the image name in the following format:\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:\nglobal/images/family/my-image-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"
|
|
},
|
|
"sourceSnapshot": {
|
|
"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"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of disk creation.",
|
|
"enum": [
|
|
"CREATING",
|
|
"FAILED",
|
|
"READY",
|
|
"RESTORING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: project/zones/zone/diskTypes/pd-standard or pd-ssd",
|
|
"type": "string"
|
|
},
|
|
"users": {
|
|
"description": "[Output Only] Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DiskAggregatedList": {
|
|
"id": "DiskAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "DisksScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of disks."
|
|
},
|
|
"description": "A list of DisksScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#diskAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"DiskList": {
|
|
"description": "A list of Disk resources.",
|
|
"id": "DiskList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Disk resources.",
|
|
"items": {
|
|
"$ref": "Disk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#diskList",
|
|
"description": "[Output Only] Type of resource. Always compute#diskList for lists of disks.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"DiskMoveRequest": {
|
|
"id": "DiskMoveRequest",
|
|
"properties": {
|
|
"destinationZone": {
|
|
"description": "The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone \n- projects/project/zones/zone \n- zones/zone",
|
|
"type": "string"
|
|
},
|
|
"targetDisk": {
|
|
"description": "The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk \n- projects/project/zones/zone/disks/disk \n- zones/zone/disks/disk",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DiskType": {
|
|
"description": "A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.diskTypes ==)",
|
|
"id": "DiskType",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"defaultDiskSizeGb": {
|
|
"description": "[Output Only] Server-defined default disk size in GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this disk type."
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] An optional description of this resource.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#diskType",
|
|
"description": "[Output Only] Type of the resource. Always compute#diskType for disk types.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"validDiskSize": {
|
|
"description": "[Output Only] An optional textual description of the valid disk size, such as \"10GB-10TB\".",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DiskTypeAggregatedList": {
|
|
"id": "DiskTypeAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "DiskTypesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of disk types."
|
|
},
|
|
"description": "A list of DiskTypesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#diskTypeAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#diskTypeAggregatedList.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"DiskTypeList": {
|
|
"description": "Contains a list of disk types.",
|
|
"id": "DiskTypeList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of DiskType resources.",
|
|
"items": {
|
|
"$ref": "DiskType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#diskTypeList",
|
|
"description": "[Output Only] Type of resource. Always compute#diskTypeList for disk types.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"DiskTypesScopedList": {
|
|
"id": "DiskTypesScopedList",
|
|
"properties": {
|
|
"diskTypes": {
|
|
"description": "[Output Only] A list of disk types contained in this scope.",
|
|
"items": {
|
|
"$ref": "DiskType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of disk types 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"DisksResizeRequest": {
|
|
"id": "DisksResizeRequest",
|
|
"properties": {
|
|
"sizeGb": {
|
|
"description": "The new size of the persistent disk, which is specified in GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DisksScopedList": {
|
|
"id": "DisksScopedList",
|
|
"properties": {
|
|
"disks": {
|
|
"description": "[Output Only] A list of disks contained in this scope.",
|
|
"items": {
|
|
"$ref": "Disk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of disks 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"Firewall": {
|
|
"description": "Represents a Firewall resource.",
|
|
"id": "Firewall",
|
|
"properties": {
|
|
"allowed": {
|
|
"description": "The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection.",
|
|
"items": {
|
|
"properties": {
|
|
"IPProtocol": {
|
|
"description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.",
|
|
"type": "string"
|
|
},
|
|
"ports": {
|
|
"description": "An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"denied": {
|
|
"description": "The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a denied connection.",
|
|
"items": {
|
|
"properties": {
|
|
"IPProtocol": {
|
|
"description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.",
|
|
"type": "string"
|
|
},
|
|
"ports": {
|
|
"description": "An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"destinationRanges": {
|
|
"description": "If destination ranges are specified, the firewall will apply only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Only IPv4 is supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"direction": {
|
|
"description": "Direction of traffic to which this firewall applies; default is INGRESS. Note: For INGRESS traffic, it is NOT supported to specify destinationRanges; For EGRESS traffic, it is NOT supported to specify sourceRanges OR sourceTags.",
|
|
"enum": [
|
|
"EGRESS",
|
|
"INGRESS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#firewall",
|
|
"description": "[Output Only] Type of the resource. Always compute#firewall for firewall rules.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.firewalls.insert",
|
|
"compute.firewalls.patch"
|
|
]
|
|
},
|
|
"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": {
|
|
"description": "URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used:\nglobal/networks/default\nIf you choose to specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network \n- projects/myproject/global/networks/my-network \n- global/networks/default",
|
|
"type": "string"
|
|
},
|
|
"priority": {
|
|
"description": "Priority for this rule. This is an integer between 0 and 65535, both inclusive. When not specified, the value assumed is 1000. Relative priorities determine precedence of conflicting rules. Lower value of priority implies higher precedence (eg, a rule with priority 0 has higher precedence than a rule with priority 1). DENY rules take precedence over ALLOW rules having equal priority.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sourceRanges": {
|
|
"description": "If source ranges are specified, the firewall will apply only to traffic that has source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply to traffic that has source IP address within sourceRanges OR the source IP that belongs to a tag listed in the sourceTags property. The connection does not need to match both properties for the firewall to apply. Only IPv4 is supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sourceServiceAccounts": {
|
|
"description": "If source service accounts are specified, the firewall will apply only to traffic originating from an instance with a service account in this list. Source service accounts cannot be used to control traffic to an instance's external IP address because service accounts are associated with an instance, not an IP address. sourceRanges can be set at the same time as sourceServiceAccounts. If both are set, the firewall will apply to traffic that has source IP address within sourceRanges OR the source IP belongs to an instance with service account listed in sourceServiceAccount. The connection does not need to match both properties for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sourceTags": {
|
|
"description": "If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be set. If both properties are set, the firewall will apply to traffic that has source IP address within sourceRanges OR the source IP that belongs to a tag listed in the sourceTags property. The connection does not need to match both properties for the firewall to apply.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"targetServiceAccounts": {
|
|
"description": "A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"targetTags": {
|
|
"description": "A list of tags that controls which instances the firewall rule applies to. If targetTags are specified, then the firewall rule applies only to instances in the VPC network that have one of those tags. If no targetTags are specified, the firewall rule applies to all instances on the specified network.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"FirewallList": {
|
|
"description": "Contains a list of firewalls.",
|
|
"id": "FirewallList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Firewall resources.",
|
|
"items": {
|
|
"$ref": "Firewall"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#firewallList",
|
|
"description": "[Output Only] Type of resource. Always compute#firewallList for lists of firewalls.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ForwardingRule": {
|
|
"description": "A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==)",
|
|
"id": "ForwardingRule",
|
|
"properties": {
|
|
"IPAddress": {
|
|
"description": "The IP address that this forwarding rule is serving on behalf of.\n\nAddresses are restricted based on the forwarding rule's load balancing scheme (EXTERNAL or INTERNAL) and scope (global or regional).\n\nWhen the load balancing scheme is EXTERNAL, for global forwarding rules, the address must be a global IP, and for regional forwarding rules, the address must live in the same region as the forwarding rule. If this field is empty, an ephemeral IPv4 address from the same scope (global or regional) will be assigned. A regional forwarding rule supports IPv4 only. A global forwarding rule supports either IPv4 or IPv6.\n\nWhen the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP address belonging to the network/subnet configured for the forwarding rule. By default, if this field is empty, an ephemeral internal IP address will be automatically allocated from the IP range of the subnet or network configured for this forwarding rule.\n\nAn address can be specified either by a literal IP address or a URL reference to an existing Address resource. The following examples are all valid: \n- 100.1.2.3 \n- https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address \n- projects/project/regions/region/addresses/address \n- regions/region/addresses/address \n- global/addresses/address \n- address",
|
|
"type": "string"
|
|
},
|
|
"IPProtocol": {
|
|
"description": "The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH, SCTP or ICMP.\n\nWhen the load balancing scheme is INTERNAL, only TCP and UDP are valid.",
|
|
"enum": [
|
|
"AH",
|
|
"ESP",
|
|
"ICMP",
|
|
"SCTP",
|
|
"TCP",
|
|
"UDP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"backendService": {
|
|
"description": "This field is not used for external load balancing.\n\nFor internal load balancing, this field identifies the BackendService resource to receive the matched traffic.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"ipVersion": {
|
|
"description": "The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. This can only be specified for a global forwarding rule.",
|
|
"enum": [
|
|
"IPV4",
|
|
"IPV6",
|
|
"UNSPECIFIED_VERSION"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#forwardingRule",
|
|
"description": "[Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources.",
|
|
"type": "string"
|
|
},
|
|
"loadBalancingScheme": {
|
|
"description": "This signifies what the ForwardingRule will be used for and can only take the following values: INTERNAL, EXTERNAL The value of INTERNAL means that this will be used for Internal Network Load Balancing (TCP, UDP). The value of EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)",
|
|
"enum": [
|
|
"EXTERNAL",
|
|
"INTERNAL",
|
|
"INVALID"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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": {
|
|
"description": "This field is not used for external load balancing.\n\nFor internal load balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used.",
|
|
"type": "string"
|
|
},
|
|
"portRange": {
|
|
"description": "This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance.\n\nApplicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.\n\nSome types of forwarding target have constraints on the acceptable ports: \n- TargetHttpProxy: 80, 8080 \n- TargetHttpsProxy: 443 \n- TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222 \n- TargetVpnGateway: 500, 4500",
|
|
"type": "string"
|
|
},
|
|
"ports": {
|
|
"description": "This field is used along with the backend_service field for internal load balancing.\n\nWhen the load balancing scheme is INTERNAL, a single port or a comma separated list of ports can be configured. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule.\n\nYou may specify a maximum of up to 5 ports.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "This field is not used for external load balancing.\n\nFor internal load balancing, this field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule.\n\nIf the network specified is in auto subnet mode, this field is optional. However, if the network is in custom subnet mode, a subnetwork must be specified.",
|
|
"type": "string"
|
|
},
|
|
"target": {
|
|
"description": "The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ForwardingRuleAggregatedList": {
|
|
"id": "ForwardingRuleAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "ForwardingRulesScopedList",
|
|
"description": "Name of the scope containing this set of addresses."
|
|
},
|
|
"description": "A list of ForwardingRulesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#forwardingRuleAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ForwardingRuleList": {
|
|
"description": "Contains a list of ForwardingRule resources.",
|
|
"id": "ForwardingRuleList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of ForwardingRule resources.",
|
|
"items": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#forwardingRuleList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ForwardingRulesScopedList": {
|
|
"id": "ForwardingRulesScopedList",
|
|
"properties": {
|
|
"forwardingRules": {
|
|
"description": "A list of forwarding rules contained in this scope.",
|
|
"items": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of forwarding rules 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"GlobalSetLabelsRequest": {
|
|
"id": "GlobalSetLabelsRequest",
|
|
"properties": {
|
|
"labelFingerprint": {
|
|
"description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a get() request to the resource to get the latest fingerprint.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "A list of labels to apply for this resource. Each label key \u0026 value must 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. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"GuestOsFeature": {
|
|
"description": "Guest OS features.",
|
|
"id": "GuestOsFeature",
|
|
"properties": {
|
|
"type": {
|
|
"description": "The ID of a supported feature. Read Enabling guest operating system features to see a list of available options.",
|
|
"enum": [
|
|
"FEATURE_TYPE_UNSPECIFIED",
|
|
"MULTI_IP_SUBNET",
|
|
"SECURE_BOOT",
|
|
"UEFI_COMPATIBLE",
|
|
"VIRTIO_SCSI_MULTIQUEUE",
|
|
"WINDOWS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HTTPHealthCheck": {
|
|
"id": "HTTPHealthCheck",
|
|
"properties": {
|
|
"host": {
|
|
"description": "The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"portName": {
|
|
"description": "Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.",
|
|
"type": "string"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"requestPath": {
|
|
"description": "The request path of the HTTP health check request. The default value is /.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HTTPSHealthCheck": {
|
|
"id": "HTTPSHealthCheck",
|
|
"properties": {
|
|
"host": {
|
|
"description": "The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"portName": {
|
|
"description": "Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.",
|
|
"type": "string"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"requestPath": {
|
|
"description": "The request path of the HTTPS health check request. The default value is /.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HealthCheck": {
|
|
"description": "An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.",
|
|
"id": "HealthCheck",
|
|
"properties": {
|
|
"checkIntervalSec": {
|
|
"description": "How often (in seconds) to send a health check. The default value is 5 seconds.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in 3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"healthyThreshold": {
|
|
"description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"httpHealthCheck": {
|
|
"$ref": "HTTPHealthCheck"
|
|
},
|
|
"httpsHealthCheck": {
|
|
"$ref": "HTTPSHealthCheck"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#healthCheck",
|
|
"description": "Type of the resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sslHealthCheck": {
|
|
"$ref": "SSLHealthCheck"
|
|
},
|
|
"tcpHealthCheck": {
|
|
"$ref": "TCPHealthCheck"
|
|
},
|
|
"timeoutSec": {
|
|
"description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"description": "Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.",
|
|
"enum": [
|
|
"HTTP",
|
|
"HTTPS",
|
|
"INVALID",
|
|
"SSL",
|
|
"TCP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"unhealthyThreshold": {
|
|
"description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HealthCheckList": {
|
|
"description": "Contains a list of HealthCheck resources.",
|
|
"id": "HealthCheckList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of HealthCheck resources.",
|
|
"items": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#healthCheckList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"HealthCheckReference": {
|
|
"description": "A full or valid partial URL to a health check. For example, the following are valid URLs: \n- https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check \n- projects/project-id/global/httpHealthChecks/health-check \n- global/httpHealthChecks/health-check",
|
|
"id": "HealthCheckReference",
|
|
"properties": {
|
|
"healthCheck": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HealthStatus": {
|
|
"id": "HealthStatus",
|
|
"properties": {
|
|
"healthState": {
|
|
"description": "Health state of the instance.",
|
|
"enum": [
|
|
"HEALTHY",
|
|
"UNHEALTHY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "URL of the instance resource.",
|
|
"type": "string"
|
|
},
|
|
"ipAddress": {
|
|
"description": "The IP address represented by this resource.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "The port on the instance.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HostRule": {
|
|
"description": "UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.",
|
|
"id": "HostRule",
|
|
"properties": {
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"hosts": {
|
|
"description": "The list of host patterns to match. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"pathMatcher": {
|
|
"description": "The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpHealthCheck": {
|
|
"description": "An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.",
|
|
"id": "HttpHealthCheck",
|
|
"properties": {
|
|
"checkIntervalSec": {
|
|
"description": "How often (in seconds) to send a health check. The default value is 5 seconds.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"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"
|
|
},
|
|
"healthyThreshold": {
|
|
"description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"host": {
|
|
"description": "The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#httpHealthCheck",
|
|
"description": "[Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"port": {
|
|
"description": "The TCP port number for the HTTP health check request. The default value is 80.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"requestPath": {
|
|
"description": "The request path of the HTTP health check request. The default value is /.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"timeoutSec": {
|
|
"description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"unhealthyThreshold": {
|
|
"description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpHealthCheckList": {
|
|
"description": "Contains a list of HttpHealthCheck resources.",
|
|
"id": "HttpHealthCheckList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of HttpHealthCheck resources.",
|
|
"items": {
|
|
"$ref": "HttpHealthCheck"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#httpHealthCheckList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"HttpsHealthCheck": {
|
|
"description": "An HttpsHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTPS.",
|
|
"id": "HttpsHealthCheck",
|
|
"properties": {
|
|
"checkIntervalSec": {
|
|
"description": "How often (in seconds) to send a health check. The default value is 5 seconds.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"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"
|
|
},
|
|
"healthyThreshold": {
|
|
"description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"host": {
|
|
"description": "The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#httpsHealthCheck",
|
|
"description": "Type of the resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"port": {
|
|
"description": "The TCP port number for the HTTPS health check request. The default value is 443.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"requestPath": {
|
|
"description": "The request path of the HTTPS health check request. The default value is \"/\".",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"timeoutSec": {
|
|
"description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"unhealthyThreshold": {
|
|
"description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpsHealthCheckList": {
|
|
"description": "Contains a list of HttpsHealthCheck resources.",
|
|
"id": "HttpsHealthCheckList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of HttpsHealthCheck resources.",
|
|
"items": {
|
|
"$ref": "HttpsHealthCheck"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#httpsHealthCheckList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"Image": {
|
|
"description": "An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==)",
|
|
"id": "Image",
|
|
"properties": {
|
|
"archiveSizeBytes": {
|
|
"description": "Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "The deprecation status associated with this image."
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "Size of the image when restored onto a persistent disk (in GB).",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"family": {
|
|
"description": "The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.",
|
|
"type": "string"
|
|
},
|
|
"guestOsFeatures": {
|
|
"description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.",
|
|
"items": {
|
|
"$ref": "GuestOsFeature"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make a get() request to retrieve an image.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this image. These can be later modified by the setLabels method.",
|
|
"type": "object"
|
|
},
|
|
"licenseCodes": {
|
|
"description": "Integer license codes indicating which licenses are attached to this image.",
|
|
"items": {
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"licenses": {
|
|
"description": "Any applicable license URI.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.images.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"
|
|
},
|
|
"rawDisk": {
|
|
"description": "The parameters of the raw disk image.",
|
|
"properties": {
|
|
"containerType": {
|
|
"description": "The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.",
|
|
"enum": [
|
|
"TAR"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"sha1Checksum": {
|
|
"description": "An optional SHA1 checksum of the disk image before unpackaging; provided by the client when the disk image is created.",
|
|
"pattern": "[a-f0-9]{40}",
|
|
"type": "string"
|
|
},
|
|
"source": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.images.insert"
|
|
]
|
|
},
|
|
"description": "The full Google Cloud Storage URL where the disk image is stored. You must provide either this property or the sourceDisk property but not both.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sourceDisk": {
|
|
"description": "URL of 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/disks/disk \n- projects/project/zones/zone/disks/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"
|
|
},
|
|
"sourceImage": {
|
|
"description": "URL of the source image used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
|
|
"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 image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.",
|
|
"type": "string"
|
|
},
|
|
"sourceSnapshot": {
|
|
"description": "URL of the source snapshot used to create this image. This can be a full or valid partial URL. You must provide exactly one of: \n- this property, or \n- the sourceImage property, or \n- the rawDisk.source property, or \n- the sourceDisk property in order to create an image.",
|
|
"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 ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.",
|
|
"type": "string"
|
|
},
|
|
"sourceType": {
|
|
"default": "RAW",
|
|
"description": "The type of the image used to create this disk. The default and only value is RAW",
|
|
"enum": [
|
|
"RAW"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.",
|
|
"enum": [
|
|
"FAILED",
|
|
"PENDING",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ImageList": {
|
|
"description": "Contains a list of images.",
|
|
"id": "ImageList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Image resources.",
|
|
"items": {
|
|
"$ref": "Image"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#imageList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"Instance": {
|
|
"description": "An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==)",
|
|
"id": "Instance",
|
|
"properties": {
|
|
"canIpForward": {
|
|
"description": "Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding.",
|
|
"type": "boolean"
|
|
},
|
|
"cpuPlatform": {
|
|
"description": "[Output Only] The CPU platform used by this instance.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deletionProtection": {
|
|
"description": "Whether the resource should be protected against deletion.",
|
|
"type": "boolean"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"disks": {
|
|
"description": "Array of disks associated with this instance. Persistent disks must be created before you can assign them.",
|
|
"items": {
|
|
"$ref": "AttachedDisk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"guestAccelerators": {
|
|
"description": "A list of the type and count of accelerator cards attached to the instance.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instance",
|
|
"description": "[Output Only] Type of the resource. Always compute#instance for instances.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the instance.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this instance. These can be later modified by the setLabels method.",
|
|
"type": "object"
|
|
},
|
|
"machineType": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instances.insert"
|
|
]
|
|
},
|
|
"description": "Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type:\nzones/us-central1-f/machineTypes/n1-standard-1\n\n\nTo create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB):\nzones/zone/machineTypes/custom-CPUS-MEMORY\n\n\nFor example: zones/us-central1-f/machineTypes/custom-4-5120 \n\nFor a full list of restrictions, read the Specifications for custom machine types.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "Metadata",
|
|
"description": "The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys."
|
|
},
|
|
"minCpuPlatform": {
|
|
"description": "Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\".",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instances.insert"
|
|
]
|
|
},
|
|
"description": "The name of the resource, provided by the client when initially creating the resource. The resource 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"
|
|
},
|
|
"networkInterfaces": {
|
|
"description": "An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.",
|
|
"items": {
|
|
"$ref": "NetworkInterface"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"scheduling": {
|
|
"$ref": "Scheduling",
|
|
"description": "Sets the scheduling options for this instance."
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"serviceAccounts": {
|
|
"description": "A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported.\n\nService 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"
|
|
},
|
|
"startRestricted": {
|
|
"description": "[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.",
|
|
"type": "boolean"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, SUSPENDING, SUSPENDED, and TERMINATED.",
|
|
"enum": [
|
|
"PROVISIONING",
|
|
"RUNNING",
|
|
"STAGING",
|
|
"STOPPED",
|
|
"STOPPING",
|
|
"SUSPENDED",
|
|
"SUSPENDING",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"statusMessage": {
|
|
"description": "[Output Only] An optional, human-readable explanation of the status.",
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"$ref": "Tags",
|
|
"description": "A list of tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035."
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceAggregatedList": {
|
|
"id": "InstanceAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "InstancesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of instances."
|
|
},
|
|
"description": "A list of InstancesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroup": {
|
|
"description": "InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==)",
|
|
"id": "InstanceGroup",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] The creation timestamp for this instance group in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"fingerprint": {
|
|
"description": "[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] A unique identifier for this instance group, generated by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroup",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroup for instance groups.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceGroupManagers.insert"
|
|
]
|
|
},
|
|
"description": "The name of the instance group. 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"
|
|
},
|
|
"namedPorts": {
|
|
"description": "Assigns a name to a port number. For example: {name: \"http\", port: 80}\n\nThis allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: \"http\", port: 80},{name: \"http\", port: 8080}] \n\nNamed ports apply to all instances in this instance group.",
|
|
"items": {
|
|
"$ref": "NamedPort"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"network": {
|
|
"description": "The URL of the network to which all instances in the instance group belong.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] The URL of the region where the instance group is located (for regional resources).",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] The URL for this instance group. The server generates this URL.",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "[Output Only] The total number of instances in the instance group.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"subnetwork": {
|
|
"description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The URL of the zone where the instance group is located (for zonal resources).",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupAggregatedList": {
|
|
"id": "InstanceGroupAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "InstanceGroupsScopedList",
|
|
"description": "The name of the scope that contains this set of instance groups."
|
|
},
|
|
"description": "A list of InstanceGroupsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupAggregatedList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupList": {
|
|
"description": "A list of InstanceGroup resources.",
|
|
"id": "InstanceGroupList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceGroup resources.",
|
|
"items": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupList for instance group lists.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupManager": {
|
|
"description": "An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.regionInstanceGroupManagers ==)",
|
|
"id": "InstanceGroupManager",
|
|
"properties": {
|
|
"baseInstanceName": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceGroupManagers.insert"
|
|
]
|
|
},
|
|
"description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.",
|
|
"pattern": "[a-z][-a-z0-9]{0,57}",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"currentActions": {
|
|
"$ref": "InstanceGroupManagerActionsSummary",
|
|
"description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions."
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager or the field need to be unset.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"instanceGroup": {
|
|
"description": "[Output Only] The URL of the Instance Group resource.",
|
|
"type": "string"
|
|
},
|
|
"instanceTemplate": {
|
|
"description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupManager",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceGroupManagers.insert",
|
|
"compute.regionInstanceGroupManagers.insert"
|
|
]
|
|
},
|
|
"description": "The name of the managed instance group. 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"
|
|
},
|
|
"namedPorts": {
|
|
"description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.",
|
|
"items": {
|
|
"$ref": "NamedPort"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] The URL for this managed instance group. The server defines this URL.",
|
|
"type": "string"
|
|
},
|
|
"targetPools": {
|
|
"description": "The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"targetSize": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceGroupManagers.insert",
|
|
"compute.regionInstanceGroupManagers.insert"
|
|
]
|
|
},
|
|
"description": "The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The URL of the zone where the managed instance group is located (for zonal resources).",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerActionsSummary": {
|
|
"id": "InstanceGroupManagerActionsSummary",
|
|
"properties": {
|
|
"abandoning": {
|
|
"description": "[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"creating": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully.\n\nIf you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"creatingWithoutRetries": {
|
|
"description": "[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"deleting": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"none": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"recreating": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"refreshing": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"restarting": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerAggregatedList": {
|
|
"id": "InstanceGroupManagerAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "InstanceGroupManagersScopedList",
|
|
"description": "[Output Only] The name of the scope that contains this set of managed instance groups."
|
|
},
|
|
"description": "A list of InstanceGroupManagersScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupManagerAggregatedList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupManagerList": {
|
|
"description": "[Output Only] A list of managed instance groups.",
|
|
"id": "InstanceGroupManagerList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceGroupManager resources.",
|
|
"items": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupManagerList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersAbandonInstancesRequest": {
|
|
"id": "InstanceGroupManagersAbandonInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersDeleteInstancesRequest": {
|
|
"id": "InstanceGroupManagersDeleteInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersListManagedInstancesResponse": {
|
|
"id": "InstanceGroupManagersListManagedInstancesResponse",
|
|
"properties": {
|
|
"managedInstances": {
|
|
"description": "[Output Only] The list of instances in the managed instance group.",
|
|
"items": {
|
|
"$ref": "ManagedInstance"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersRecreateInstancesRequest": {
|
|
"id": "InstanceGroupManagersRecreateInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersScopedList": {
|
|
"id": "InstanceGroupManagersScopedList",
|
|
"properties": {
|
|
"instanceGroupManagers": {
|
|
"description": "[Output Only] The list of managed instance groups that are contained in the specified project and zone.",
|
|
"items": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] The warning that replaces the list of managed instance groups 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersSetInstanceTemplateRequest": {
|
|
"id": "InstanceGroupManagersSetInstanceTemplateRequest",
|
|
"properties": {
|
|
"instanceTemplate": {
|
|
"description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersSetTargetPoolsRequest": {
|
|
"id": "InstanceGroupManagersSetTargetPoolsRequest",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"targetPools": {
|
|
"description": "The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupsAddInstancesRequest": {
|
|
"id": "InstanceGroupsAddInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of instances to add to the instance group.",
|
|
"items": {
|
|
"$ref": "InstanceReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupsListInstances": {
|
|
"id": "InstanceGroupsListInstances",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceWithNamedPorts resources.",
|
|
"items": {
|
|
"$ref": "InstanceWithNamedPorts"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceGroupsListInstances",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupsListInstancesRequest": {
|
|
"id": "InstanceGroupsListInstancesRequest",
|
|
"properties": {
|
|
"instanceState": {
|
|
"description": "A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.",
|
|
"enum": [
|
|
"ALL",
|
|
"RUNNING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupsRemoveInstancesRequest": {
|
|
"id": "InstanceGroupsRemoveInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of instances to remove from the instance group.",
|
|
"items": {
|
|
"$ref": "InstanceReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupsScopedList": {
|
|
"id": "InstanceGroupsScopedList",
|
|
"properties": {
|
|
"instanceGroups": {
|
|
"description": "[Output Only] The list of instance groups that are contained in this scope.",
|
|
"items": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that replaces the list of instance groups 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceGroupsSetNamedPortsRequest": {
|
|
"id": "InstanceGroupsSetNamedPortsRequest",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"namedPorts": {
|
|
"description": "The list of named ports to set for this instance group.",
|
|
"items": {
|
|
"$ref": "NamedPort"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceList": {
|
|
"description": "Contains a list of instances.",
|
|
"id": "InstanceList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Instance resources.",
|
|
"items": {
|
|
"$ref": "Instance"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceList",
|
|
"description": "[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceListReferrers": {
|
|
"description": "Contains a list of instance referrers.",
|
|
"id": "InstanceListReferrers",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Reference resources.",
|
|
"items": {
|
|
"$ref": "Reference"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceListReferrers",
|
|
"description": "[Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance referrers.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceMoveRequest": {
|
|
"id": "InstanceMoveRequest",
|
|
"properties": {
|
|
"destinationZone": {
|
|
"description": "The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone \n- projects/project/zones/zone \n- zones/zone",
|
|
"type": "string"
|
|
},
|
|
"targetInstance": {
|
|
"description": "The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n- projects/project/zones/zone/instances/instance \n- zones/zone/instances/instance",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceProperties": {
|
|
"description": "",
|
|
"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 Enable IP forwarding documentation for more information.",
|
|
"type": "boolean"
|
|
},
|
|
"description": {
|
|
"description": "An optional text description for the instances that are created from this instance template.",
|
|
"type": "string"
|
|
},
|
|
"disks": {
|
|
"description": "An array of disks that are associated with the instances that are created from this template.",
|
|
"items": {
|
|
"$ref": "AttachedDisk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"guestAccelerators": {
|
|
"description": "A list of guest accelerator cards' type and count to use for instances created from the instance template.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to instances that are created from this template.",
|
|
"type": "object"
|
|
},
|
|
"machineType": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceTemplates.insert"
|
|
]
|
|
},
|
|
"description": "The machine type to use for instances that are created from this template.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "Metadata",
|
|
"description": "The metadata key/value pairs to assign to instances that are created from this template. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information."
|
|
},
|
|
"minCpuPlatform": {
|
|
"description": "Minimum cpu/platform to be used by this instance. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.",
|
|
"type": "string"
|
|
},
|
|
"networkInterfaces": {
|
|
"description": "An array of network access configurations for this interface.",
|
|
"items": {
|
|
"$ref": "NetworkInterface"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"scheduling": {
|
|
"$ref": "Scheduling",
|
|
"description": "Specifies the scheduling options for the instances that are created from this template."
|
|
},
|
|
"serviceAccounts": {
|
|
"description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances.",
|
|
"items": {
|
|
"$ref": "ServiceAccount"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"$ref": "Tags",
|
|
"description": "A list of tags to apply to the instances that are created from this template. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceReference": {
|
|
"id": "InstanceReference",
|
|
"properties": {
|
|
"instance": {
|
|
"description": "The URL for a specific instance.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceTemplate": {
|
|
"description": "An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for v1.instanceTemplates ==)",
|
|
"id": "InstanceTemplate",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] The creation timestamp for this instance template 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] A unique identifier for this instance template. The server defines this identifier.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceTemplate",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instanceTemplates.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"
|
|
},
|
|
"properties": {
|
|
"$ref": "InstanceProperties",
|
|
"description": "The instance properties for this instance template."
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] The URL for this instance template. The server defines this URL.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceTemplateList": {
|
|
"description": "A list of instance templates.",
|
|
"id": "InstanceTemplateList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceTemplate resources.",
|
|
"items": {
|
|
"$ref": "InstanceTemplate"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#instanceTemplateList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstanceWithNamedPorts": {
|
|
"id": "InstanceWithNamedPorts",
|
|
"properties": {
|
|
"instance": {
|
|
"description": "[Output Only] The URL of the instance.",
|
|
"type": "string"
|
|
},
|
|
"namedPorts": {
|
|
"description": "[Output Only] The named ports that belong to this instance group.",
|
|
"items": {
|
|
"$ref": "NamedPort"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the instance.",
|
|
"enum": [
|
|
"PROVISIONING",
|
|
"RUNNING",
|
|
"STAGING",
|
|
"STOPPED",
|
|
"STOPPING",
|
|
"SUSPENDED",
|
|
"SUSPENDING",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesScopedList": {
|
|
"id": "InstancesScopedList",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "[Output Only] A list of instances contained in this scope.",
|
|
"items": {
|
|
"$ref": "Instance"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of instances 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InstancesSetLabelsRequest": {
|
|
"id": "InstancesSetLabelsRequest",
|
|
"properties": {
|
|
"labelFingerprint": {
|
|
"description": "Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesSetMachineResourcesRequest": {
|
|
"id": "InstancesSetMachineResourcesRequest",
|
|
"properties": {
|
|
"guestAccelerators": {
|
|
"description": "A list of the type and count of accelerator cards attached to the instance.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesSetMachineTypeRequest": {
|
|
"id": "InstancesSetMachineTypeRequest",
|
|
"properties": {
|
|
"machineType": {
|
|
"description": "Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesSetMinCpuPlatformRequest": {
|
|
"id": "InstancesSetMinCpuPlatformRequest",
|
|
"properties": {
|
|
"minCpuPlatform": {
|
|
"description": "Minimum cpu/platform this instance should be started at.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesSetServiceAccountRequest": {
|
|
"id": "InstancesSetServiceAccountRequest",
|
|
"properties": {
|
|
"email": {
|
|
"description": "Email address of the service account.",
|
|
"type": "string"
|
|
},
|
|
"scopes": {
|
|
"description": "The list of scopes to be made available for this service account.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"Interconnect": {
|
|
"description": "Represents an Interconnects resource. The Interconnects resource is a dedicated connection between Google's network and your on-premises network. For more information, see the Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==)",
|
|
"id": "Interconnect",
|
|
"properties": {
|
|
"adminEnabled": {
|
|
"description": "Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.",
|
|
"type": "boolean"
|
|
},
|
|
"circuitInfos": {
|
|
"description": "[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.",
|
|
"items": {
|
|
"$ref": "InterconnectCircuitInfo"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"customerName": {
|
|
"description": "Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"expectedOutages": {
|
|
"description": "[Output Only] A list of outages expected for this Interconnect.",
|
|
"items": {
|
|
"$ref": "InterconnectOutageNotification"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"googleIpAddress": {
|
|
"description": "[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.",
|
|
"type": "string"
|
|
},
|
|
"googleReferenceId": {
|
|
"description": "[Output Only] Google reference ID; to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"interconnectAttachments": {
|
|
"description": "[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"interconnectType": {
|
|
"description": "Type of interconnect. Note that \"IT_PRIVATE\" has been deprecated in favor of \"DEDICATED\"",
|
|
"enum": [
|
|
"DEDICATED",
|
|
"IT_PRIVATE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnect",
|
|
"description": "[Output Only] Type of the resource. Always compute#interconnect for interconnects.",
|
|
"type": "string"
|
|
},
|
|
"linkType": {
|
|
"description": "Type of link requested. This field indicates speed of each of the links in the bundle, not the entire bundle. Only 10G per link is allowed for a dedicated interconnect. Options: Ethernet_10G_LR",
|
|
"enum": [
|
|
"LINK_TYPE_ETHERNET_10G_LR"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "URL of the InterconnectLocation object that represents where this connection is to be provisioned.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.interconnects.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"
|
|
},
|
|
"nocContactEmail": {
|
|
"description": "Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.",
|
|
"type": "string"
|
|
},
|
|
"operationalStatus": {
|
|
"description": "[Output Only] The current status of whether or not this Interconnect is functional.",
|
|
"enum": [
|
|
"OS_ACTIVE",
|
|
"OS_UNPROVISIONED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"peerIpAddress": {
|
|
"description": "[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.",
|
|
"type": "string"
|
|
},
|
|
"provisionedLinkCount": {
|
|
"description": "[Output Only] Number of links actually provisioned in this interconnect.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"requestedLinkCount": {
|
|
"description": "Target number of physical links in the link bundle, as requested by the customer.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectAttachment": {
|
|
"description": "Represents an InterconnectAttachment (VLAN attachment) resource. For more information, see Creating VLAN Attachments. (== resource_for beta.interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)",
|
|
"id": "InterconnectAttachment",
|
|
"properties": {
|
|
"cloudRouterIpAddress": {
|
|
"description": "[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"customerRouterIpAddress": {
|
|
"description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource.",
|
|
"type": "string"
|
|
},
|
|
"googleReferenceId": {
|
|
"description": "[Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"interconnect": {
|
|
"description": "URL of the underlying Interconnect object that this attachment's traffic will traverse through.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectAttachment",
|
|
"description": "[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"operationalStatus": {
|
|
"description": "[Output Only] The current status of whether or not this interconnect attachment is functional.",
|
|
"enum": [
|
|
"OS_ACTIVE",
|
|
"OS_UNPROVISIONED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"privateInterconnectInfo": {
|
|
"$ref": "InterconnectAttachmentPrivateInfo",
|
|
"description": "[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED."
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"router": {
|
|
"description": "URL of the cloud router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network \u0026 region within which the Cloud Router is configured.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectAttachmentAggregatedList": {
|
|
"id": "InterconnectAttachmentAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "InterconnectAttachmentsScopedList",
|
|
"description": "Name of the scope containing this set of interconnect attachments."
|
|
},
|
|
"description": "A list of InterconnectAttachmentsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectAttachmentAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for aggregated lists of interconnect attachments.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InterconnectAttachmentList": {
|
|
"description": "Response to the list request, and contains a list of interconnect attachments.",
|
|
"id": "InterconnectAttachmentList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InterconnectAttachment resources.",
|
|
"items": {
|
|
"$ref": "InterconnectAttachment"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectAttachmentList",
|
|
"description": "[Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of interconnect attachments.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InterconnectAttachmentPrivateInfo": {
|
|
"description": "Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.",
|
|
"id": "InterconnectAttachmentPrivateInfo",
|
|
"properties": {
|
|
"tag8021q": {
|
|
"description": "[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectAttachmentsScopedList": {
|
|
"id": "InterconnectAttachmentsScopedList",
|
|
"properties": {
|
|
"interconnectAttachments": {
|
|
"description": "A list of interconnect attachments contained in this scope.",
|
|
"items": {
|
|
"$ref": "InterconnectAttachment"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InterconnectCircuitInfo": {
|
|
"description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only. Next id: 4",
|
|
"id": "InterconnectCircuitInfo",
|
|
"properties": {
|
|
"customerDemarcId": {
|
|
"description": "Customer-side demarc ID for this circuit.",
|
|
"type": "string"
|
|
},
|
|
"googleCircuitId": {
|
|
"description": "Google-assigned unique ID for this circuit. Assigned at circuit turn-up.",
|
|
"type": "string"
|
|
},
|
|
"googleDemarcId": {
|
|
"description": "Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectList": {
|
|
"description": "Response to the list request, and contains a list of interconnects.",
|
|
"id": "InterconnectList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Interconnect resources.",
|
|
"items": {
|
|
"$ref": "Interconnect"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectList",
|
|
"description": "[Output Only] Type of resource. Always compute#interconnectList for lists of interconnects.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InterconnectLocation": {
|
|
"description": "Represents an InterconnectLocations resource. The InterconnectLocations resource describes the locations where you can connect to Google's networks. For more information, see Colocation Facilities.",
|
|
"id": "InterconnectLocation",
|
|
"properties": {
|
|
"address": {
|
|
"description": "[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.",
|
|
"type": "string"
|
|
},
|
|
"availabilityZone": {
|
|
"description": "[Output Only] Availability zone for this location. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: \"zone1\" or \"zone2\".",
|
|
"type": "string"
|
|
},
|
|
"city": {
|
|
"description": "[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: \"Chicago, IL\", \"Amsterdam, Netherlands\".",
|
|
"type": "string"
|
|
},
|
|
"continent": {
|
|
"description": "[Output Only] Continent for this location.",
|
|
"enum": [
|
|
"AFRICA",
|
|
"ASIA_PAC",
|
|
"C_AFRICA",
|
|
"C_ASIA_PAC",
|
|
"C_EUROPE",
|
|
"C_NORTH_AMERICA",
|
|
"C_SOUTH_AMERICA",
|
|
"EUROPE",
|
|
"NORTH_AMERICA",
|
|
"SOUTH_AMERICA"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] An optional description of the resource.",
|
|
"type": "string"
|
|
},
|
|
"facilityProvider": {
|
|
"description": "[Output Only] The name of the provider for this facility (e.g., EQUINIX).",
|
|
"type": "string"
|
|
},
|
|
"facilityProviderFacilityId": {
|
|
"description": "[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectLocation",
|
|
"description": "[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"peeringdbFacilityId": {
|
|
"description": "[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).",
|
|
"type": "string"
|
|
},
|
|
"regionInfos": {
|
|
"description": "[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.",
|
|
"items": {
|
|
"$ref": "InterconnectLocationRegionInfo"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectLocationList": {
|
|
"description": "Response to the list request, and contains a list of interconnect locations.",
|
|
"id": "InterconnectLocationList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InterconnectLocation resources.",
|
|
"items": {
|
|
"$ref": "InterconnectLocation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnectLocationList",
|
|
"description": "[Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"InterconnectLocationRegionInfo": {
|
|
"description": "Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.",
|
|
"id": "InterconnectLocationRegionInfo",
|
|
"properties": {
|
|
"expectedRttMs": {
|
|
"description": "Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"locationPresence": {
|
|
"description": "Identifies the network presence of this location.",
|
|
"enum": [
|
|
"GLOBAL",
|
|
"LOCAL_REGION",
|
|
"LP_GLOBAL",
|
|
"LP_LOCAL_REGION"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "URL for the region of this location.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectOutageNotification": {
|
|
"description": "Description of a planned outage on this Interconnect. Next id: 9",
|
|
"id": "InterconnectOutageNotification",
|
|
"properties": {
|
|
"affectedCircuits": {
|
|
"description": "If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "A description about the purpose of the outage.",
|
|
"type": "string"
|
|
},
|
|
"endTime": {
|
|
"description": "Scheduled end time for the outage (milliseconds since Unix epoch).",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"issueType": {
|
|
"description": "Form this outage is expected to take. Note that the \"IT_\" versions of this enum have been deprecated in favor of the unprefixed values.",
|
|
"enum": [
|
|
"IT_OUTAGE",
|
|
"IT_PARTIAL_OUTAGE",
|
|
"OUTAGE",
|
|
"PARTIAL_OUTAGE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Unique identifier for this outage notification.",
|
|
"type": "string"
|
|
},
|
|
"source": {
|
|
"description": "The party that generated this notification. Note that \"NSRC_GOOGLE\" has been deprecated in favor of \"GOOGLE\"",
|
|
"enum": [
|
|
"GOOGLE",
|
|
"NSRC_GOOGLE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"startTime": {
|
|
"description": "Scheduled start time for the outage (milliseconds since Unix epoch).",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "State of this notification. Note that the \"NS_\" versions of this enum have been deprecated in favor of the unprefixed values.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"CANCELLED",
|
|
"NS_ACTIVE",
|
|
"NS_CANCELED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"License": {
|
|
"description": "A license resource.",
|
|
"id": "License",
|
|
"properties": {
|
|
"chargesUseFee": {
|
|
"description": "[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.",
|
|
"type": "boolean"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional textual description of the resource; provided by the client when the resource is created.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#license",
|
|
"description": "[Output Only] Type of resource. Always compute#license for licenses.",
|
|
"type": "string"
|
|
},
|
|
"licenseCode": {
|
|
"description": "[Output Only] The unique code used to attach this license to images, snapshots, and disks.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.images.insert"
|
|
]
|
|
},
|
|
"description": "[Output Only] Name of the resource. The name is 1-63 characters long and complies with RFC1035.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"resourceRequirements": {
|
|
"$ref": "LicenseResourceRequirements"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"transferable": {
|
|
"description": "If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseCode": {
|
|
"id": "LicenseCode",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] Description of this License Code.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#licenseCode",
|
|
"description": "[Output Only] Type of resource. Always compute#licenseCode for licenses.",
|
|
"type": "string"
|
|
},
|
|
"licenseAlias": {
|
|
"description": "[Output Only] URL and description aliases of Licenses with the same License Code.",
|
|
"items": {
|
|
"$ref": "LicenseCodeLicenseAlias"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.licenses.insert"
|
|
]
|
|
},
|
|
"description": "[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.",
|
|
"pattern": "[0-9]{0,20}?",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "[Output Only] Current state of this License Code.",
|
|
"enum": [
|
|
"DISABLED",
|
|
"ENABLED",
|
|
"RESTRICTED",
|
|
"STATE_UNSPECIFIED",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"transferable": {
|
|
"description": "[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseCodeLicenseAlias": {
|
|
"id": "LicenseCodeLicenseAlias",
|
|
"properties": {
|
|
"description": {
|
|
"description": "[Output Only] Description of this License Code.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] URL of license corresponding to this License Code.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicenseResourceRequirements": {
|
|
"id": "LicenseResourceRequirements",
|
|
"properties": {
|
|
"minGuestCpuCount": {
|
|
"description": "Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"minMemoryMb": {
|
|
"description": "Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LicensesListResponse": {
|
|
"id": "LicensesListResponse",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of License resources.",
|
|
"items": {
|
|
"$ref": "License"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"MachineType": {
|
|
"description": "A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for beta.machineTypes ==)",
|
|
"id": "MachineType",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this machine type."
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] An optional textual description of the resource.",
|
|
"type": "string"
|
|
},
|
|
"guestCpus": {
|
|
"description": "[Output Only] The number of virtual CPUs that are available to the instance.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"imageSpaceGb": {
|
|
"description": "[Deprecated] This property is deprecated and will never be populated with any relevant values.",
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"maximumPersistentDisks": {
|
|
"description": "[Output Only] Maximum persistent disks allowed.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maximumPersistentDisksSizeGb": {
|
|
"description": "[Output Only] Maximum total persistent disks size (GB) allowed.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"memoryMb": {
|
|
"description": "[Output Only] The amount of physical memory available to the instance, defined in MB.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"scratchDisks": {
|
|
"description": "[Output Only] A list of extended scratch disks assigned to the instance.",
|
|
"items": {
|
|
"properties": {
|
|
"diskGb": {
|
|
"description": "Size of the scratch disk, defined in GB.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The name of the zone where the machine type resides, such as us-central1-a.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineTypeAggregatedList": {
|
|
"id": "MachineTypeAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "MachineTypesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of machine types."
|
|
},
|
|
"description": "A list of MachineTypesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#machineTypeAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"MachineTypeList": {
|
|
"description": "Contains a list of machine types.",
|
|
"id": "MachineTypeList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of MachineType resources.",
|
|
"items": {
|
|
"$ref": "MachineType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#machineTypeList",
|
|
"description": "[Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"MachineTypesScopedList": {
|
|
"id": "MachineTypesScopedList",
|
|
"properties": {
|
|
"machineTypes": {
|
|
"description": "[Output Only] A list of machine types contained in this scope.",
|
|
"items": {
|
|
"$ref": "MachineType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that appears when the machine types 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ManagedInstance": {
|
|
"description": "Next available tag: 12",
|
|
"id": "ManagedInstance",
|
|
"properties": {
|
|
"currentAction": {
|
|
"description": "[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: \n- NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. \n- CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. \n- CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. \n- RECREATING The managed instance group is recreating this instance. \n- DELETING The managed instance group is permanently deleting this instance. \n- ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. \n- RESTARTING The managed instance group is restarting the instance. \n- REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. \n- VERIFYING The managed instance group has created the instance and it is in the process of being verified.",
|
|
"enum": [
|
|
"ABANDONING",
|
|
"CREATING",
|
|
"CREATING_WITHOUT_RETRIES",
|
|
"DELETING",
|
|
"NONE",
|
|
"RECREATING",
|
|
"REFRESHING",
|
|
"RESTARTING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output only] The unique identifier for this resource. This field is empty when instance does not exist.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.",
|
|
"type": "string"
|
|
},
|
|
"instanceStatus": {
|
|
"description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.",
|
|
"enum": [
|
|
"PROVISIONING",
|
|
"RUNNING",
|
|
"STAGING",
|
|
"STOPPED",
|
|
"STOPPING",
|
|
"SUSPENDED",
|
|
"SUSPENDING",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"lastAttempt": {
|
|
"$ref": "ManagedInstanceLastAttempt",
|
|
"description": "[Output Only] Information about the last attempt to create or delete the instance."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedInstanceLastAttempt": {
|
|
"id": "ManagedInstanceLastAttempt",
|
|
"properties": {
|
|
"errors": {
|
|
"description": "[Output Only] Encountered errors during the last attempt to create or delete the instance.",
|
|
"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 that 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": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Metadata": {
|
|
"description": "A metadata key/value entry.",
|
|
"id": "Metadata",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "Array of key/value pairs. The total size of all keys and values must be less than 512 KB.",
|
|
"items": {
|
|
"properties": {
|
|
"key": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instances.insert",
|
|
"compute.projects.setCommonInstanceMetadata"
|
|
]
|
|
},
|
|
"description": "Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.",
|
|
"pattern": "[a-zA-Z0-9-_]{1,128}",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.instances.insert",
|
|
"compute.projects.setCommonInstanceMetadata"
|
|
]
|
|
},
|
|
"description": "Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#metadata",
|
|
"description": "[Output Only] Type of the resource. Always compute#metadata for metadata.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NamedPort": {
|
|
"description": "The named port. For example: .",
|
|
"id": "NamedPort",
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "The port number, which can be a value between 1 and 65535.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Network": {
|
|
"description": "Represents a Network resource. Read Networks and Firewalls for more information. (== resource_for v1.networks ==) (== resource_for beta.networks ==)",
|
|
"id": "Network",
|
|
"properties": {
|
|
"IPv4Range": {
|
|
"description": "The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.",
|
|
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}",
|
|
"type": "string"
|
|
},
|
|
"autoCreateSubnetworks": {
|
|
"description": "When set to true, the network is created in \"auto subnet mode\". When set to false, the network is in \"custom subnet mode\".\n\nIn \"auto subnet mode\", a newly created network is assigned the default CIDR of 10.128.0.0/9 and it automatically creates one subnetwork per region.",
|
|
"type": "boolean"
|
|
},
|
|
"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"
|
|
},
|
|
"gatewayIPv4": {
|
|
"description": "A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first usable address in the IPv4Range.",
|
|
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#network",
|
|
"description": "[Output Only] Type of the resource. Always compute#network for networks.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.networks.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"
|
|
},
|
|
"peerings": {
|
|
"description": "[Output Only] A list of network peerings for the resource.",
|
|
"items": {
|
|
"$ref": "NetworkPeering"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"routingConfig": {
|
|
"$ref": "NetworkRoutingConfig",
|
|
"description": "The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce."
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"subnetworks": {
|
|
"description": "[Output Only] Server-defined fully-qualified URLs for all subnetworks in this network.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkInterface": {
|
|
"description": "A network interface resource attached to an instance.",
|
|
"id": "NetworkInterface",
|
|
"properties": {
|
|
"accessConfigs": {
|
|
"description": "An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.",
|
|
"items": {
|
|
"$ref": "AccessConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"aliasIpRanges": {
|
|
"description": "An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks.",
|
|
"items": {
|
|
"$ref": "AliasIpRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#networkInterface",
|
|
"description": "[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc.",
|
|
"type": "string"
|
|
},
|
|
"network": {
|
|
"description": "URL of the network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used; if the network is not specified but the subnetwork is specified, the network is inferred.\n\nThis field is optional when creating a firewall rule. If not specified when creating a firewall rule, the default network global/networks/default is used.\n\nIf you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project/global/networks/network \n- projects/project/global/networks/network \n- global/networks/default",
|
|
"type": "string"
|
|
},
|
|
"networkIP": {
|
|
"description": "An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not provide this property. If the network is in auto subnet mode, providing the subnetwork is optional. If the network is in custom subnet mode, then this field should be specified. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork \n- regions/region/subnetworks/subnetwork",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkList": {
|
|
"description": "Contains a list of networks.",
|
|
"id": "NetworkList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Network resources.",
|
|
"items": {
|
|
"$ref": "Network"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#networkList",
|
|
"description": "[Output Only] Type of resource. Always compute#networkList for lists of networks.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"NetworkPeering": {
|
|
"description": "A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.",
|
|
"id": "NetworkPeering",
|
|
"properties": {
|
|
"autoCreateRoutes": {
|
|
"description": "Whether full mesh connectivity is created and managed automatically. When it is set to true, Google Compute Engine will automatically create and manage the routes between two networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"description": "Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.",
|
|
"type": "string"
|
|
},
|
|
"network": {
|
|
"description": "The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "[Output Only] State for the peering.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"INACTIVE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"stateDetails": {
|
|
"description": "[Output Only] Details about the current state of the peering.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkRoutingConfig": {
|
|
"description": "A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.",
|
|
"id": "NetworkRoutingConfig",
|
|
"properties": {
|
|
"routingMode": {
|
|
"description": "The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will only advertise routes with subnetworks of this network in the same region as the router. If set to GLOBAL, this network's cloud routers will advertise routes with all subnetworks of this network, across regions.",
|
|
"enum": [
|
|
"GLOBAL",
|
|
"REGIONAL"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworksAddPeeringRequest": {
|
|
"id": "NetworksAddPeeringRequest",
|
|
"properties": {
|
|
"autoCreateRoutes": {
|
|
"description": "Whether Google Compute Engine manages the routes automatically.",
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.networks.addPeering"
|
|
]
|
|
},
|
|
"description": "Name of the peering, which should conform to RFC1035.",
|
|
"type": "string"
|
|
},
|
|
"peerNetwork": {
|
|
"description": "URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworksRemovePeeringRequest": {
|
|
"id": "NetworksRemovePeeringRequest",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the peering, which should conform to RFC1035.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Operation": {
|
|
"description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
|
|
"id": "Operation",
|
|
"properties": {
|
|
"clientOperationId": {
|
|
"description": "[Output Only] Reserved for future use.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Deprecated] This field is deprecated.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] A textual description of the operation, which is set when the operation is created.",
|
|
"type": "string"
|
|
},
|
|
"endTime": {
|
|
"description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"description": "[Output Only] If errors are generated during processing of the 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 that 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": "object"
|
|
},
|
|
"httpErrorMessage": {
|
|
"description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.",
|
|
"type": "string"
|
|
},
|
|
"httpErrorStatusCode": {
|
|
"description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"insertTime": {
|
|
"description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#operation",
|
|
"description": "[Output Only] Type of the resource. Always compute#operation for Operation resources.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"operationType": {
|
|
"description": "[Output Only] The type of operation, such as insert, update, or delete, and so on.",
|
|
"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 when the operation will be complete. This number should monotonically increase as the operation progresses.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"startTime": {
|
|
"description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.",
|
|
"enum": [
|
|
"DONE",
|
|
"PENDING",
|
|
"RUNNING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"statusMessage": {
|
|
"description": "[Output Only] An optional textual description of the current status of the operation.",
|
|
"type": "string"
|
|
},
|
|
"targetId": {
|
|
"description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"targetLink": {
|
|
"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.",
|
|
"type": "string"
|
|
},
|
|
"user": {
|
|
"description": "[Output Only] User who requested the operation, for example: user@example.com.",
|
|
"type": "string"
|
|
},
|
|
"warnings": {
|
|
"description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OperationAggregatedList": {
|
|
"id": "OperationAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "OperationsScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of operations."
|
|
},
|
|
"description": "[Output Only] A map of scoped operation lists.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#operationAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of operations.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"OperationList": {
|
|
"description": "Contains a list of Operation resources.",
|
|
"id": "OperationList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "[Output Only] A list of Operation resources.",
|
|
"items": {
|
|
"$ref": "Operation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#operationList",
|
|
"description": "[Output Only] Type of resource. Always compute#operations for Operations 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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"OperationsScopedList": {
|
|
"id": "OperationsScopedList",
|
|
"properties": {
|
|
"operations": {
|
|
"description": "[Output Only] A list of operations contained in this scope.",
|
|
"items": {
|
|
"$ref": "Operation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of operations 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"PathMatcher": {
|
|
"description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service will be used.",
|
|
"id": "PathMatcher",
|
|
"properties": {
|
|
"defaultService": {
|
|
"description": "The full or partial URL to the BackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's path portion. For example, the following are all valid URLs to a BackendService resource: \n- https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService \n- compute/v1/projects/project/global/backendServices/backendService \n- global/backendServices/backendService",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name to which this PathMatcher is referred by the HostRule.",
|
|
"type": "string"
|
|
},
|
|
"pathRules": {
|
|
"description": "The list of path rules.",
|
|
"items": {
|
|
"$ref": "PathRule"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PathRule": {
|
|
"description": "A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.",
|
|
"id": "PathRule",
|
|
"properties": {
|
|
"paths": {
|
|
"description": "The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"service": {
|
|
"description": "The URL of the BackendService resource if this rule is matched.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Project": {
|
|
"description": "A Project resource. For an overview of projects, see Cloud Platform Resource Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)",
|
|
"id": "Project",
|
|
"properties": {
|
|
"commonInstanceMetadata": {
|
|
"$ref": "Metadata",
|
|
"description": "Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information."
|
|
},
|
|
"creationTimestamp": {
|
|
"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"
|
|
},
|
|
"enabledFeatures": {
|
|
"description": "Restricted features enabled for use on this project.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is not the project ID, and is just a unique ID used by Compute Engine to identify resources.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#project",
|
|
"description": "[Output Only] Type of the resource. Always compute#project for projects.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.",
|
|
"type": "string"
|
|
},
|
|
"quotas": {
|
|
"description": "[Output Only] Quotas assigned to this project.",
|
|
"items": {
|
|
"$ref": "Quota"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"usageExportLocation": {
|
|
"$ref": "UsageExportLocation",
|
|
"description": "The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored."
|
|
},
|
|
"xpnProjectStatus": {
|
|
"description": "[Output Only] The role this project has in a shared VPC configuration. Currently only HOST projects are differentiated.",
|
|
"enum": [
|
|
"HOST",
|
|
"UNSPECIFIED_XPN_PROJECT_STATUS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProjectsDisableXpnResourceRequest": {
|
|
"id": "ProjectsDisableXpnResourceRequest",
|
|
"properties": {
|
|
"xpnResource": {
|
|
"$ref": "XpnResourceId",
|
|
"description": "Service resource (a.k.a service project) ID."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProjectsEnableXpnResourceRequest": {
|
|
"id": "ProjectsEnableXpnResourceRequest",
|
|
"properties": {
|
|
"xpnResource": {
|
|
"$ref": "XpnResourceId",
|
|
"description": "Service resource (a.k.a service project) ID."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProjectsGetXpnResources": {
|
|
"id": "ProjectsGetXpnResources",
|
|
"properties": {
|
|
"kind": {
|
|
"default": "compute#projectsGetXpnResources",
|
|
"description": "[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)",
|
|
"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"
|
|
},
|
|
"resources": {
|
|
"description": "Service resources (a.k.a service projects) attached to this project as their shared VPC host.",
|
|
"items": {
|
|
"$ref": "XpnResourceId"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProjectsListXpnHostsRequest": {
|
|
"id": "ProjectsListXpnHostsRequest",
|
|
"properties": {
|
|
"organization": {
|
|
"description": "Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Quota": {
|
|
"description": "A quotas entry.",
|
|
"id": "Quota",
|
|
"properties": {
|
|
"limit": {
|
|
"description": "[Output Only] Quota limit for this metric.",
|
|
"format": "double",
|
|
"type": "number"
|
|
},
|
|
"metric": {
|
|
"description": "[Output Only] Name of the quota metric.",
|
|
"enum": [
|
|
"AUTOSCALERS",
|
|
"BACKEND_BUCKETS",
|
|
"BACKEND_SERVICES",
|
|
"COMMITMENTS",
|
|
"CPUS",
|
|
"CPUS_ALL_REGIONS",
|
|
"DISKS_TOTAL_GB",
|
|
"FIREWALLS",
|
|
"FORWARDING_RULES",
|
|
"HEALTH_CHECKS",
|
|
"IMAGES",
|
|
"INSTANCES",
|
|
"INSTANCE_GROUPS",
|
|
"INSTANCE_GROUP_MANAGERS",
|
|
"INSTANCE_TEMPLATES",
|
|
"INTERCONNECTS",
|
|
"INTERNAL_ADDRESSES",
|
|
"IN_USE_ADDRESSES",
|
|
"LOCAL_SSD_TOTAL_GB",
|
|
"NETWORKS",
|
|
"NVIDIA_K80_GPUS",
|
|
"NVIDIA_P100_GPUS",
|
|
"NVIDIA_V100_GPUS",
|
|
"PREEMPTIBLE_CPUS",
|
|
"PREEMPTIBLE_LOCAL_SSD_GB",
|
|
"PREEMPTIBLE_NVIDIA_K80_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_P100_GPUS",
|
|
"REGIONAL_AUTOSCALERS",
|
|
"REGIONAL_INSTANCE_GROUP_MANAGERS",
|
|
"ROUTERS",
|
|
"ROUTES",
|
|
"SECURITY_POLICIES",
|
|
"SECURITY_POLICY_RULES",
|
|
"SNAPSHOTS",
|
|
"SSD_TOTAL_GB",
|
|
"SSL_CERTIFICATES",
|
|
"STATIC_ADDRESSES",
|
|
"SUBNETWORKS",
|
|
"TARGET_HTTPS_PROXIES",
|
|
"TARGET_HTTP_PROXIES",
|
|
"TARGET_INSTANCES",
|
|
"TARGET_POOLS",
|
|
"TARGET_SSL_PROXIES",
|
|
"TARGET_TCP_PROXIES",
|
|
"TARGET_VPN_GATEWAYS",
|
|
"URL_MAPS",
|
|
"VPN_TUNNELS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"usage": {
|
|
"description": "[Output Only] Current usage of this metric.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Reference": {
|
|
"description": "Represents a reference to a resource.",
|
|
"id": "Reference",
|
|
"properties": {
|
|
"kind": {
|
|
"default": "compute#reference",
|
|
"description": "[Output Only] Type of the resource. Always compute#reference for references.",
|
|
"type": "string"
|
|
},
|
|
"referenceType": {
|
|
"description": "A description of the reference type with no implied semantics. Possible values include: \n- MEMBER_OF",
|
|
"type": "string"
|
|
},
|
|
"referrer": {
|
|
"description": "URL of the resource which refers to the target.",
|
|
"type": "string"
|
|
},
|
|
"target": {
|
|
"description": "URL of the resource to which this reference points.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Region": {
|
|
"description": "Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions ==)",
|
|
"id": "Region",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this region."
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] Textual description of 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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#region",
|
|
"description": "[Output Only] Type of the resource. Always compute#region for regions.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"quotas": {
|
|
"description": "[Output Only] Quotas assigned to this region.",
|
|
"items": {
|
|
"$ref": "Quota"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] Status of the region, either UP or DOWN.",
|
|
"enum": [
|
|
"DOWN",
|
|
"UP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"zones": {
|
|
"description": "[Output Only] A list of zones available in this region, in the form of resource URLs.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionAutoscalerList": {
|
|
"description": "Contains a list of autoscalers.",
|
|
"id": "RegionAutoscalerList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Autoscaler resources.",
|
|
"items": {
|
|
"$ref": "Autoscaler"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#regionAutoscalerList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupList": {
|
|
"description": "Contains a list of InstanceGroup resources.",
|
|
"id": "RegionInstanceGroupList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceGroup resources.",
|
|
"items": {
|
|
"$ref": "InstanceGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#regionInstanceGroupList",
|
|
"description": "The resource type.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagerList": {
|
|
"description": "Contains a list of managed instance groups.",
|
|
"id": "RegionInstanceGroupManagerList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceGroupManager resources.",
|
|
"items": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#regionInstanceGroupManagerList",
|
|
"description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional scope.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagersAbandonInstancesRequest": {
|
|
"id": "RegionInstanceGroupManagersAbandonInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersDeleteInstancesRequest": {
|
|
"id": "RegionInstanceGroupManagersDeleteInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersListInstancesResponse": {
|
|
"id": "RegionInstanceGroupManagersListInstancesResponse",
|
|
"properties": {
|
|
"managedInstances": {
|
|
"description": "A list of managed instances.",
|
|
"items": {
|
|
"$ref": "ManagedInstance"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersRecreateRequest": {
|
|
"id": "RegionInstanceGroupManagersRecreateRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersSetTargetPoolsRequest": {
|
|
"id": "RegionInstanceGroupManagersSetTargetPoolsRequest",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"targetPools": {
|
|
"description": "The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersSetTemplateRequest": {
|
|
"id": "RegionInstanceGroupManagersSetTemplateRequest",
|
|
"properties": {
|
|
"instanceTemplate": {
|
|
"description": "URL of the InstanceTemplate resource from which all new instances will be created.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupsListInstances": {
|
|
"id": "RegionInstanceGroupsListInstances",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InstanceWithNamedPorts resources.",
|
|
"items": {
|
|
"$ref": "InstanceWithNamedPorts"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#regionInstanceGroupsListInstances",
|
|
"description": "The resource type.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupsListInstancesRequest": {
|
|
"id": "RegionInstanceGroupsListInstancesRequest",
|
|
"properties": {
|
|
"instanceState": {
|
|
"description": "Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.",
|
|
"enum": [
|
|
"ALL",
|
|
"RUNNING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"portName": {
|
|
"description": "Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupsSetNamedPortsRequest": {
|
|
"id": "RegionInstanceGroupsSetNamedPortsRequest",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"namedPorts": {
|
|
"description": "The list of named ports to set for this instance group.",
|
|
"items": {
|
|
"$ref": "NamedPort"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionList": {
|
|
"description": "Contains a list of region resources.",
|
|
"id": "RegionList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Region resources.",
|
|
"items": {
|
|
"$ref": "Region"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#regionList",
|
|
"description": "[Output Only] Type of resource. Always compute#regionList for lists of regions.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ResourceCommitment": {
|
|
"description": "Commitment for a particular resource (a Commitment is composed of one or more of these).",
|
|
"id": "ResourceCommitment",
|
|
"properties": {
|
|
"amount": {
|
|
"description": "The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of resource for which this commitment applies. Possible values are VCPU and MEMORY",
|
|
"enum": [
|
|
"MEMORY",
|
|
"UNSPECIFIED",
|
|
"VCPU"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceGroupReference": {
|
|
"id": "ResourceGroupReference",
|
|
"properties": {
|
|
"group": {
|
|
"description": "A URI referencing one of the instance groups listed in the backend service.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Route": {
|
|
"description": "Represents a Route resource. A route specifies how certain packets should be handled by the network. Routes are associated with instances by tags and the set of routes for a particular instance is called its routing table.\n\nFor each packet leaving an instance, the system searches that instance's routing table for a single best matching route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching routes. The packet is then forwarded as specified by the nextHop field of the winning route - either to another instance destination, an instance gateway, or a Google Compute Engine-operated gateway.\n\nPackets that do not match any route in the sending instance's routing table are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)",
|
|
"id": "Route",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"destRange": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.routes.insert"
|
|
]
|
|
},
|
|
"description": "The destination range of outgoing packets that this route applies to. Only IPv4 is supported.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#route",
|
|
"description": "[Output Only] Type of this resource. Always compute#routes for Route resources.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.routes.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.routes.insert"
|
|
]
|
|
},
|
|
"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/\u003cproject-id\u003e/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. Only IPv4 is supported.",
|
|
"type": "string"
|
|
},
|
|
"nextHopNetwork": {
|
|
"description": "The URL of the local network if it should handle matching packets.",
|
|
"type": "string"
|
|
},
|
|
"nextHopPeering": {
|
|
"description": "[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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": "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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"Router": {
|
|
"description": "Router resource.",
|
|
"id": "Router",
|
|
"properties": {
|
|
"bgp": {
|
|
"$ref": "RouterBgp",
|
|
"description": "BGP information specific to this router."
|
|
},
|
|
"bgpPeers": {
|
|
"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. Please refer to RFC4273.",
|
|
"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": {
|
|
"description": "Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.",
|
|
"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. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterAdvertisedIpRange": {
|
|
"description": "Description-tagged IP ranges for the router to advertise.",
|
|
"id": "RouterAdvertisedIpRange",
|
|
"properties": {
|
|
"description": {
|
|
"description": "User-specified description for the IP range.",
|
|
"type": "string"
|
|
},
|
|
"range": {
|
|
"description": "The IP range to advertise. The value must be a CIDR-formatted string.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterAggregatedList": {
|
|
"description": "Contains a list of routers.",
|
|
"id": "RouterAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "RoutersScopedList",
|
|
"description": "Name of the scope containing this set of routers."
|
|
},
|
|
"description": "A list of Router resources.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RouterBgp": {
|
|
"id": "RouterBgp",
|
|
"properties": {
|
|
"advertiseMode": {
|
|
"description": "User-specified flag to indicate which mode to use for advertisement.",
|
|
"enum": [
|
|
"CUSTOM",
|
|
"DEFAULT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"advertisedGroups": {
|
|
"description": "User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.",
|
|
"items": {
|
|
"enum": [
|
|
"ALL_SUBNETS"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"advertisedIpRanges": {
|
|
"description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.",
|
|
"items": {
|
|
"$ref": "RouterAdvertisedIpRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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": {
|
|
"id": "RouterBgpPeer",
|
|
"properties": {
|
|
"advertiseMode": {
|
|
"description": "User-specified flag to indicate which mode to use for advertisement.",
|
|
"enum": [
|
|
"CUSTOM",
|
|
"DEFAULT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"advertisedGroups": {
|
|
"description": "User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp message). These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.",
|
|
"items": {
|
|
"enum": [
|
|
"ALL_SUBNETS"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"advertisedIpRanges": {
|
|
"description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.",
|
|
"items": {
|
|
"$ref": "RouterAdvertisedIpRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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. Only IPv4 is supported.",
|
|
"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. Only IPv4 is supported.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterInterface": {
|
|
"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"
|
|
},
|
|
"linkedInterconnectAttachment": {
|
|
"description": "URI of the linked interconnect attachment. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.",
|
|
"type": "string"
|
|
},
|
|
"linkedVpnTunnel": {
|
|
"description": "URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterList": {
|
|
"description": "Contains a list of Router resources.",
|
|
"id": "RouterList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Router resources.",
|
|
"items": {
|
|
"$ref": "Router"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#routerList",
|
|
"description": "[Output Only] Type of resource. Always compute#router for routers.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"RouterStatus": {
|
|
"id": "RouterStatus",
|
|
"properties": {
|
|
"bestRoutes": {
|
|
"description": "Best routes for this router's network.",
|
|
"items": {
|
|
"$ref": "Route"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"bestRoutesForRouter": {
|
|
"description": "Best routes learned by this router.",
|
|
"items": {
|
|
"$ref": "Route"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"bgpPeerStatus": {
|
|
"items": {
|
|
"$ref": "RouterStatusBgpPeerStatus"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"network": {
|
|
"description": "URI of the network to which this router belongs.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterStatusBgpPeerStatus": {
|
|
"id": "RouterStatusBgpPeerStatus",
|
|
"properties": {
|
|
"advertisedRoutes": {
|
|
"description": "Routes that were advertised to the remote BGP peer",
|
|
"items": {
|
|
"$ref": "Route"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ipAddress": {
|
|
"description": "IP address of the local BGP interface.",
|
|
"type": "string"
|
|
},
|
|
"linkedVpnTunnel": {
|
|
"description": "URL of the VPN tunnel that this BGP peer controls.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"RoutersPreviewResponse": {
|
|
"id": "RoutersPreviewResponse",
|
|
"properties": {
|
|
"resource": {
|
|
"$ref": "Router",
|
|
"description": "Preview of given router."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RoutersScopedList": {
|
|
"id": "RoutersScopedList",
|
|
"properties": {
|
|
"routers": {
|
|
"description": "A 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SSLHealthCheck": {
|
|
"id": "SSLHealthCheck",
|
|
"properties": {
|
|
"port": {
|
|
"description": "The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"portName": {
|
|
"description": "Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.",
|
|
"type": "string"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"request": {
|
|
"description": "The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.",
|
|
"type": "string"
|
|
},
|
|
"response": {
|
|
"description": "The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Scheduling": {
|
|
"description": "Sets the scheduling options for an Instance.",
|
|
"id": "Scheduling",
|
|
"properties": {
|
|
"automaticRestart": {
|
|
"description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted.\n\nBy default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.",
|
|
"type": "boolean"
|
|
},
|
|
"onHostMaintenance": {
|
|
"description": "Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting Instance Scheduling Options.",
|
|
"enum": [
|
|
"MIGRATE",
|
|
"TERMINATE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"preemptible": {
|
|
"description": "Defines whether the instance is preemptible. This can only be set during instance creation, it cannot be set or changed after the instance has been created.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SerialPortOutput": {
|
|
"description": "An instance's serial console output.",
|
|
"id": "SerialPortOutput",
|
|
"properties": {
|
|
"contents": {
|
|
"description": "[Output Only] The contents of the console output.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#serialPortOutput",
|
|
"description": "[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.",
|
|
"type": "string"
|
|
},
|
|
"next": {
|
|
"description": "[Output Only] The position of the next byte of content from the serial console output. Use this value in the next request as the start parameter.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"start": {
|
|
"description": "The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer, older output will be overwritten by newer content and the start values will be mismatched.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ServiceAccount": {
|
|
"description": "A service account.",
|
|
"id": "ServiceAccount",
|
|
"properties": {
|
|
"email": {
|
|
"description": "Email address of the service account.",
|
|
"type": "string"
|
|
},
|
|
"scopes": {
|
|
"description": "The list of scopes to be made available for this service account.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Snapshot": {
|
|
"description": "A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for v1.snapshots ==)",
|
|
"id": "Snapshot",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "[Output Only] Size of the snapshot, specified in GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#snapshot",
|
|
"description": "[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make a get() request to retrieve a snapshot.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"licenseCodes": {
|
|
"description": "Integer license codes indicating which licenses are attached to this snapshot.",
|
|
"items": {
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"licenses": {
|
|
"description": "[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"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"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.",
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"FAILED",
|
|
"READY",
|
|
"UPLOADING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"storageBytes": {
|
|
"description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"storageBytesStatus": {
|
|
"description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.",
|
|
"enum": [
|
|
"UPDATING",
|
|
"UP_TO_DATE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SnapshotList": {
|
|
"description": "Contains a list of Snapshot resources.",
|
|
"id": "SnapshotList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Snapshot resources.",
|
|
"items": {
|
|
"$ref": "Snapshot"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#snapshotList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SslCertificate": {
|
|
"description": "An SslCertificate resource. This resource provides a mechanism to upload an SSL key and certificate to the load balancer to serve secure connections from the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.sslCertificates ==)",
|
|
"id": "SslCertificate",
|
|
"properties": {
|
|
"certificate": {
|
|
"description": "A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#sslCertificate",
|
|
"description": "[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"privateKey": {
|
|
"description": "A write-only private key in PEM format. Only insert requests will include this field.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SslCertificateList": {
|
|
"description": "Contains a list of SslCertificate resources.",
|
|
"id": "SslCertificateList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of SslCertificate resources.",
|
|
"items": {
|
|
"$ref": "SslCertificate"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#sslCertificateList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SslPoliciesList": {
|
|
"id": "SslPoliciesList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of SslPolicy resources.",
|
|
"items": {
|
|
"$ref": "SslPolicy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#sslPoliciesList",
|
|
"description": "[Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SslPoliciesListAvailableFeaturesResponse": {
|
|
"id": "SslPoliciesListAvailableFeaturesResponse",
|
|
"properties": {
|
|
"features": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SslPolicy": {
|
|
"description": "A SSL policy specifies the server-side support for SSL features. This can be attached to a TargetHttpsProxy or a TargetSslProxy. This affects connections between clients and the HTTPS or SSL proxy load balancer. They do not affect the connection between the load balancers and the backends.",
|
|
"id": "SslPolicy",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"customFeatures": {
|
|
"description": "A list of features enabled when the selected profile is CUSTOM. The\n- method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"enabledFeatures": {
|
|
"description": "[Output Only] The list of features enabled in the SSL policy.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#sslPolicy",
|
|
"description": "[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.",
|
|
"type": "string"
|
|
},
|
|
"minTlsVersion": {
|
|
"description": "The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.",
|
|
"enum": [
|
|
"TLS_1_0",
|
|
"TLS_1_1",
|
|
"TLS_1_2"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the resource. 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"
|
|
},
|
|
"profile": {
|
|
"description": "Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.",
|
|
"enum": [
|
|
"COMPATIBLE",
|
|
"CUSTOM",
|
|
"MODERN",
|
|
"RESTRICTED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"warnings": {
|
|
"description": "[Output Only] If potential misconfigurations are detected for this SSL policy, 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SslPolicyReference": {
|
|
"id": "SslPolicyReference",
|
|
"properties": {
|
|
"sslPolicy": {
|
|
"description": "URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Subnetwork": {
|
|
"description": "A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks ==)",
|
|
"id": "Subnetwork",
|
|
"properties": {
|
|
"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. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"gatewayAddress": {
|
|
"description": "[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"ipCidrRange": {
|
|
"description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#subnetwork",
|
|
"description": "[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the resource, provided by the client when initially creating the resource. 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": {
|
|
"description": "The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. Only networks that are in the distributed mode can have subnetworks. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"privateIpGoogleAccess": {
|
|
"description": "Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.",
|
|
"type": "boolean"
|
|
},
|
|
"region": {
|
|
"description": "URL of the region where the Subnetwork resides. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"secondaryIpRanges": {
|
|
"description": "An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges.",
|
|
"items": {
|
|
"$ref": "SubnetworkSecondaryRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SubnetworkAggregatedList": {
|
|
"id": "SubnetworkAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "SubnetworksScopedList",
|
|
"description": "Name of the scope containing this set of Subnetworks."
|
|
},
|
|
"description": "A list of SubnetworksScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#subnetworkAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SubnetworkList": {
|
|
"description": "Contains a list of Subnetwork resources.",
|
|
"id": "SubnetworkList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Subnetwork resources.",
|
|
"items": {
|
|
"$ref": "Subnetwork"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#subnetworkList",
|
|
"description": "[Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SubnetworkSecondaryRange": {
|
|
"description": "Represents a secondary IP range of a subnetwork.",
|
|
"id": "SubnetworkSecondaryRange",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported.",
|
|
"type": "string"
|
|
},
|
|
"rangeName": {
|
|
"description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SubnetworksExpandIpCidrRangeRequest": {
|
|
"id": "SubnetworksExpandIpCidrRangeRequest",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SubnetworksScopedList": {
|
|
"id": "SubnetworksScopedList",
|
|
"properties": {
|
|
"subnetworks": {
|
|
"description": "A list of subnetworks contained in this scope.",
|
|
"items": {
|
|
"$ref": "Subnetwork"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "An informational warning that appears when the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"SubnetworksSetPrivateIpGoogleAccessRequest": {
|
|
"id": "SubnetworksSetPrivateIpGoogleAccessRequest",
|
|
"properties": {
|
|
"privateIpGoogleAccess": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TCPHealthCheck": {
|
|
"id": "TCPHealthCheck",
|
|
"properties": {
|
|
"port": {
|
|
"description": "The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"portName": {
|
|
"description": "Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.",
|
|
"type": "string"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"request": {
|
|
"description": "The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.",
|
|
"type": "string"
|
|
},
|
|
"response": {
|
|
"description": "The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Tags": {
|
|
"description": "A set of instance tags.",
|
|
"id": "Tags",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags.\n\nTo see the latest fingerprint, make get() request to the instance.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetHttpProxy": {
|
|
"description": "A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==)",
|
|
"id": "TargetHttpProxy",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpProxy",
|
|
"description": "[Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetHttpProxyList": {
|
|
"description": "A list of TargetHttpProxy resources.",
|
|
"id": "TargetHttpProxyList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetHttpProxy resources.",
|
|
"items": {
|
|
"$ref": "TargetHttpProxy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpProxyList",
|
|
"description": "Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetHttpsProxiesSetSslCertificatesRequest": {
|
|
"id": "TargetHttpsProxiesSetSslCertificatesRequest",
|
|
"properties": {
|
|
"sslCertificates": {
|
|
"description": "New set of SslCertificate resources to associate with this TargetHttpsProxy resource. Currently exactly one SslCertificate resource must be specified.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetHttpsProxy": {
|
|
"description": "A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (== resource_for beta.targetHttpsProxies ==) (== resource_for v1.targetHttpsProxies ==)",
|
|
"id": "TargetHttpsProxy",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpsProxy",
|
|
"description": "[Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sslCertificates": {
|
|
"description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. Currently, exactly one SSL certificate must be specified.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sslPolicy": {
|
|
"description": "URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource will not have any SSL policy configured.",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: \n- https://www.googleapis.compute/v1/projects/project/global/urlMaps/url-map \n- projects/project/global/urlMaps/url-map \n- global/urlMaps/url-map",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetHttpsProxyList": {
|
|
"description": "Contains a list of TargetHttpsProxy resources.",
|
|
"id": "TargetHttpsProxyList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetHttpsProxy resources.",
|
|
"items": {
|
|
"$ref": "TargetHttpsProxy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpsProxyList",
|
|
"description": "Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetInstance": {
|
|
"description": "A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances ==)",
|
|
"id": "TargetInstance",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"instance": {
|
|
"description": "A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance \n- projects/project/zones/zone/instances/instance \n- zones/zone/instances/instance",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetInstance",
|
|
"description": "[Output Only] The type of the resource. Always compute#targetInstance for target instances.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"natPolicy": {
|
|
"description": "NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported.",
|
|
"enum": [
|
|
"NO_NAT"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetInstanceAggregatedList": {
|
|
"id": "TargetInstanceAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "TargetInstancesScopedList",
|
|
"description": "Name of the scope containing this set of target instances."
|
|
},
|
|
"description": "A list of TargetInstance resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetInstanceAggregatedList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetInstanceList": {
|
|
"description": "Contains a list of TargetInstance resources.",
|
|
"id": "TargetInstanceList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetInstance resources.",
|
|
"items": {
|
|
"$ref": "TargetInstance"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetInstanceList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetInstancesScopedList": {
|
|
"id": "TargetInstancesScopedList",
|
|
"properties": {
|
|
"targetInstances": {
|
|
"description": "A list of target instances contained in this scope.",
|
|
"items": {
|
|
"$ref": "TargetInstance"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetPool": {
|
|
"description": "A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck resource, and the fallback target pool. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)",
|
|
"id": "TargetPool",
|
|
"properties": {
|
|
"backupPool": {
|
|
"description": "This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1].\n\nbackupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool.\n\nIn case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"failoverRatio": {
|
|
"description": "This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1].\n\nIf set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool.\n\nIn case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"healthChecks": {
|
|
"description": "The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"instances": {
|
|
"description": "A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetPool",
|
|
"description": "[Output Only] Type of the resource. Always compute#targetPool for target pools.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the target pool resides.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"sessionAffinity": {
|
|
"description": "Sesssion affinity option, must be one of the following values:\nNONE: Connections from the same client IP may go to any instance in the pool.\nCLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.\nCLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.",
|
|
"enum": [
|
|
"CLIENT_IP",
|
|
"CLIENT_IP_PORT_PROTO",
|
|
"CLIENT_IP_PROTO",
|
|
"GENERATED_COOKIE",
|
|
"NONE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolAggregatedList": {
|
|
"id": "TargetPoolAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "TargetPoolsScopedList",
|
|
"description": "Name of the scope containing this set of target pools."
|
|
},
|
|
"description": "A list of TargetPool resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetPoolAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetPoolInstanceHealth": {
|
|
"id": "TargetPoolInstanceHealth",
|
|
"properties": {
|
|
"healthStatus": {
|
|
"items": {
|
|
"$ref": "HealthStatus"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetPoolInstanceHealth",
|
|
"description": "[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolList": {
|
|
"description": "Contains a list of TargetPool resources.",
|
|
"id": "TargetPoolList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetPool resources.",
|
|
"items": {
|
|
"$ref": "TargetPool"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetPoolList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetPoolList for lists of target pools.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetPoolsAddHealthCheckRequest": {
|
|
"id": "TargetPoolsAddHealthCheckRequest",
|
|
"properties": {
|
|
"healthChecks": {
|
|
"description": "The HttpHealthCheck to add to the target pool.",
|
|
"items": {
|
|
"$ref": "HealthCheckReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolsAddInstanceRequest": {
|
|
"id": "TargetPoolsAddInstanceRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name \n- projects/project-id/zones/zone/instances/instance-name \n- zones/zone/instances/instance-name",
|
|
"items": {
|
|
"$ref": "InstanceReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolsRemoveHealthCheckRequest": {
|
|
"id": "TargetPoolsRemoveHealthCheckRequest",
|
|
"properties": {
|
|
"healthChecks": {
|
|
"description": "Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: \n- https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check \n- projects/project/global/httpHealthChecks/health-check \n- global/httpHealthChecks/health-check",
|
|
"items": {
|
|
"$ref": "HealthCheckReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolsRemoveInstanceRequest": {
|
|
"id": "TargetPoolsRemoveInstanceRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "URLs of the instances to be removed from target pool.",
|
|
"items": {
|
|
"$ref": "InstanceReference"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetPoolsScopedList": {
|
|
"id": "TargetPoolsScopedList",
|
|
"properties": {
|
|
"targetPools": {
|
|
"description": "A list of target pools contained in this scope.",
|
|
"items": {
|
|
"$ref": "TargetPool"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetReference": {
|
|
"id": "TargetReference",
|
|
"properties": {
|
|
"target": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetSslProxiesSetBackendServiceRequest": {
|
|
"id": "TargetSslProxiesSetBackendServiceRequest",
|
|
"properties": {
|
|
"service": {
|
|
"description": "The URL of the new BackendService resource for the targetSslProxy.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetSslProxiesSetProxyHeaderRequest": {
|
|
"id": "TargetSslProxiesSetProxyHeaderRequest",
|
|
"properties": {
|
|
"proxyHeader": {
|
|
"description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetSslProxiesSetSslCertificatesRequest": {
|
|
"id": "TargetSslProxiesSetSslCertificatesRequest",
|
|
"properties": {
|
|
"sslCertificates": {
|
|
"description": "New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently exactly one ssl certificate must be specified.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetSslProxy": {
|
|
"description": "A TargetSslProxy resource. This resource defines an SSL proxy. (== resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)",
|
|
"id": "TargetSslProxy",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetSslProxy",
|
|
"description": "[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"service": {
|
|
"description": "URL to the BackendService resource.",
|
|
"type": "string"
|
|
},
|
|
"sslCertificates": {
|
|
"description": "URLs to SslCertificate resources that are used to authenticate connections to Backends. Currently exactly one SSL certificate must be specified.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sslPolicy": {
|
|
"description": "URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetSslProxyList": {
|
|
"description": "Contains a list of TargetSslProxy resources.",
|
|
"id": "TargetSslProxyList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetSslProxy resources.",
|
|
"items": {
|
|
"$ref": "TargetSslProxy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetSslProxyList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetTcpProxiesSetBackendServiceRequest": {
|
|
"id": "TargetTcpProxiesSetBackendServiceRequest",
|
|
"properties": {
|
|
"service": {
|
|
"description": "The URL of the new BackendService resource for the targetTcpProxy.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetTcpProxiesSetProxyHeaderRequest": {
|
|
"id": "TargetTcpProxiesSetProxyHeaderRequest",
|
|
"properties": {
|
|
"proxyHeader": {
|
|
"description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetTcpProxy": {
|
|
"description": "A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)",
|
|
"id": "TargetTcpProxy",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetTcpProxy",
|
|
"description": "[Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"proxyHeader": {
|
|
"description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"PROXY_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"service": {
|
|
"description": "URL to the BackendService resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetTcpProxyList": {
|
|
"description": "Contains a list of TargetTcpProxy resources.",
|
|
"id": "TargetTcpProxyList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetTcpProxy resources.",
|
|
"items": {
|
|
"$ref": "TargetTcpProxy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetTcpProxyList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetVpnGateway": {
|
|
"description": "Represents a Target VPN gateway resource. (== resource_for beta.targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==)",
|
|
"id": "TargetVpnGateway",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"forwardingRules": {
|
|
"description": "[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated to a VPN gateway.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetVpnGateway",
|
|
"description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.targetVpnGateways.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.targetVpnGateways.insert"
|
|
]
|
|
},
|
|
"description": "URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the VPN gateway.",
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"FAILED",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"tunnels": {
|
|
"description": "[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using compute.vpntunnels.insert method and associated to a VPN gateway.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetVpnGatewayAggregatedList": {
|
|
"id": "TargetVpnGatewayAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "TargetVpnGatewaysScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of target VPN gateways."
|
|
},
|
|
"description": "A list of TargetVpnGateway resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetVpnGatewayAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetVpnGatewayList": {
|
|
"description": "Contains a list of TargetVpnGateway resources.",
|
|
"id": "TargetVpnGatewayList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of TargetVpnGateway resources.",
|
|
"items": {
|
|
"$ref": "TargetVpnGateway"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetVpnGatewayList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TargetVpnGatewaysScopedList": {
|
|
"id": "TargetVpnGatewaysScopedList",
|
|
"properties": {
|
|
"targetVpnGateways": {
|
|
"description": "[Output Only] A list of target vpn gateways contained in this scope.",
|
|
"items": {
|
|
"$ref": "TargetVpnGateway"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"TestFailure": {
|
|
"id": "TestFailure",
|
|
"properties": {
|
|
"actualService": {
|
|
"type": "string"
|
|
},
|
|
"expectedService": {
|
|
"type": "string"
|
|
},
|
|
"host": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TestPermissionsRequest": {
|
|
"id": "TestPermissionsRequest",
|
|
"properties": {
|
|
"permissions": {
|
|
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TestPermissionsResponse": {
|
|
"id": "TestPermissionsResponse",
|
|
"properties": {
|
|
"permissions": {
|
|
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMap": {
|
|
"description": "A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the \"longest-match\" of the URL's host and path.",
|
|
"id": "UrlMap",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"defaultService": {
|
|
"description": "The URL of the BackendService resource if none of the hostRules match.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"hostRules": {
|
|
"description": "The list of HostRules to use against the URL.",
|
|
"items": {
|
|
"$ref": "HostRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#urlMap",
|
|
"description": "[Output Only] Type of the resource. Always compute#urlMaps for url maps.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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"
|
|
},
|
|
"pathMatchers": {
|
|
"description": "The list of named PathMatchers to use against the URL.",
|
|
"items": {
|
|
"$ref": "PathMatcher"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"tests": {
|
|
"description": "The list of expected URL mapping tests. Request to update this UrlMap will succeed only if all of the test cases pass. You can specify a maximum of 100 tests per UrlMap.",
|
|
"items": {
|
|
"$ref": "UrlMapTest"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMapList": {
|
|
"description": "Contains a list of UrlMap resources.",
|
|
"id": "UrlMapList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of UrlMap resources.",
|
|
"items": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#urlMapList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"UrlMapReference": {
|
|
"id": "UrlMapReference",
|
|
"properties": {
|
|
"urlMap": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMapTest": {
|
|
"description": "Message for the expected URL mappings.",
|
|
"id": "UrlMapTest",
|
|
"properties": {
|
|
"description": {
|
|
"description": "Description of this test case.",
|
|
"type": "string"
|
|
},
|
|
"host": {
|
|
"description": "Host portion of the URL.",
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"description": "Path portion of the URL.",
|
|
"type": "string"
|
|
},
|
|
"service": {
|
|
"description": "Expected BackendService resource the given URL should be mapped to.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMapValidationResult": {
|
|
"description": "Message representing the validation result for a UrlMap.",
|
|
"id": "UrlMapValidationResult",
|
|
"properties": {
|
|
"loadErrors": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"loadSucceeded": {
|
|
"description": "Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.",
|
|
"type": "boolean"
|
|
},
|
|
"testFailures": {
|
|
"items": {
|
|
"$ref": "TestFailure"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"testPassed": {
|
|
"description": "If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMapsValidateRequest": {
|
|
"id": "UrlMapsValidateRequest",
|
|
"properties": {
|
|
"resource": {
|
|
"$ref": "UrlMap",
|
|
"description": "Content of the UrlMap to be validated."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UrlMapsValidateResponse": {
|
|
"id": "UrlMapsValidateResponse",
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "UrlMapValidationResult"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UsageExportLocation": {
|
|
"description": "The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.",
|
|
"id": "UsageExportLocation",
|
|
"properties": {
|
|
"bucketName": {
|
|
"description": "The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.",
|
|
"type": "string"
|
|
},
|
|
"reportNamePrefix": {
|
|
"description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnTunnel": {
|
|
"description": "VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.vpnTunnels ==)",
|
|
"id": "VpnTunnel",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"detailedStatus": {
|
|
"description": "[Output Only] Detailed status message for the VPN tunnel.",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"ikeVersion": {
|
|
"description": "IKE protocol version to use when establishing the VPN tunnel with peer VPN gateway. Acceptable IKE versions are 1 or 2. Default version is 2.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vpnTunnel",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.",
|
|
"type": "string"
|
|
},
|
|
"localTrafficSelector": {
|
|
"description": "Local traffic selector 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. Only IPv4 is supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.vpnTunnels.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"
|
|
},
|
|
"peerIp": {
|
|
"description": "IP address of the peer VPN gateway. Only IPv4 is supported.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
|
|
"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. Only IPv4 is supported.",
|
|
"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"
|
|
},
|
|
"sharedSecret": {
|
|
"description": "Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.",
|
|
"type": "string"
|
|
},
|
|
"sharedSecretHash": {
|
|
"description": "Hash of the shared secret.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the VPN tunnel.",
|
|
"enum": [
|
|
"ALLOCATING_RESOURCES",
|
|
"AUTHORIZATION_ERROR",
|
|
"DEPROVISIONING",
|
|
"ESTABLISHED",
|
|
"FAILED",
|
|
"FIRST_HANDSHAKE",
|
|
"NEGOTIATION_FAILURE",
|
|
"NETWORK_ERROR",
|
|
"NO_INCOMING_PACKETS",
|
|
"PROVISIONING",
|
|
"REJECTED",
|
|
"WAITING_FOR_FULL_CONFIG"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"targetVpnGateway": {
|
|
"description": "URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnTunnelAggregatedList": {
|
|
"id": "VpnTunnelAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "VpnTunnelsScopedList",
|
|
"description": "Name of the scope containing this set of vpn tunnels."
|
|
},
|
|
"description": "A list of VpnTunnelsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vpnTunnelAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"VpnTunnelList": {
|
|
"description": "Contains a list of VpnTunnel resources.",
|
|
"id": "VpnTunnelList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of VpnTunnel resources.",
|
|
"items": {
|
|
"$ref": "VpnTunnel"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vpnTunnelList",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"VpnTunnelsScopedList": {
|
|
"id": "VpnTunnelsScopedList",
|
|
"properties": {
|
|
"vpnTunnels": {
|
|
"description": "A list of vpn tunnels contained in this scope.",
|
|
"items": {
|
|
"$ref": "VpnTunnel"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of addresses 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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"XpnHostList": {
|
|
"id": "XpnHostList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "[Output Only] A list of shared VPC host project URLs.",
|
|
"items": {
|
|
"$ref": "Project"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#xpnHostList",
|
|
"description": "[Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts.",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"XpnResourceId": {
|
|
"description": "Service resource (a.k.a service project) ID.",
|
|
"id": "XpnResourceId",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The ID of the service resource. In the case of projects, this field matches the project ID (e.g., my-project), not the project number (e.g., 12345678).",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of the service resource.",
|
|
"enum": [
|
|
"PROJECT",
|
|
"XPN_RESOURCE_TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Zone": {
|
|
"description": "A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)",
|
|
"id": "Zone",
|
|
"properties": {
|
|
"availableCpuPlatforms": {
|
|
"description": "[Output Only] Available cpu/platform selections for the zone.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this zone."
|
|
},
|
|
"description": {
|
|
"description": "[Output Only] Textual description of 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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#zone",
|
|
"description": "[Output Only] Type of the resource. Always compute#zone for zones.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] Full URL reference to the region which hosts the zone.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] Status of the zone, either UP or DOWN.",
|
|
"enum": [
|
|
"DOWN",
|
|
"UP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ZoneList": {
|
|
"description": "Contains a list of zone resources.",
|
|
"id": "ZoneList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Zone resources.",
|
|
"items": {
|
|
"$ref": "Zone"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#zoneList",
|
|
"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"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] Informational warning message.",
|
|
"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",
|
|
"DEPRECATED_TYPE_USED",
|
|
"DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
|
|
"EXPERIMENTAL_TYPE_USED",
|
|
"EXTERNAL_API_WARNING",
|
|
"FIELD_VALUE_OVERRIDEN",
|
|
"INJECTED_KERNELS_DEPRECATED",
|
|
"MISSING_TYPE_DEPENDENCY",
|
|
"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_IN_USE_BY_OTHER_RESOURCE_WARNING",
|
|
"RESOURCE_NOT_DELETED",
|
|
"SCHEMA_VALIDATION_IGNORED",
|
|
"SINGLE_INSTANCE_PROPERTY_TEMPLATE",
|
|
"UNDECLARED_PROPERTIES",
|
|
"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"
|
|
},
|
|
"ZoneSetLabelsRequest": {
|
|
"id": "ZoneSetLabelsRequest",
|
|
"properties": {
|
|
"labelFingerprint": {
|
|
"description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "The labels to set for this resource.",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"servicePath": "compute/v1/projects/",
|
|
"title": "Compute Engine API",
|
|
"version": "v1"
|
|
} |