mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-30 09:41:19 +00:00
56460 lines
No EOL
2.6 MiB
56460 lines
No EOL
2.6 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/alpha/projects/",
|
|
"baseUrl": "https://www.googleapis.com/compute/alpha/projects/",
|
|
"batchPath": "batch/compute/alpha",
|
|
"description": "Creates and runs virtual machines on Google Cloud Platform.",
|
|
"discoveryVersion": "v1",
|
|
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
|
|
"etag": "\"VPK3KBfpaEgZ16pozGOoMYfKc0U/9i1yA_EvW_-C7Mkv3GxdonWRg64\"",
|
|
"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:alpha",
|
|
"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.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.addresses.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/addresses/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.addresses.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/addresses/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.autoscalers.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/autoscalers/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": {
|
|
"addSignedUrlKey": {
|
|
"description": "Adds a key for validating requests with signed URLs for this backend bucket.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendBuckets.addSignedUrlKey",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.",
|
|
"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"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey",
|
|
"request": {
|
|
"$ref": "SignedUrlKey"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"deleteSignedUrlKey": {
|
|
"description": "Deletes a key for validating requests with signed URLs for this backend bucket.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendBuckets.deleteSignedUrlKey",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendBucket",
|
|
"keyName"
|
|
],
|
|
"parameters": {
|
|
"backendBucket": {
|
|
"description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"keyName": {
|
|
"description": "The name of the Signed URL Key to delete.",
|
|
"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"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.backendBuckets.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendBuckets.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendBuckets.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendBuckets/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": {
|
|
"addSignedUrlKey": {
|
|
"description": "Adds a key for validating requests with signed URLs for this backend service.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.addSignedUrlKey",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.",
|
|
"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"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}/addSignedUrlKey",
|
|
"request": {
|
|
"$ref": "SignedUrlKey"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"deleteSignedUrlKey": {
|
|
"description": "Deletes a key for validating requests with signed URLs for this backend service.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.deleteSignedUrlKey",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService",
|
|
"keyName"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"keyName": {
|
|
"description": "The name of the Signed URL Key to delete.",
|
|
"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"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}/deleteSignedUrlKey",
|
|
"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.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setSecurityPolicy": {
|
|
"description": "Sets the security policy for the specified backend service.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.setSecurityPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"backendService"
|
|
],
|
|
"parameters": {
|
|
"backendService": {
|
|
"description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.",
|
|
"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"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{backendService}/setSecurityPolicy",
|
|
"request": {
|
|
"$ref": "SecurityPolicyReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.backendServices.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/backendServices/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": {
|
|
"addResourcePolicies": {
|
|
"description": "Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.addResourcePolicies",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "The disk name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/addResourcePolicies",
|
|
"request": {
|
|
"$ref": "DisksAddResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.disks.getIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"removeResourcePolicies": {
|
|
"description": "Removes resource policies from a disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.removeResourcePolicies",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "The disk name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/removeResourcePolicies",
|
|
"request": {
|
|
"$ref": "DisksRemoveResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.setIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "ZoneSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.disks.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"externalVpnGateways": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified externalVpnGateway.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.externalVpnGateways.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"externalVpnGateway"
|
|
],
|
|
"parameters": {
|
|
"externalVpnGateway": {
|
|
"description": "Name of the externalVpnGateways 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/externalVpnGateways/{externalVpnGateway}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.externalVpnGateways.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"externalVpnGateway"
|
|
],
|
|
"parameters": {
|
|
"externalVpnGateway": {
|
|
"description": "Name of the externalVpnGateway 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/externalVpnGateways/{externalVpnGateway}",
|
|
"response": {
|
|
"$ref": "ExternalVpnGateway"
|
|
},
|
|
"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 ExternalVpnGateway in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.externalVpnGateways.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/externalVpnGateways",
|
|
"request": {
|
|
"$ref": "ExternalVpnGateway"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of ExternalVpnGateway available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.externalVpnGateways.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/externalVpnGateways",
|
|
"response": {
|
|
"$ref": "ExternalVpnGatewayList"
|
|
},
|
|
"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 ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.externalVpnGateways.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/externalVpnGateways/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.externalVpnGateways.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/externalVpnGateways/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.firewalls.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/firewalls/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.forwardingRules.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}",
|
|
"request": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.forwardingRules.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.forwardingRules.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/forwardingRules/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalAddresses.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalAddresses.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/addresses/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.globalForwardingRules.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"forwardingRule"
|
|
],
|
|
"parameters": {
|
|
"forwardingRule": {
|
|
"description": "Name of the ForwardingRule resource to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}",
|
|
"request": {
|
|
"$ref": "ForwardingRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalForwardingRules.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalForwardingRules.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/forwardingRules/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"wait": {
|
|
"description": "Waits for the specified Operations resource until it is done or timeout, and retrieves the specified Operations resource. 1. Immediately returns when the operation is already done. 2. Waits for no more than the default deadline (2 minutes, subject to change) and then returns the current state of the operation, which may be DONE or still in progress. 3. Is best-effort: a. The server can wait less than the default deadline or zero seconds, in overload situations. b. There is no guarantee that the operation is actually done when returns. 4. User should be prepared to retry if the operation is not DONE.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalOperations.wait",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/wait",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"globalOrganizationOperations": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified Operations resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.globalOrganizationOperations.delete",
|
|
"parameterOrder": [
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/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.globalOrganizationOperations.get",
|
|
"parameterOrder": [
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/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 organization.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.globalOrganizationOperations.list",
|
|
"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"
|
|
},
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/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"
|
|
]
|
|
},
|
|
"wait": {
|
|
"description": "Waits for the specified Operations resource until it is done or timeout, and retrieves the specified Operations resource. 1. Immediately returns when the operation is already done. 2. Waits for no more than the default deadline (2 minutes, subject to change) and then returns the current state of the operation, which may be DONE or still in progress. 3. Is best-effort: a. The server can wait less than the default deadline or zero seconds, in overload situations. b. There is no guarantee that the operation is actually done when returns. 4. User should be prepared to retry if the operation is not DONE.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.globalOrganizationOperations.wait",
|
|
"parameterOrder": [
|
|
"operation"
|
|
],
|
|
"parameters": {
|
|
"operation": {
|
|
"description": "Name of the Operations resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/operations/{operation}/wait",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"healthChecks": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.healthChecks.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/healthChecks",
|
|
"response": {
|
|
"$ref": "HealthChecksAggregatedList"
|
|
},
|
|
"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 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.healthChecks.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/healthChecks/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.httpHealthChecks.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpHealthChecks/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.httpsHealthChecks.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/httpsHealthChecks/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.images.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.images.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.images.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/images/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instanceGroupManagers": {
|
|
"methods": {
|
|
"abandonInstances": {
|
|
"description": "Flags the specified instances to be removed 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"
|
|
]
|
|
},
|
|
"applyUpdatesToInstances": {
|
|
"description": "Apply changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.applyUpdatesToInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group, should conform to RFC1035.",
|
|
"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. Should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersApplyUpdatesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"createInstances": {
|
|
"description": "Creates instances with per-instance configs in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.createInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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.\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. It should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersCreateInstancesRequest"
|
|
},
|
|
"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. 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": "Flags the specified instances in the managed instance group for immediate deletion. 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"
|
|
]
|
|
},
|
|
"deletePerInstanceConfigs": {
|
|
"description": "Deletes selected per-instance configs for the managed instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.deletePerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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. It should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersDeletePerInstanceConfigsReq"
|
|
},
|
|
"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, instances in the group are created 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": {
|
|
"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"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"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"
|
|
},
|
|
"order_by": {
|
|
"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/{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"
|
|
]
|
|
},
|
|
"listPerInstanceConfigs": {
|
|
"description": "Lists all of the per-instance configs defined for the managed instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.listPerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"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"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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 managed instance group is located. It should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs",
|
|
"response": {
|
|
"$ref": "InstanceGroupManagersListPerInstanceConfigsResp"
|
|
},
|
|
"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 managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instanceGroupManagers.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the instance group manager.",
|
|
"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 you want to create the managed instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patchPerInstanceConfigs": {
|
|
"description": "Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.patchPerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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. It should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersPatchPerInstanceConfigsReq"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"recreateInstances": {
|
|
"description": "Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set 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\nWhen resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including:\n\n+ The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance.\n\nThis list is subject to change.\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"
|
|
]
|
|
},
|
|
"resizeAdvanced": {
|
|
"description": "Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method.\n\nIf you increase the size of the instance group, 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, creatingWithoutRetries, or deleting actions with the get or 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.resizeAdvanced",
|
|
"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}/resizeAdvanced",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersResizeAdvancedRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setAutoHealingPolicies": {
|
|
"description": "Modifies the autohealing policies. [Deprecated] This method is deprecated. Please use Patch instead.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.setAutoHealingPolicies",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the instance group manager.",
|
|
"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}/setAutoHealingPolicies",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersSetAutoHealingRequest"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/instanceGroupManagers/{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"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listManagedInstances method.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.instanceGroupManagers.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the instance group manager.",
|
|
"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 you want to create the managed instance group.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"updatePerInstanceConfigs": {
|
|
"description": "Insert or update (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroupManagers.updatePerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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. It should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "InstanceGroupManagersUpdatePerInstanceConfigsReq"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceGroups.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/instanceGroups/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"instanceTemplates": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instanceTemplates.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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.",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceTemplates.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instanceTemplates.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/instanceTemplates/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"addResourcePolicies": {
|
|
"description": "Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.addResourcePolicies",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/addResourcePolicies",
|
|
"request": {
|
|
"$ref": "InstancesAddResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves aggregated list of all of the instances in your project across all regions and zones.",
|
|
"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": {
|
|
"forceAttach": {
|
|
"description": "Whether to force attach the disk even if it's currently attached to another instance.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"instance": {
|
|
"description": "The instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": "The device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names.",
|
|
"location": "query",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "Instance name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getGuestAttributes": {
|
|
"description": "Returns the specified guest attributes entry.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.getGuestAttributes",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
},
|
|
"queryPath": {
|
|
"description": "Specifies the guest attributes path to be queried.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"variableKey": {
|
|
"description": "Specifies the key for the guest attributes entry.",
|
|
"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}/getGuestAttributes",
|
|
"response": {
|
|
"$ref": "GuestAttributes"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.getIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 last 1 MB of serial port output from the specified instance.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getShieldedInstanceIdentity": {
|
|
"description": "Returns the Shielded Instance Identity of an instance",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.getShieldedInstanceIdentity",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name or id of the instance scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/getShieldedInstanceIdentity",
|
|
"response": {
|
|
"$ref": "ShieldedInstanceIdentity"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getShieldedVmIdentity": {
|
|
"description": "Returns the Shielded VM Identity of an instance",
|
|
"httpMethod": "GET",
|
|
"id": "compute.instances.getShieldedVmIdentity",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/getShieldedVmIdentity",
|
|
"response": {
|
|
"$ref": "ShieldedVmIdentity"
|
|
},
|
|
"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/instanceTemplates/instanceTemplate \n- projects/project/global/instanceTemplates/instanceTemplate \n- global/instanceTemplates/instanceTemplate",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"sourceMachineImage": {
|
|
"description": "Specifies instance machine 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/machineImages/machineImage \n- projects/project/global/global/machineImages/machineImage \n- global/machineImages/machineImage",
|
|
"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. For more information, read Viewing Referrers to VM Instances.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"removeResourcePolicies": {
|
|
"description": "Removes resource policies from an instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.removeResourcePolicies",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/removeResourcePolicies",
|
|
"request": {
|
|
"$ref": "InstancesRemoveResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"reset": {
|
|
"description": "Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. 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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"resume": {
|
|
"description": "Resumes an instance that was suspended using the instances().suspend method.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.resume",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name of the instance resource to resume.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/resume",
|
|
"request": {
|
|
"$ref": "InstancesResumeRequest"
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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. Make a get() request on the instance to view currently attached disks and device names.",
|
|
"location": "query",
|
|
"pattern": "\\w[\\w.-]{0,254}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.setIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "ZoneSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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 for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setShieldedInstanceIntegrityPolicy": {
|
|
"description": "Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.setShieldedInstanceIntegrityPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name or id of the instance scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/setShieldedInstanceIntegrityPolicy",
|
|
"request": {
|
|
"$ref": "ShieldedInstanceIntegrityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setShieldedVmIntegrityPolicy": {
|
|
"description": "Sets the Shielded VM integrity policy for a VM instance. You can only use this method on a running VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.setShieldedVmIntegrityPolicy",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/setShieldedVmIntegrityPolicy",
|
|
"request": {
|
|
"$ref": "ShieldedVmIntegrityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setTags": {
|
|
"description": "Sets network 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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"simulateMaintenanceEvent": {
|
|
"description": "Simulates a maintenance event on the instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.simulateMaintenanceEvent",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/simulateMaintenanceEvent",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": {
|
|
"discardLocalSsd": {
|
|
"description": "If true, discard the contents of any attached localSSD partitions. Default value is false (== preserve localSSD data).",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"instance": {
|
|
"description": "Name of the instance resource to stop.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"suspend": {
|
|
"description": "This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances incur reduced per-minute, virtual machine usage charges while they are suspended. Any resources the virtual machine is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.suspend",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"discardLocalSsd": {
|
|
"description": "If true, discard the contents of any attached localSSD partitions. Default value is false (== preserve localSSD data).",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"instance": {
|
|
"description": "Name of the instance resource to suspend.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/suspend",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.instances.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"updateDisplayDevice": {
|
|
"description": "Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.updateDisplayDevice",
|
|
"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}/updateDisplayDevice",
|
|
"request": {
|
|
"$ref": "DisplayDevice"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"updateShieldedInstanceConfig": {
|
|
"description": "Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.updateShieldedInstanceConfig",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Name or id of the instance scoping this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/updateShieldedInstanceConfig",
|
|
"request": {
|
|
"$ref": "ShieldedInstanceConfig"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"updateShieldedVmConfig": {
|
|
"description": "Updates the Shielded VM config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.instances.updateShieldedVmConfig",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/updateShieldedVmConfig",
|
|
"request": {
|
|
"$ref": "ShieldedVmConfig"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnectAttachments.getIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Updates the specified interconnect attachment 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.interconnectAttachments.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"interconnectAttachment"
|
|
],
|
|
"parameters": {
|
|
"interconnectAttachment": {
|
|
"description": "Name of the interconnect attachment to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/interconnectAttachments/{interconnectAttachment}",
|
|
"request": {
|
|
"$ref": "InterconnectAttachment"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnectAttachments.setIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "RegionSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnectAttachments.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnectAttachments.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/interconnectAttachments/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnectLocations.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnectLocations/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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. Get 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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getDiagnostics": {
|
|
"description": "Returns the interconnectDiagnostics for the specified interconnect.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnects.getDiagnostics",
|
|
"parameterOrder": [
|
|
"project",
|
|
"interconnect"
|
|
],
|
|
"parameters": {
|
|
"interconnect": {
|
|
"description": "Name of the interconnect resource to query.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/getDiagnostics",
|
|
"response": {
|
|
"$ref": "InterconnectsGetDiagnosticsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.interconnects.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnects.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnects.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.interconnects.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/interconnects/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.licenseCodes.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenseCodes/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.licenseCodes.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenseCodes/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.licenses.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 9. 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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.licenses.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/licenses/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"machineImages": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.machineImages.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"machineImage"
|
|
],
|
|
"parameters": {
|
|
"machineImage": {
|
|
"description": "The name of the machine image to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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/machineImages/{machineImage}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified machine image. Gets a list of available machine images by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineImages.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"machineImage"
|
|
],
|
|
"parameters": {
|
|
"machineImage": {
|
|
"description": "The name of the machine image.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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/machineImages/{machineImage}",
|
|
"response": {
|
|
"$ref": "MachineImage"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineImages.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/machineImages/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.machineImages.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"
|
|
},
|
|
"sourceInstance": {
|
|
"description": "Required. Source instance that is used to create the machine image from.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/machineImages",
|
|
"request": {
|
|
"$ref": "MachineImage"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of machine images that are contained within the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.machineImages.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/machineImages",
|
|
"response": {
|
|
"$ref": "MachineImageList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.machineImages.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/machineImages/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.machineImages.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/machineImages/{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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"networkEndpointGroups": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of network endpoint groups and sorts them by zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networkEndpointGroups.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/networkEndpointGroups",
|
|
"response": {
|
|
"$ref": "NetworkEndpointGroupAggregatedList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"attachNetworkEndpoints": {
|
|
"description": "Attach a list of network endpoints to the specified network endpoint group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networkEndpointGroups.attachNetworkEndpoints",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"networkEndpointGroup"
|
|
],
|
|
"parameters": {
|
|
"networkEndpointGroup": {
|
|
"description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.",
|
|
"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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints",
|
|
"request": {
|
|
"$ref": "NetworkEndpointGroupsAttachEndpointsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.networkEndpointGroups.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"networkEndpointGroup"
|
|
],
|
|
"parameters": {
|
|
"networkEndpointGroup": {
|
|
"description": "The name of the network endpoint group to delete. It should comply with RFC1035.",
|
|
"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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"detachNetworkEndpoints": {
|
|
"description": "Detach a list of network endpoints from the specified network endpoint group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networkEndpointGroups.detachNetworkEndpoints",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"networkEndpointGroup"
|
|
],
|
|
"parameters": {
|
|
"networkEndpointGroup": {
|
|
"description": "The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.",
|
|
"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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints",
|
|
"request": {
|
|
"$ref": "NetworkEndpointGroupsDetachEndpointsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networkEndpointGroups.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"networkEndpointGroup"
|
|
],
|
|
"parameters": {
|
|
"networkEndpointGroup": {
|
|
"description": "The name of the network endpoint group. It should comply with RFC1035.",
|
|
"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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}",
|
|
"response": {
|
|
"$ref": "NetworkEndpointGroup"
|
|
},
|
|
"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 endpoint group in the specified project using the parameters that are included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networkEndpointGroups.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 network endpoint group. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups",
|
|
"request": {
|
|
"$ref": "NetworkEndpointGroup"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of network endpoint groups that are located in the specified project and zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networkEndpointGroups.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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups",
|
|
"response": {
|
|
"$ref": "NetworkEndpointGroupList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listNetworkEndpoints": {
|
|
"description": "Lists the network endpoints in the specified network endpoint group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networkEndpointGroups.listNetworkEndpoints",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"networkEndpointGroup"
|
|
],
|
|
"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"
|
|
},
|
|
"networkEndpointGroup": {
|
|
"description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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 network endpoint group is located. It should comply with RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints",
|
|
"request": {
|
|
"$ref": "NetworkEndpointGroupsListEndpointsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "NetworkEndpointGroupsListNetworkEndpoints"
|
|
},
|
|
"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.networkEndpointGroups.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/networkEndpointGroups/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"listIpAddresses": {
|
|
"description": "Lists the internal IP addresses in the specified network.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networks.listIpAddresses",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"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"
|
|
},
|
|
"network": {
|
|
"description": "Name of the network for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"types": {
|
|
"description": "(Optional) types filter separate by comma, valid values are: SUBNETWORK, RESERVED, PEER_USED, PEER_RESERVED, REMOTE_USED, REMOTE_RESERVED.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/listIpAddresses",
|
|
"response": {
|
|
"$ref": "IpAddressesList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listIpOwners": {
|
|
"description": "Lists the internal IP owners in the specified network.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networks.listIpOwners",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"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"
|
|
},
|
|
"ipCidrRange": {
|
|
"description": "(Optional) IP CIDR range filter, example: \"10.128.10.0/30\".",
|
|
"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"
|
|
},
|
|
"network": {
|
|
"description": "Name of the network to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"ownerProjects": {
|
|
"description": "(Optional) Project IDs filter, example: \"project-1,project-2\".",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"ownerTypes": {
|
|
"description": "(Optional) Owner types filter, example: \"instance,forwardingRule\".",
|
|
"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"
|
|
},
|
|
"subnetName": {
|
|
"description": "(Optional) Subnetwork name filter.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"subnetRegion": {
|
|
"description": "(Optional) Subnetwork region filter.",
|
|
"location": "query",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/listIpOwners",
|
|
"response": {
|
|
"$ref": "IpOwnerList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listPeeringRoutes": {
|
|
"description": "Lists the peering routes exchanged over peering connection.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.networks.listPeeringRoutes",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"direction": {
|
|
"description": "The direction of the exchanged routes.",
|
|
"enum": [
|
|
"INCOMING",
|
|
"OUTGOING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"network": {
|
|
"description": "Name of the network for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"peeringName": {
|
|
"description": "The response will show routes exchanged over the given peering connection.",
|
|
"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": "The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{network}/listPeeringRoutes",
|
|
"response": {
|
|
"$ref": "ExchangedPeeringRoutesList"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.networks.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/networks/{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"
|
|
]
|
|
},
|
|
"updatePeering": {
|
|
"description": "Updates the specified network peering with the data included in the request Only the following fields can be modified: NetworkPeering.export_custom_routes, and NetworkPeering.import_custom_routes",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.networks.updatePeering",
|
|
"parameterOrder": [
|
|
"project",
|
|
"network"
|
|
],
|
|
"parameters": {
|
|
"network": {
|
|
"description": "Name of the network resource which the updated peering is belonging to.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/updatePeering",
|
|
"request": {
|
|
"$ref": "NetworksUpdatePeeringRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"nodeGroups": {
|
|
"methods": {
|
|
"addNodes": {
|
|
"description": "Adds specified number of nodes to the node group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.addNodes",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup resource.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{nodeGroup}/addNodes",
|
|
"request": {
|
|
"$ref": "NodeGroupsAddNodesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeGroups.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/nodeGroups",
|
|
"response": {
|
|
"$ref": "NodeGroupAggregatedList"
|
|
},
|
|
"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 NodeGroup resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.nodeGroups.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{nodeGroup}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"deleteNodes": {
|
|
"description": "Deletes specified nodes from the node group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.deleteNodes",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{nodeGroup}/deleteNodes",
|
|
"request": {
|
|
"$ref": "NodeGroupsDeleteNodesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the \"nodes\" field should not be used. Use nodeGroups.listNodes instead.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeGroups.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the node group to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{nodeGroup}",
|
|
"response": {
|
|
"$ref": "NodeGroup"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeGroups.getIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 NodeGroup resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.insert",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"initialNodeCount"
|
|
],
|
|
"parameters": {
|
|
"initialNodeCount": {
|
|
"description": "Initial count of nodes in the node group.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"required": true,
|
|
"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"
|
|
},
|
|
"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}/nodeGroups",
|
|
"request": {
|
|
"$ref": "NodeGroup"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeGroups.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}/nodeGroups",
|
|
"response": {
|
|
"$ref": "NodeGroupList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listNodes": {
|
|
"description": "Lists nodes in the node group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.listNodes",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"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"
|
|
},
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup resource whose nodes you want to list.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"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}/nodeGroups/{nodeGroup}/listNodes",
|
|
"response": {
|
|
"$ref": "NodeGroupsListNodes"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setAutoscalingPolicy": {
|
|
"description": "Sets the autoscaling policy of the node group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.setAutoscalingPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup 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"
|
|
},
|
|
"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}/nodeGroups/{nodeGroup}/setAutoscalingPolicy",
|
|
"request": {
|
|
"$ref": "NodeGroupsSetAutoscalingPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.setIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "ZoneSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setNodeTemplate": {
|
|
"description": "Updates the node template of the node group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.setNodeTemplate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeGroup"
|
|
],
|
|
"parameters": {
|
|
"nodeGroup": {
|
|
"description": "Name of the NodeGroup resource to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{nodeGroup}/setNodeTemplate",
|
|
"request": {
|
|
"$ref": "NodeGroupsSetNodeTemplateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeGroups.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeGroups/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"nodeTemplates": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of node templates.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTemplates.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/nodeTemplates",
|
|
"response": {
|
|
"$ref": "NodeTemplateAggregatedList"
|
|
},
|
|
"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 NodeTemplate resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.nodeTemplates.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"nodeTemplate"
|
|
],
|
|
"parameters": {
|
|
"nodeTemplate": {
|
|
"description": "Name of the NodeTemplate resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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": "The 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}/nodeTemplates/{nodeTemplate}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified node template. Gets a list of available node templates by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTemplates.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"nodeTemplate"
|
|
],
|
|
"parameters": {
|
|
"nodeTemplate": {
|
|
"description": "Name of the node template to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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": "The 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}/nodeTemplates/{nodeTemplate}",
|
|
"response": {
|
|
"$ref": "NodeTemplate"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTemplates.getIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 NodeTemplate resource in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeTemplates.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": "The 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}/nodeTemplates",
|
|
"request": {
|
|
"$ref": "NodeTemplate"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of node templates available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTemplates.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": "The 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}/nodeTemplates",
|
|
"response": {
|
|
"$ref": "NodeTemplateList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeTemplates.setIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "RegionSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.nodeTemplates.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/nodeTemplates/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"nodeTypes": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of node types.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTypes.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/nodeTypes",
|
|
"response": {
|
|
"$ref": "NodeTypeAggregatedList"
|
|
},
|
|
"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 node type. Gets a list of available node types by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTypes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"nodeType"
|
|
],
|
|
"parameters": {
|
|
"nodeType": {
|
|
"description": "Name of the node type to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/nodeTypes/{nodeType}",
|
|
"response": {
|
|
"$ref": "NodeType"
|
|
},
|
|
"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 node types available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.nodeTypes.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}/nodeTypes",
|
|
"response": {
|
|
"$ref": "NodeTypeList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"organizationSecurityPolicies": {
|
|
"methods": {
|
|
"addAssociation": {
|
|
"description": "Inserts an association for the specified security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.addAssociation",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"replaceExistingAssociation": {
|
|
"description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an assocation already exists.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/addAssociation",
|
|
"request": {
|
|
"$ref": "SecurityPolicyAssociation"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"addRule": {
|
|
"description": "Inserts a rule into a security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.addRule",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/addRule",
|
|
"request": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"copyRules": {
|
|
"description": "Copies rules to the specified security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.copyRules",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"sourceSecurityPolicy": {
|
|
"description": "The security policy from which to copy rules.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/copyRules",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified policy.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.organizationSecurityPolicies.delete",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to delete.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "List all of the ordered rules present in a single specified policy.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.organizationSecurityPolicies.get",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to get.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}",
|
|
"response": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getAssociation": {
|
|
"description": "Gets an association with the specified name.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.organizationSecurityPolicies.getAssociation",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"name": {
|
|
"description": "The name of the association to get from the security policy.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to which the queried rule belongs.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/getAssociation",
|
|
"response": {
|
|
"$ref": "SecurityPolicyAssociation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getRule": {
|
|
"description": "Gets a rule at the specified priority.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.organizationSecurityPolicies.getRule",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to get from the security policy.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"type": "integer"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to which the queried rule belongs.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/getRule",
|
|
"response": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"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 new policy in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.insert",
|
|
"parameters": {
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"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": "locations/global/securityPolicies",
|
|
"request": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "List all the policies that have been configured for the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.organizationSecurityPolicies.list",
|
|
"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"
|
|
},
|
|
"parentId": {
|
|
"description": "Parent ID for this request.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies",
|
|
"response": {
|
|
"$ref": "SecurityPolicyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listAssociations": {
|
|
"description": "Lists associations of a specified target, i.e., organization or folder.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.organizationSecurityPolicies.listAssociations",
|
|
"parameters": {
|
|
"targetResource": {
|
|
"description": "The target resource to list associations. It is an organization, or a folder.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/listAssociations",
|
|
"response": {
|
|
"$ref": "OrganizationSecurityPoliciesListAssociationsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"move": {
|
|
"description": "Moves the specified security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.move",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"parentId": {
|
|
"description": "The new parent of the security policy.",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/move",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified policy with the data included in the request.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.organizationSecurityPolicies.patch",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}",
|
|
"request": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patchRule": {
|
|
"description": "Patches a rule at the specified priority.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.patchRule",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to patch.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"type": "integer"
|
|
},
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/patchRule",
|
|
"request": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"removeAssociation": {
|
|
"description": "Removes an association for the specified security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.removeAssociation",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"name": {
|
|
"description": "Name for the attachment that will be removed.",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/removeAssociation",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"removeRule": {
|
|
"description": "Deletes a rule at the specified priority.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.organizationSecurityPolicies.removeRule",
|
|
"parameterOrder": [
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to remove from the security policy.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"type": "integer"
|
|
},
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[0-9]{0,20}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "locations/global/securityPolicies/{securityPolicy}/removeRule",
|
|
"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": {
|
|
"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"
|
|
},
|
|
"order_by": {
|
|
"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}/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": {
|
|
"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"
|
|
},
|
|
"order_by": {
|
|
"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}/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"
|
|
]
|
|
},
|
|
"setDefaultNetworkTier": {
|
|
"description": "Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.setDefaultNetworkTier",
|
|
"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}/setDefaultNetworkTier",
|
|
"request": {
|
|
"$ref": "ProjectsSetDefaultNetworkTierRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setDefaultServiceAccount": {
|
|
"description": "Sets the default service account of the project. The default service account is used when a VM instance is created with the service account email address set to \"default\".",
|
|
"httpMethod": "POST",
|
|
"id": "compute.projects.setDefaultServiceAccount",
|
|
"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}/setDefaultServiceAccount",
|
|
"request": {
|
|
"$ref": "ProjectsSetDefaultServiceAccountRequest"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionAutoscalers.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/autoscalers/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionBackendServices.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/backendServices/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionCommitments.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/commitments/{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"
|
|
]
|
|
},
|
|
"updateReservations": {
|
|
"description": "Update the shape of reservations for GPUS/Local SSDs of reservations within the commitments.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionCommitments.updateReservations",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"commitment"
|
|
],
|
|
"parameters": {
|
|
"commitment": {
|
|
"description": "Name of the commitment of which the reservation's capacities are being updated.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/commitments/{commitment}/updateReservations",
|
|
"request": {
|
|
"$ref": "RegionCommitmentsUpdateReservationsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionDiskTypes": {
|
|
"methods": {
|
|
"get": {
|
|
"description": "Returns the specified regional disk type. Gets a list of available disk types by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionDiskTypes.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"diskType"
|
|
],
|
|
"parameters": {
|
|
"diskType": {
|
|
"description": "Name of the disk type to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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": "The 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}/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 regional disk types available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionDiskTypes.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": "The 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}/diskTypes",
|
|
"response": {
|
|
"$ref": "RegionDiskTypeList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionDisks": {
|
|
"methods": {
|
|
"addResourcePolicies": {
|
|
"description": "Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.addResourcePolicies",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "The disk name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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": "The 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}/disks/{disk}/addResourcePolicies",
|
|
"request": {
|
|
"$ref": "RegionDisksAddResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"createSnapshot": {
|
|
"description": "Creates a snapshot of this regional disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.createSnapshot",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the regional persistent disk to snapshot.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
},
|
|
"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}/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 regional persistent disk. Deleting a regional disk removes all the replicas of 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.regionDisks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the regional 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"
|
|
},
|
|
"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}/disks/{disk}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns a specified regional persistent disk.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionDisks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the regional persistent disk to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionDisks.getIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/disks/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 regional disk in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.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"
|
|
},
|
|
"sourceImage": {
|
|
"description": "Optional. Source image to restore onto a disk.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/disks",
|
|
"request": {
|
|
"$ref": "Disk"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves the list of persistent disks contained within the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionDisks.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}/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"
|
|
]
|
|
},
|
|
"removeResourcePolicies": {
|
|
"description": "Removes resource policies from a regional disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.removeResourcePolicies",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "The disk name for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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": "The 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}/disks/{disk}/removeResourcePolicies",
|
|
"request": {
|
|
"$ref": "RegionDisksRemoveResourcePoliciesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"resize": {
|
|
"description": "Resizes the specified regional persistent disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.resize",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"disk"
|
|
],
|
|
"parameters": {
|
|
"disk": {
|
|
"description": "Name of the regional persistent disk.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"project": {
|
|
"description": "The project ID for this request.",
|
|
"location": "path",
|
|
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{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}/disks/{disk}/resize",
|
|
"request": {
|
|
"$ref": "RegionDisksResizeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.setIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/disks/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "RegionSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on the target regional disk.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/disks/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionDisks.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/disks/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionHealthCheckServices": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified regional HealthCheckService.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionHealthCheckServices.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheckService"
|
|
],
|
|
"parameters": {
|
|
"healthCheckService": {
|
|
"description": "Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"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",
|
|
"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}/healthCheckServices/{healthCheckService}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified regional HealthCheckService resource.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionHealthCheckServices.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheckService"
|
|
],
|
|
"parameters": {
|
|
"healthCheckService": {
|
|
"description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.",
|
|
"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",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/healthCheckServices/{healthCheckService}",
|
|
"response": {
|
|
"$ref": "HealthCheckService"
|
|
},
|
|
"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 HealthCheckService resource in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionHealthCheckServices.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}/healthCheckServices",
|
|
"request": {
|
|
"$ref": "HealthCheckService"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Lists all the HealthCheckService resources that have been configured for the specified project in the given region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionHealthCheckServices.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}/healthCheckServices",
|
|
"response": {
|
|
"$ref": "HealthCheckServicesList"
|
|
},
|
|
"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.regionHealthCheckServices.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/healthCheckServices/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionHealthChecks": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified HealthCheck resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionHealthChecks.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/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.regionHealthChecks.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/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.regionHealthChecks.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}/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.regionHealthChecks.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}/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.regionHealthChecks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to patch.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/healthChecks/{healthCheck}",
|
|
"request": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionHealthChecks.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/healthChecks/{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"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a HealthCheck resource in the specified project using the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.regionHealthChecks.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"healthCheck"
|
|
],
|
|
"parameters": {
|
|
"healthCheck": {
|
|
"description": "Name of the HealthCheck resource to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/healthChecks/{healthCheck}",
|
|
"request": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionInstanceGroupManagers": {
|
|
"methods": {
|
|
"abandonInstances": {
|
|
"description": "Flags the specified instances to be immediately removed 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"
|
|
]
|
|
},
|
|
"applyUpdatesToInstances": {
|
|
"description": "Apply updates to selected instances the managed instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.applyUpdatesToInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group, should conform to RFC1035.",
|
|
"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, should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersApplyUpdatesRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"createInstances": {
|
|
"description": "Creates instances with per-instance configs in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.createInstances",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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": "The name of the region where the managed instance group is located. It should conform to RFC1035.",
|
|
"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.\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}/createInstances",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersCreateInstancesRequest"
|
|
},
|
|
"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": "Flags the specified instances in the managed instance group to be immediately deleted. 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. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. 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"
|
|
]
|
|
},
|
|
"deletePerInstanceConfigs": {
|
|
"description": "Deletes selected per-instance configs for the managed instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.deletePerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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, should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagerDeleteInstanceConfigReq"
|
|
},
|
|
"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, instances in the group are created 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": {
|
|
"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"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group.",
|
|
"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"
|
|
},
|
|
"order_by": {
|
|
"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/{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"
|
|
]
|
|
},
|
|
"listPerInstanceConfigs": {
|
|
"description": "Lists all of the per-instance configs defined for the managed instance group.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"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"
|
|
},
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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, should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs",
|
|
"response": {
|
|
"$ref": "RegionInstanceGroupManagersListInstanceConfigsResp"
|
|
},
|
|
"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 managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.regionInstanceGroupManagers.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the instance group manager.",
|
|
"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}",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patchPerInstanceConfigs": {
|
|
"description": "Insert or patch (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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, should conform to RFC1035.",
|
|
"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}/patchPerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagerPatchInstanceConfigReq"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"recreateInstances": {
|
|
"description": "Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set 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 of 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 one or more instances.\n\nThe resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. 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"
|
|
]
|
|
},
|
|
"setAutoHealingPolicies": {
|
|
"description": "Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Please use Patch instead.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.setAutoHealingPolicies",
|
|
"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}/setAutoHealingPolicies",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagersSetAutoHealingRequest"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroupManagers/{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"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listmanagedinstances method.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.regionInstanceGroupManagers.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the instance group manager.",
|
|
"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}",
|
|
"request": {
|
|
"$ref": "InstanceGroupManager"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"updatePerInstanceConfigs": {
|
|
"description": "Insert or update (for the ones that already exist) per-instance configs for the managed instance group. perInstanceConfig.instance serves as a key used to distinguish whether to perform insert or patch.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"instanceGroupManager"
|
|
],
|
|
"parameters": {
|
|
"instanceGroupManager": {
|
|
"description": "The name of the managed instance group. It should conform to RFC1035.",
|
|
"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, should conform to RFC1035.",
|
|
"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}/updatePerInstanceConfigs",
|
|
"request": {
|
|
"$ref": "RegionInstanceGroupManagerUpdateInstanceConfigReq"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionInstanceGroups.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/instanceGroups/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionNotificationEndpoints": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified NotificationEndpoint in the given region",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionNotificationEndpoints.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"notificationEndpoint"
|
|
],
|
|
"parameters": {
|
|
"notificationEndpoint": {
|
|
"description": "Name of the NotificationEndpoint resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/notificationEndpoints/{notificationEndpoint}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified NotificationEndpoint resource in the given region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionNotificationEndpoints.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"notificationEndpoint"
|
|
],
|
|
"parameters": {
|
|
"notificationEndpoint": {
|
|
"description": "Name of the NotificationEndpoint resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/notificationEndpoints/{notificationEndpoint}",
|
|
"response": {
|
|
"$ref": "NotificationEndpoint"
|
|
},
|
|
"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 NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionNotificationEndpoints.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}/notificationEndpoints",
|
|
"request": {
|
|
"$ref": "NotificationEndpoint"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Lists the NotificationEndpoints for a project in the given region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionNotificationEndpoints.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}/notificationEndpoints",
|
|
"response": {
|
|
"$ref": "NotificationEndpointList"
|
|
},
|
|
"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.regionNotificationEndpoints.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/notificationEndpoints/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"wait": {
|
|
"description": "Waits for the specified region-specific Operations resource until it is done or timeout, and retrieves the specified Operations resource. 1. Immediately returns when the operation is already done. 2. Waits for no more than the default deadline (2 minutes, subject to change) and then returns the current state of the operation, which may be DONE or still in progress. 3. Is best-effort: a. The server can wait less than the default deadline or zero seconds, in overload situations. b. There is no guarantee that the operation is actually done when returns. 4. User should be prepared to retry if the operation is not DONE.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionOperations.wait",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/wait",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionSslCertificates": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified SslCertificate resource in the region.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionSslCertificates.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"sslCertificate": {
|
|
"description": "Name of the SslCertificate resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 in the specified region. Get a list of available SSL certificates by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionSslCertificates.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"sslCertificate": {
|
|
"description": "Name of the SslCertificate resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 and region using the data included in the request",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionSslCertificates.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}/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 in the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionSslCertificates.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}/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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource and region.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionSslCertificates.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/sslCertificates/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionTargetHttpProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetHttpProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionTargetHttpProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"targetHttpProxy": {
|
|
"description": "Name of the TargetHttpProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 in the specified region. Gets a list of available target HTTP proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionTargetHttpProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"targetHttpProxy": {
|
|
"description": "Name of the TargetHttpProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionTargetHttpProxies.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}/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 in the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionTargetHttpProxies.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}/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.regionTargetHttpProxies.setUrlMap",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap",
|
|
"request": {
|
|
"$ref": "UrlMapReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionTargetHttpProxies.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetHttpProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionTargetHttpsProxies": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified TargetHttpsProxy resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionTargetHttpsProxies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 in the specified region. Gets a list of available target HTTP proxies by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionTargetHttpsProxies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionTargetHttpsProxies.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}/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 in the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionTargetHttpsProxies.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}/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.regionTargetHttpsProxies.setSslCertificates",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates",
|
|
"request": {
|
|
"$ref": "RegionTargetHttpsProxiesSetSslCertificatesRequest"
|
|
},
|
|
"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.regionTargetHttpsProxies.setUrlMap",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"targetHttpsProxy": {
|
|
"description": "Name of the TargetHttpsProxy to set a URL map for.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap",
|
|
"request": {
|
|
"$ref": "UrlMapReference"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionTargetHttpsProxies.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetHttpsProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"regionUrlMaps": {
|
|
"methods": {
|
|
"delete": {
|
|
"description": "Deletes the specified UrlMap resource.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.regionUrlMaps.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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.regionUrlMaps.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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.regionUrlMaps.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": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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.regionUrlMaps.invalidateCache",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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 in the specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.regionUrlMaps.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}/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 JSON merge patch format and processing rules.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.regionUrlMaps.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/urlMaps/{urlMap}",
|
|
"request": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.regionUrlMaps.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/urlMaps/{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"
|
|
]
|
|
},
|
|
"update": {
|
|
"description": "Updates the specified UrlMap resource with the data included in the request.",
|
|
"httpMethod": "PUT",
|
|
"id": "compute.regionUrlMaps.update",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/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.regionUrlMaps.validate",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"urlMap": {
|
|
"description": "Name of the UrlMap resource to be validated as.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/urlMaps/{urlMap}/validate",
|
|
"request": {
|
|
"$ref": "RegionUrlMapsValidateRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "UrlMapsValidateResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"reservations": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of reservations.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.reservations.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/reservations",
|
|
"response": {
|
|
"$ref": "ReservationAggregatedList"
|
|
},
|
|
"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 reservation.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.reservations.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"reservation"
|
|
],
|
|
"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"
|
|
},
|
|
"reservation": {
|
|
"description": "Name of the reservation to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/reservations/{reservation}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Retrieves all information of the specified reservation.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.reservations.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"reservation"
|
|
],
|
|
"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"
|
|
},
|
|
"reservation": {
|
|
"description": "Name of the reservation to retrieve.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/reservations/{reservation}",
|
|
"response": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.reservations.getIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/reservations/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 new reservation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.reservations.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}/reservations",
|
|
"request": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "A list all the reservations that have been configured for the specified project in specified zone.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.reservations.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}/reservations",
|
|
"response": {
|
|
"$ref": "ReservationList"
|
|
},
|
|
"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 reservation (applicable to standalone reservations only)",
|
|
"httpMethod": "POST",
|
|
"id": "compute.reservations.resize",
|
|
"parameterOrder": [
|
|
"project",
|
|
"zone",
|
|
"reservation"
|
|
],
|
|
"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"
|
|
},
|
|
"reservation": {
|
|
"description": "Name of the reservation to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-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}/reservations/{reservation}/resize",
|
|
"request": {
|
|
"$ref": "ReservationsResizeRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.reservations.setIamPolicy",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/reservations/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "ZoneSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.reservations.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/reservations/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"resourcePolicies": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of resource policies.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.resourcePolicies.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/resourcePolicies",
|
|
"response": {
|
|
"$ref": "ResourcePolicyAggregatedList"
|
|
},
|
|
"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 resource policy.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.resourcePolicies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"resourcePolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"resourcePolicy": {
|
|
"description": "Name of the resource policy to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/resourcePolicies/{resourcePolicy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Retrieves all information of the specified resource policy.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.resourcePolicies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"resourcePolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"resourcePolicy": {
|
|
"description": "Name of the resource policy to retrieve.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/resourcePolicies/{resourcePolicy}",
|
|
"response": {
|
|
"$ref": "ResourcePolicy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.resourcePolicies.getIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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 new resource policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.resourcePolicies.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}/resourcePolicies",
|
|
"request": {
|
|
"$ref": "ResourcePolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "A list all the resource policies that have been configured for the specified project in specified region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.resourcePolicies.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}/resourcePolicies",
|
|
"response": {
|
|
"$ref": "ResourcePolicyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.resourcePolicies.setIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "RegionSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.resourcePolicies.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/resourcePolicies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getNatMappingInfo": {
|
|
"description": "Retrieves runtime Nat mapping information of VM endpoints.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.routers.getNatMappingInfo",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"router"
|
|
],
|
|
"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"
|
|
},
|
|
"natName": {
|
|
"description": "Name of the nat service to filter the Nat Mapping information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"router": {
|
|
"description": "Name of the Router resource to query for Nat Mapping information of VM endpoints.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/routers/{router}/getNatMappingInfo",
|
|
"response": {
|
|
"$ref": "VmEndpointNatMappingsList"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.routers.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/routers/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.routes.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/routes/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"securityPolicies": {
|
|
"methods": {
|
|
"addRule": {
|
|
"description": "Inserts a rule into a security policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.addRule",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"validateOnly": {
|
|
"description": "If true, the request will not be committed.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}/addRule",
|
|
"request": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"delete": {
|
|
"description": "Deletes the specified policy.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.securityPolicies.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "List all of the ordered rules present in a single specified policy.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.securityPolicies.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to get.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}",
|
|
"response": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getRule": {
|
|
"description": "Gets a rule at the specified priority.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.securityPolicies.getRule",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to get from the security policy.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to which the queried rule belongs.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}/getRule",
|
|
"response": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"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 new policy in the specified project using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.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"
|
|
},
|
|
"validateOnly": {
|
|
"description": "If true, the request will not be committed.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies",
|
|
"request": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "List all the policies that have been configured for the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.securityPolicies.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/securityPolicies",
|
|
"response": {
|
|
"$ref": "SecurityPolicyList"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"listPreconfiguredExpressionSets": {
|
|
"description": "Gets the current list of preconfigured Web Application Firewall (WAF) expressions.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.securityPolicies.listPreconfiguredExpressionSets",
|
|
"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/securityPolicies/listPreconfiguredExpressionSets",
|
|
"response": {
|
|
"$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patch": {
|
|
"description": "Patches the specified policy with the data included in the request.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.securityPolicies.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}",
|
|
"request": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"patchRule": {
|
|
"description": "Patches a rule at the specified priority.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.patchRule",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to patch.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"validateOnly": {
|
|
"description": "If true, the request will not be committed.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}/patchRule",
|
|
"request": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"removeRule": {
|
|
"description": "Deletes a rule at the specified priority.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.removeRule",
|
|
"parameterOrder": [
|
|
"project",
|
|
"securityPolicy"
|
|
],
|
|
"parameters": {
|
|
"priority": {
|
|
"description": "The priority of the rule to remove from the security policy.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "Name of the security policy to update.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{securityPolicy}/removeRule",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "GlobalSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.securityPolicies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/securityPolicies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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 snapshots.",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.snapshots.getIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/snapshots/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.snapshots.setIamPolicy",
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/snapshots/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "GlobalSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.snapshots.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/snapshots/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"sslCertificates": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.sslCertificates.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/sslCertificates",
|
|
"response": {
|
|
"$ref": "SslCertificateAggregatedList"
|
|
},
|
|
"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 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.sslCertificates.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslCertificates/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.sslPolicies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/sslPolicies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"getIamPolicy": {
|
|
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.subnetworks.getIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{resource}/getIamPolicy",
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"listUsable": {
|
|
"description": "Retrieves an aggregated list of usable subnetworks.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.subnetworks.listUsable",
|
|
"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/listUsable",
|
|
"response": {
|
|
"$ref": "UsableSubnetworksAggregatedList"
|
|
},
|
|
"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 certain fields can up updated with a patch request as indicated in the field descriptions. You must specify the current fingeprint of the subnetwork resource being patched.",
|
|
"httpMethod": "PATCH",
|
|
"id": "compute.subnetworks.patch",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"subnetwork"
|
|
],
|
|
"parameters": {
|
|
"drainTimeoutSeconds": {
|
|
"description": "The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork. The drain timeout is only applicable when the following conditions are true: - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP - the patch request is setting the role to ACTIVE. Note that after this patch operation the roles of the ACTIVE and BACKUP subnetworks will be swapped.",
|
|
"format": "int32",
|
|
"location": "query",
|
|
"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"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setIamPolicy": {
|
|
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.subnetworks.setIamPolicy",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{resource}/setIamPolicy",
|
|
"request": {
|
|
"$ref": "RegionSetPolicyRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Policy"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.subnetworks.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/subnetworks/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetHttpProxies": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpProxies.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/targetHttpProxies",
|
|
"response": {
|
|
"$ref": "TargetHttpProxyAggregatedList"
|
|
},
|
|
"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 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpProxies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"targetHttpsProxies": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.targetHttpsProxies.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/targetHttpsProxies",
|
|
"response": {
|
|
"$ref": "TargetHttpsProxyAggregatedList"
|
|
},
|
|
"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 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setQuicOverride": {
|
|
"description": "Sets the QUIC override policy for TargetHttpsProxy.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.setQuicOverride",
|
|
"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 the QUIC override policy for. The name should conform to RFC1035.",
|
|
"location": "path",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride",
|
|
"request": {
|
|
"$ref": "TargetHttpsProxiesSetQuicOverrideRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetHttpsProxies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetHttpsProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetInstances.testIamPermissions",
|
|
"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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"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}/targetInstances/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetPools.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetPools/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetSslProxies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetSslProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetTcpProxies.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/targetTcpProxies/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetVpnGateways.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetVpnGateways/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.targetVpnGateways.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/targetVpnGateways/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"urlMaps": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves the list of all UrlMap resources, regional and global, available to the specified project.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.urlMaps.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/urlMaps",
|
|
"response": {
|
|
"$ref": "UrlMapsAggregatedList"
|
|
},
|
|
"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 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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.urlMaps.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 or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/global/urlMaps/{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"
|
|
]
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"vpnGateways": {
|
|
"methods": {
|
|
"aggregatedList": {
|
|
"description": "Retrieves an aggregated list of VPN gateways.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnGateways.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/vpnGateways",
|
|
"response": {
|
|
"$ref": "VpnGatewayAggregatedList"
|
|
},
|
|
"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 VPN gateway.",
|
|
"httpMethod": "DELETE",
|
|
"id": "compute.vpnGateways.delete",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"vpnGateway"
|
|
],
|
|
"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"
|
|
},
|
|
"vpnGateway": {
|
|
"description": "Name of the VPN gateway to delete.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnGateways/{vpnGateway}",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"get": {
|
|
"description": "Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnGateways.get",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"vpnGateway"
|
|
],
|
|
"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"
|
|
},
|
|
"vpnGateway": {
|
|
"description": "Name of the VPN gateway to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnGateways/{vpnGateway}",
|
|
"response": {
|
|
"$ref": "VpnGateway"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute",
|
|
"https://www.googleapis.com/auth/compute.readonly"
|
|
]
|
|
},
|
|
"getStatus": {
|
|
"description": "Returns the status for the specified VPN gateway.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnGateways.getStatus",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"vpnGateway"
|
|
],
|
|
"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"
|
|
},
|
|
"vpnGateway": {
|
|
"description": "Name of the VPN gateway to return.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus",
|
|
"response": {
|
|
"$ref": "VpnGatewaysGetStatusResponse"
|
|
},
|
|
"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 VPN gateway in the specified project and region using the data included in the request.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnGateways.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}/vpnGateways",
|
|
"request": {
|
|
"$ref": "VpnGateway"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"list": {
|
|
"description": "Retrieves a list of VPN gateways available to the specified project and region.",
|
|
"httpMethod": "GET",
|
|
"id": "compute.vpnGateways.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}/vpnGateways",
|
|
"response": {
|
|
"$ref": "VpnGatewayList"
|
|
},
|
|
"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 VpnGateway. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnGateways.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnGateways/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnGateways.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnGateways/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"setLabels": {
|
|
"description": "Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnTunnels.setLabels",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "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"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnTunnels/{resource}/setLabels",
|
|
"request": {
|
|
"$ref": "RegionSetLabelsRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform",
|
|
"https://www.googleapis.com/auth/compute"
|
|
]
|
|
},
|
|
"testIamPermissions": {
|
|
"description": "Returns permissions that a caller has on the specified resource.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.vpnTunnels.testIamPermissions",
|
|
"parameterOrder": [
|
|
"project",
|
|
"region",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "The name of the region for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"required": true,
|
|
"type": "string"
|
|
},
|
|
"resource": {
|
|
"description": "Name or id of the resource for this request.",
|
|
"location": "path",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "{project}/regions/{region}/vpnTunnels/{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"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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"
|
|
]
|
|
},
|
|
"wait": {
|
|
"description": "Waits for the specified zone-specific Operations resource until it is done or timeout, and retrieves the specified Operations resource. 1. Immediately returns when the operation is already done. 2. Waits for no more than the default deadline (2 minutes, subject to change) and then returns the current state of the operation, which may be DONE or still in progress. 3. Is best-effort: a. The server can wait less than the default deadline or zero seconds, in overload situations. b. There is no guarantee that the operation is actually done when returns. 4. User should be prepared to retry if the operation is not DONE.",
|
|
"httpMethod": "POST",
|
|
"id": "compute.zoneOperations.wait",
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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}/wait",
|
|
"response": {
|
|
"$ref": "Operation"
|
|
},
|
|
"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])?|[1-9][0-9]{0,19}",
|
|
"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": "20190320",
|
|
"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. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.",
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource's resource id.",
|
|
"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"
|
|
},
|
|
"networkTier": {
|
|
"description": "This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.\n\nIf an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier.\n\nIf an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.",
|
|
"enum": [
|
|
"PREMIUM",
|
|
"SELECT",
|
|
"STANDARD"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"publicDnsName": {
|
|
"description": "[Output Only] The public DNS domain name for 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"
|
|
},
|
|
"setPublicDns": {
|
|
"description": "Specifies whether a public DNS ?A? record should be created for the external IP address of this access configuration.",
|
|
"type": "boolean"
|
|
},
|
|
"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": [
|
|
"DNS_FORWARDING",
|
|
"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"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this Address, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an Address.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this Address resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"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"
|
|
},
|
|
"network": {
|
|
"description": "The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with VPC_PEERING purpose.",
|
|
"type": "string"
|
|
},
|
|
"networkTier": {
|
|
"description": "This signifies the networking tier used for configuring this Address and can only take the following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a Network load balancer.\n\nIf this field is not specified, it is assumed to be PREMIUM.",
|
|
"enum": [
|
|
"PREMIUM",
|
|
"SELECT",
|
|
"STANDARD"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"prefixLength": {
|
|
"description": "The prefix length if the resource reprensents an IP range.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"purpose": {
|
|
"description": "The purpose of resource, only used with INTERNAL type.",
|
|
"enum": [
|
|
"DNS_RESOLVER",
|
|
"GCE_ENDPOINT",
|
|
"NAT_AUTO",
|
|
"VPC_PEERING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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",
|
|
"RESERVING"
|
|
],
|
|
"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"
|
|
},
|
|
"AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": {
|
|
"id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk",
|
|
"properties": {
|
|
"diskSizeGb": {
|
|
"description": "Specifies the size of the disk in base-2 GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"interface": {
|
|
"description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.",
|
|
"enum": [
|
|
"NVDIMM",
|
|
"NVME",
|
|
"SCSI"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AllocationSpecificSKUAllocationReservedInstanceProperties": {
|
|
"description": "Properties of the SKU instances being reserved.",
|
|
"id": "AllocationSpecificSKUAllocationReservedInstanceProperties",
|
|
"properties": {
|
|
"guestAccelerators": {
|
|
"description": "Specifies accelerator type and count.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"localSsds": {
|
|
"description": "Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.",
|
|
"items": {
|
|
"$ref": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"machineType": {
|
|
"description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.",
|
|
"type": "string"
|
|
},
|
|
"minCpuPlatform": {
|
|
"description": "Minimum cpu platform the reservation.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AllocationSpecificSKUReservation": {
|
|
"description": "This reservation type allows to pre allocate specific instance configuration.",
|
|
"id": "AllocationSpecificSKUReservation",
|
|
"properties": {
|
|
"count": {
|
|
"description": "Specifies number of resources that are allocated.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"inUseCount": {
|
|
"description": "[OutputOnly] Indicates how many resource are in use.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"instanceProperties": {
|
|
"$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties",
|
|
"description": "The instance properties for this specific sku reservation."
|
|
}
|
|
},
|
|
"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-disk-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."
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "The size of the disk in base-2 GB. This supersedes disk_size_gb in InitializeParams.",
|
|
"format": "int64",
|
|
"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"
|
|
},
|
|
"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": [
|
|
"NVDIMM",
|
|
"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"
|
|
},
|
|
"savedState": {
|
|
"description": "For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.",
|
|
"enum": [
|
|
"DISK_SAVED_STATE_UNSPECIFIED",
|
|
"PRESERVED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"shieldedInstanceInitialState": {
|
|
"$ref": "InitialStateConfig",
|
|
"description": "[Output Only] shielded vm initial state stored on disk"
|
|
},
|
|
"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": {
|
|
"description": {
|
|
"description": "An optional description. Provide this property when creating the disk.",
|
|
"type": "string"
|
|
},
|
|
"diskName": {
|
|
"description": "Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.",
|
|
"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"
|
|
},
|
|
"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.\n\nGuest OS features are applied by merging initializeParams.guestOsFeatures and disks.guestOsFeatures",
|
|
"items": {
|
|
"$ref": "GuestOsFeature"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"replicaZones": {
|
|
"description": "URLs of the zones where the disk should be replicated to. Only applicable for regional resources.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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-9 to use the latest Debian 9 image:\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-9-stretch-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."
|
|
},
|
|
"sourceSnapshot": {
|
|
"description": "The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or disks.source is required except for local SSD.\n\nTo create a disk with a snapshot that you created, specify the snapshot name in the following format:\nglobal/snapshots/my-backup\n\n\nIf the source snapshot is deleted later, this field will not be set.",
|
|
"type": "string"
|
|
},
|
|
"sourceSnapshotEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "The customer-supplied encryption key of the source snapshot."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AuditConfig": {
|
|
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.",
|
|
"id": "AuditConfig",
|
|
"properties": {
|
|
"auditLogConfigs": {
|
|
"description": "The configuration for logging of each type of permission.",
|
|
"items": {
|
|
"$ref": "AuditLogConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"exemptedMembers": {
|
|
"description": "",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"service": {
|
|
"description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AuditLogConfig": {
|
|
"description": "Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.",
|
|
"id": "AuditLogConfig",
|
|
"properties": {
|
|
"exemptedMembers": {
|
|
"description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"logType": {
|
|
"description": "The log type that this config enables.",
|
|
"enum": [
|
|
"ADMIN_READ",
|
|
"DATA_READ",
|
|
"DATA_WRITE",
|
|
"LOG_TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AuthenticationPolicy": {
|
|
"description": "The authentication settings for the backend service.",
|
|
"id": "AuthenticationPolicy",
|
|
"properties": {
|
|
"origins": {
|
|
"description": "List of authentication methods that can be used for origin authentication. Similar to peers, these will be evaluated in order the first valid one will be used to set origin identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if origin authentication is not required.",
|
|
"items": {
|
|
"$ref": "OriginAuthenticationMethod"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"peers": {
|
|
"description": "List of authentication methods that can be used for peer authentication. They will be evaluated in order the first valid one will be used to set peer identity. If none of these methods pass, the request will be rejected with authentication failed error (401). Leave the list empty if peer authentication is not required.",
|
|
"items": {
|
|
"$ref": "PeerAuthenticationMethod"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"principalBinding": {
|
|
"description": "Define whether peer or origin identity should be used for principal. Default value is USE_PEER. If peer (or origin) identity is not available, either because peer/origin authentication is not defined, or failed, principal will be left unset. In other words, binding rule does not affect the decision to accept or reject request. This field can be set to one of the following: USE_PEER: Principal will be set to the identity from peer authentication. USE_ORIGIN: Principal will be set to the identity from origin authentication.",
|
|
"enum": [
|
|
"INVALID",
|
|
"USE_ORIGIN",
|
|
"USE_PEER"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"serverTlsContext": {
|
|
"$ref": "TlsContext",
|
|
"description": "Configures the mechanism to obtain server-side security certificates and identity information."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AuthorizationConfig": {
|
|
"description": "Authorization configuration provides service-level and method-level access control for a service.",
|
|
"id": "AuthorizationConfig",
|
|
"properties": {
|
|
"policies": {
|
|
"description": "List of RbacPolicies.",
|
|
"items": {
|
|
"$ref": "RbacPolicy"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AuthorizationLoggingOptions": {
|
|
"description": "Authorization-related information used by Cloud Audit Logging.",
|
|
"id": "AuthorizationLoggingOptions",
|
|
"properties": {
|
|
"permissionType": {
|
|
"description": "The type of the permission that was checked.",
|
|
"enum": [
|
|
"ADMIN_READ",
|
|
"ADMIN_WRITE",
|
|
"DATA_READ",
|
|
"DATA_WRITE",
|
|
"PERMISSION_TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"recommendedSize": {
|
|
"description": "[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates recommended MIG size even when autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to the existing managed instance group or autoscaler did not generate its prediction.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"mode": {
|
|
"description": "Defines operating mode for this policy.",
|
|
"enum": [
|
|
"OFF",
|
|
"ON",
|
|
"ONLY_DOWN",
|
|
"ONLY_UP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"queueBasedScaling": {
|
|
"$ref": "AutoscalingPolicyQueueBasedScaling",
|
|
"description": "Configuration parameters of autoscaling based on queuing system."
|
|
}
|
|
},
|
|
"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": {
|
|
"filter": {
|
|
"description": "A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data.\n\nFor the filter to be valid for autoscaling purposes, the following rules apply: \n- You can only use the AND operator for joining selectors. \n- You can only use direct equality comparison operator (=) without any functions for each selector. \n- You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. \n- The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels.\nIf the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a per-group metric for the purpose of autoscaling.\n\nIf not specified, the type defaults to gce_instance. \n\nYou should provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.",
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"singleInstanceAssignment": {
|
|
"description": "If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler will keep the number of instances proportional to the value of this metric, the metric itself should not change value due to group resizing.\n\nA good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances.\n\nA bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.",
|
|
"format": "double",
|
|
"type": "number"
|
|
},
|
|
"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.",
|
|
"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"
|
|
},
|
|
"AutoscalingPolicyQueueBasedScaling": {
|
|
"description": "Configuration parameters of autoscaling based on queuing system.",
|
|
"id": "AutoscalingPolicyQueueBasedScaling",
|
|
"properties": {
|
|
"acceptableBacklogPerInstance": {
|
|
"description": "Scaling based on the average number of tasks in the queue per each active instance. The autoscaler keeps the average number of tasks per instance below this number, based on data collected in the last couple of minutes. The autoscaler will also take into account incoming tasks when calculating when to scale.",
|
|
"format": "double",
|
|
"type": "number"
|
|
},
|
|
"cloudPubSub": {
|
|
"$ref": "AutoscalingPolicyQueueBasedScalingCloudPubSub",
|
|
"description": "Configuration for Cloud Pub/Sub subscription queue."
|
|
},
|
|
"singleWorkerThroughputPerSec": {
|
|
"description": "The scaling algorithm will also calculate throughput estimates on its own; if you explicitly provide this value, the autoscaler will take into account your value as well as automatic estimates when deciding how to scale.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AutoscalingPolicyQueueBasedScalingCloudPubSub": {
|
|
"description": "Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.",
|
|
"id": "AutoscalingPolicyQueueBasedScalingCloudPubSub",
|
|
"properties": {
|
|
"subscription": {
|
|
"description": "Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting with projects/) or just the subscription name. The subscription must be assigned to the topic specified in topicName and must be in a pull configuration. The subscription must belong to the same project as the Autoscaler.",
|
|
"type": "string"
|
|
},
|
|
"topic": {
|
|
"description": "Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (starting with projects/) or just the topic name. The topic must belong to the same project as the Autoscaler resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"failover": {
|
|
"description": "This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService.",
|
|
"type": "boolean"
|
|
},
|
|
"group": {
|
|
"description": "The fully-qualified URL of an Instance Group or Network Endpoint Group resource. In case of instance group this 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\nFor Network Endpoint Groups this defines list of endpoints. All endpoints of Network Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint Group.\n\nBackend service can not contain mix of Instance Group and Network Endpoint Group backends.\n\nNote that you must specify an Instance Group or Network Endpoint 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. Network Endpoint Groups are not supported for INTERNAL load balancing scheme.",
|
|
"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"
|
|
},
|
|
"maxConnectionsPerEndpoint": {
|
|
"description": "The max number of simultaneous connections that a single backend network endpoint 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 maxConnectionsPerEndpoint 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"
|
|
},
|
|
"maxRatePerEndpoint": {
|
|
"description": "The max requests per second (RPS) that a single backend network endpoint 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 maxRatePerEndpoint must be set.\n\nThis cannot be used for internal load balancing.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"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"
|
|
},
|
|
"cdnPolicy": {
|
|
"$ref": "BackendBucketCdnPolicy",
|
|
"description": "Cloud CDN configuration for this BackendBucket."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendBucketCdnPolicy": {
|
|
"description": "Message containing Cloud CDN configuration for a backend bucket.",
|
|
"id": "BackendBucketCdnPolicy",
|
|
"properties": {
|
|
"signedUrlCacheMaxAgeSec": {
|
|
"description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"signedUrlKeyNames": {
|
|
"description": "[Output Only] Names of the keys for signing request URLs.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"appEngineBackend": {
|
|
"$ref": "BackendServiceAppEngineBackend",
|
|
"description": "Directs request to an App Engine app. cloudFunctionBackend and backends[] must be empty if this is set."
|
|
},
|
|
"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."
|
|
},
|
|
"circuitBreakers": {
|
|
"$ref": "CircuitBreakers",
|
|
"description": "Settings controlling the volume of connections to a backend service.\n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED."
|
|
},
|
|
"cloudFunctionBackend": {
|
|
"$ref": "BackendServiceCloudFunctionBackend",
|
|
"description": "Directs request to a cloud function. appEngineBackend and backends[] must be empty if this is set."
|
|
},
|
|
"connectionDraining": {
|
|
"$ref": "ConnectionDraining"
|
|
},
|
|
"consistentHash": {
|
|
"$ref": "ConsistentHashLoadBalancerSettings",
|
|
"description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH.\n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED."
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"customRequestHeaders": {
|
|
"description": "Headers that the HTTP/S load balancer should add to proxied requests.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"failoverPolicy": {
|
|
"$ref": "BackendServiceFailoverPolicy"
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a 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",
|
|
"INTERNAL_MANAGED",
|
|
"INTERNAL_SELF_MANAGED",
|
|
"INVALID_LOAD_BALANCING_SCHEME"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"localityLbPolicy": {
|
|
"description": "The load balancing algorithm used within the scope of the locality. The possible values are: \n- ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. \n- LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. \n- RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. \n- RANDOM: The load balancer selects a random healthy host. \n- ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. \n- MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, refer to https://ai.google/research/pubs/pub44824 \n\nThis field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.",
|
|
"enum": [
|
|
"INVALID_LB_POLICY",
|
|
"LEAST_REQUEST",
|
|
"MAGLEV",
|
|
"ORINGINAL_DESTINATION",
|
|
"RANDOM",
|
|
"RING_HASH",
|
|
"ROUND_ROBIN"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"logConfig": {
|
|
"$ref": "BackendServiceLogConfig",
|
|
"description": "This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver."
|
|
},
|
|
"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"
|
|
},
|
|
"outlierDetection": {
|
|
"$ref": "OutlierDetection",
|
|
"description": "Settings controlling eviction of unhealthy hosts from the load balancing pool. This field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED."
|
|
},
|
|
"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",
|
|
"HTTP2",
|
|
"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"
|
|
},
|
|
"securityPolicy": {
|
|
"description": "[Output Only] The resource URL for the security policy associated with this backend service.",
|
|
"type": "string"
|
|
},
|
|
"securitySettings": {
|
|
"$ref": "SecuritySettings",
|
|
"description": "This field specifies the security policy that applies to this backend service. This field is applicable to either: \n- A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. \n- A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED."
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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",
|
|
"HEADER_FIELD",
|
|
"HTTP_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"
|
|
},
|
|
"BackendServiceAppEngineBackend": {
|
|
"description": "Configuration of a App Engine backend.",
|
|
"id": "BackendServiceAppEngineBackend",
|
|
"properties": {
|
|
"appEngineService": {
|
|
"description": "Optional. App Engine app service name.",
|
|
"type": "string"
|
|
},
|
|
"targetProject": {
|
|
"description": "Required. Project ID of the project hosting the app. This is the project ID of this project. Reference to another project is not allowed.",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "Optional. Version of App Engine app service. When empty, App Engine will do its normal traffic split.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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."
|
|
},
|
|
"signedUrlCacheMaxAgeSec": {
|
|
"description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"signedUrlKeyNames": {
|
|
"description": "[Output Only] Names of the keys for signing request URLs.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceCloudFunctionBackend": {
|
|
"description": "Configuration of a Cloud Function backend.",
|
|
"id": "BackendServiceCloudFunctionBackend",
|
|
"properties": {
|
|
"functionName": {
|
|
"description": "Required. A cloud function name. Special value ?*? represents all cloud functions in the project.",
|
|
"type": "string"
|
|
},
|
|
"targetProject": {
|
|
"description": "Required. Project ID of the project hosting the cloud function.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceFailoverPolicy": {
|
|
"id": "BackendServiceFailoverPolicy",
|
|
"properties": {
|
|
"disableConnectionDrainOnFailover": {
|
|
"description": "On failover or failback, this field indicates whether connection drain will be honored. Setting this to true has the following effect: connections to the old active pool are not drained. Connections to the new active pool use the timeout of 10 min (currently fixed). Setting to false has the following effect: both old and new connections will have a drain timeout of 10 min.\n\nThis can be set to true only if the protocol is TCP.\n\nThe default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"dropTrafficIfUnhealthy": {
|
|
"description": "This option is used only when no healthy VMs are detected in the primary and backup instance groups. When set to true, traffic is dropped. When set to false, new connections are sent across all VMs in the primary group.\n\nThe default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"failoverRatio": {
|
|
"description": "The value of the field must be in [0, 1]. If the ratio of the healthy VMs in the primary backend is at or below this number, traffic arriving at the load-balanced IP will be directed to the failover backend.\n\nIn case where 'failoverRatio' is not set or all the VMs in the backup backend are unhealthy, the traffic will be directed back to the primary backend in the \"force\" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy.\n\nThis field is only used with l4 load balancing.",
|
|
"format": "float",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceGroupHealth": {
|
|
"id": "BackendServiceGroupHealth",
|
|
"properties": {
|
|
"annotations": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Metadata defined as annotations on the network endpoint group.",
|
|
"type": "object"
|
|
},
|
|
"healthStatus": {
|
|
"description": "Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.",
|
|
"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"
|
|
},
|
|
"oauth2ClientInfo": {
|
|
"$ref": "BackendServiceIAPOAuth2ClientInfo",
|
|
"description": "[Input Only] OAuth client info required to generate client id to be used for IAP."
|
|
},
|
|
"oauth2ClientSecret": {
|
|
"type": "string"
|
|
},
|
|
"oauth2ClientSecretSha256": {
|
|
"description": "[Output Only] SHA256 hash value for the field oauth2_client_secret above.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceIAPOAuth2ClientInfo": {
|
|
"id": "BackendServiceIAPOAuth2ClientInfo",
|
|
"properties": {
|
|
"applicationName": {
|
|
"description": "Application name to be used in OAuth consent screen.",
|
|
"type": "string"
|
|
},
|
|
"clientName": {
|
|
"description": "Name of the client to be generated. Optional - If not provided, the name will be autogenerated by the backend.",
|
|
"type": "string"
|
|
},
|
|
"developerEmailAddress": {
|
|
"description": "Developer's information to be used in OAuth consent screen.",
|
|
"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"
|
|
},
|
|
"BackendServiceLogConfig": {
|
|
"description": "The available logging options for the load balancer traffic served by this backend service.",
|
|
"id": "BackendServiceLogConfig",
|
|
"properties": {
|
|
"enable": {
|
|
"description": "This field denotes whether to enable logging for the load balancer traffic served by this backend service.",
|
|
"type": "boolean"
|
|
},
|
|
"sampleRate": {
|
|
"description": "This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.",
|
|
"format": "float",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BackendServiceReference": {
|
|
"id": "BackendServiceReference",
|
|
"properties": {
|
|
"backendService": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"Binding": {
|
|
"description": "Associates `members` with a `role`.",
|
|
"id": "Binding",
|
|
"properties": {
|
|
"condition": {
|
|
"$ref": "Expr",
|
|
"description": "The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently."
|
|
},
|
|
"members": {
|
|
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"role": {
|
|
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"CallCredentials": {
|
|
"description": "gRPC call credentials to access the SDS server.",
|
|
"id": "CallCredentials",
|
|
"properties": {
|
|
"accessToken": {
|
|
"description": "The access token that is used as call credential for the SDS server. This field is used only if callCredentialType is ACCESS_TOKEN.",
|
|
"type": "string"
|
|
},
|
|
"callCredentialType": {
|
|
"description": "The type of call credentials to use for GRPC requests to the SDS server. This field can be set to one of the following: ACCESS_TOKEN: An access token is used as call credentials for the SDS server. GCE_VM: The local GCE VM service account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The user provisioned service account credentials are used to access the SDS server. FROM_PLUGIN: Custom authenticator credentials are used to access the SDS server.",
|
|
"enum": [
|
|
"ACCESS_TOKEN",
|
|
"FROM_PLUGIN",
|
|
"GCE_VM",
|
|
"INVALID",
|
|
"JWT_SERVICE_ACCOUNT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"fromPlugin": {
|
|
"$ref": "MetadataCredentialsFromPlugin",
|
|
"description": "Custom authenticator credentials."
|
|
},
|
|
"jwtServiceAccount": {
|
|
"$ref": "ServiceAccountJwtAccessCredentials",
|
|
"description": "This service account credentials are used as call credentials for the SDS server. This field is used only if callCredentialType is JWT_SERVICE_ACCOUNT."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ChannelCredentials": {
|
|
"description": "gRPC channel credentials to access the SDS server.",
|
|
"id": "ChannelCredentials",
|
|
"properties": {
|
|
"certificates": {
|
|
"$ref": "TlsCertificatePaths",
|
|
"description": "The call credentials to access the SDS server."
|
|
},
|
|
"channelCredentialType": {
|
|
"description": "The channel credentials to access the SDS server. This field can be set to one of the following: CERTIFICATES: Use TLS certificates to access the SDS server. GCE_VM: Use local GCE VM credentials to access the SDS server.",
|
|
"enum": [
|
|
"CERTIFICATES",
|
|
"GCE_VM",
|
|
"INVALID"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CircuitBreakers": {
|
|
"description": "Settings controlling the volume of connections to a backend service.",
|
|
"id": "CircuitBreakers",
|
|
"properties": {
|
|
"connectTimeout": {
|
|
"$ref": "Duration",
|
|
"description": "The timeout for new network connections to hosts."
|
|
},
|
|
"maxConnections": {
|
|
"description": "The maximum number of connections to the backend cluster. If not specified, the default is 1024.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxPendingRequests": {
|
|
"description": "The maximum number of pending requests allowed to the backend cluster. If not specified, the default is 1024.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxRequests": {
|
|
"description": "The maximum number of parallel requests that allowed to the backend cluster. If not specified, the default is 1024.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxRequestsPerConnection": {
|
|
"description": "Maximum requests for a single backend connection. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxRetries": {
|
|
"description": "The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 3.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ClientTlsSettings": {
|
|
"description": "The client side authentication settings for connection originating from the backend service.",
|
|
"id": "ClientTlsSettings",
|
|
"properties": {
|
|
"clientTlsContext": {
|
|
"$ref": "TlsContext",
|
|
"description": "Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL."
|
|
},
|
|
"mode": {
|
|
"description": "Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced. This can be set to one of the following values: DISABLE: Do not setup a TLS connection to the backends. SIMPLE: Originate a TLS connection to the backends. MUTUAL: Secure connections to the backends using mutual TLS by presenting client certificates for authentication.",
|
|
"enum": [
|
|
"DISABLE",
|
|
"INVALID",
|
|
"MUTUAL",
|
|
"SIMPLE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"sni": {
|
|
"description": "SNI string to present to the server during TLS handshake. This field is applicable only when mode is SIMPLE or MUTUAL.",
|
|
"type": "string"
|
|
},
|
|
"subjectAltNames": {
|
|
"description": "A list of alternate names to verify the subject identity in the certificate.If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. This field is applicable only when mode is SIMPLE or MUTUAL.",
|
|
"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"
|
|
},
|
|
"reservations": {
|
|
"description": "List of reservations for this commitment.",
|
|
"items": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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": {
|
|
"description": "The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines.",
|
|
"enum": [
|
|
"COMPUTE_OPTIMIZED",
|
|
"GENERAL_PURPOSE",
|
|
"MEMORY_OPTIMIZED",
|
|
"TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"Condition": {
|
|
"description": "A condition to be met.",
|
|
"id": "Condition",
|
|
"properties": {
|
|
"iam": {
|
|
"description": "Trusted attributes supplied by the IAM system.",
|
|
"enum": [
|
|
"APPROVER",
|
|
"ATTRIBUTION",
|
|
"AUTHORITY",
|
|
"CREDENTIALS_TYPE",
|
|
"JUSTIFICATION_TYPE",
|
|
"NO_ATTR",
|
|
"SECURITY_REALM"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"op": {
|
|
"description": "An operator to apply the subject with.",
|
|
"enum": [
|
|
"DISCHARGED",
|
|
"EQUALS",
|
|
"IN",
|
|
"NOT_EQUALS",
|
|
"NOT_IN",
|
|
"NO_OP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"svc": {
|
|
"description": "Trusted attributes discharged by the service.",
|
|
"type": "string"
|
|
},
|
|
"sys": {
|
|
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
|
|
"enum": [
|
|
"IP",
|
|
"NAME",
|
|
"NO_ATTR",
|
|
"REGION",
|
|
"SERVICE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "The objects of the condition.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"ConsistentHashLoadBalancerSettings": {
|
|
"description": "This message defines settings for a consistent hash style load balancer.",
|
|
"id": "ConsistentHashLoadBalancerSettings",
|
|
"properties": {
|
|
"httpCookie": {
|
|
"$ref": "ConsistentHashLoadBalancerSettingsHttpCookie",
|
|
"description": "Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE."
|
|
},
|
|
"httpHeaderName": {
|
|
"description": "The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.",
|
|
"type": "string"
|
|
},
|
|
"minimumRingSize": {
|
|
"description": "The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ConsistentHashLoadBalancerSettingsHttpCookie": {
|
|
"description": "The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.",
|
|
"id": "ConsistentHashLoadBalancerSettingsHttpCookie",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the cookie.",
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"description": "Path to set for the cookie.",
|
|
"type": "string"
|
|
},
|
|
"ttl": {
|
|
"$ref": "Duration",
|
|
"description": "Lifetime of the cookie."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CorsPolicy": {
|
|
"description": "The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing",
|
|
"id": "CorsPolicy",
|
|
"properties": {
|
|
"allowCredentials": {
|
|
"description": "In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access-Control-Allow-Credentials header.\nDefault is false.",
|
|
"type": "boolean"
|
|
},
|
|
"allowHeaders": {
|
|
"description": "Specifies the content for the Access-Control-Allow-Headers header.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"allowMethods": {
|
|
"description": "Specifies the content for the Access-Control-Allow-Methods header.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"allowOriginRegexes": {
|
|
"description": "Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"allowOrigins": {
|
|
"description": "Specifies the list of origins that will be allowed to do CORS requests.\nAn origin is allowed if it matches either allow_origins or allow_origin_regex.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"disabled": {
|
|
"description": "If true, specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.",
|
|
"type": "boolean"
|
|
},
|
|
"exposeHeaders": {
|
|
"description": "Specifies the content for the Access-Control-Expose-Headers header.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"maxAge": {
|
|
"description": "Specifies how long the results of a preflight request can be cached. This translates to the content for the Access-Control-Max-Age header.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"CustomerEncryptionKey": {
|
|
"description": "Represents a customer-supplied encryption key",
|
|
"id": "CustomerEncryptionKey",
|
|
"properties": {
|
|
"kmsKeyName": {
|
|
"description": "The name of the encryption key that is stored in Google Cloud KMS.",
|
|
"type": "string"
|
|
},
|
|
"kmsKeyServiceAccount": {
|
|
"type": "string"
|
|
},
|
|
"rawKey": {
|
|
"description": "Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.",
|
|
"type": "string"
|
|
},
|
|
"rsaEncryptedKey": {
|
|
"description": "Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.\n\nThe key must meet the following requirements before you can provide it to Compute Engine: \n- The key is wrapped using a RSA public key certificate provided by Google. \n- After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at:\nhttps://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem",
|
|
"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 ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. 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": [
|
|
"ACTIVE",
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\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": "A list of publicly visible licenses. Reserved for Google's use.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"multiWriter": {
|
|
"description": "Indicates whether or not the disk can be read/write attached to more than one instance.",
|
|
"type": "boolean"
|
|
},
|
|
"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"
|
|
},
|
|
"physicalBlockSizeBytes": {
|
|
"description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the disk resides. Only applicable for regional resources. 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"
|
|
},
|
|
"replicaZones": {
|
|
"description": "URLs of the zones where the disk should be replicated to. Only applicable for regional resources.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"resourcePolicies": {
|
|
"description": "Resource policies applied to this disk for automatic snapshot creations.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"sourceDisk": {
|
|
"description": "The source disk 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/zones/zone/disks/disk \n- projects/project/zones/zone/disks/disk \n- zones/zone/disks/disk",
|
|
"type": "string"
|
|
},
|
|
"sourceDiskId": {
|
|
"description": "[Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.",
|
|
"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-9 to use the latest Debian 9 image:\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\nprojects/debian-cloud/global/images/debian-9-stretch-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",
|
|
"DELETING",
|
|
"FAILED",
|
|
"READY",
|
|
"RESTORING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"storageType": {
|
|
"description": "[Deprecated] Storage type of the persistent disk.",
|
|
"enum": [
|
|
"HDD",
|
|
"SSD"
|
|
],
|
|
"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"
|
|
},
|
|
"DiskInstantiationConfig": {
|
|
"description": "A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.",
|
|
"id": "DiskInstantiationConfig",
|
|
"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"
|
|
},
|
|
"customImage": {
|
|
"description": "The custom source image to be used to restore this disk when instantiating this instance template.",
|
|
"type": "string"
|
|
},
|
|
"deviceName": {
|
|
"description": "Specifies the device name of the disk to which the configurations apply to.",
|
|
"type": "string"
|
|
},
|
|
"instantiateFrom": {
|
|
"description": "Specifies whether to include the disk and what image to use. Possible values are: \n- source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. \n- source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. \n- custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. \n- attach-read-only: to attach a read-only disk. Applicable to read-only disks. \n- do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks.",
|
|
"enum": [
|
|
"ATTACH_READ_ONLY",
|
|
"BLANK",
|
|
"CUSTOM_IMAGE",
|
|
"DEFAULT",
|
|
"DO_NOT_INCLUDE",
|
|
"SOURCE_IMAGE",
|
|
"SOURCE_IMAGE_FAMILY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"DisksAddResourcePoliciesRequest": {
|
|
"id": "DisksAddResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be added to this disk.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DisksRemoveResourcePoliciesRequest": {
|
|
"id": "DisksRemoveResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be removed from this disk.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"DisplayDevice": {
|
|
"description": "A set of Display Device options",
|
|
"id": "DisplayDevice",
|
|
"properties": {
|
|
"enableDisplay": {
|
|
"description": "Defines whether the instance has Display enabled.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DistributionPolicy": {
|
|
"id": "DistributionPolicy",
|
|
"properties": {
|
|
"zones": {
|
|
"description": "Zones where the regional managed instance group will create and manage instances.",
|
|
"items": {
|
|
"$ref": "DistributionPolicyZoneConfiguration"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DistributionPolicyZoneConfiguration": {
|
|
"id": "DistributionPolicyZoneConfiguration",
|
|
"properties": {
|
|
"zone": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.regionInstanceGroupManagers.insert",
|
|
"compute.regionInstanceGroupManagers.update"
|
|
]
|
|
},
|
|
"description": "The URL of the zone. The zone must exist in the region where the managed instance group is located.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Duration": {
|
|
"description": "A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". Range is approximately 10,000 years.",
|
|
"id": "Duration",
|
|
"properties": {
|
|
"nanos": {
|
|
"description": "Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"seconds": {
|
|
"description": "Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExchangedPeeringRoute": {
|
|
"id": "ExchangedPeeringRoute",
|
|
"properties": {
|
|
"destRange": {
|
|
"description": "The destination range of the route.",
|
|
"type": "string"
|
|
},
|
|
"imported": {
|
|
"description": "If the peering route is imported if there is no confliction.",
|
|
"type": "boolean"
|
|
},
|
|
"nextHopRegion": {
|
|
"description": "The region of peering route next hop, only applies to dynamic routes.",
|
|
"type": "string"
|
|
},
|
|
"priority": {
|
|
"description": "The priority of the peering route.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"description": "The type of the peering route.",
|
|
"enum": [
|
|
"DYNAMIC_PEERING_ROUTE",
|
|
"STATIC_PEERING_ROUTE",
|
|
"SUBNET_PEERING_ROUTE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExchangedPeeringRoutesList": {
|
|
"id": "ExchangedPeeringRoutesList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of ExchangedPeeringRoute resources.",
|
|
"items": {
|
|
"$ref": "ExchangedPeeringRoute"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#exchangedPeeringRoutesList",
|
|
"description": "[Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for exchanged peering routes 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"
|
|
},
|
|
"Expr": {
|
|
"description": "Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) \u003e 0\"",
|
|
"id": "Expr",
|
|
"properties": {
|
|
"description": {
|
|
"description": "An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
|
|
"type": "string"
|
|
},
|
|
"expression": {
|
|
"description": "Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported.",
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExternalVpnGateway": {
|
|
"description": "External VPN gateway is the on-premises VPN gateway(s) or another cloud provider?s VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud to your on-premises side or another Cloud provider's VPN gateway, you must create a external VPN gateway resource in GCP, which provides the information to GCP about your external VPN gateway.",
|
|
"id": "ExternalVpnGateway",
|
|
"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"
|
|
},
|
|
"interfaces": {
|
|
"description": "List of interfaces for this external VPN gateway.",
|
|
"items": {
|
|
"$ref": "ExternalVpnGatewayInterface"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#externalVpnGateway",
|
|
"description": "[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this ExternalVpnGateway, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this ExternalVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.externalVpnGateways.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"
|
|
},
|
|
"redundancyType": {
|
|
"description": "Indicates the user-supplied redundancy type of this external VPN gateway.",
|
|
"enum": [
|
|
"FOUR_IPS_REDUNDANCY",
|
|
"SINGLE_IP_INTERNALLY_REDUNDANT",
|
|
"TWO_IPS_REDUNDANCY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExternalVpnGatewayInterface": {
|
|
"description": "The interface for the external VPN gateway.",
|
|
"id": "ExternalVpnGatewayInterface",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1 FOUR_IPS_REDUNDANCY - 0, 1, 2, 3",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"ipAddress": {
|
|
"description": "IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider?s VPN gateway, it cannot be an IP address from Google Compute Engine.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExternalVpnGatewayList": {
|
|
"description": "Response to the list request, and contains a list of externalVpnGateways.",
|
|
"id": "ExternalVpnGatewayList",
|
|
"properties": {
|
|
"etag": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of ExternalVpnGateway resources.",
|
|
"items": {
|
|
"$ref": "ExternalVpnGateway"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#externalVpnGatewayList",
|
|
"description": "[Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.",
|
|
"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"
|
|
},
|
|
"FileContentBuffer": {
|
|
"id": "FileContentBuffer",
|
|
"properties": {
|
|
"content": {
|
|
"description": "The raw content in the secure keys file.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"fileType": {
|
|
"enum": [
|
|
"BIN",
|
|
"UNDEFINED",
|
|
"X509"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"disabled": {
|
|
"description": "Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated with. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled.",
|
|
"type": "boolean"
|
|
},
|
|
"enableLogging": {
|
|
"description": "Deprecated in favor of enable in LogConfig. This field denotes whether to enable logging for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver.",
|
|
"type": "boolean"
|
|
},
|
|
"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"
|
|
},
|
|
"logConfig": {
|
|
"$ref": "FirewallLogConfig",
|
|
"description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Stackdriver."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"FirewallLogConfig": {
|
|
"description": "The available logging options for a firewall rule.",
|
|
"id": "FirewallLogConfig",
|
|
"properties": {
|
|
"enable": {
|
|
"description": "This field denotes whether to enable logging for a particular firewall rule.",
|
|
"type": "boolean"
|
|
},
|
|
"metadata": {
|
|
"description": "This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.",
|
|
"enum": [
|
|
"EXCLUDE_ALL_METADATA",
|
|
"INCLUDE_ALL_METADATA"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"FixedOrPercent": {
|
|
"description": "Encapsulates numeric value that can be either absolute or relative.",
|
|
"id": "FixedOrPercent",
|
|
"properties": {
|
|
"calculated": {
|
|
"description": "[Output Only] Absolute value of VM instances calculated based on the specific mode.\n\n \n- If the value is fixed, then the caculated value is equal to the fixed value. \n- If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded up.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"fixed": {
|
|
"description": "Specifies a fixed number of VM instances. This must be a positive integer.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"percent": {
|
|
"description": "Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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_SELF_MANAGED, this must be a URL reference to an existing Address resource ( internal regional static IP address), with a purpose of GCE_END_POINT and address_type of INTERNAL.\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. When the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid.",
|
|
"enum": [
|
|
"AH",
|
|
"ESP",
|
|
"ICMP",
|
|
"SCTP",
|
|
"TCP",
|
|
"UDP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"allPorts": {
|
|
"description": "This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. This field cannot be used with port or portRange fields.\n\nWhen the load balancing scheme is INTERNAL and protocol is TCP/UDP, specify this field to allow packets addressed to any ports will be forwarded to the backends configured with this forwarding rule.",
|
|
"type": "boolean"
|
|
},
|
|
"allowGlobalAccess": {
|
|
"description": "This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer.",
|
|
"type": "boolean"
|
|
},
|
|
"backendService": {
|
|
"description": "This field is only used for INTERNAL 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"
|
|
},
|
|
"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 ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request.\n\nTo see the latest fingerprint, make a get() request to retrieve a ForwardingRule.",
|
|
"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"
|
|
},
|
|
"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 an external 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"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this resource, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a ForwardingRule.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this resource. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"loadBalancingScheme": {
|
|
"description": "This signifies what the ForwardingRule will be used for and can only take the following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that this will be used for Internal Network Load Balancing (TCP, UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for Internal Global HTTP(S) LB. 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",
|
|
"INTERNAL_MANAGED",
|
|
"INTERNAL_SELF_MANAGED",
|
|
"INVALID"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"metadataFilters": {
|
|
"description": "Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies.\nFor each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata.\nmetadataFilters specified here can be overridden by those specified in the UrlMap that this ForwardingRule references.\nmetadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
|
|
"items": {
|
|
"$ref": "MetadataFilter"
|
|
},
|
|
"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"
|
|
},
|
|
"network": {
|
|
"description": "This field is not used for external load balancing.\n\nFor INTERNAL and INTERNAL_SELF_MANAGED 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"
|
|
},
|
|
"networkTier": {
|
|
"description": "This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM , STANDARD.\n\nFor regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM.\n\nIf this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address.",
|
|
"enum": [
|
|
"PREMIUM",
|
|
"SELECT",
|
|
"STANDARD"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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 list of ports can be configured, for example, ['80'], ['8000','9000'] etc. 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"serviceLabel": {
|
|
"description": "An optional prefix to the service name for this Forwarding Rule. If specified, will be the first label of the fully qualified service name.\n\nThe label must be 1-63 characters long, and comply with RFC1035. Specifically, the label 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.\n\nThis field is only used for internal load balancing.",
|
|
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
|
|
"type": "string"
|
|
},
|
|
"serviceName": {
|
|
"description": "[Output Only] The internal fully qualified service name for this Forwarding Rule.\n\nThis field is only used for internal load balancing.",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "This field is only used for INTERNAL 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. For INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets are valid.",
|
|
"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"
|
|
},
|
|
"ForwardingRuleReference": {
|
|
"id": "ForwardingRuleReference",
|
|
"properties": {
|
|
"forwardingRule": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet. 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"
|
|
},
|
|
"GlobalSetPolicyRequest": {
|
|
"id": "GlobalSetPolicyRequest",
|
|
"properties": {
|
|
"bindings": {
|
|
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
|
"items": {
|
|
"$ref": "Binding"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"etag": {
|
|
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"policy": {
|
|
"$ref": "Policy",
|
|
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"GrpcServiceConfig": {
|
|
"description": "gRPC config to access the SDS server.",
|
|
"id": "GrpcServiceConfig",
|
|
"properties": {
|
|
"callCredentials": {
|
|
"$ref": "CallCredentials",
|
|
"description": "The call credentials to access the SDS server."
|
|
},
|
|
"channelCredentials": {
|
|
"$ref": "ChannelCredentials",
|
|
"description": "The channel credentials to access the SDS server."
|
|
},
|
|
"targetUri": {
|
|
"description": "The target URI of the SDS server.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"GuestAttributes": {
|
|
"description": "A guest attributes entry.",
|
|
"id": "GuestAttributes",
|
|
"properties": {
|
|
"kind": {
|
|
"default": "compute#guestAttributes",
|
|
"description": "[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.",
|
|
"type": "string"
|
|
},
|
|
"queryPath": {
|
|
"description": "The path to be queried. This can be the default namespace ('/') or a nested namespace ('//') or a specified key ('//')",
|
|
"type": "string"
|
|
},
|
|
"queryValue": {
|
|
"$ref": "GuestAttributesValue",
|
|
"description": "[Output Only] The value of the requested queried path."
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"variableKey": {
|
|
"description": "The key to search for.",
|
|
"type": "string"
|
|
},
|
|
"variableValue": {
|
|
"description": "[Output Only] The value found for the requested key.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"GuestAttributesEntry": {
|
|
"description": "A guest attributes namespace/key/value entry.",
|
|
"id": "GuestAttributesEntry",
|
|
"properties": {
|
|
"key": {
|
|
"description": "Key for the guest attribute entry.",
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "Namespace for the guest attribute entry.",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "Value for the guest attribute entry.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"GuestAttributesValue": {
|
|
"description": "Array of guest attribute namespace/key/value tuples.",
|
|
"id": "GuestAttributesValue",
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "GuestAttributesEntry"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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",
|
|
"GVNIC",
|
|
"MULTI_IP_SUBNET",
|
|
"SECURE_BOOT",
|
|
"UEFI_COMPATIBLE",
|
|
"VIRTIO_SCSI_MULTIQUEUE",
|
|
"WINDOWS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HTTP2HealthCheck": {
|
|
"id": "HTTP2HealthCheck",
|
|
"properties": {
|
|
"host": {
|
|
"description": "The value of the host header in the HTTP/2 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"
|
|
},
|
|
"portSpecification": {
|
|
"description": "Specifies how port is selected for health checking, can be one of following values:\nUSE_FIXED_PORT: The port number in\nport\nis used for health checking.\nUSE_NAMED_PORT: The\nportName\nis used for health checking.\nUSE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.\n\n\nIf not specified, HTTP2 health check follows behavior specified in\nport\nand\nportName\nfields.",
|
|
"enum": [
|
|
"USE_FIXED_PORT",
|
|
"USE_NAMED_PORT",
|
|
"USE_SERVING_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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/2 health check request. The default value is /.",
|
|
"type": "string"
|
|
},
|
|
"response": {
|
|
"description": "The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.",
|
|
"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"
|
|
},
|
|
"portSpecification": {
|
|
"description": "Specifies how port is selected for health checking, can be one of following values:\nUSE_FIXED_PORT: The port number in\nport\nis used for health checking.\nUSE_NAMED_PORT: The\nportName\nis used for health checking.\nUSE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.\n\n\nIf not specified, HTTP health check follows behavior specified in\nport\nand\nportName\nfields.",
|
|
"enum": [
|
|
"USE_FIXED_PORT",
|
|
"USE_NAMED_PORT",
|
|
"USE_SERVING_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"response": {
|
|
"description": "The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.",
|
|
"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"
|
|
},
|
|
"portSpecification": {
|
|
"description": "Specifies how port is selected for health checking, can be one of following values:\nUSE_FIXED_PORT: The port number in\nport\nis used for health checking.\nUSE_NAMED_PORT: The\nportName\nis used for health checking.\nUSE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.\n\n\nIf not specified, HTTPS health check follows behavior specified in\nport\nand\nportName\nfields.",
|
|
"enum": [
|
|
"USE_FIXED_PORT",
|
|
"USE_NAMED_PORT",
|
|
"USE_SERVING_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"response": {
|
|
"description": "The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.",
|
|
"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"
|
|
},
|
|
"http2HealthCheck": {
|
|
"$ref": "HTTP2HealthCheck"
|
|
},
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] Region where the health check resides. Not applicable to global health checks.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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",
|
|
"HTTP2",
|
|
"HTTPS",
|
|
"INVALID",
|
|
"SSL",
|
|
"TCP",
|
|
"UDP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"udpHealthCheck": {
|
|
"$ref": "UDPHealthCheck"
|
|
},
|
|
"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"
|
|
},
|
|
"HealthCheckService": {
|
|
"description": "A HealthCheckService defines a set of backends on which to perform periodic health checks and an endpoint to which to send notification of changes in the health status of the backends.",
|
|
"id": "HealthCheckService",
|
|
"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"
|
|
},
|
|
"healthChecks": {
|
|
"description": "List of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks\u003c/code? must belong to the same region as zones of NEGs.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"healthStatusAggregationStrategy": {
|
|
"description": "Policy for how the results from multiple health checks for the same endpoint are aggregated. \n- NO_AGGREGATION. An EndpointHealth message is returned for each backend in the health check service. \n- AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. .",
|
|
"enum": [
|
|
"AND",
|
|
"NO_AGGREGATION"
|
|
],
|
|
"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#healthCheckService",
|
|
"description": "[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.",
|
|
"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"
|
|
},
|
|
"networkEndpointGroups": {
|
|
"description": "List of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notificationEndpoints": {
|
|
"description": "List of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL with id for the resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HealthCheckServicesList": {
|
|
"id": "HealthCheckServicesList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of HealthCheckService resources.",
|
|
"items": {
|
|
"$ref": "HealthCheckService"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#healthCheckServicesList",
|
|
"description": "[Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices.",
|
|
"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"
|
|
},
|
|
"HealthChecksAggregatedList": {
|
|
"id": "HealthChecksAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "HealthChecksScopedList",
|
|
"description": "Name of the scope containing this set of HealthChecks."
|
|
},
|
|
"description": "A list of HealthChecksScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#healthChecksAggregatedList",
|
|
"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"
|
|
},
|
|
"HealthChecksScopedList": {
|
|
"id": "HealthChecksScopedList",
|
|
"properties": {
|
|
"healthChecks": {
|
|
"description": "A list of HealthChecks contained in this scope.",
|
|
"items": {
|
|
"$ref": "HealthCheck"
|
|
},
|
|
"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"
|
|
},
|
|
"HealthStatus": {
|
|
"id": "HealthStatus",
|
|
"properties": {
|
|
"annotations": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Metadata defined as annotations for network endpoint.",
|
|
"type": "object"
|
|
},
|
|
"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"
|
|
},
|
|
"HealthStatusForNetworkEndpoint": {
|
|
"id": "HealthStatusForNetworkEndpoint",
|
|
"properties": {
|
|
"backendService": {
|
|
"$ref": "BackendServiceReference",
|
|
"description": "URL of the backend service associated with the health state of the network endpoint."
|
|
},
|
|
"forwardingRule": {
|
|
"$ref": "ForwardingRuleReference",
|
|
"description": "URL of the forwarding rule associated with the health state of the network endpoint."
|
|
},
|
|
"healthCheck": {
|
|
"$ref": "HealthCheckReference",
|
|
"description": "URL of the health check associated with the health state of the network endpoint."
|
|
},
|
|
"healthState": {
|
|
"description": "Health state of the network endpoint determined based on the health checks configured.",
|
|
"enum": [
|
|
"DRAINING",
|
|
"HEALTHY",
|
|
"UNHEALTHY",
|
|
"UNKNOWN"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"HttpFaultAbort": {
|
|
"description": "Specification for how requests are aborted as part of fault injection.",
|
|
"id": "HttpFaultAbort",
|
|
"properties": {
|
|
"httpStatus": {
|
|
"description": "The HTTP status code used to abort the request.\nThe value must be between 200 and 599 inclusive.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"percentage": {
|
|
"description": "The percentage of traffic (connections/operations/requests) which will be aborted as part of fault injection.\nThe value must be between 0.0 and 100.0 inclusive.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpFaultDelay": {
|
|
"description": "Specifies the delay introduced by Loadbalancer before forwarding the request to the backend service as part of fault injection.",
|
|
"id": "HttpFaultDelay",
|
|
"properties": {
|
|
"fixedDelay": {
|
|
"$ref": "Duration",
|
|
"description": "Specifies the value of the fixed delay interval."
|
|
},
|
|
"percentage": {
|
|
"description": "The percentage of traffic (connections/operations/requests) on which delay will be introduced as part of fault injection.\nThe value must be between 0.0 and 100.0 inclusive.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpFaultInjection": {
|
|
"description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.",
|
|
"id": "HttpFaultInjection",
|
|
"properties": {
|
|
"abort": {
|
|
"$ref": "HttpFaultAbort",
|
|
"description": "The specification for how client requests are aborted as part of fault injection."
|
|
},
|
|
"delay": {
|
|
"$ref": "HttpFaultDelay",
|
|
"description": "The specification for how client requests are delayed as part of fault injection, before being sent to a backend service."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpHeaderAction": {
|
|
"description": "The request and response header transformations that take effect before the request is passed along to the selected backendService.",
|
|
"id": "HttpHeaderAction",
|
|
"properties": {
|
|
"requestHeadersToAdd": {
|
|
"description": "Headers to add to a matching request prior to forwarding the request to the backendService.",
|
|
"items": {
|
|
"$ref": "HttpHeaderOption"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"requestHeadersToRemove": {
|
|
"description": "A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"responseHeadersToAdd": {
|
|
"description": "Headers to add the response prior to sending the response back to the client.",
|
|
"items": {
|
|
"$ref": "HttpHeaderOption"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"responseHeadersToRemove": {
|
|
"description": "A list of header names for headers that need to be removed from the response prior to sending the response back to the client.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpHeaderMatch": {
|
|
"description": "matchRule criteria for request header matches.",
|
|
"id": "HttpHeaderMatch",
|
|
"properties": {
|
|
"exactMatch": {
|
|
"description": "The value should exactly match contents of exactMatch.\nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.",
|
|
"type": "string"
|
|
},
|
|
"headerName": {
|
|
"description": "The name of the HTTP header to match.\nFor matching against the HTTP request's authority, use a headerMatch with the header name \":authority\".\nFor matching a request's method, use the headerName \":method\".",
|
|
"type": "string"
|
|
},
|
|
"invertMatch": {
|
|
"description": "If set to false, the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met.\nThe default setting is false.",
|
|
"type": "boolean"
|
|
},
|
|
"prefixMatch": {
|
|
"description": "The value of the header must start with the contents of prefixMatch.\nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.",
|
|
"type": "string"
|
|
},
|
|
"presentMatch": {
|
|
"description": "A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value or not.\nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.",
|
|
"type": "boolean"
|
|
},
|
|
"rangeMatch": {
|
|
"$ref": "Int64RangeMatch",
|
|
"description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails.\nFor example for a range [-5, 0] \n- -3 will match. \n- 0 will not match. \n- 0.25 will not match. \n- -3someString will not match. \nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set."
|
|
},
|
|
"regexMatch": {
|
|
"description": "The value of the header must match the regualar expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript \nFor matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier.\nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.",
|
|
"type": "string"
|
|
},
|
|
"suffixMatch": {
|
|
"description": "The value of the header must end with the contents of suffixMatch.\nOnly one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpHeaderOption": {
|
|
"description": "Specification determining how headers are added to requests or responses.",
|
|
"id": "HttpHeaderOption",
|
|
"properties": {
|
|
"headerName": {
|
|
"description": "The name of the header.",
|
|
"type": "string"
|
|
},
|
|
"headerValue": {
|
|
"description": "The value of the header to add.",
|
|
"type": "string"
|
|
},
|
|
"replace": {
|
|
"description": "If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header.\nThe default value is false.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"HttpQueryParameterMatch": {
|
|
"description": "HttpRouteRuleMatch criteria for a request's query parameter.",
|
|
"id": "HttpQueryParameterMatch",
|
|
"properties": {
|
|
"exactMatch": {
|
|
"description": "The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.\nOnly one of presentMatch, exactMatch and regexMatch must be set.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.",
|
|
"type": "string"
|
|
},
|
|
"presentMatch": {
|
|
"description": "Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.\nOnly one of presentMatch, exactMatch and regexMatch must be set.",
|
|
"type": "boolean"
|
|
},
|
|
"regexMatch": {
|
|
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For the regular expression grammar, please see en.cppreference.com/w/cpp/regex/ecmascript \nOnly one of presentMatch, exactMatch and regexMatch must be set.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpRedirectAction": {
|
|
"description": "Specifies settings for an HTTP redirect.",
|
|
"id": "HttpRedirectAction",
|
|
"properties": {
|
|
"hostRedirect": {
|
|
"description": "The host that will be used in the redirect response instead of the one that was supplied in the request.\nThe value must be between 1 and 255 characters.",
|
|
"type": "string"
|
|
},
|
|
"httpsRedirect": {
|
|
"description": "If set to true, the URL scheme in the redirected request is set to https. If set to false, the URL scheme of the redirected request will remain the same as that of the request.\nThis must only be set for UrlMaps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted.\nThe default is set to false.",
|
|
"type": "boolean"
|
|
},
|
|
"pathRedirect": {
|
|
"description": "The path that will be used in the redirect response instead of the one that was supplied in the request.\nOnly one of pathRedirect or prefixRedirect must be specified.\nThe value must be between 1 and 1024 characters.",
|
|
"type": "string"
|
|
},
|
|
"prefixRedirect": {
|
|
"description": "The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request.",
|
|
"type": "string"
|
|
},
|
|
"redirectResponseCode": {
|
|
"description": "The HTTP Status code to use for this RedirectAction.\nSupported values are: \n- MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. \n- FOUND, which corresponds to 302. \n- SEE_OTHER which corresponds to 303. \n- TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method will be retained. \n- PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method will be retained.",
|
|
"enum": [
|
|
"FOUND",
|
|
"MOVED_PERMANENTLY_DEFAULT",
|
|
"PERMANENT_REDIRECT",
|
|
"SEE_OTHER",
|
|
"TEMPORARY_REDIRECT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"stripQuery": {
|
|
"description": "If set to true, any accompanying query portion of the original URL is removed prior to redirecting the request. If set to false, the query portion of the original URL is retained.\nThe default is set to false.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpRetryPolicy": {
|
|
"description": "The retry policy associates with HttpRouteRule",
|
|
"id": "HttpRetryPolicy",
|
|
"properties": {
|
|
"numRetries": {
|
|
"description": "Specifies the allowed number retries. This number must be \u003e 0.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"perTryTimeout": {
|
|
"$ref": "Duration",
|
|
"description": "Specifies a non-zero timeout per retry attempt."
|
|
},
|
|
"retryConditions": {
|
|
"description": "Specfies one or more conditions when this retry rule applies. Valid values are: \n- 5xx: Loadbalancer will attempt a retry if the backend service responds with any 5xx response code, or if the backend service does not respond at all, example: disconnects, reset, read timeout, connection failure, and refused streams. \n- gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504.\n- \n- connect-failure: Loadbalancer will retry on failures connecting to backend services, for example due to connection timeouts. \n- retriable-4xx: Loadbalancer will retry for retriable 4xx response codes. Currently the only retriable error supported is 409. \n- refused-stream:Loadbalancer will retry if the backend service resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. \n- cancelledLoadbalancer will retry if the gRPC status code in the response header is set to cancelled \n- deadline-exceeded: Loadbalancer will retry if the gRPC status code in the response header is set to deadline-exceeded \n- resource-exhausted: Loadbalancer will retry if the gRPC status code in the response header is set to resource-exhausted \n- unavailable: Loadbalancer will retry if the gRPC status code in the response header is set to unavailable",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpRouteAction": {
|
|
"id": "HttpRouteAction",
|
|
"properties": {
|
|
"corsPolicy": {
|
|
"$ref": "CorsPolicy",
|
|
"description": "The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing"
|
|
},
|
|
"faultInjectionPolicy": {
|
|
"$ref": "HttpFaultInjection",
|
|
"description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.\ntimeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy."
|
|
},
|
|
"requestMirrorPolicy": {
|
|
"$ref": "RequestMirrorPolicy",
|
|
"description": "Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / authority header is suffixed with -shadow."
|
|
},
|
|
"retryPolicy": {
|
|
"$ref": "HttpRetryPolicy",
|
|
"description": "Specifies the retry policy associated with this route."
|
|
},
|
|
"timeout": {
|
|
"$ref": "Duration",
|
|
"description": "Specifies the timeout for the selected route. Timeout is computed from the time the request is has been fully processed (i.e. end-of-stream) up until the response has been completely processed. Timeout includes all retries.\nIf not specified, the default value is 15 seconds."
|
|
},
|
|
"urlRewrite": {
|
|
"$ref": "UrlRewrite",
|
|
"description": "The spec to modify the URL of the request, prior to forwarding the request to the matched service"
|
|
},
|
|
"weightedBackendServices": {
|
|
"description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non 0 number.\nOnce a backendService is identified and before forwarding the request to the backend service, advanced routing actions like Url rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.",
|
|
"items": {
|
|
"$ref": "WeightedBackendService"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpRouteRule": {
|
|
"description": "An HttpRouteRule specifies how to match an HTTP request and the corresponding routing action that load balancing proxies will perform.",
|
|
"id": "HttpRouteRule",
|
|
"properties": {
|
|
"headerAction": {
|
|
"$ref": "HttpHeaderAction",
|
|
"description": "Specifies changes to request and response headers that need to take effect for the selected backendService.\nThe headerAction specified here are applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction"
|
|
},
|
|
"matchRules": {
|
|
"items": {
|
|
"$ref": "HttpRouteRuleMatch"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"routeAction": {
|
|
"$ref": "HttpRouteAction",
|
|
"description": "In response to a matching matchRule, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set."
|
|
},
|
|
"urlRedirect": {
|
|
"$ref": "HttpRedirectAction",
|
|
"description": "When this rule is matched, the request is redirected to a URL specified by urlRedirect.\nIf urlRedirect is specified, service or routeAction must not be set."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"HttpRouteRuleMatch": {
|
|
"description": "HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.",
|
|
"id": "HttpRouteRuleMatch",
|
|
"properties": {
|
|
"fullPathMatch": {
|
|
"description": "For satifying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL.\nFullPathMatch must be between 1 and 1024 characters.\nOnly one of prefixMatch, fullPathMatch or regexMatch must be specified.",
|
|
"type": "string"
|
|
},
|
|
"headerMatches": {
|
|
"description": "Specifies a list of header match criteria, all of which must match corresponding headers in the request.",
|
|
"items": {
|
|
"$ref": "HttpHeaderMatch"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ignoreCase": {
|
|
"description": "Specifies that prefixMatch and fullPathMatch matches are case sensitive.\nThe default value is false.\ncaseSensitive must not be used with regexMatch.",
|
|
"type": "boolean"
|
|
},
|
|
"metadataFilters": {
|
|
"description": "Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies.\nFor each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata.\nmetadataFilters specified here can be overrides those specified in ForwardingRule that refers to this UrlMap.\nmetadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
|
|
"items": {
|
|
"$ref": "MetadataFilter"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"prefixMatch": {
|
|
"description": "For satifying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /.\nThe value must be between 1 and 1024 characters.\nOnly one of prefixMatch, fullPathMatch or regexMatch must be specified.",
|
|
"type": "string"
|
|
},
|
|
"queryParameterMatches": {
|
|
"description": "Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request.",
|
|
"items": {
|
|
"$ref": "HttpQueryParameterMatch"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"regexMatch": {
|
|
"description": "For satifying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript \nOnly one of prefixMatch, fullPathMatch or regexMatch must be specified.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource's resource id.",
|
|
"type": "string"
|
|
},
|
|
"shieldedInstanceInitialState": {
|
|
"$ref": "InitialStateConfig",
|
|
"description": "Set the secure boot keys of shielded instance."
|
|
},
|
|
"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": "[Output Only] 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": [
|
|
"DELETING",
|
|
"FAILED",
|
|
"PENDING",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"storageLocations": {
|
|
"description": "GCS bucket storage location of the image (regional or multi-regional).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InitialStateConfig": {
|
|
"description": "Initial State for shielded instance, these are public keys which are safe to store in public",
|
|
"id": "InitialStateConfig",
|
|
"properties": {
|
|
"dbs": {
|
|
"description": "The Key Database (db).",
|
|
"items": {
|
|
"$ref": "FileContentBuffer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"dbxs": {
|
|
"description": "The forbidden key database (dbx).",
|
|
"items": {
|
|
"$ref": "FileContentBuffer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"keks": {
|
|
"description": "The Key Exchange Key (KEK).",
|
|
"items": {
|
|
"$ref": "FileContentBuffer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"pk": {
|
|
"$ref": "FileContentBuffer",
|
|
"description": "The Platform Key (PK)."
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"displayDevice": {
|
|
"$ref": "DisplayDevice",
|
|
"description": "Enables display device for the instance."
|
|
},
|
|
"guestAccelerators": {
|
|
"description": "A list of the type and count of accelerator cards attached to the instance.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"hostname": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"instanceEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "Encrypts or decrypts data for an instance with a customer-supplied encryption key.\n\nIf you are creating a new instance, this field encrypts the local SSD and in-memory contents of the instance using a key that you provide.\n\nIf you are restarting an instance protected with a customer-supplied encryption key, you must provide the correct key in order to successfully restart the instance.\n\nIf you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key and you do not need to provide a key to start the instance later.\n\nInstance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt local SSDs and in-memory content in a managed instance group."
|
|
},
|
|
"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"
|
|
},
|
|
"preservedStateSizeGb": {
|
|
"description": "Total amount of preserved state for SUSPENDED instances. Read-only in the api.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"reservationAffinity": {
|
|
"$ref": "ReservationAffinity",
|
|
"description": "The configuration of desired allocations which this Instance could consume capacity from."
|
|
},
|
|
"resourcePolicies": {
|
|
"description": "Resource policies applied to this instance.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"shieldedInstanceConfig": {
|
|
"$ref": "ShieldedInstanceConfig"
|
|
},
|
|
"shieldedInstanceIntegrityPolicy": {
|
|
"$ref": "ShieldedInstanceIntegrityPolicy"
|
|
},
|
|
"shieldedVmConfig": {
|
|
"$ref": "ShieldedVmConfig"
|
|
},
|
|
"shieldedVmIntegrityPolicy": {
|
|
"$ref": "ShieldedVmIntegrityPolicy"
|
|
},
|
|
"sourceMachineImage": {
|
|
"description": "Source machine image",
|
|
"type": "string"
|
|
},
|
|
"sourceMachineImageEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "Source GMI encryption key when creating an instance from GMI."
|
|
},
|
|
"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",
|
|
"REPAIRING",
|
|
"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": "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. Multiple tags can be specified via the 'tags.items' field."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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": {
|
|
"autoHealingPolicies": {
|
|
"description": "The autohealing policy for this managed instance group. You can specify only one value.",
|
|
"items": {
|
|
"$ref": "InstanceGroupManagerAutoHealingPolicy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"distributionPolicy": {
|
|
"$ref": "DistributionPolicy",
|
|
"description": "Policy specifying intended distribution of instances in regional managed instance group."
|
|
},
|
|
"failoverAction": {
|
|
"description": "The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.",
|
|
"enum": [
|
|
"NO_FAILOVER",
|
|
"UNKNOWN"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.",
|
|
"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"
|
|
},
|
|
"pendingActions": {
|
|
"$ref": "InstanceGroupManagerPendingActionsSummary",
|
|
"description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are pending for each of those actions."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"serviceAccount": {
|
|
"description": "The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.",
|
|
"type": "string"
|
|
},
|
|
"statefulPolicy": {
|
|
"$ref": "StatefulPolicy",
|
|
"description": "Stateful configuration for this Instanced Group Manager"
|
|
},
|
|
"status": {
|
|
"$ref": "InstanceGroupManagerStatus",
|
|
"description": "[Output Only] The status of this managed instance group."
|
|
},
|
|
"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"
|
|
},
|
|
"updatePolicy": {
|
|
"$ref": "InstanceGroupManagerUpdatePolicy",
|
|
"description": "The update policy for this managed instance group."
|
|
},
|
|
"versions": {
|
|
"description": "Specifies the instance templates used by this managed instance group to create instances.\n\nEach version is defined by an instanceTemplate. Every template can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.",
|
|
"items": {
|
|
"$ref": "InstanceGroupManagerVersion"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"verifying": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.",
|
|
"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"
|
|
},
|
|
"InstanceGroupManagerAutoHealingPolicy": {
|
|
"description": "",
|
|
"id": "InstanceGroupManagerAutoHealingPolicy",
|
|
"properties": {
|
|
"healthCheck": {
|
|
"description": "The URL for the health check that signals autohealing.",
|
|
"type": "string"
|
|
},
|
|
"initialDelaySec": {
|
|
"description": "The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"maxUnavailable": {
|
|
"$ref": "FixedOrPercent",
|
|
"description": "Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded UP. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM.\n\nBy default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy."
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagerPendingActionsSummary": {
|
|
"id": "InstanceGroupManagerPendingActionsSummary",
|
|
"properties": {
|
|
"creating": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are pending to be created.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"deleting": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are pending to be deleted.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"recreating": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are pending to be recreated.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"restarting": {
|
|
"description": "[Output Only] The number of instances in the managed instance group that are pending to be restarted.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerStatus": {
|
|
"id": "InstanceGroupManagerStatus",
|
|
"properties": {
|
|
"isStable": {
|
|
"description": "[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.",
|
|
"type": "boolean"
|
|
},
|
|
"versionTarget": {
|
|
"$ref": "InstanceGroupManagerStatusVersionTarget",
|
|
"description": "[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerStatusVersionTarget": {
|
|
"id": "InstanceGroupManagerStatusVersionTarget",
|
|
"properties": {
|
|
"isReached": {
|
|
"description": "[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerUpdatePolicy": {
|
|
"id": "InstanceGroupManagerUpdatePolicy",
|
|
"properties": {
|
|
"instanceRedistributionType": {
|
|
"enum": [
|
|
"NONE",
|
|
"PROACTIVE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"maxSurge": {
|
|
"$ref": "FixedOrPercent",
|
|
"description": "The maximum number of instances that can be created above the specified targetSize during the update process. By default, a fixed value of 1 is used. This value can be either a fixed number or a percentage if the instance group has 10 or more instances. If you set a percentage, the number of instances will be rounded up if necessary.\n\nAt least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge."
|
|
},
|
|
"maxUnavailable": {
|
|
"$ref": "FixedOrPercent",
|
|
"description": "The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied:\n\n \n- The instance's status is RUNNING. \n- If there is a health check on the instance group, the instance's liveness health check result must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. By default, a fixed value of 1 is used. This value can be either a fixed number or a percentage if the instance group has 10 or more instances. If you set a percentage, the number of instances will be rounded up if necessary.\n\nAt least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable."
|
|
},
|
|
"minReadySec": {
|
|
"description": "Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"minimalAction": {
|
|
"description": "Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"replacementMethod": {
|
|
"description": "What action should be used to replace instances. See minimal_action.REPLACE",
|
|
"enum": [
|
|
"RECREATE",
|
|
"SUBSTITUTE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"OPPORTUNISTIC",
|
|
"PROACTIVE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagerVersion": {
|
|
"id": "InstanceGroupManagerVersion",
|
|
"properties": {
|
|
"instanceTemplate": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the version. Unique among all versions in the scope of this managed instance group.",
|
|
"type": "string"
|
|
},
|
|
"tag": {
|
|
"description": "Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.",
|
|
"type": "string"
|
|
},
|
|
"targetSize": {
|
|
"$ref": "FixedOrPercent",
|
|
"description": "Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: \n- If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. \n- if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded up. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information."
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersApplyUpdatesRequest": {
|
|
"description": "InstanceGroupManagers.applyUpdatesToInstances",
|
|
"id": "InstanceGroupManagersApplyUpdatesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of URLs of one or more instances for which we want to apply updates on this managed instance group. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"maximalAction": {
|
|
"description": "The maximal action that should be performed on the instances. By default REPLACE. This field is deprecated, please use most_disruptive_allowed_action.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"minimalAction": {
|
|
"description": "The minimal action that should be perfomed on the instances. By default NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"mostDisruptiveAllowedAction": {
|
|
"description": "The most disruptive action that allowed to be performed on the instances. By default REPLACE.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersCreateInstancesRequest": {
|
|
"description": "InstanceGroupManagers.createInstances",
|
|
"id": "InstanceGroupManagersCreateInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "[Required] List of specifications of per-instance configs.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersDeletePerInstanceConfigsReq": {
|
|
"description": "InstanceGroupManagers.deletePerInstanceConfigs",
|
|
"id": "InstanceGroupManagersDeletePerInstanceConfigsReq",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of instances for which we want to delete per-instance configs on this managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"names": {
|
|
"description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.",
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstanceGroupManagersListPerInstanceConfigsResp": {
|
|
"id": "InstanceGroupManagersListPerInstanceConfigsResp",
|
|
"properties": {
|
|
"items": {
|
|
"description": "[Output Only] The list of PerInstanceConfig.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersPatchPerInstanceConfigsReq": {
|
|
"description": "InstanceGroupManagers.patchPerInstanceConfigs",
|
|
"id": "InstanceGroupManagersPatchPerInstanceConfigsReq",
|
|
"properties": {
|
|
"perInstanceConfigs": {
|
|
"description": "The list of per-instance configs to insert or patch on this managed instance group.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersResizeAdvancedRequest": {
|
|
"id": "InstanceGroupManagersResizeAdvancedRequest",
|
|
"properties": {
|
|
"noCreationRetries": {
|
|
"description": "If this flag is true, the managed instance group attempts to create all instances initiated by this resize request only once. If there is an error during creation, the managed instance group does not retry create this instance, and we will decrease the targetSize of the request instead. If the flag is false, the group attempts to recreate each instance continuously until it succeeds.\n\nThis flag matters only in the first attempt of creation of an instance. After an instance is successfully created while this flag is enabled, the instance behaves the same way as all the other instances created with a regular resize request. In particular, if a running instance dies unexpectedly at a later time and needs to be recreated, this mode does not affect the recreation behavior in that scenario.\n\nThis flag is applicable only to the current resize request. It does not influence other resize requests in any way.\n\nYou can see which instances is being creating in which mode by calling the get or listManagedInstances API.",
|
|
"type": "boolean"
|
|
},
|
|
"targetSize": {
|
|
"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",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersSetAutoHealingRequest": {
|
|
"id": "InstanceGroupManagersSetAutoHealingRequest",
|
|
"properties": {
|
|
"autoHealingPolicies": {
|
|
"items": {
|
|
"$ref": "InstanceGroupManagerAutoHealingPolicy"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InstanceGroupManagersUpdatePerInstanceConfigsReq": {
|
|
"description": "InstanceGroupManagers.updatePerInstanceConfigs",
|
|
"id": "InstanceGroupManagersUpdatePerInstanceConfigsReq",
|
|
"properties": {
|
|
"perInstanceConfigs": {
|
|
"description": "The list of per-instance configs to insert or patch on this managed instance group.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.",
|
|
"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"
|
|
},
|
|
"displayDevice": {
|
|
"$ref": "DisplayDevice",
|
|
"description": "Display Device properties to enable support for remote display products like: Teradici, VNC and TeamViewer"
|
|
},
|
|
"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"
|
|
},
|
|
"reservationAffinity": {
|
|
"$ref": "ReservationAffinity",
|
|
"description": "The configuration of desired reservations which this Instance could consume capacity from."
|
|
},
|
|
"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"
|
|
},
|
|
"shieldedInstanceConfig": {
|
|
"$ref": "ShieldedInstanceConfig"
|
|
},
|
|
"shieldedVmConfig": {
|
|
"$ref": "ShieldedVmConfig",
|
|
"description": "Specifies the Shielded VM options for the instances that are created from this template."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"sourceInstance": {
|
|
"description": "The source instance used to create the template. 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/zones/zone/instances/instance \n- projects/project/zones/zone/instances/instance",
|
|
"type": "string"
|
|
},
|
|
"sourceInstanceParams": {
|
|
"$ref": "SourceInstanceParams",
|
|
"description": "The source instance params to use to create this instance template."
|
|
}
|
|
},
|
|
"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",
|
|
"REPAIRING",
|
|
"RUNNING",
|
|
"STAGING",
|
|
"STOPPED",
|
|
"STOPPING",
|
|
"SUSPENDED",
|
|
"SUSPENDING",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesAddResourcePoliciesRequest": {
|
|
"id": "InstancesAddResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be added to this instance.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesRemoveResourcePoliciesRequest": {
|
|
"id": "InstancesRemoveResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be removed from this instance.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InstancesResumeRequest": {
|
|
"id": "InstancesResumeRequest",
|
|
"properties": {
|
|
"disks": {
|
|
"description": "Array of disks associated with this instance that are protected with a customer-supplied encryption key.\n\nIn order to resume 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"
|
|
},
|
|
"instanceEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "Decrypts data associated with an instance that is protected with a customer-supplied encryption key.\n\nIf the instance you are starting is protected with a customer-supplied encryption key, the correct key must be provided otherwise the instance resume will not succeed."
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"instanceEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "Decrypts data associated with an instance that is protected with a customer-supplied encryption key.\n\nIf the instance you are starting is protected with a customer-supplied encryption key, the correct key must be provided otherwise the instance start will not succeed."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Int64RangeMatch": {
|
|
"description": "HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.",
|
|
"id": "Int64RangeMatch",
|
|
"properties": {
|
|
"rangeEnd": {
|
|
"description": "The end of the range (exclusive) in signed long integer format.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"rangeStart": {
|
|
"description": "The start of the range (inclusive) in signed long integer format.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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",
|
|
"PARTNER"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#interconnect",
|
|
"description": "[Output Only] Type of the resource. Always compute#interconnect for interconnects.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this Interconnect, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an Interconnect.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this Interconnect resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"linkType": {
|
|
"description": "Type of link requested. This field indicates speed of each of the links in the bundle, not the entire bundle.",
|
|
"enum": [
|
|
"LINK_TYPE_ETHERNET_100G_LR",
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "[Output Only] The current state of whether or not this Interconnect is functional.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"UNPROVISIONED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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": {
|
|
"adminEnabled": {
|
|
"description": "Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER.",
|
|
"type": "boolean"
|
|
},
|
|
"bandwidth": {
|
|
"description": "Provisioned bandwidth capacity for the interconnectAttachment. Can be set by the partner to update the customer's provisioned bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED.",
|
|
"enum": [
|
|
"BPS_100M",
|
|
"BPS_10G",
|
|
"BPS_1G",
|
|
"BPS_200M",
|
|
"BPS_2G",
|
|
"BPS_300M",
|
|
"BPS_400M",
|
|
"BPS_500M",
|
|
"BPS_50M",
|
|
"BPS_5G"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"candidateSubnets": {
|
|
"description": "Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google?s edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"edgeAvailabilityDomain": {
|
|
"description": "Desired availability domain for the attachment. Only available for type PARTNER, at creation time. For improved reliability, customers should configure a pair of attachments with one per availability domain. The selected availability domain will be provided to the Partner via the pairing key so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.",
|
|
"enum": [
|
|
"AVAILABILITY_DOMAIN_1",
|
|
"AVAILABILITY_DOMAIN_2",
|
|
"AVAILABILITY_DOMAIN_ANY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this InterconnectAttachment, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this InterconnectAttachment resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"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"
|
|
},
|
|
"pairingKey": {
|
|
"description": "[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form \"XXXXX/region/domain\"",
|
|
"type": "string"
|
|
},
|
|
"partnerAsn": {
|
|
"description": "Optional BGP ASN for the router that should be supplied by a layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"partnerMetadata": {
|
|
"$ref": "InterconnectAttachmentPartnerMetadata",
|
|
"description": "Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED."
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "[Output Only] The current state of this attachment's functionality.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"DEFUNCT",
|
|
"PARTNER_REQUEST_RECEIVED",
|
|
"PENDING_CUSTOMER",
|
|
"PENDING_PARTNER",
|
|
"STATE_UNSPECIFIED",
|
|
"UNPROVISIONED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"DEDICATED",
|
|
"PARTNER",
|
|
"PARTNER_PROVIDER"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"vlanTag8021q": {
|
|
"description": "The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InterconnectAttachmentPartnerMetadata": {
|
|
"description": "Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.",
|
|
"id": "InterconnectAttachmentPartnerMetadata",
|
|
"properties": {
|
|
"interconnectName": {
|
|
"description": "Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner?s portal. For instance \"Chicago 1\". This value may be validated to match approved Partner values.",
|
|
"type": "string"
|
|
},
|
|
"partnerName": {
|
|
"description": "Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.",
|
|
"type": "string"
|
|
},
|
|
"portalUrl": {
|
|
"description": "URL of the Partner?s portal for this Attachment. Partners may customise this to be a deep-link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"InterconnectDiagnostics": {
|
|
"description": "Diagnostics information about interconnect, contains detailed and current technical information about Google?s side of the connection.",
|
|
"id": "InterconnectDiagnostics",
|
|
"properties": {
|
|
"arpCaches": {
|
|
"description": "A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.",
|
|
"items": {
|
|
"$ref": "InterconnectDiagnosticsARPEntry"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"links": {
|
|
"description": "A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.",
|
|
"items": {
|
|
"$ref": "InterconnectDiagnosticsLinkStatus"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"macAddress": {
|
|
"description": "The MAC address of the Interconnect's bundle interface.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectDiagnosticsARPEntry": {
|
|
"description": "Describing the ARP neighbor entries seen on this link",
|
|
"id": "InterconnectDiagnosticsARPEntry",
|
|
"properties": {
|
|
"ipAddress": {
|
|
"description": "The IP address of this ARP neighbor.",
|
|
"type": "string"
|
|
},
|
|
"macAddress": {
|
|
"description": "The MAC address of this ARP neighbor.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectDiagnosticsLinkLACPStatus": {
|
|
"id": "InterconnectDiagnosticsLinkLACPStatus",
|
|
"properties": {
|
|
"googleSystemId": {
|
|
"description": "System ID of the port on Google?s side of the LACP exchange.",
|
|
"type": "string"
|
|
},
|
|
"neighborSystemId": {
|
|
"description": "System ID of the port on the neighbor?s side of the LACP exchange.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"enum": [
|
|
"ACTIVE",
|
|
"DETACHED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectDiagnosticsLinkOpticalPower": {
|
|
"id": "InterconnectDiagnosticsLinkOpticalPower",
|
|
"properties": {
|
|
"state": {
|
|
"description": "The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: \n- OK: The value has not crossed a warning threshold. \n- LOW_WARNING: The value has crossed below the low warning threshold. \n- HIGH_WARNING: The value has crossed above the high warning threshold. \n- LOW_ALARM: The value has crossed below the low alarm threshold. \n- HIGH_ALARM: The value has crossed above the high alarm threshold.",
|
|
"enum": [
|
|
"HIGH_ALARM",
|
|
"HIGH_WARNING",
|
|
"LOW_ALARM",
|
|
"LOW_WARNING",
|
|
"OK"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.",
|
|
"format": "float",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InterconnectDiagnosticsLinkStatus": {
|
|
"id": "InterconnectDiagnosticsLinkStatus",
|
|
"properties": {
|
|
"arpCaches": {
|
|
"description": "A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled",
|
|
"items": {
|
|
"$ref": "InterconnectDiagnosticsARPEntry"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"circuitId": {
|
|
"description": "The unique ID for this link assigned during turn up by Google.",
|
|
"type": "string"
|
|
},
|
|
"googleDemarc": {
|
|
"description": "The Demarc address assigned by Google and provided in the LoA.",
|
|
"type": "string"
|
|
},
|
|
"lacpStatus": {
|
|
"$ref": "InterconnectDiagnosticsLinkLACPStatus"
|
|
},
|
|
"receivingOpticalPower": {
|
|
"$ref": "InterconnectDiagnosticsLinkOpticalPower",
|
|
"description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level."
|
|
},
|
|
"transmittingOpticalPower": {
|
|
"$ref": "InterconnectDiagnosticsLinkOpticalPower",
|
|
"description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level."
|
|
}
|
|
},
|
|
"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 InterconnectLocation. 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of this InterconnectLocation. If the status is AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation. Otherwise, no new Interconnects may be provisioned.",
|
|
"enum": [
|
|
"AVAILABLE",
|
|
"CLOSED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"InterconnectsGetDiagnosticsResponse": {
|
|
"description": "Response for the InterconnectsGetDiagnosticsRequest.",
|
|
"id": "InterconnectsGetDiagnosticsResponse",
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "InterconnectDiagnostics"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InternalIpAddress": {
|
|
"id": "InternalIpAddress",
|
|
"properties": {
|
|
"cidr": {
|
|
"description": "IP CIDR address or range.",
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "The owner of the internal IP address.",
|
|
"type": "string"
|
|
},
|
|
"purpose": {
|
|
"description": "The purpose of the internal IP address if applicable.",
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "The region of the internal IP address if applicable.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of the internal IP address.",
|
|
"enum": [
|
|
"PEER_RESERVED",
|
|
"PEER_USED",
|
|
"REMOTE_RESERVED",
|
|
"REMOTE_USED",
|
|
"RESERVED",
|
|
"SUBNETWORK",
|
|
"TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"InternalIpOwner": {
|
|
"id": "InternalIpOwner",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "IP CIDR range being owned.",
|
|
"type": "string"
|
|
},
|
|
"owners": {
|
|
"description": "URLs of the IP owners of the IP CIDR range.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"systemOwned": {
|
|
"description": "Whether this IP CIDR range is reserved for system use.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"IpAddressesList": {
|
|
"id": "IpAddressesList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InternalIpAddress resources.",
|
|
"items": {
|
|
"$ref": "InternalIpAddress"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#ipAddressesList",
|
|
"description": "[Output Only] Type of resource. Always compute#ipAddressesList for IP addresses 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"
|
|
},
|
|
"IpOwnerList": {
|
|
"description": "Contains a list of IP owners.",
|
|
"id": "IpOwnerList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of InternalIpOwner resources.",
|
|
"items": {
|
|
"$ref": "InternalIpOwner"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#ipOwnerList",
|
|
"description": "[Output Only] Type of resource. Always compute#ipOwnerList for lists of IP owners.",
|
|
"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"
|
|
},
|
|
"Jwt": {
|
|
"description": "JWT configuration for origin authentication.",
|
|
"id": "Jwt",
|
|
"properties": {
|
|
"audiences": {
|
|
"description": "A JWT containing any of these audiences will be accepted. The service name will be accepted if audiences is empty. Examples: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"issuer": {
|
|
"description": "Identifies the issuer that issued the JWT, which is usually a URL or an email address. Examples: https://securetoken.google.com, 1234567-compute@developer.gserviceaccount.com",
|
|
"type": "string"
|
|
},
|
|
"jwksPublicKeys": {
|
|
"description": "The provider?s public key set to validate the signature of the JWT.",
|
|
"type": "string"
|
|
},
|
|
"jwtHeaders": {
|
|
"description": "jwt_headers and jwt_params define where to extract the JWT from an HTTP request. If no explicit location is specified, the following default locations are tried in order:\n\n1. The Authorization header using the Bearer schema. See `here `_. Example:\n\nAuthorization: Bearer .\n\n2. `access_token` query parameter. See `this `_\n\nMultiple JWTs can be verified for a request. Each JWT has to be extracted from the locations its issuer specified or from the default locations.\n\nThis field is set if JWT is sent in a request header. This field specifies the header name. For example, if `header=x-goog-iap-jwt-assertion`, the header format will be x-goog-iap-jwt-assertion: .",
|
|
"items": {
|
|
"$ref": "JwtHeader"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"jwtParams": {
|
|
"description": "This field is set if JWT is sent in a query parameter. This field specifies the query parameter name. For example, if jwt_params[0] is jwt_token, the JWT format in the query parameter is /path?jwt_token=.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"JwtHeader": {
|
|
"description": "This message specifies a header location to extract JWT token.",
|
|
"id": "JwtHeader",
|
|
"properties": {
|
|
"name": {
|
|
"description": "The HTTP header name.",
|
|
"type": "string"
|
|
},
|
|
"valuePrefix": {
|
|
"description": "The value prefix. The value format is \"value_prefix\" For example, for \"Authorization: Bearer \", value_prefix=\"Bearer \" with a space at the end.",
|
|
"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": "Name of the resource. 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"
|
|
},
|
|
"resourceRequirements": {
|
|
"$ref": "LicenseResourceRequirements"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"LogConfig": {
|
|
"description": "Specifies what kind of log the caller must write",
|
|
"id": "LogConfig",
|
|
"properties": {
|
|
"cloudAudit": {
|
|
"$ref": "LogConfigCloudAuditOptions",
|
|
"description": "Cloud audit options."
|
|
},
|
|
"counter": {
|
|
"$ref": "LogConfigCounterOptions",
|
|
"description": "Counter options."
|
|
},
|
|
"dataAccess": {
|
|
"$ref": "LogConfigDataAccessOptions",
|
|
"description": "Data access options."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LogConfigCloudAuditOptions": {
|
|
"description": "Write a Cloud Audit log",
|
|
"id": "LogConfigCloudAuditOptions",
|
|
"properties": {
|
|
"authorizationLoggingOptions": {
|
|
"$ref": "AuthorizationLoggingOptions",
|
|
"description": "Information used by the Cloud Audit Logging pipeline."
|
|
},
|
|
"logName": {
|
|
"description": "The log_name to populate in the Cloud Audit Record.",
|
|
"enum": [
|
|
"ADMIN_ACTIVITY",
|
|
"DATA_ACCESS",
|
|
"UNSPECIFIED_LOG_NAME"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LogConfigCounterOptions": {
|
|
"description": "Increment a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are their respective values.\n\nSupported field names: - \"authority\", which is \"[token]\" if IAMContext.token is present, otherwise the value of IAMContext.authority_selector if present, and otherwise a representation of IAMContext.principal; or - \"iam_principal\", a representation of IAMContext.principal even if a token or authority selector is present; or - \"\" (empty string), resulting in a counter with no fields.\n\nExamples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==\u003e increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support multiple field names (though this may be supported in the future).",
|
|
"id": "LogConfigCounterOptions",
|
|
"properties": {
|
|
"field": {
|
|
"description": "The field value to attribute.",
|
|
"type": "string"
|
|
},
|
|
"metric": {
|
|
"description": "The metric to update.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LogConfigDataAccessOptions": {
|
|
"description": "Write a Data Access (Gin) log",
|
|
"id": "LogConfigDataAccessOptions",
|
|
"properties": {
|
|
"logMode": {
|
|
"description": "Whether Gin logging should happen in a fail-closed manner at the caller. This is relevant only in the LocalIAM implementation, for now.\n\nNOTE: Logging to Gin in a fail-closed manner is currently unsupported while work is being done to satisfy the requirements of go/345. Currently, setting LOG_FAIL_CLOSED mode will have no effect, but still exists because there is active work being done to support it (b/115874152).",
|
|
"enum": [
|
|
"LOG_FAIL_CLOSED",
|
|
"LOG_MODE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineImage": {
|
|
"description": "Machine image resource.",
|
|
"id": "MachineImage",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] The creation timestamp for this machine image 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 machine image. The server defines this identifier.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#machineImage",
|
|
"description": "[Output Only] The resource type, which is always compute#machineImage for machine image.",
|
|
"type": "string"
|
|
},
|
|
"machineImageEncryptionKey": {
|
|
"$ref": "CustomerEncryptionKey",
|
|
"description": "Encryption key to protect the machine image."
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.machineImages.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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] The URL for this machine image. The server defines this URL.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"sourceInstance": {
|
|
"description": "The source instance used to create the machine image. 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/zones/zone/instances/instance \n- projects/project/zones/zone/instances/instance",
|
|
"type": "string"
|
|
},
|
|
"sourceInstanceProperties": {
|
|
"$ref": "SourceInstanceProperties",
|
|
"description": "Properties of source instance."
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of disk creation.",
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"INVALID",
|
|
"READY",
|
|
"UPLOADING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"storageLocations": {
|
|
"description": "GCS bucket storage location of the snapshot (regional or multi-regional).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MachineImageList": {
|
|
"description": "A list of machine images.",
|
|
"id": "MachineImageList",
|
|
"properties": {
|
|
"etag": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of MachineImage resources.",
|
|
"items": {
|
|
"$ref": "MachineImage"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#machineImageList",
|
|
"description": "[Output Only] The resource type, which is always compute#machineImagesListResponse for machine image 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"
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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": "A Managed Instance resource.",
|
|
"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",
|
|
"VERIFYING"
|
|
],
|
|
"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"
|
|
},
|
|
"instanceHealth": {
|
|
"description": "[Output Only] Health state of the instance per health-check.",
|
|
"items": {
|
|
"$ref": "ManagedInstanceInstanceHealth"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"instanceStatus": {
|
|
"description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.",
|
|
"enum": [
|
|
"PROVISIONING",
|
|
"REPAIRING",
|
|
"RUNNING",
|
|
"STAGING",
|
|
"STOPPED",
|
|
"STOPPING",
|
|
"SUSPENDED",
|
|
"SUSPENDING",
|
|
"TERMINATED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"instanceTemplate": {
|
|
"description": "[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.",
|
|
"type": "string"
|
|
},
|
|
"lastAttempt": {
|
|
"$ref": "ManagedInstanceLastAttempt",
|
|
"description": "[Output Only] Information about the last attempt to create or delete the instance."
|
|
},
|
|
"override": {
|
|
"$ref": "ManagedInstanceOverride",
|
|
"description": "[Output Only] Override defined for this instance."
|
|
},
|
|
"preservedStateFromConfig": {
|
|
"$ref": "PreservedState",
|
|
"description": "[Output Only] Preserved state applied from per-instance config for this instance."
|
|
},
|
|
"preservedStateFromPolicy": {
|
|
"$ref": "PreservedState",
|
|
"description": "[Output Only] Preserved state generated based on stateful policy for this instance."
|
|
},
|
|
"tag": {
|
|
"description": "[Output Only] Tag describing the version.",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"$ref": "ManagedInstanceVersion",
|
|
"description": "[Output Only] Intended version of this instance."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedInstanceInstanceHealth": {
|
|
"id": "ManagedInstanceInstanceHealth",
|
|
"properties": {
|
|
"detailedHealthState": {
|
|
"description": "[Output Only] The current detailed instance health state.",
|
|
"enum": [
|
|
"DRAINING",
|
|
"HEALTHY",
|
|
"TIMEOUT",
|
|
"UNHEALTHY",
|
|
"UNKNOWN"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"healthCheck": {
|
|
"description": "[Output Only] The URL for the health check that verifies whether the instance is healthy.",
|
|
"type": "string"
|
|
},
|
|
"healthState": {
|
|
"description": "[Output Only] The current instance health state.",
|
|
"enum": [
|
|
"HEALTHY",
|
|
"UNHEALTHY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"ManagedInstanceOverride": {
|
|
"description": "Overrides of stateful properties for a given instance",
|
|
"id": "ManagedInstanceOverride",
|
|
"properties": {
|
|
"disks": {
|
|
"description": "Disk overrides defined for this instance. According to documentation the maximum number of disks attached to an instance is 128: https://cloud.google.com/compute/docs/disks/ However, compute API defines the limit at 140, so this is what we check.",
|
|
"items": {
|
|
"$ref": "ManagedInstanceOverrideDiskOverride"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"metadata": {
|
|
"description": "Metadata overrides defined for this instance. TODO(b/69785416) validate the total length is \u003c9 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"
|
|
},
|
|
"origin": {
|
|
"description": "[Output Only] Indicates where does the override come from.",
|
|
"enum": [
|
|
"AUTO_GENERATED",
|
|
"USER_PROVIDED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedInstanceOverrideDiskOverride": {
|
|
"id": "ManagedInstanceOverrideDiskOverride",
|
|
"properties": {
|
|
"deviceName": {
|
|
"description": "The name of the device on the VM",
|
|
"type": "string"
|
|
},
|
|
"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": "The disk that is/will be mounted",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedInstanceVersion": {
|
|
"id": "ManagedInstanceVersion",
|
|
"properties": {
|
|
"instanceTemplate": {
|
|
"description": "[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "[Output Only] Name of the version.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve the resource.",
|
|
"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"
|
|
},
|
|
"MetadataCredentialsFromPlugin": {
|
|
"description": "Custom authenticator credentials.",
|
|
"id": "MetadataCredentialsFromPlugin",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Plugin name.",
|
|
"type": "string"
|
|
},
|
|
"structConfig": {
|
|
"description": "A text proto that conforms to a Struct type definition interpreted by the plugin.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MetadataFilter": {
|
|
"description": "Opaque filter criteria used by loadbalancers to restrict routing configuration to a limited set of loadbalancing proxies. Proxies and sidecars involved in loadbalancing would typically present metadata to the loadbalancers which need to match criteria specified here. If a match takes place, the relevant routing configuration is made available to those proxies.\nFor each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata.\nAn example for using metadataFilters would be: if loadbalancing involves Envoys, they will only receive routing configuration when values in metadataFilters match values supplied in \u003ca href=\"https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/core/base.proto#envoy-api-msg-core-node\" Node metadata of their XDS requests to loadbalancers.",
|
|
"id": "MetadataFilter",
|
|
"properties": {
|
|
"filterLabels": {
|
|
"description": "The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria \nThis list must not be empty and can have at the most 64 entries.",
|
|
"items": {
|
|
"$ref": "MetadataFilterLabelMatch"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"filterMatchCriteria": {
|
|
"description": "Specifies how individual filterLabel matches within the list of filterLabels contribute towards the overall metadataFilter match.\nSupported values are: \n- MATCH_ANY: At least one of the filterLabels must have a matching label in the provided metadata. \n- MATCH_ALL: All filterLabels must have matching labels in the provided metadata.",
|
|
"enum": [
|
|
"MATCH_ALL",
|
|
"MATCH_ANY",
|
|
"NOT_SET"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MetadataFilterLabelMatch": {
|
|
"description": "MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the loadbalancer.",
|
|
"id": "MetadataFilterLabelMatch",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of metadata label.\nThe name can have a maximum length of 1024 characters and must be at least 1 character long.",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "The value of the label must match the specified value.\nvalue can have a maximum length of 1024 characters.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MutualTls": {
|
|
"description": "Configuration for the mutual Tls mode for peer authentication.",
|
|
"id": "MutualTls",
|
|
"properties": {
|
|
"mode": {
|
|
"description": "Specifies if the server TLS is configured to be strict or permissive. This field can be set to one of the following: STRICT: Client certificate must be presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted, connection can be either plaintext or TLS.",
|
|
"enum": [
|
|
"INVALID",
|
|
"PERMISSIVE",
|
|
"STRICT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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 Virtual Private Cloud (VPC) Network Overview for more information. (== resource_for v1.networks ==) (== resource_for beta.networks ==)",
|
|
"id": "Network",
|
|
"properties": {
|
|
"IPv4Range": {
|
|
"description": "Deprecated in favor of subnet mode networks. 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 VPC network is created in \"auto\" mode. When set to false, the VPC network is created in \"custom\" mode.\n\nAn auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.",
|
|
"type": "boolean"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"crossVmEncryption": {
|
|
"description": "[Output Only] Type of VM-to-VM traffic encryption for this network.",
|
|
"enum": [
|
|
"ENCRYPTED",
|
|
"UNENCRYPTED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"gatewayIPv4": {
|
|
"description": "[Output Only] The gateway address for default routing out of the network. This value is read only and is selected by GCP.",
|
|
"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"
|
|
},
|
|
"loadBalancerVmEncryption": {
|
|
"description": "[Output Only] Type of LB-to-VM traffic encryption for this network.",
|
|
"enum": [
|
|
"ENCRYPTED",
|
|
"UNENCRYPTED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"subnetworks": {
|
|
"description": "[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpoint": {
|
|
"description": "The network endpoint.",
|
|
"id": "NetworkEndpoint",
|
|
"properties": {
|
|
"annotations": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Metadata defined as annotations on the network endpoint.",
|
|
"type": "object"
|
|
},
|
|
"fqdn": {
|
|
"description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.",
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.\n\nThe name must be 1-63 characters long, and comply with RFC1035.",
|
|
"type": "string"
|
|
},
|
|
"ipAddress": {
|
|
"description": "Optional IPv4 address of network endpoint. The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.",
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"description": "Optional port number of network endpoint. If not specified and the NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for the network endpoint group will be used.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroup": {
|
|
"description": "Represents a collection of network endpoints.",
|
|
"id": "NetworkEndpointGroup",
|
|
"properties": {
|
|
"annotations": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Metadata defined as annotations on the network endpoint group.",
|
|
"type": "object"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"defaultPort": {
|
|
"description": "The default port used if the port number is not specified in the network endpoint.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"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#networkEndpointGroup",
|
|
"description": "[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.",
|
|
"type": "string"
|
|
},
|
|
"loadBalancer": {
|
|
"$ref": "NetworkEndpointGroupLbNetworkEndpointGroup",
|
|
"description": "This field is only valid when the network endpoint group is used for load balancing. [Deprecated] This field is deprecated."
|
|
},
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"network": {
|
|
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses \"default\" project network if unspecified.",
|
|
"type": "string"
|
|
},
|
|
"networkEndpointType": {
|
|
"description": "Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.",
|
|
"enum": [
|
|
"GCE_VM_IP_PORT",
|
|
"INTERNET_FQDN_PORT",
|
|
"INTERNET_IP_PORT",
|
|
"NON_GCP_PRIVATE_IP_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "[Output only] Number of network endpoints in the network endpoint group.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Optional URL of the subnetwork to which all network endpoints in the NEG belong.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Specify the type of this network endpoint group. Only LOAD_BALANCING is valid for now.",
|
|
"enum": [
|
|
"LOAD_BALANCING"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The URL of the zone where the network endpoint group is located.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroupAggregatedList": {
|
|
"id": "NetworkEndpointGroupAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "NetworkEndpointGroupsScopedList",
|
|
"description": "The name of the scope that contains this set of network endpoint groups."
|
|
},
|
|
"description": "A list of NetworkEndpointGroupsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#networkEndpointGroupAggregatedList",
|
|
"description": "[Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint 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"
|
|
},
|
|
"NetworkEndpointGroupLbNetworkEndpointGroup": {
|
|
"description": "Load balancing specific fields for network endpoint group.",
|
|
"id": "NetworkEndpointGroupLbNetworkEndpointGroup",
|
|
"properties": {
|
|
"defaultPort": {
|
|
"description": "The default port used if the port number is not specified in the network endpoint. [Deprecated] This field is deprecated.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"network": {
|
|
"description": "The URL of the network to which all network endpoints in the NEG belong. Uses \"default\" project network if unspecified. [Deprecated] This field is deprecated.",
|
|
"type": "string"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Optional URL of the subnetwork to which all network endpoints in the NEG belong. [Deprecated] This field is deprecated.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The URL of the zone where the network endpoint group is located. [Deprecated] This field is deprecated.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroupList": {
|
|
"id": "NetworkEndpointGroupList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NetworkEndpointGroup resources.",
|
|
"items": {
|
|
"$ref": "NetworkEndpointGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#networkEndpointGroupList",
|
|
"description": "[Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint 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"
|
|
},
|
|
"NetworkEndpointGroupsAttachEndpointsRequest": {
|
|
"id": "NetworkEndpointGroupsAttachEndpointsRequest",
|
|
"properties": {
|
|
"networkEndpoints": {
|
|
"description": "The list of network endpoints to be attached.",
|
|
"items": {
|
|
"$ref": "NetworkEndpoint"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroupsDetachEndpointsRequest": {
|
|
"id": "NetworkEndpointGroupsDetachEndpointsRequest",
|
|
"properties": {
|
|
"networkEndpoints": {
|
|
"description": "The list of network endpoints to be detached.",
|
|
"items": {
|
|
"$ref": "NetworkEndpoint"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroupsListEndpointsRequest": {
|
|
"id": "NetworkEndpointGroupsListEndpointsRequest",
|
|
"properties": {
|
|
"healthStatus": {
|
|
"description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, the health status of network endpoints will not be provided.",
|
|
"enum": [
|
|
"SHOW",
|
|
"SKIP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkEndpointGroupsListNetworkEndpoints": {
|
|
"id": "NetworkEndpointGroupsListNetworkEndpoints",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NetworkEndpointWithHealthStatus resources.",
|
|
"items": {
|
|
"$ref": "NetworkEndpointWithHealthStatus"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#networkEndpointGroupsListNetworkEndpoints",
|
|
"description": "[Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint 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"
|
|
},
|
|
"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"
|
|
},
|
|
"NetworkEndpointGroupsScopedList": {
|
|
"id": "NetworkEndpointGroupsScopedList",
|
|
"properties": {
|
|
"networkEndpointGroups": {
|
|
"description": "[Output Only] The list of network endpoint groups that are contained in this scope.",
|
|
"items": {
|
|
"$ref": "NetworkEndpointGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that replaces the list of network endpoint 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"
|
|
},
|
|
"NetworkEndpointWithHealthStatus": {
|
|
"id": "NetworkEndpointWithHealthStatus",
|
|
"properties": {
|
|
"healths": {
|
|
"description": "[Output only] The health status of network endpoint;",
|
|
"items": {
|
|
"$ref": "HealthStatusForNetworkEndpoint"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"networkEndpoint": {
|
|
"$ref": "NetworkEndpoint",
|
|
"description": "[Output only] The network endpoint;"
|
|
}
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"ipv6Address": {
|
|
"description": "[Output Only] An IPv6 internal network address for this network interface.",
|
|
"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": {
|
|
"advertisePeerSubnetsViaRouters": {
|
|
"description": "Whether Cloud Routers in this network can automatically advertise subnets from the peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"autoCreateRoutes": {
|
|
"description": "This field will be deprecated soon. Prefer using exchange_subnet_routes instead. Indicates 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"
|
|
},
|
|
"exchangeSubnetRoutes": {
|
|
"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 peering state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"exportCustomRoutes": {
|
|
"description": "Whether to export the custom routes to peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"exportSubnetRoutesWithPublicIp": {
|
|
"description": "Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.",
|
|
"type": "boolean"
|
|
},
|
|
"importCustomRoutes": {
|
|
"description": "Whether to import the custom routes from peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"importSubnetRoutesWithPublicIp": {
|
|
"description": "Whether subnet routes with public IP range are imported. The default value is false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported from peers and are not controlled by this field.",
|
|
"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 subnets of this network in the same region as the router. If set to GLOBAL, this network's cloud routers will advertise routes with all subnets of this network, across regions.",
|
|
"enum": [
|
|
"GLOBAL",
|
|
"REGIONAL"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworksAddPeeringRequest": {
|
|
"id": "NetworksAddPeeringRequest",
|
|
"properties": {
|
|
"autoCreateRoutes": {
|
|
"description": "This field will be deprecated soon. Prefer using exchange_subnet_routes in network_peering instead. Whether Google Compute Engine manages the routes automatically.",
|
|
"type": "boolean"
|
|
},
|
|
"exportCustomRoutes": {
|
|
"description": "This field will be deprecated soon. Prefer using export_custom_routes in network_peering instead. Whether to export the custom routes to peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"importCustomRoutes": {
|
|
"description": "This field will be deprecated soon. Prefer using import_custom_routes in network_peering instead. Whether to import the custom routes from peer network.",
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.networks.addPeering"
|
|
]
|
|
},
|
|
"description": "Name of the peering, which should conform to RFC1035.",
|
|
"type": "string"
|
|
},
|
|
"networkPeering": {
|
|
"$ref": "NetworkPeering",
|
|
"description": "Network peering parameters. In order to specify route policies for peering using import/export custom routes, you will have to fill all peering related parameters (name, peer network, exchange_subnet_routes) in network_peeringfield. Corresponding fields in NetworksAddPeeringRequest will be deprecated soon."
|
|
},
|
|
"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"
|
|
},
|
|
"NetworksUpdatePeeringRequest": {
|
|
"id": "NetworksUpdatePeeringRequest",
|
|
"properties": {
|
|
"networkPeering": {
|
|
"$ref": "NetworkPeering"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroup": {
|
|
"description": "A NodeGroup resource. (== resource_for beta.nodeGroups ==) (== resource_for v1.nodeGroups ==)",
|
|
"id": "NodeGroup",
|
|
"properties": {
|
|
"autoscalingPolicy": {
|
|
"$ref": "NodeGroupAutoscalingPolicy"
|
|
},
|
|
"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#nodeGroup",
|
|
"description": "[Output Only] The type of the resource. Always compute#nodeGroup for node group.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"nodeTemplate": {
|
|
"description": "The URL of the node template to which this node group belongs.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "[Output Only] The total number of nodes in the node group.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"status": {
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"INVALID",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The name of the zone where the node group resides, such as us-central1-a.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupAggregatedList": {
|
|
"id": "NodeGroupAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "NodeGroupsScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of node groups."
|
|
},
|
|
"description": "A list of NodeGroupsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeGroupAggregatedList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of node 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"
|
|
},
|
|
"NodeGroupAutoscalingPolicy": {
|
|
"id": "NodeGroupAutoscalingPolicy",
|
|
"properties": {
|
|
"maxSize": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"minSize": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupList": {
|
|
"description": "Contains a list of nodeGroups.",
|
|
"id": "NodeGroupList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NodeGroup resources.",
|
|
"items": {
|
|
"$ref": "NodeGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeGroupList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeGroupList for lists of node 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"
|
|
},
|
|
"NodeGroupNode": {
|
|
"id": "NodeGroupNode",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "Instances scheduled on this node.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"description": "The name of the node.",
|
|
"type": "string"
|
|
},
|
|
"nodeType": {
|
|
"description": "The type of this node.",
|
|
"type": "string"
|
|
},
|
|
"serverBinding": {
|
|
"$ref": "ServerBinding",
|
|
"description": "Binding properties for the physical server."
|
|
},
|
|
"status": {
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"INVALID",
|
|
"READY",
|
|
"REPAIRING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupsAddNodesRequest": {
|
|
"id": "NodeGroupsAddNodesRequest",
|
|
"properties": {
|
|
"additionalNodeCount": {
|
|
"description": "Count of additional nodes to be added to the node group.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupsDeleteNodesRequest": {
|
|
"id": "NodeGroupsDeleteNodesRequest",
|
|
"properties": {
|
|
"nodes": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupsListNodes": {
|
|
"id": "NodeGroupsListNodes",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of Node resources.",
|
|
"items": {
|
|
"$ref": "NodeGroupNode"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeGroupsListNodes",
|
|
"description": "[Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of nodes in the specified node 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"
|
|
},
|
|
"NodeGroupsScopedList": {
|
|
"id": "NodeGroupsScopedList",
|
|
"properties": {
|
|
"nodeGroups": {
|
|
"description": "[Output Only] A list of node groups contained in this scope.",
|
|
"items": {
|
|
"$ref": "NodeGroup"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that appears when the nodeGroup 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"
|
|
},
|
|
"NodeGroupsSetAutoscalingPolicyRequest": {
|
|
"id": "NodeGroupsSetAutoscalingPolicyRequest",
|
|
"properties": {
|
|
"autoscalingPolicy": {
|
|
"$ref": "NodeGroupAutoscalingPolicy"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeGroupsSetNodeTemplateRequest": {
|
|
"id": "NodeGroupsSetNodeTemplateRequest",
|
|
"properties": {
|
|
"nodeTemplate": {
|
|
"description": "Full or partial URL of the node template resource to be updated for this node group.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeTemplate": {
|
|
"description": "A Node Template resource.",
|
|
"id": "NodeTemplate",
|
|
"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#nodeTemplate",
|
|
"description": "[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"nodeAffinityLabels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to use for node affinity, which will be used in instance scheduling.",
|
|
"type": "object"
|
|
},
|
|
"nodeType": {
|
|
"description": "The node type to use for nodes group that are created from this template.",
|
|
"type": "string"
|
|
},
|
|
"nodeTypeFlexibility": {
|
|
"$ref": "NodeTemplateNodeTypeFlexibility",
|
|
"description": "The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties.\n\nThis field is mutually exclusive with the node_type property; you can only define one or the other, but not both."
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] The name of the region where the node template resides, such as us-central1.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"serverBinding": {
|
|
"$ref": "ServerBinding",
|
|
"description": "Binding properties for the physical server."
|
|
},
|
|
"status": {
|
|
"description": "[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.",
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"INVALID",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"statusMessage": {
|
|
"description": "[Output Only] An optional, human-readable explanation of the status.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeTemplateAggregatedList": {
|
|
"id": "NodeTemplateAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "NodeTemplatesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of node templates."
|
|
},
|
|
"description": "A list of NodeTemplatesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeTemplateAggregatedList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists of node templates.",
|
|
"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"
|
|
},
|
|
"NodeTemplateList": {
|
|
"description": "Contains a list of node templates.",
|
|
"id": "NodeTemplateList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NodeTemplate resources.",
|
|
"items": {
|
|
"$ref": "NodeTemplate"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeTemplateList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates.",
|
|
"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"
|
|
},
|
|
"NodeTemplateNodeTypeFlexibility": {
|
|
"id": "NodeTemplateNodeTypeFlexibility",
|
|
"properties": {
|
|
"cpus": {
|
|
"type": "string"
|
|
},
|
|
"localSsd": {
|
|
"type": "string"
|
|
},
|
|
"memory": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeTemplatesScopedList": {
|
|
"id": "NodeTemplatesScopedList",
|
|
"properties": {
|
|
"nodeTemplates": {
|
|
"description": "[Output Only] A list of node templates contained in this scope.",
|
|
"items": {
|
|
"$ref": "NodeTemplate"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that appears when the node templates 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"
|
|
},
|
|
"NodeType": {
|
|
"description": "A Node Type resource.",
|
|
"id": "NodeType",
|
|
"properties": {
|
|
"cpuPlatform": {
|
|
"description": "[Output Only] The CPU platform used by this node type.",
|
|
"type": "string"
|
|
},
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"deprecated": {
|
|
"$ref": "DeprecationStatus",
|
|
"description": "[Output Only] The deprecation status associated with this node 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 node type.",
|
|
"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"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeType",
|
|
"description": "[Output Only] The type of the resource. Always compute#nodeType for node types.",
|
|
"type": "string"
|
|
},
|
|
"localSsdGb": {
|
|
"description": "[Output Only] Local SSD available to the node type, defined in GB.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"memoryMb": {
|
|
"description": "[Output Only] The amount of physical memory available to the node type, 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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"zone": {
|
|
"description": "[Output Only] The name of the zone where the node type resides, such as us-central1-a.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NodeTypeAggregatedList": {
|
|
"id": "NodeTypeAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "NodeTypesScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of node types."
|
|
},
|
|
"description": "A list of NodeTypesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeTypeAggregatedList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of node 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"
|
|
},
|
|
"NodeTypeList": {
|
|
"description": "Contains a list of node types.",
|
|
"id": "NodeTypeList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NodeType resources.",
|
|
"items": {
|
|
"$ref": "NodeType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#nodeTypeList",
|
|
"description": "[Output Only] Type of resource.Always compute#nodeTypeList for lists of node 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"
|
|
},
|
|
"NodeTypesScopedList": {
|
|
"id": "NodeTypesScopedList",
|
|
"properties": {
|
|
"nodeTypes": {
|
|
"description": "[Output Only] A list of node types contained in this scope.",
|
|
"items": {
|
|
"$ref": "NodeType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "[Output Only] An informational warning that appears when the node 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"
|
|
},
|
|
"NotificationEndpoint": {
|
|
"description": "A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.",
|
|
"id": "NotificationEndpoint",
|
|
"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"
|
|
},
|
|
"grpcSettings": {
|
|
"$ref": "NotificationEndpointGrpcSettings",
|
|
"description": "Settings of the gRPC notification endpoint including the endpoint URL and the retry duration."
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#notificationEndpoint",
|
|
"description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.",
|
|
"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 notification endpoint resides. This field applies only to the regional resource. 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"
|
|
},
|
|
"NotificationEndpointGrpcSettings": {
|
|
"description": "Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.",
|
|
"id": "NotificationEndpointGrpcSettings",
|
|
"properties": {
|
|
"authority": {
|
|
"description": "Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3",
|
|
"type": "string"
|
|
},
|
|
"endpoint": {
|
|
"description": "Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.",
|
|
"type": "string"
|
|
},
|
|
"payloadName": {
|
|
"description": "Optional. If specified, this field is used to populate the ?name? field in gRPC requests.",
|
|
"type": "string"
|
|
},
|
|
"retryDurationSec": {
|
|
"description": "How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NotificationEndpointList": {
|
|
"id": "NotificationEndpointList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of NotificationEndpoint resources.",
|
|
"items": {
|
|
"$ref": "NotificationEndpoint"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#notificationEndpointList",
|
|
"description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.",
|
|
"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"
|
|
},
|
|
"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] The value of `requestId` if you provided it in the request. Not present otherwise.",
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"OrganizationSecurityPoliciesListAssociationsResponse": {
|
|
"id": "OrganizationSecurityPoliciesListAssociationsResponse",
|
|
"properties": {
|
|
"associations": {
|
|
"description": "A list of associations.",
|
|
"items": {
|
|
"$ref": "SecurityPolicyAssociation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#organizationSecurityPoliciesListAssociationsResponse",
|
|
"description": "[Output Only] Type of securityPolicy associations. Always compute#organizationSecurityPoliciesListAssociations for lists of securityPolicy associations.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OriginAuthenticationMethod": {
|
|
"description": "Configuration for the origin authentication method.",
|
|
"id": "OriginAuthenticationMethod",
|
|
"properties": {
|
|
"jwt": {
|
|
"$ref": "Jwt"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OutlierDetection": {
|
|
"description": "Settings controlling eviction of unhealthy hosts from the load balancing pool.",
|
|
"id": "OutlierDetection",
|
|
"properties": {
|
|
"baseEjectionTime": {
|
|
"$ref": "Duration",
|
|
"description": "The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s."
|
|
},
|
|
"consecutiveErrors": {
|
|
"description": "Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"consecutiveGatewayFailure": {
|
|
"description": "The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 5.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"enforcingConsecutiveErrors": {
|
|
"description": "The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"enforcingConsecutiveGatewayFailure": {
|
|
"description": "The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"enforcingSuccessRate": {
|
|
"description": "The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"interval": {
|
|
"$ref": "Duration",
|
|
"description": "Time interval between ejection sweep analysis. This can result in both new ejections as well as hosts being returned to service. Defaults to 10 seconds."
|
|
},
|
|
"maxEjectionPercent": {
|
|
"description": "Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 10%.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"successRateMinimumHosts": {
|
|
"description": "The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"successRateRequestVolume": {
|
|
"description": "The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"successRateStdevFactor": {
|
|
"description": "This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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": {
|
|
"defaultRouteAction": {
|
|
"$ref": "HttpRouteAction",
|
|
"description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
|
|
},
|
|
"defaultService": {
|
|
"description": "The full or partial URL to the BackendService resource. This will be used if none of the pathRules or routeRules defined by this PathMatcher are matched. 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 If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.\nAuthorization requires one or more of the following Google IAM permissions on the specified resource default_service: \n- compute.backendBuckets.use \n- compute.backendServices.use",
|
|
"type": "string"
|
|
},
|
|
"defaultUrlRedirect": {
|
|
"$ref": "HttpRedirectAction",
|
|
"description": "When when none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect.\nIf defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set."
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"headerAction": {
|
|
"$ref": "HttpHeaderAction",
|
|
"description": "Specifies changes to request and response headers that need to take effect for the selected backendService.\nHeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap"
|
|
},
|
|
"name": {
|
|
"description": "The name to which this PathMatcher is referred by the HostRule.",
|
|
"type": "string"
|
|
},
|
|
"pathRules": {
|
|
"description": "The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis.\nFor example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list.\nOnly one of pathRules or routeRules must be set.",
|
|
"items": {
|
|
"$ref": "PathRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"routeRules": {
|
|
"description": "The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect.\nOnly one of pathRules or routeRules must be set.",
|
|
"items": {
|
|
"$ref": "HttpRouteRule"
|
|
},
|
|
"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"
|
|
},
|
|
"routeAction": {
|
|
"$ref": "HttpRouteAction",
|
|
"description": "In response to a matching path, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices.\nOnly one of routeAction or urlRedirect must be set."
|
|
},
|
|
"service": {
|
|
"description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendService s. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of urlRedirect, service or routeAction.weightedBackendService must be set.",
|
|
"type": "string"
|
|
},
|
|
"urlRedirect": {
|
|
"$ref": "HttpRedirectAction",
|
|
"description": "When a path pattern is matched, the request is redirected to a URL specified by urlRedirect.\nIf urlRedirect is specified, service or routeAction must not be set."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PeerAuthenticationMethod": {
|
|
"description": "Configuration for the peer authentication method.",
|
|
"id": "PeerAuthenticationMethod",
|
|
"properties": {
|
|
"mtls": {
|
|
"$ref": "MutualTls",
|
|
"description": "Set if mTLS is used for peer authentication."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PerInstanceConfig": {
|
|
"id": "PerInstanceConfig",
|
|
"properties": {
|
|
"fingerprint": {
|
|
"description": "Fingerprint of this per-instance config. This field may be used in optimistic locking. It will be ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance config or the field needs to be unset.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"instance": {
|
|
"description": "The URL of the instance. Serves as a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance config with the same instance URL exists then it will be updated, otherwise a new one will be created.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the per-instance config and the corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance config with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance config for a VM instance that either doesn't exist or is not part of the group will result in a failure.",
|
|
"type": "string"
|
|
},
|
|
"override": {
|
|
"$ref": "ManagedInstanceOverride"
|
|
},
|
|
"preservedState": {
|
|
"$ref": "PreservedState",
|
|
"description": "Intended preserved state for the given instance. Does not contain state generated based on Stateful Policy."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Permission": {
|
|
"description": "All fields defined in a permission are ANDed.",
|
|
"id": "Permission",
|
|
"properties": {
|
|
"constraints": {
|
|
"description": "Extra custom constraints. The constraints are ANDed together.",
|
|
"items": {
|
|
"$ref": "PermissionConstraint"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"hosts": {
|
|
"description": "Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"methods": {
|
|
"description": "HTTP method.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notHosts": {
|
|
"description": "Negate of hosts. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notMethods": {
|
|
"description": "Negate of methods. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notPaths": {
|
|
"description": "Negate of paths. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notPorts": {
|
|
"description": "Negate of ports. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"paths": {
|
|
"description": "HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ports": {
|
|
"description": "Port names or numbers.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PermissionConstraint": {
|
|
"description": "Custom constraint that specifies a key and a list of allowed values for Istio attributes.",
|
|
"id": "PermissionConstraint",
|
|
"properties": {
|
|
"key": {
|
|
"description": "Key of the constraint.",
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "A list of allowed values.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Policy": {
|
|
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.\n\n\n\nA `Policy` consists of a list of `bindings`. A `binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.\n\n**JSON Example**\n\n{ \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] }\n\n**YAML Example**\n\nbindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com role: roles/owner - members: - user:sean@example.com role: roles/viewer\n\n\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam/docs).",
|
|
"id": "Policy",
|
|
"properties": {
|
|
"auditConfigs": {
|
|
"description": "Specifies cloud audit logging configuration for this policy.",
|
|
"items": {
|
|
"$ref": "AuditConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"bindings": {
|
|
"description": "Associates a list of `members` to a `role`. `bindings` with no members will result in an error.",
|
|
"items": {
|
|
"$ref": "Binding"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"etag": {
|
|
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"iamOwned": {
|
|
"description": "",
|
|
"type": "boolean"
|
|
},
|
|
"rules": {
|
|
"description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.",
|
|
"items": {
|
|
"$ref": "Rule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"version": {
|
|
"description": "Deprecated.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PreconfiguredWafSet": {
|
|
"id": "PreconfiguredWafSet",
|
|
"properties": {
|
|
"expressionSets": {
|
|
"description": "List of entities that are currently supported for WAF rules.",
|
|
"items": {
|
|
"$ref": "WafExpressionSet"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PreservedState": {
|
|
"description": "Preserved state for a given instance.",
|
|
"id": "PreservedState",
|
|
"properties": {
|
|
"disks": {
|
|
"additionalProperties": {
|
|
"$ref": "PreservedStatePreservedDisk"
|
|
},
|
|
"description": "Preserved disks defined for this instance. This map is keyed with the device names of the disks.",
|
|
"type": "object"
|
|
},
|
|
"metadata": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Preserved metadata defined for this instance.",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PreservedStatePreservedDisk": {
|
|
"id": "PreservedStatePreservedDisk",
|
|
"properties": {
|
|
"autoDelete": {
|
|
"description": "These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.",
|
|
"enum": [
|
|
"NEVER",
|
|
"WHEN_NOT_IN_USE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"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": "The URL of the disk resource that is stateful and should be attached to the VM instance.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Principal": {
|
|
"description": "All fields defined in a principal are ANDed.",
|
|
"id": "Principal",
|
|
"properties": {
|
|
"condition": {
|
|
"description": "An expression to specify custom condition.",
|
|
"type": "string"
|
|
},
|
|
"groups": {
|
|
"description": "The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"ips": {
|
|
"description": "IPv4 or IPv6 address or range (In CIDR format)",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"namespaces": {
|
|
"description": "The namespaces. Exact match, prefix match, and suffix match are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notGroups": {
|
|
"description": "Negate of groups. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notIps": {
|
|
"description": "Negate of IPs. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notNamespaces": {
|
|
"description": "Negate of namespaces. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notUsers": {
|
|
"description": "Negate of users. Specifies exclusions.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"properties": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, `request.headers[version]: ?v1?`. The properties are ANDed together.",
|
|
"type": "object"
|
|
},
|
|
"users": {
|
|
"description": "The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"defaultNetworkTier": {
|
|
"description": "This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.",
|
|
"enum": [
|
|
"PREMIUM",
|
|
"SELECT",
|
|
"STANDARD"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"ProjectsSetDefaultNetworkTierRequest": {
|
|
"id": "ProjectsSetDefaultNetworkTierRequest",
|
|
"properties": {
|
|
"networkTier": {
|
|
"description": "Default network tier to be set.",
|
|
"enum": [
|
|
"PREMIUM",
|
|
"SELECT",
|
|
"STANDARD"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProjectsSetDefaultServiceAccountRequest": {
|
|
"id": "ProjectsSetDefaultServiceAccountRequest",
|
|
"properties": {
|
|
"email": {
|
|
"description": "Email address of the service account.",
|
|
"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": [
|
|
"ALIASES_PER_NETWORK_GLOBAL",
|
|
"AMD_S9300_GPUS",
|
|
"AUTOSCALERS",
|
|
"BACKEND_BUCKETS",
|
|
"BACKEND_SERVICES",
|
|
"COMMITMENTS",
|
|
"CPUS",
|
|
"CPUS_ALL_REGIONS",
|
|
"DISKS_TOTAL_GB",
|
|
"EXTERNAL_VPN_GATEWAYS",
|
|
"FIREWALLS",
|
|
"FORWARDING_RULES",
|
|
"GLOBAL_INTERNAL_ADDRESSES",
|
|
"GPUS_ALL_REGIONS",
|
|
"HEALTH_CHECKS",
|
|
"IMAGES",
|
|
"INSTANCES",
|
|
"INSTANCES_PER_NETWORK_GLOBAL",
|
|
"INSTANCE_GROUPS",
|
|
"INSTANCE_GROUP_MANAGERS",
|
|
"INSTANCE_TEMPLATES",
|
|
"INTERCONNECTS",
|
|
"INTERCONNECT_ATTACHMENTS_PER_REGION",
|
|
"INTERCONNECT_ATTACHMENTS_TOTAL_MBPS",
|
|
"INTERNAL_ADDRESSES",
|
|
"INTERNAL_FORWARDING_RULES_PER_NETWORK",
|
|
"INTERNAL_FORWARDING_RULES_WITH_GLOBAL_ACCESS_PER_NETWORK",
|
|
"INTERNAL_FORWARDING_RULES_WITH_TARGET_INSTANCE_PER_NETWORK",
|
|
"INTERNAL_TARGET_INSTANCE_WITH_GLOBAL_ACCESS_PER_NETWORK",
|
|
"IN_USE_ADDRESSES",
|
|
"IN_USE_BACKUP_SCHEDULES",
|
|
"IN_USE_MAINTENANCE_WINDOWS",
|
|
"IN_USE_SNAPSHOT_SCHEDULES",
|
|
"LOCAL_SSD_TOTAL_GB",
|
|
"MACHINE_IMAGES",
|
|
"NETWORKS",
|
|
"NETWORK_ENDPOINT_GROUPS",
|
|
"NVIDIA_K80_GPUS",
|
|
"NVIDIA_P100_GPUS",
|
|
"NVIDIA_P100_VWS_GPUS",
|
|
"NVIDIA_P4_GPUS",
|
|
"NVIDIA_P4_VWS_GPUS",
|
|
"NVIDIA_T4_GPUS",
|
|
"NVIDIA_T4_VWS_GPUS",
|
|
"NVIDIA_V100_GPUS",
|
|
"PREEMPTIBLE_CPUS",
|
|
"PREEMPTIBLE_LOCAL_SSD_GB",
|
|
"PREEMPTIBLE_NVIDIA_K80_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_P100_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_P100_VWS_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_P4_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_P4_VWS_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_T4_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_T4_VWS_GPUS",
|
|
"PREEMPTIBLE_NVIDIA_V100_GPUS",
|
|
"PRIVATE_V6_ACCESS_SUBNETWORKS",
|
|
"REGIONAL_AUTOSCALERS",
|
|
"REGIONAL_INSTANCE_GROUP_MANAGERS",
|
|
"RESOURCE_POLICIES",
|
|
"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_GATEWAYS",
|
|
"VPN_TUNNELS",
|
|
"XPN_SERVICE_PROJECTS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"owner": {
|
|
"description": "[Output Only] Owning resource. This is the resource on which this quota is applied.",
|
|
"type": "string"
|
|
},
|
|
"usage": {
|
|
"description": "[Output Only] Current usage of this metric.",
|
|
"format": "double",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RbacPolicy": {
|
|
"id": "RbacPolicy",
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the RbacPolicy.",
|
|
"type": "string"
|
|
},
|
|
"permissions": {
|
|
"description": "The list of permissions.",
|
|
"items": {
|
|
"$ref": "Permission"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"principals": {
|
|
"description": "The list of principals.",
|
|
"items": {
|
|
"$ref": "Principal"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"RegionCommitmentsUpdateReservationsRequest": {
|
|
"id": "RegionCommitmentsUpdateReservationsRequest",
|
|
"properties": {
|
|
"reservations": {
|
|
"description": "List of reservations for the capacity move of VMs with accelerators and local ssds.",
|
|
"items": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionDiskTypeList": {
|
|
"id": "RegionDiskTypeList",
|
|
"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#regionDiskTypeList",
|
|
"description": "[Output Only] Type of resource. Always compute#regionDiskTypeList for region 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"
|
|
},
|
|
"RegionDisksAddResourcePoliciesRequest": {
|
|
"id": "RegionDisksAddResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be added to this disk.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionDisksRemoveResourcePoliciesRequest": {
|
|
"id": "RegionDisksRemoveResourcePoliciesRequest",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "Resource policies to be removed from this disk.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionDisksResizeRequest": {
|
|
"id": "RegionDisksResizeRequest",
|
|
"properties": {
|
|
"sizeGb": {
|
|
"description": "The new size of the regional persistent disk, which is specified in GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagerDeleteInstanceConfigReq": {
|
|
"description": "RegionInstanceGroupManagers.deletePerInstanceConfigs",
|
|
"id": "RegionInstanceGroupManagerDeleteInstanceConfigReq",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of instances for which we want to delete per-instance configs on this managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"names": {
|
|
"description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagerPatchInstanceConfigReq": {
|
|
"description": "RegionInstanceGroupManagers.patchPerInstanceConfigs",
|
|
"id": "RegionInstanceGroupManagerPatchInstanceConfigReq",
|
|
"properties": {
|
|
"perInstanceConfigs": {
|
|
"description": "The list of per-instance configs to insert or patch on this managed instance group.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagerUpdateInstanceConfigReq": {
|
|
"description": "RegionInstanceGroupManagers.updatePerInstanceConfigs",
|
|
"id": "RegionInstanceGroupManagerUpdateInstanceConfigReq",
|
|
"properties": {
|
|
"perInstanceConfigs": {
|
|
"description": "The list of per-instance configs to insert or patch on this managed instance group.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagersApplyUpdatesRequest": {
|
|
"description": "InstanceGroupManagers.applyUpdatesToInstances",
|
|
"id": "RegionInstanceGroupManagersApplyUpdatesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "The list of instances for which we want to apply changes on this managed instance group.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"maximalAction": {
|
|
"description": "The maximal action that should be performed on the instances. By default REPLACE. This field is deprecated, please use most_disruptive_allowed_action.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"minimalAction": {
|
|
"description": "The minimal action that should be perfomed on the instances. By default NONE.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"mostDisruptiveAllowedAction": {
|
|
"description": "The most disruptive action that allowed to be performed on the instances. By default REPLACE.",
|
|
"enum": [
|
|
"NONE",
|
|
"REFRESH",
|
|
"REPLACE",
|
|
"RESTART"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionInstanceGroupManagersCreateInstancesRequest": {
|
|
"description": "RegionInstanceGroupManagers.createInstances",
|
|
"id": "RegionInstanceGroupManagersCreateInstancesRequest",
|
|
"properties": {
|
|
"instances": {
|
|
"description": "[Required] List of specifications of per-instance configs.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagersListInstanceConfigsResp": {
|
|
"id": "RegionInstanceGroupManagersListInstanceConfigsResp",
|
|
"properties": {
|
|
"items": {
|
|
"description": "[Output Only] The list of PerInstanceConfig.",
|
|
"items": {
|
|
"$ref": "PerInstanceConfig"
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagersListInstancesResponse": {
|
|
"id": "RegionInstanceGroupManagersListInstancesResponse",
|
|
"properties": {
|
|
"managedInstances": {
|
|
"description": "A list of managed instances.",
|
|
"items": {
|
|
"$ref": "ManagedInstance"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"RegionInstanceGroupManagersSetAutoHealingRequest": {
|
|
"id": "RegionInstanceGroupManagersSetAutoHealingRequest",
|
|
"properties": {
|
|
"autoHealingPolicies": {
|
|
"items": {
|
|
"$ref": "InstanceGroupManagerAutoHealingPolicy"
|
|
},
|
|
"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"
|
|
},
|
|
"RegionSetLabelsRequest": {
|
|
"id": "RegionSetLabelsRequest",
|
|
"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"
|
|
},
|
|
"RegionSetPolicyRequest": {
|
|
"id": "RegionSetPolicyRequest",
|
|
"properties": {
|
|
"bindings": {
|
|
"description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
|
"items": {
|
|
"$ref": "Binding"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"etag": {
|
|
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"policy": {
|
|
"$ref": "Policy",
|
|
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegionTargetHttpsProxiesSetSslCertificatesRequest": {
|
|
"id": "RegionTargetHttpsProxiesSetSslCertificatesRequest",
|
|
"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"
|
|
},
|
|
"RegionUrlMapsValidateRequest": {
|
|
"id": "RegionUrlMapsValidateRequest",
|
|
"properties": {
|
|
"resource": {
|
|
"$ref": "UrlMap",
|
|
"description": "Content of the UrlMap to be validated."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RequestMirrorPolicy": {
|
|
"description": "A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / authority header is suffixed with -shadow.",
|
|
"id": "RequestMirrorPolicy",
|
|
"properties": {
|
|
"backendService": {
|
|
"description": "The full or partial URL to the BackendService resource being mirrored to.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Reservation": {
|
|
"description": "Reservation resource",
|
|
"id": "Reservation",
|
|
"properties": {
|
|
"commitment": {
|
|
"description": "[OutputOnly] Full or partial url for parent commitment for reservations which are tied to a commitment.",
|
|
"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#reservation",
|
|
"description": "[Output Only] Type of the resource. Always compute#reservations for reservations.",
|
|
"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"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined fully-qualified URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"specificReservation": {
|
|
"$ref": "AllocationSpecificSKUReservation",
|
|
"description": "Reservation for instances with specific machine shapes."
|
|
},
|
|
"specificReservationRequired": {
|
|
"description": "Indicates whether the reservation can be consumed by VMs with \"any reservation\" defined. If the field is set, then only VMs that target the reservation by name using --reservation-affinity can consume this reservation.",
|
|
"type": "boolean"
|
|
},
|
|
"zone": {
|
|
"description": "Zone in which the reservation resides, must be provided if reservation is created with commitment creation.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ReservationAffinity": {
|
|
"description": "AllocationAffinity is the configuration of desired allocation which this instance could take capacity from.",
|
|
"id": "ReservationAffinity",
|
|
"properties": {
|
|
"consumeReservationType": {
|
|
"enum": [
|
|
"ANY_RESERVATION",
|
|
"NO_RESERVATION",
|
|
"SPECIFIC_RESERVATION",
|
|
"UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "Corresponds to the label key of reservation resource.",
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "Corresponds to the label values of reservation resource.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ReservationAggregatedList": {
|
|
"description": "Contains a list of reservations.",
|
|
"id": "ReservationAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "ReservationsScopedList",
|
|
"description": "Name of the scope containing this set of reservations."
|
|
},
|
|
"description": "A list of Allocation resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#reservationAggregatedList",
|
|
"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"
|
|
},
|
|
"ReservationList": {
|
|
"id": "ReservationList",
|
|
"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 Allocation resources.",
|
|
"items": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#reservationList",
|
|
"description": "[Output Only] Type of resource.Always compute#reservationsList for listsof reservations",
|
|
"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"
|
|
},
|
|
"ReservationsResizeRequest": {
|
|
"id": "ReservationsResizeRequest",
|
|
"properties": {
|
|
"specificSkuCount": {
|
|
"description": "Number of allocated resources can be resized with minimum = 1 and maximum = 1000.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ReservationsScopedList": {
|
|
"id": "ReservationsScopedList",
|
|
"properties": {
|
|
"reservations": {
|
|
"description": "A list of reservations contained in this scope.",
|
|
"items": {
|
|
"$ref": "Reservation"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of reservations 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"
|
|
},
|
|
"ResourceCommitment": {
|
|
"description": "Commitment for a particular resource (a Commitment is composed of one or more of these).",
|
|
"id": "ResourceCommitment",
|
|
"properties": {
|
|
"acceleratorType": {
|
|
"description": "Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.",
|
|
"type": "string"
|
|
},
|
|
"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": [
|
|
"ACCELERATOR",
|
|
"LOCAL_SSD",
|
|
"MEMORY",
|
|
"UNSPECIFIED",
|
|
"VCPU"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceGroupReference": {
|
|
"id": "ResourceGroupReference",
|
|
"properties": {
|
|
"group": {
|
|
"description": "A URI referencing one of the instance groups or network endpoint groups listed in the backend service.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePoliciesScopedList": {
|
|
"id": "ResourcePoliciesScopedList",
|
|
"properties": {
|
|
"resourcePolicies": {
|
|
"description": "A list of resourcePolicies contained in this scope.",
|
|
"items": {
|
|
"$ref": "ResourcePolicy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"warning": {
|
|
"description": "Informational warning which replaces the list of resourcePolicies 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"
|
|
},
|
|
"ResourcePolicy": {
|
|
"id": "ResourcePolicy",
|
|
"properties": {
|
|
"creationTimestamp": {
|
|
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"groupPlacementPolicy": {
|
|
"$ref": "ResourcePolicyGroupPlacementPolicy",
|
|
"description": "Resource policy for instacnes for placement configuration."
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"format": "uint64",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#resourcePolicy",
|
|
"description": "[Output Only] Type of the resource. Always compute#resource_policies for resource policies.",
|
|
"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"
|
|
},
|
|
"region": {
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined fully-qualified URL for this resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"snapshotSchedulePolicy": {
|
|
"$ref": "ResourcePolicySnapshotSchedulePolicy",
|
|
"description": "Resource policy for persistent disks for creating snapshots."
|
|
},
|
|
"vmMaintenancePolicy": {
|
|
"$ref": "ResourcePolicyVmMaintenancePolicy",
|
|
"description": "Resource policy applicable to VMs for infrastructure maintenance."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyAggregatedList": {
|
|
"description": "Contains a list of resourcePolicies.",
|
|
"id": "ResourcePolicyAggregatedList",
|
|
"properties": {
|
|
"etag": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "ResourcePoliciesScopedList",
|
|
"description": "Name of the scope containing this set of resourcePolicies."
|
|
},
|
|
"description": "A list of ResourcePolicy resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#resourcePolicyAggregatedList",
|
|
"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"
|
|
},
|
|
"ResourcePolicyDailyCycle": {
|
|
"description": "Time window specified for daily operations.",
|
|
"id": "ResourcePolicyDailyCycle",
|
|
"properties": {
|
|
"daysInCycle": {
|
|
"description": "Defines a schedule that runs every nth day of the month.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"duration": {
|
|
"description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.",
|
|
"type": "string"
|
|
},
|
|
"startTime": {
|
|
"description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyGroupPlacementPolicy": {
|
|
"description": "A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality",
|
|
"id": "ResourcePolicyGroupPlacementPolicy",
|
|
"properties": {
|
|
"locality": {
|
|
"description": "Specifies network locality",
|
|
"enum": [
|
|
"BEST_EFFORT",
|
|
"STRICT",
|
|
"UNSPECIFIED_LOCALITY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"style": {
|
|
"description": "Specifies instances to hosts placement relationship",
|
|
"enum": [
|
|
"COMPACT",
|
|
"FULLY_SPREAD",
|
|
"UNSPECIFIED_PLACEMENT_TYPE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"vmCount": {
|
|
"description": "Number of vms in this placement group",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyHourlyCycle": {
|
|
"description": "Time window specified for hourly operations.",
|
|
"id": "ResourcePolicyHourlyCycle",
|
|
"properties": {
|
|
"duration": {
|
|
"description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.",
|
|
"type": "string"
|
|
},
|
|
"hoursInCycle": {
|
|
"description": "Allows to define schedule that runs every nth hour.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"startTime": {
|
|
"description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyList": {
|
|
"id": "ResourcePolicyList",
|
|
"properties": {
|
|
"etag": {
|
|
"type": "string"
|
|
},
|
|
"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 ResourcePolicy resources.",
|
|
"items": {
|
|
"$ref": "ResourcePolicy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#resourcePolicyList",
|
|
"description": "[Output Only] Type of resource.Always compute#resourcePoliciesList for listsof resourcePolicies",
|
|
"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"
|
|
},
|
|
"ResourcePolicySnapshotSchedulePolicy": {
|
|
"description": "A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.",
|
|
"id": "ResourcePolicySnapshotSchedulePolicy",
|
|
"properties": {
|
|
"retentionPolicy": {
|
|
"$ref": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy",
|
|
"description": "Retention policy applied to snapshots created by this resource policy."
|
|
},
|
|
"schedule": {
|
|
"$ref": "ResourcePolicySnapshotSchedulePolicySchedule",
|
|
"description": "A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy."
|
|
},
|
|
"snapshotProperties": {
|
|
"$ref": "ResourcePolicySnapshotSchedulePolicySnapshotProperties",
|
|
"description": "Properties with which snapshots are created such as labels, encryption keys."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicySnapshotSchedulePolicyRetentionPolicy": {
|
|
"description": "Policy for retention of scheduled snapshots.",
|
|
"id": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy",
|
|
"properties": {
|
|
"maxRetentionDays": {
|
|
"description": "Maximum age of the snapshot that is allowed to be kept.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"onPolicySwitch": {
|
|
"description": "Specifies the behavior to apply to existing, scheduled snapshots snapshots if the policy is changed.",
|
|
"enum": [
|
|
"DO_NOT_RETROACTIVELY_APPLY",
|
|
"RETROACTIVELY_APPLY",
|
|
"UNSPECIFIED_ON_POLICY_SWITCH"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"onSourceDiskDelete": {
|
|
"description": "Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.",
|
|
"enum": [
|
|
"APPLY_RETENTION_POLICY",
|
|
"KEEP_AUTO_SNAPSHOTS",
|
|
"UNSPECIFIED_ON_SOURCE_DISK_DELETE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicySnapshotSchedulePolicySchedule": {
|
|
"description": "A schedule for disks where the schedueled operations are performed.",
|
|
"id": "ResourcePolicySnapshotSchedulePolicySchedule",
|
|
"properties": {
|
|
"dailySchedule": {
|
|
"$ref": "ResourcePolicyDailyCycle"
|
|
},
|
|
"hourlySchedule": {
|
|
"$ref": "ResourcePolicyHourlyCycle"
|
|
},
|
|
"weeklySchedule": {
|
|
"$ref": "ResourcePolicyWeeklyCycle"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicySnapshotSchedulePolicySnapshotProperties": {
|
|
"description": "Specified snapshot properties for scheduled snapshots created by this policy.",
|
|
"id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties",
|
|
"properties": {
|
|
"guestFlush": {
|
|
"description": "Indication to perform a ?guest aware? snapshot.",
|
|
"type": "boolean"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"storageLocations": {
|
|
"description": "GCS bucket storage location of the auto snapshot (regional or multi-regional).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyVmMaintenancePolicy": {
|
|
"id": "ResourcePolicyVmMaintenancePolicy",
|
|
"properties": {
|
|
"maintenanceWindow": {
|
|
"$ref": "ResourcePolicyVmMaintenancePolicyMaintenanceWindow",
|
|
"description": "Maintenance windows that are applied to VMs covered by this policy."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyVmMaintenancePolicyMaintenanceWindow": {
|
|
"description": "A maintenance window for VMs. When set, we restrict our maintenance operations to this window.",
|
|
"id": "ResourcePolicyVmMaintenancePolicyMaintenanceWindow",
|
|
"properties": {
|
|
"dailyMaintenanceWindow": {
|
|
"$ref": "ResourcePolicyDailyCycle"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyWeeklyCycle": {
|
|
"description": "Time window specified for weekly operations.",
|
|
"id": "ResourcePolicyWeeklyCycle",
|
|
"properties": {
|
|
"dayOfWeeks": {
|
|
"description": "Up to 7 intervals/windows, one for each day of the week.",
|
|
"items": {
|
|
"$ref": "ResourcePolicyWeeklyCycleDayOfWeek"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourcePolicyWeeklyCycleDayOfWeek": {
|
|
"id": "ResourcePolicyWeeklyCycleDayOfWeek",
|
|
"properties": {
|
|
"day": {
|
|
"description": "Allows to define schedule that runs specified day of the week.",
|
|
"enum": [
|
|
"FRIDAY",
|
|
"INVALID",
|
|
"MONDAY",
|
|
"SATURDAY",
|
|
"SUNDAY",
|
|
"THURSDAY",
|
|
"TUESDAY",
|
|
"WEDNESDAY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"duration": {
|
|
"description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.",
|
|
"type": "string"
|
|
},
|
|
"startTime": {
|
|
"description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.",
|
|
"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"
|
|
},
|
|
"nextHopIlb": {
|
|
"description": "The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets. You can only specify the forwarding rule as a partial or full URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule \n- regions/region/forwardingRules/forwardingRule Note that this can only be used when the destination_range is a public (non-RFC 1918) IP CIDR range.",
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"nats": {
|
|
"description": "A list of Nat services created in this router.",
|
|
"items": {
|
|
"$ref": "RouterNat"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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_PEER_VPC_SUBNETS",
|
|
"ALL_SUBNETS",
|
|
"ALL_VPC_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"
|
|
},
|
|
"keepaliveInterval": {
|
|
"description": "The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer?s hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 1 and 120. The default is 20.",
|
|
"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_PEER_VPC_SUBNETS",
|
|
"ALL_SUBNETS",
|
|
"ALL_VPC_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"
|
|
},
|
|
"bfd": {
|
|
"$ref": "RouterBgpPeerBfd",
|
|
"description": "BFD configuration for the BGP peering."
|
|
},
|
|
"enable": {
|
|
"description": "The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.",
|
|
"enum": [
|
|
"FALSE",
|
|
"TRUE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"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"
|
|
},
|
|
"managementType": {
|
|
"description": "[Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.",
|
|
"enum": [
|
|
"MANAGED_BY_ATTACHMENT",
|
|
"MANAGED_BY_USER"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"RouterBgpPeerBfd": {
|
|
"id": "RouterBgpPeerBfd",
|
|
"properties": {
|
|
"minReceiveInterval": {
|
|
"description": "The minimum interval, in milliseconds, between BFD packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If BFD echo mode is enabled on this router and the peer router, this value is used to negotiate the interval between BFD echo packets transmitted by the peer router. Otherwise, it will be used to determine the interval between BFD control packets. If set, this value must be between 33 and 30000. The default is 300.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"minTransmitInterval": {
|
|
"description": "The minimum interval, in milliseconds, between BFD packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If BFD echo mode is enabled on this router and the peer router, this value is used to negotiate the interval between BFD echo packets transmitted by this router. Otherwise, it will be used to determine the interval between BFD control packets. If set, this value must be between 33 and 30000. The default is 300.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"mode": {
|
|
"description": "The BFD session initiation mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"DISABLED",
|
|
"PASSIVE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"multiplier": {
|
|
"description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 2 and 16. The default is 3.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"packetMode": {
|
|
"description": "The BFD packet mode for this BGP peer. If set to CONTROL_AND_ECHO, BFD echo mode is enabled for this BGP peer. In this mode, if the peer router also has BFD echo mode enabled, BFD echo packets will be sent to the other router. If the peer router does not have BFD echo mode enabled, only control packets will be sent. If set to CONTROL_ONLY, BFD echo mode is disabled for this BGP peer. If this router and the peer router have a multihop connection, this should be set to CONTROL_ONLY as BFD echo mode is only supported on singlehop connections. The default is CONTROL_AND_ECHO.",
|
|
"enum": [
|
|
"CONTROL_AND_ECHO",
|
|
"CONTROL_ONLY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"slowTimerInterval": {
|
|
"description": "The minimum interval, in milliseconds, between BFD control packets transmitted to and received from the peer router when BFD echo mode is enabled on both routers. The actual transmit and receive intervals are negotiated between the two routers and are equal to the greater of this value and the corresponding interval on the other router. If set, this value must be between 1000 and 30000. The default is 5000.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"managementType": {
|
|
"description": "[Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted.",
|
|
"enum": [
|
|
"MANAGED_BY_ATTACHMENT",
|
|
"MANAGED_BY_USER"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"RouterNat": {
|
|
"description": "Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided.",
|
|
"id": "RouterNat",
|
|
"properties": {
|
|
"drainNatIps": {
|
|
"description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"icmpIdleTimeoutSec": {
|
|
"description": "Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"logConfig": {
|
|
"$ref": "RouterNatLogConfig",
|
|
"description": "Configure logging on this NAT."
|
|
},
|
|
"minPortsPerVm": {
|
|
"description": "Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This gets rounded up to the nearest power of 2. Eg. if the value of this field is 50, at least 64 ports will be allocated to a VM.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "Unique name of this Nat service. 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"
|
|
},
|
|
"natIpAllocateOption": {
|
|
"description": "Specify the NatIpAllocateOption. If it is AUTO_ONLY, then nat_ip should be empty.",
|
|
"enum": [
|
|
"AUTO_ONLY",
|
|
"MANUAL_ONLY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"natIps": {
|
|
"description": "A list of URLs of the IP resources used for this Nat service. These IPs must be valid static external IP addresses assigned to the project. max_length is subject to change post alpha.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sourceSubnetworkIpRangesToNat": {
|
|
"description": "Specify the Nat option. If this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.",
|
|
"enum": [
|
|
"ALL_SUBNETWORKS_ALL_IP_RANGES",
|
|
"ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES",
|
|
"LIST_OF_SUBNETWORKS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"subnetworks": {
|
|
"description": "A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above.",
|
|
"items": {
|
|
"$ref": "RouterNatSubnetworkToNat"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tcpEstablishedIdleTimeoutSec": {
|
|
"description": "Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"tcpTransitoryIdleTimeoutSec": {
|
|
"description": "Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"udpIdleTimeoutSec": {
|
|
"description": "Timeout (in seconds) for UDP connections. Defaults to 30s if not set.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterNatLogConfig": {
|
|
"description": "Configuration of logging on a NAT.",
|
|
"id": "RouterNatLogConfig",
|
|
"properties": {
|
|
"enable": {
|
|
"description": "Indicates whether or not to export logs. This is false by default.",
|
|
"type": "boolean"
|
|
},
|
|
"filter": {
|
|
"description": "Specifies the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT.",
|
|
"enum": [
|
|
"ALL",
|
|
"ERRORS_ONLY",
|
|
"TRANSLATIONS_ONLY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RouterNatSubnetworkToNat": {
|
|
"description": "Defines the IP ranges that want to use NAT for a subnetwork.",
|
|
"id": "RouterNatSubnetworkToNat",
|
|
"properties": {
|
|
"name": {
|
|
"description": "URL for the subnetwork resource to use NAT.",
|
|
"type": "string"
|
|
},
|
|
"secondaryIpRangeNames": {
|
|
"description": "A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if \"LIST_OF_SECONDARY_IP_RANGES\" is one of the values in source_ip_ranges_to_nat.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sourceIpRangesToNat": {
|
|
"description": "Specify the options for NAT ranges in the Subnetwork. All usages of single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: [\"PRIMARY_IP_RANGE\", \"LIST_OF_SECONDARY_IP_RANGES\"] Default: [ALL_IP_RANGES]",
|
|
"items": {
|
|
"enum": [
|
|
"ALL_IP_RANGES",
|
|
"LIST_OF_SECONDARY_IP_RANGES",
|
|
"PRIMARY_IP_RANGE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"natStatus": {
|
|
"items": {
|
|
"$ref": "RouterStatusNatStatus"
|
|
},
|
|
"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"
|
|
},
|
|
"RouterStatusNatStatus": {
|
|
"description": "Status of a NAT contained in this router. Next tag: 9",
|
|
"id": "RouterStatusNatStatus",
|
|
"properties": {
|
|
"autoAllocatedNatIps": {
|
|
"description": "A list of IPs auto-allocated for NAT. Example: [\"1.1.1.1\", \"129.2.16.89\"]",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"drainAutoAllocatedNatIps": {
|
|
"description": "A list of IPs auto-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", ?179.12.26.133?].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"drainUserAllocatedNatIps": {
|
|
"description": "A list of IPs user-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", ?179.12.26.133?].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"minExtraNatIpsNeeded": {
|
|
"description": "The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"name": {
|
|
"description": "Unique name of this NAT.",
|
|
"type": "string"
|
|
},
|
|
"numVmEndpointsWithNatMappings": {
|
|
"description": "Number of VM endpoints (i.e., Nics) that can use NAT.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"userAllocatedNatIpResources": {
|
|
"description": "A list of fully qualified URLs of reserved IP address resources.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"userAllocatedNatIps": {
|
|
"description": "A list of IPs user-allocated for NAT. They will be raw IP strings like \"179.12.26.133\".",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"Rule": {
|
|
"description": "A rule to be applied in a Policy.",
|
|
"id": "Rule",
|
|
"properties": {
|
|
"action": {
|
|
"description": "Required",
|
|
"enum": [
|
|
"ALLOW",
|
|
"ALLOW_WITH_LOG",
|
|
"DENY",
|
|
"DENY_WITH_LOG",
|
|
"LOG",
|
|
"NO_ACTION"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"conditions": {
|
|
"description": "Additional restrictions that must be met. All conditions must pass for the rule to match.",
|
|
"items": {
|
|
"$ref": "Condition"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"description": {
|
|
"description": "Human-readable description of the rule.",
|
|
"type": "string"
|
|
},
|
|
"ins": {
|
|
"description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"logConfigs": {
|
|
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
|
|
"items": {
|
|
"$ref": "LogConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"notIns": {
|
|
"description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"permissions": {
|
|
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"portSpecification": {
|
|
"description": "Specifies how port is selected for health checking, can be one of following values:\nUSE_FIXED_PORT: The port number in\nport\nis used for health checking.\nUSE_NAMED_PORT: The\nportName\nis used for health checking.\nUSE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.\n\n\nIf not specified, SSL health check follows behavior specified in\nport\nand\nportName\nfields.",
|
|
"enum": [
|
|
"USE_FIXED_PORT",
|
|
"USE_NAMED_PORT",
|
|
"USE_SERVING_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"SavedAttachedDisk": {
|
|
"description": "An instance-attached disk resource.",
|
|
"id": "SavedAttachedDisk",
|
|
"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\nMachine Images do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group."
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "The size of the disk in base-2 GB. This supersedes disk_size_gb in InitializeParams.",
|
|
"format": "int64",
|
|
"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"
|
|
},
|
|
"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": [
|
|
"NVDIMM",
|
|
"NVME",
|
|
"SCSI"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#savedAttachedDisk",
|
|
"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"
|
|
},
|
|
"savedState": {
|
|
"description": "For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.",
|
|
"enum": [
|
|
"DISK_SAVED_STATE_UNSPECIFIED",
|
|
"PRESERVED"
|
|
],
|
|
"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 sourceMachineImage, specify the disk name, not the URL for the disk.",
|
|
"type": "string"
|
|
},
|
|
"storageBytes": {
|
|
"description": "[Output Only] A size of the storage used by the disk's snapshot.",
|
|
"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": {
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"minNodeCpus": {
|
|
"description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"nodeAffinities": {
|
|
"description": "A set of node affinity and anti-affinity.",
|
|
"items": {
|
|
"$ref": "SchedulingNodeAffinity"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"SchedulingNodeAffinity": {
|
|
"description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.",
|
|
"id": "SchedulingNodeAffinity",
|
|
"properties": {
|
|
"key": {
|
|
"description": "Corresponds to the label key of Node resource.",
|
|
"type": "string"
|
|
},
|
|
"operator": {
|
|
"description": "Defines the operation of node selection.",
|
|
"enum": [
|
|
"IN",
|
|
"NOT_IN",
|
|
"OPERATOR_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"description": "Corresponds to the label values of Node resource.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SdsConfig": {
|
|
"description": "The configuration to access the SDS server.",
|
|
"id": "SdsConfig",
|
|
"properties": {
|
|
"grpcServiceConfig": {
|
|
"$ref": "GrpcServiceConfig",
|
|
"description": "The configuration to access the SDS server over GRPC."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPoliciesListPreconfiguredExpressionSetsResponse": {
|
|
"id": "SecurityPoliciesListPreconfiguredExpressionSetsResponse",
|
|
"properties": {
|
|
"preconfiguredExpressionSets": {
|
|
"$ref": "SecurityPoliciesWafConfig"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPoliciesWafConfig": {
|
|
"id": "SecurityPoliciesWafConfig",
|
|
"properties": {
|
|
"wafRules": {
|
|
"$ref": "PreconfiguredWafSet"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicy": {
|
|
"description": "A security policy is comprised of one or more rules. It can also be associated with one or more 'targets'. (== resource_for v1.securityPolicies ==) (== resource_for beta.securityPolicies ==)",
|
|
"id": "SecurityPolicy",
|
|
"properties": {
|
|
"associations": {
|
|
"description": "A list of assocations that belong to this policy.",
|
|
"items": {
|
|
"$ref": "SecurityPolicyAssociation"
|
|
},
|
|
"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"
|
|
},
|
|
"fingerprint": {
|
|
"description": "Specifies a fingerprint for this resource, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make get() request to the security policy.",
|
|
"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#securityPolicy",
|
|
"description": "[Output only] Type of the resource. Always compute#securityPolicyfor security policies",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this security policy, 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 get() request to the security policy.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this security policy resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"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"
|
|
},
|
|
"ruleTupleCount": {
|
|
"description": "[Output Only] Total count of all security policy rule tuples. A security policy can not exceed a set number of tuples.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"rules": {
|
|
"description": "A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match \"*\"). If no rules are provided when creating a security policy, a default rule with action \"allow\" will be added.",
|
|
"items": {
|
|
"$ref": "SecurityPolicyRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type indicates the intended use of the security policy. CLOUD_ARMOR policies apply to backend services. FIREWALL policies apply to organizations.",
|
|
"enum": [
|
|
"CLOUD_ARMOR",
|
|
"FIREWALL"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyAssociation": {
|
|
"id": "SecurityPolicyAssociation",
|
|
"properties": {
|
|
"attachmentId": {
|
|
"description": "The resource that the security policy is attached to.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name for an association.",
|
|
"type": "string"
|
|
},
|
|
"securityPolicyId": {
|
|
"description": "[Output Only] The security policy ID of the association.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyList": {
|
|
"id": "SecurityPolicyList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of SecurityPolicy resources.",
|
|
"items": {
|
|
"$ref": "SecurityPolicy"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#securityPolicyList",
|
|
"description": "[Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"SecurityPolicyReference": {
|
|
"id": "SecurityPolicyReference",
|
|
"properties": {
|
|
"securityPolicy": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyRule": {
|
|
"description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).",
|
|
"id": "SecurityPolicyRule",
|
|
"properties": {
|
|
"action": {
|
|
"description": "The Action to preform when the client connection triggers the rule. Can currently be either \"allow\" or \"deny()\" where valid values for status are 403, 404, and 502.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "An optional description of this resource. Provide this property when you create the resource.",
|
|
"type": "string"
|
|
},
|
|
"direction": {
|
|
"description": "The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.",
|
|
"enum": [
|
|
"EGRESS",
|
|
"INGRESS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"enableLogging": {
|
|
"description": "Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on \"goto_next\" rules.\n\nThis field may only be specified when the versioned_expr is set to FIREWALL.",
|
|
"type": "boolean"
|
|
},
|
|
"kind": {
|
|
"default": "compute#securityPolicyRule",
|
|
"description": "[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules",
|
|
"type": "string"
|
|
},
|
|
"match": {
|
|
"$ref": "SecurityPolicyRuleMatcher",
|
|
"description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding ?action? is enforced."
|
|
},
|
|
"preview": {
|
|
"description": "If set to true, the specified action is not enforced.",
|
|
"type": "boolean"
|
|
},
|
|
"priority": {
|
|
"description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"rateLimitOptions": {
|
|
"$ref": "SecurityPolicyRuleRateLimitOptions",
|
|
"description": "Must be specified if the action is \"rate_based_blacklist\" or \"throttle\". Cannot be specified for any other actions."
|
|
},
|
|
"ruleTupleCount": {
|
|
"description": "[Output Only] Calculation of the complexity of a single firewall security policy rule.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"targetResources": {
|
|
"description": "A list of network resource URLs to which this rule applies. This field allows you to control which network?s VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.\n\nThis field may only be specified when versioned_expr is set to FIREWALL.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyRuleMatcher": {
|
|
"description": "Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.",
|
|
"id": "SecurityPolicyRuleMatcher",
|
|
"properties": {
|
|
"config": {
|
|
"$ref": "SecurityPolicyRuleMatcherConfig",
|
|
"description": "The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified."
|
|
},
|
|
"expr": {
|
|
"$ref": "Expr",
|
|
"description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header."
|
|
},
|
|
"versionedExpr": {
|
|
"description": "Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.",
|
|
"enum": [
|
|
"FIREWALL",
|
|
"SRC_IPS_V1"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyRuleMatcherConfig": {
|
|
"id": "SecurityPolicyRuleMatcherConfig",
|
|
"properties": {
|
|
"destIpRanges": {
|
|
"description": "CIDR IP address range.\n\nThis field may only be specified when versioned_expr is set to FIREWALL.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"destPorts": {
|
|
"description": "Pairs of IP protocols and ports that the rule should match.\n\nThis field may only be specified when versioned_expr is set to FIREWALL.",
|
|
"items": {
|
|
"$ref": "SecurityPolicyRuleMatcherConfigDestinationPort"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"srcIpRanges": {
|
|
"description": "CIDR IP address range.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyRuleMatcherConfigDestinationPort": {
|
|
"id": "SecurityPolicyRuleMatcherConfigDestinationPort",
|
|
"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\"].\n\nThis field may only be specified when versioned_expr is set to FIREWALL.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecurityPolicyRuleRateLimitOptions": {
|
|
"id": "SecurityPolicyRuleRateLimitOptions",
|
|
"properties": {
|
|
"blockDuration": {
|
|
"description": "Can only be specifed if the action for the rule is \"rate_based_blacklist\" If specified, determines the time (in seconds) the traffic will continue to be blocked by the rate limit after the rate falls below the threshold. The default value is 0 seconds.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"conformAction": {
|
|
"description": "Action to take when requests are under the given threshold. When requests are throttled, this is also the action for all requests which are not dropped. Valid options are \"allow\", \"fairshare\", and \"drop_overload\".",
|
|
"type": "string"
|
|
},
|
|
"enforceOnKey": {
|
|
"description": "Determines the key to enforce the threshold_rps limit on. If key is \"IP\", each IP has this limit enforced separately, whereas \"ALL_IPs\" means a single limit is applied to all requests matching this rule.",
|
|
"enum": [
|
|
"ALL_IPS",
|
|
"IP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"exceedAction": {
|
|
"description": "When a request is denied, returns the HTTP response code specified. Valid options are \"deny()\" where valid values for status are 403, 404, 429, and 502.",
|
|
"type": "string"
|
|
},
|
|
"thresholdRps": {
|
|
"description": "Rate in requests per second at which to begin ratelimiting.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SecuritySettings": {
|
|
"description": "The authentication and authorization settings for a BackendService.",
|
|
"id": "SecuritySettings",
|
|
"properties": {
|
|
"authenticationPolicy": {
|
|
"$ref": "AuthenticationPolicy",
|
|
"description": "Authentication policy defines what authentication methods can be accepted on backends, and if authenticated, which method/certificate will set the request principal."
|
|
},
|
|
"authorizationConfig": {
|
|
"$ref": "AuthorizationConfig",
|
|
"description": "Authorization config defines the Role Based Access Control (RBAC) config."
|
|
},
|
|
"clientTlsSettings": {
|
|
"$ref": "ClientTlsSettings",
|
|
"description": "TLS Settings for the backend service."
|
|
},
|
|
"serverSettingsSelector": {
|
|
"$ref": "ServerSecuritySettingsSelector",
|
|
"description": "The listener config of the XDS client is generated if the selector matches the client."
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"ServerBinding": {
|
|
"id": "ServerBinding",
|
|
"properties": {
|
|
"type": {
|
|
"enum": [
|
|
"RESTART_NODE_ON_ANY_SERVER",
|
|
"RESTART_NODE_ON_MINIMAL_SERVERS",
|
|
"SERVER_BINDING_TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ServerSecuritySettingsSelector": {
|
|
"description": "A selector associated with the SecuritySettings. If the labels and port in this selector match the Envoy's label and port, the server side authentication and authorization settings are applied to the Envoy.",
|
|
"id": "ServerSecuritySettingsSelector",
|
|
"properties": {
|
|
"labelMatches": {
|
|
"description": "The labels associated with the XDS client.",
|
|
"items": {
|
|
"$ref": "MetadataFilterLabelMatch"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"port": {
|
|
"description": "The listener port of the XDS client.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ServerTlsSettings": {
|
|
"description": "The TLS settings for the server.",
|
|
"id": "ServerTlsSettings",
|
|
"properties": {
|
|
"proxyTlsContext": {
|
|
"$ref": "TlsContext",
|
|
"description": "Configures the mechanism to obtain security certificates and identity information."
|
|
},
|
|
"subjectAltNames": {
|
|
"description": "A list of alternate names to verify the subject identity in the certificate presented by the client.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tlsMode": {
|
|
"description": "Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: \n- SIMPLE Secure connections with standard TLS semantics. \n- MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.",
|
|
"enum": [
|
|
"INVALID",
|
|
"MUTUAL",
|
|
"SIMPLE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"ServiceAccountJwtAccessCredentials": {
|
|
"description": "JWT credentials for a service account.",
|
|
"id": "ServiceAccountJwtAccessCredentials",
|
|
"properties": {
|
|
"jsonKey": {
|
|
"description": "Service account key.",
|
|
"type": "string"
|
|
},
|
|
"tokenLifetimeSeconds": {
|
|
"description": "The token lifetime seconds.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedInstanceConfig": {
|
|
"description": "A set of Shielded Instance options.",
|
|
"id": "ShieldedInstanceConfig",
|
|
"properties": {
|
|
"enableIntegrityMonitoring": {
|
|
"description": "Defines whether the instance has integrity monitoring enabled.",
|
|
"type": "boolean"
|
|
},
|
|
"enableSecureBoot": {
|
|
"description": "Defines whether the instance has Secure Boot enabled.",
|
|
"type": "boolean"
|
|
},
|
|
"enableVtpm": {
|
|
"description": "Defines whether the instance has the vTPM enabled.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedInstanceIdentity": {
|
|
"description": "A shielded Instance identity entry.",
|
|
"id": "ShieldedInstanceIdentity",
|
|
"properties": {
|
|
"encryptionKey": {
|
|
"$ref": "ShieldedInstanceIdentityEntry",
|
|
"description": "An Endorsement Key (EK) issued to the Shielded Instance's vTPM."
|
|
},
|
|
"kind": {
|
|
"default": "compute#shieldedInstanceIdentity",
|
|
"description": "[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.",
|
|
"type": "string"
|
|
},
|
|
"signingKey": {
|
|
"$ref": "ShieldedInstanceIdentityEntry",
|
|
"description": "An Attestation Key (AK) issued to the Shielded Instance's vTPM."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedInstanceIdentityEntry": {
|
|
"description": "A Shielded Instance Identity Entry.",
|
|
"id": "ShieldedInstanceIdentityEntry",
|
|
"properties": {
|
|
"ekCert": {
|
|
"description": "A PEM-encoded X.509 certificate. This field can be empty.",
|
|
"type": "string"
|
|
},
|
|
"ekPub": {
|
|
"description": "A PEM-encoded public key.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedInstanceIntegrityPolicy": {
|
|
"description": "The policy describes the baseline against which Instance boot integrity is measured.",
|
|
"id": "ShieldedInstanceIntegrityPolicy",
|
|
"properties": {
|
|
"updateAutoLearnPolicy": {
|
|
"description": "Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedVmConfig": {
|
|
"description": "A set of Shielded VM options.",
|
|
"id": "ShieldedVmConfig",
|
|
"properties": {
|
|
"enableIntegrityMonitoring": {
|
|
"description": "Defines whether the instance has integrity monitoring enabled.",
|
|
"type": "boolean"
|
|
},
|
|
"enableSecureBoot": {
|
|
"description": "Defines whether the instance has Secure Boot enabled.",
|
|
"type": "boolean"
|
|
},
|
|
"enableVtpm": {
|
|
"description": "Defines whether the instance has the vTPM enabled.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedVmIdentity": {
|
|
"description": "A shielded VM identity entry.",
|
|
"id": "ShieldedVmIdentity",
|
|
"properties": {
|
|
"encryptionKey": {
|
|
"$ref": "ShieldedVmIdentityEntry",
|
|
"description": "An Endorsement Key (EK) issued to the Shielded VM's vTPM."
|
|
},
|
|
"kind": {
|
|
"default": "compute#shieldedVmIdentity",
|
|
"description": "[Output Only] Type of the resource. Always compute#shieldedVmIdentity for shielded VM identity entry.",
|
|
"type": "string"
|
|
},
|
|
"signingKey": {
|
|
"$ref": "ShieldedVmIdentityEntry",
|
|
"description": "An Attestation Key (AK) issued to the Shielded VM's vTPM."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedVmIdentityEntry": {
|
|
"description": "A Shielded Instance Identity Entry.",
|
|
"id": "ShieldedVmIdentityEntry",
|
|
"properties": {
|
|
"ekCert": {
|
|
"description": "A PEM-encoded X.509 certificate. This field can be empty.",
|
|
"type": "string"
|
|
},
|
|
"ekPub": {
|
|
"description": "A PEM-encoded public key.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ShieldedVmIntegrityPolicy": {
|
|
"description": "The policy describes the baseline against which VM instance boot integrity is measured.",
|
|
"id": "ShieldedVmIntegrityPolicy",
|
|
"properties": {
|
|
"updateAutoLearnPolicy": {
|
|
"description": "Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SignedUrlKey": {
|
|
"description": "Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs",
|
|
"id": "SignedUrlKey",
|
|
"properties": {
|
|
"keyName": {
|
|
"description": "Name of the key. 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"
|
|
},
|
|
"keyValue": {
|
|
"description": "128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Snapshot": {
|
|
"description": "A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (== resource_for v1.snapshots ==)",
|
|
"id": "Snapshot",
|
|
"properties": {
|
|
"autoCreated": {
|
|
"description": "[Output Only] Set to true if snapshots are automatically by applying resource policy on the target disk.",
|
|
"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"
|
|
},
|
|
"diskSizeGb": {
|
|
"description": "[Output Only] Size of the snapshot, specified in GB.",
|
|
"format": "int64",
|
|
"type": "string"
|
|
},
|
|
"guestOsFeatures": {
|
|
"description": "[Output Only] 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#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, otherwise the request will fail with error 412 conditionNotMet.\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": "[Output Only] 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource's resource id.",
|
|
"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"
|
|
},
|
|
"storageLocations": {
|
|
"description": "GCS bucket storage location of the snapshot (regional or multi-regional).",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"SourceInstanceParams": {
|
|
"description": "A specification of the parameters to use when creating the instance template from a source instance.",
|
|
"id": "SourceInstanceParams",
|
|
"properties": {
|
|
"diskConfigs": {
|
|
"description": "Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.",
|
|
"items": {
|
|
"$ref": "DiskInstantiationConfig"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SourceInstanceProperties": {
|
|
"description": "",
|
|
"id": "SourceInstanceProperties",
|
|
"properties": {
|
|
"canIpForward": {
|
|
"description": "Enables instances created based on this machine image 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"
|
|
},
|
|
"deletionProtection": {
|
|
"description": "Whether the instance created from the machine image should be protected against deletion.",
|
|
"type": "boolean"
|
|
},
|
|
"description": {
|
|
"description": "An optional text description for the instances that are created from this machine image.",
|
|
"type": "string"
|
|
},
|
|
"disks": {
|
|
"description": "An array of disks that are associated with the instances that are created from this machine image.",
|
|
"items": {
|
|
"$ref": "SavedAttachedDisk"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"guestAccelerators": {
|
|
"description": "A list of guest accelerator cards' type and count to use for instances created from the machine image.",
|
|
"items": {
|
|
"$ref": "AcceleratorConfig"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to instances that are created from this machine image.",
|
|
"type": "object"
|
|
},
|
|
"machineType": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.machineImages.insert"
|
|
]
|
|
},
|
|
"description": "The machine type to use for instances that are created from this machine image.",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"$ref": "Metadata",
|
|
"description": "The metadata key/value pairs to assign to instances that are created from this machine image. 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 machine image."
|
|
},
|
|
"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 machine image. 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 machine image. 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"
|
|
},
|
|
"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"
|
|
},
|
|
"expireTime": {
|
|
"description": "[Output Only] Expire time of the certificate. RFC3339",
|
|
"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"
|
|
},
|
|
"managed": {
|
|
"$ref": "SslCertificateManagedSslCertificate",
|
|
"description": "Configuration and status of a managed SSL certificate."
|
|
},
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"selfManaged": {
|
|
"$ref": "SslCertificateSelfManagedSslCertificate",
|
|
"description": "Configuration and status of a self-managed SSL certificate."
|
|
},
|
|
"subjectAlternativeNames": {
|
|
"description": "[Output Only] Domains associated with the certificate via Subject Alternative Name.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"description": "(Optional) Specifies the type of SSL certificate, either \"SELF_MANAGED\" or \"MANAGED\". If not specified, the certificate is self-managed and the fields certificate and private_key are used.",
|
|
"enum": [
|
|
"MANAGED",
|
|
"SELF_MANAGED",
|
|
"TYPE_UNSPECIFIED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SslCertificateAggregatedList": {
|
|
"id": "SslCertificateAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "SslCertificatesScopedList",
|
|
"description": "Name of the scope containing this set of SslCertificates."
|
|
},
|
|
"description": "A list of SslCertificatesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#sslCertificateAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates.",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"SslCertificateManagedSslCertificate": {
|
|
"description": "Configuration and status of a managed SSL certificate.",
|
|
"id": "SslCertificateManagedSslCertificate",
|
|
"properties": {
|
|
"domainStatus": {
|
|
"additionalProperties": {
|
|
"enum": [
|
|
"ACTIVE",
|
|
"DOMAIN_STATUS_UNSPECIFIED",
|
|
"FAILED_CAA_CHECKING",
|
|
"FAILED_CAA_FORBIDDEN",
|
|
"FAILED_NOT_VISIBLE",
|
|
"FAILED_RATE_LIMITED",
|
|
"PROVISIONING"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"description": "[Output only] Detailed statuses of the domains specified for managed certificate resource.",
|
|
"type": "object"
|
|
},
|
|
"domains": {
|
|
"description": "The domains for which a managed SSL certificate will be generated. Currently only single-domain certs are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"status": {
|
|
"description": "[Output only] Status of the managed certificate resource.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"MANAGED_CERTIFICATE_STATUS_UNSPECIFIED",
|
|
"PROVISIONING",
|
|
"PROVISIONING_FAILED",
|
|
"PROVISIONING_FAILED_PERMANENTLY",
|
|
"RENEWAL_FAILED"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SslCertificateSelfManagedSslCertificate": {
|
|
"description": "Configuration and status of a self-managed SSL certificate.",
|
|
"id": "SslCertificateSelfManagedSslCertificate",
|
|
"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"
|
|
},
|
|
"privateKey": {
|
|
"description": "A write-only private key in PEM format. Only insert requests will include this field.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SslCertificatesScopedList": {
|
|
"id": "SslCertificatesScopedList",
|
|
"properties": {
|
|
"sslCertificates": {
|
|
"description": "List of SslCertificates contained in this scope.",
|
|
"items": {
|
|
"$ref": "SslCertificate"
|
|
},
|
|
"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"
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an 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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"tlsSettings": {
|
|
"$ref": "ServerTlsSettings",
|
|
"description": "Security settings for the proxy. This field is only applicable to a global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED."
|
|
},
|
|
"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"
|
|
},
|
|
"StatefulPolicy": {
|
|
"id": "StatefulPolicy",
|
|
"properties": {
|
|
"preservedResources": {
|
|
"$ref": "StatefulPolicyPreservedResources"
|
|
},
|
|
"preservedState": {
|
|
"$ref": "StatefulPolicyPreservedState"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"StatefulPolicyPreservedDisk": {
|
|
"id": "StatefulPolicyPreservedDisk",
|
|
"properties": {
|
|
"deviceName": {
|
|
"description": "Device name of the disk to be preserved",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"StatefulPolicyPreservedResources": {
|
|
"description": "Configuration of all preserved resources.",
|
|
"id": "StatefulPolicyPreservedResources",
|
|
"properties": {
|
|
"disks": {
|
|
"description": "Disks created on the instances that will be preserved on instance delete, resize down, etc.",
|
|
"items": {
|
|
"$ref": "StatefulPolicyPreservedDisk"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"StatefulPolicyPreservedState": {
|
|
"description": "Configuration of preserved resources.",
|
|
"id": "StatefulPolicyPreservedState",
|
|
"properties": {
|
|
"disks": {
|
|
"additionalProperties": {
|
|
"$ref": "StatefulPolicyPreservedStateDiskDevice"
|
|
},
|
|
"description": "Disks created on the instances that will be preserved on instance delete, resize down, etc. This map is keyed with the device names of the disks.",
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"StatefulPolicyPreservedStateDiskDevice": {
|
|
"id": "StatefulPolicyPreservedStateDiskDevice",
|
|
"properties": {
|
|
"autoDelete": {
|
|
"description": "These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.",
|
|
"enum": [
|
|
"NEVER",
|
|
"WHEN_NOT_IN_USE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Subnetwork": {
|
|
"description": "A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for v1.subnetworks ==)",
|
|
"id": "Subnetwork",
|
|
"properties": {
|
|
"aggregationInterval": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.",
|
|
"enum": [
|
|
"INTERVAL_10_MIN",
|
|
"INTERVAL_15_MIN",
|
|
"INTERVAL_1_MIN",
|
|
"INTERVAL_30_SEC",
|
|
"INTERVAL_5_MIN",
|
|
"INTERVAL_5_SEC"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"allowSubnetCidrRoutesOverlap": {
|
|
"description": "Whether this subnetwork can conflict with static routes. Setting this to true allows this subnetwork's primary and secondary ranges to conflict with routes that have already been configured on the corresponding network. Static routes will take precedence over the subnetwork route if the route prefix length is at least as large as the subnetwork prefix length.\n\nAlso, packets destined to IPs within subnetwork may contain private/sensitive data and are prevented from leaving the virtual network. Setting this field to true will disable this feature.\n\nThe default value is false and applies to all existing subnetworks and automatically created subnetworks.\n\nThis field cannot be set to true at resource creation time.",
|
|
"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. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"enableFlowLogs": {
|
|
"description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging.",
|
|
"type": "boolean"
|
|
},
|
|
"enablePrivateV6Access": {
|
|
"description": "Deprecated in favor of enable in PrivateIpv6GoogleAccess. Whether the VMs in this subnet can directly access Google services via internal IPv6 addresses. This field can be both set at resource creation time and updated using patch.",
|
|
"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 Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a Subnetwork.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"flowSampling": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 which means half of all collected logs are reported.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"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"
|
|
},
|
|
"ipv6CidrRange": {
|
|
"description": "[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#subnetwork",
|
|
"description": "[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.",
|
|
"type": "string"
|
|
},
|
|
"logConfig": {
|
|
"$ref": "SubnetworkLogConfig",
|
|
"description": "This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver."
|
|
},
|
|
"metadata": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Configures whether metadata fields should be added to the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.",
|
|
"enum": [
|
|
"EXCLUDE_ALL_METADATA",
|
|
"INCLUDE_ALL_METADATA"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"privateIpv6GoogleAccess": {
|
|
"description": "The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority.\n\nThis field can be both set at resource creation time and updated using patch.",
|
|
"enum": [
|
|
"DISABLE_GOOGLE_ACCESS",
|
|
"ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE",
|
|
"ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"purpose": {
|
|
"description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918.",
|
|
"enum": [
|
|
"INTERNAL_HTTPS_LOAD_BALANCER",
|
|
"PRIVATE",
|
|
"PRIVATE_RFC_1918"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"rangeType": {
|
|
"description": "The type of IP CIDR range to associate with this subnetwork. The default is RFC_1918. When creating a subnetwork in non-RFC 1918 range, this field must be set to NON_RFC_1918.",
|
|
"enum": [
|
|
"NON_RFC_1918",
|
|
"RFC_1918"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "URL of the region where the Subnetwork resides. This field can be set only at resource creation time.",
|
|
"type": "string"
|
|
},
|
|
"role": {
|
|
"description": "The role of subnetwork. Currenly, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.",
|
|
"enum": [
|
|
"ACTIVE",
|
|
"BACKUP"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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. This field can be updated with a patch request.",
|
|
"items": {
|
|
"$ref": "SubnetworkSecondaryRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "[Output Only] The state of the subnetwork, which can be one of READY or DRAINING. A subnetwork that is READY is ready to be used. The state of DRAINING is only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY.",
|
|
"enum": [
|
|
"DRAINING",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"SubnetworkLogConfig": {
|
|
"description": "The available logging options for this subnetwork.",
|
|
"id": "SubnetworkLogConfig",
|
|
"properties": {
|
|
"aggregationInterval": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.",
|
|
"enum": [
|
|
"INTERVAL_10_MIN",
|
|
"INTERVAL_15_MIN",
|
|
"INTERVAL_1_MIN",
|
|
"INTERVAL_30_SEC",
|
|
"INTERVAL_5_MIN",
|
|
"INTERVAL_5_SEC"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"enable": {
|
|
"description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is to disable flow logging.",
|
|
"type": "boolean"
|
|
},
|
|
"flowSampling": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 which means half of all collected logs are reported.",
|
|
"format": "float",
|
|
"type": "number"
|
|
},
|
|
"metadata": {
|
|
"description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Configures whether metadata fields should be added to the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.",
|
|
"enum": [
|
|
"EXCLUDE_ALL_METADATA",
|
|
"INCLUDE_ALL_METADATA"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"rangeType": {
|
|
"description": "The type of IP CIDR range to associate with this subnetwork secondary range. The default is RFC_1918. When creating a subnetwork in non-RFC 1918 range, this field must be set to NON_RFC_1918.",
|
|
"enum": [
|
|
"NON_RFC_1918",
|
|
"RFC_1918"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"rangeType": {
|
|
"description": "The type of IP CIDR range to associate with this subnetwork. The default is RFC_1918. When expanding to a non-RFC 1918 range, this field must be be set to NON_RFC_1918.",
|
|
"enum": [
|
|
"NON_RFC_1918",
|
|
"RFC_1918"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"portSpecification": {
|
|
"description": "Specifies how port is selected for health checking, can be one of following values:\nUSE_FIXED_PORT: The port number in\nport\nis used for health checking.\nUSE_NAMED_PORT: The\nportName\nis used for health checking.\nUSE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking.\n\n\nIf not specified, TCP health check follows behavior specified in\nport\nand\nportName\nfields.",
|
|
"enum": [
|
|
"USE_FIXED_PORT",
|
|
"USE_NAMED_PORT",
|
|
"USE_SERVING_PORT"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"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"
|
|
},
|
|
"TargetHttpProxiesScopedList": {
|
|
"id": "TargetHttpProxiesScopedList",
|
|
"properties": {
|
|
"targetHttpProxies": {
|
|
"description": "A list of TargetHttpProxies contained in this scope.",
|
|
"items": {
|
|
"$ref": "TargetHttpProxy"
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"proxyBind": {
|
|
"description": "This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. When set to true the Envoy binds on the IP address specified by the forwarding rule. Default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"urlMap": {
|
|
"description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TargetHttpProxyAggregatedList": {
|
|
"id": "TargetHttpProxyAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "TargetHttpProxiesScopedList",
|
|
"description": "Name of the scope containing this set of TargetHttpProxies."
|
|
},
|
|
"description": "A list of TargetHttpProxiesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpProxyAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetHttpProxyAggregatedList 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"
|
|
},
|
|
"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"
|
|
},
|
|
"TargetHttpsProxiesScopedList": {
|
|
"id": "TargetHttpsProxiesScopedList",
|
|
"properties": {
|
|
"targetHttpsProxies": {
|
|
"description": "A list of TargetHttpsProxies contained in this scope.",
|
|
"items": {
|
|
"$ref": "TargetHttpsProxy"
|
|
},
|
|
"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"
|
|
},
|
|
"TargetHttpsProxiesSetQuicOverrideRequest": {
|
|
"id": "TargetHttpsProxiesSetQuicOverrideRequest",
|
|
"properties": {
|
|
"quicOverride": {
|
|
"description": "QUIC policy for the TargetHttpsProxy resource.",
|
|
"enum": [
|
|
"DISABLE",
|
|
"ENABLE",
|
|
"NONE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"proxyBind": {
|
|
"description": "This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. When set to true the Envoy binds on the IP address specified by the forwarding rule. Default is false.",
|
|
"type": "boolean"
|
|
},
|
|
"quicOverride": {
|
|
"description": "Specifies the QUIC override policy for this TargetHttpsProxy resource. This determines whether the load balancer will attempt to negotiate QUIC with clients or not. Can specify one of NONE, ENABLE, or DISABLE. Specify ENABLE to always enable QUIC, Enables QUIC when set to ENABLE, and disables QUIC when set to DISABLE. If NONE is specified, uses the QUIC policy with no user overrides, which is equivalent to DISABLE. Not specifying this field is equivalent to specifying NONE.",
|
|
"enum": [
|
|
"DISABLE",
|
|
"ENABLE",
|
|
"NONE"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"sslCertificates": {
|
|
"description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.",
|
|
"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"
|
|
},
|
|
"TargetHttpsProxyAggregatedList": {
|
|
"id": "TargetHttpsProxyAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "TargetHttpsProxiesScopedList",
|
|
"description": "Name of the scope containing this set of TargetHttpsProxies."
|
|
},
|
|
"description": "A list of TargetHttpsProxiesScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#targetHttpsProxyAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList 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"
|
|
},
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"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"
|
|
},
|
|
"selfLinkWithId": {
|
|
"description": "[Output Only] Server-defined URL for this resource with the resource id.",
|
|
"type": "string"
|
|
},
|
|
"sessionAffinity": {
|
|
"description": "Session 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",
|
|
"HEADER_FIELD",
|
|
"HTTP_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. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.",
|
|
"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 with 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"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this TargetVpnGateway, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a TargetVpnGateway.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this TargetVpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"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, which can be one of the following: CREATING, READY, FAILED, or DELETING.",
|
|
"enum": [
|
|
"CREATING",
|
|
"DELETING",
|
|
"FAILED",
|
|
"READY"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"tunnels": {
|
|
"description": "[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with 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"
|
|
},
|
|
"TlsCertificateContext": {
|
|
"description": "Defines the mechanism to obtain the client or server certificate.",
|
|
"id": "TlsCertificateContext",
|
|
"properties": {
|
|
"certificatePaths": {
|
|
"$ref": "TlsCertificatePaths",
|
|
"description": "Specifies the certificate and private key paths. This field is applicable only if tlsCertificateSource is set to USE_PATH."
|
|
},
|
|
"certificateSource": {
|
|
"description": "Defines how TLS certificates are obtained.",
|
|
"enum": [
|
|
"INVALID",
|
|
"USE_PATH",
|
|
"USE_SDS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"sdsConfig": {
|
|
"$ref": "SdsConfig",
|
|
"description": "Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TlsCertificatePaths": {
|
|
"description": "The paths to the mounted TLS Certificates and private key.",
|
|
"id": "TlsCertificatePaths",
|
|
"properties": {
|
|
"certificatePath": {
|
|
"description": "The path to the file holding the client or server TLS certificate to use.",
|
|
"type": "string"
|
|
},
|
|
"privateKeyPath": {
|
|
"description": "The path to the file holding the client or server private key.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TlsContext": {
|
|
"description": "The TLS settings for the client or server.",
|
|
"id": "TlsContext",
|
|
"properties": {
|
|
"certificateContext": {
|
|
"$ref": "TlsCertificateContext",
|
|
"description": "Defines the mechanism to obtain the client or server certificate."
|
|
},
|
|
"validationContext": {
|
|
"$ref": "TlsValidationContext",
|
|
"description": "Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate. If omitted, the proxy will not validate the server or client certificate."
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"TlsValidationContext": {
|
|
"description": "Defines the mechanism to obtain the Certificate Authority certificate to validate the client/server certificate.",
|
|
"id": "TlsValidationContext",
|
|
"properties": {
|
|
"certificatePath": {
|
|
"description": "The path to the file holding the CA certificate to validate the client or server certificate.",
|
|
"type": "string"
|
|
},
|
|
"sdsConfig": {
|
|
"$ref": "SdsConfig",
|
|
"description": "Specifies the config to retrieve certificates through SDS. This field is applicable only if tlsCertificateSource is set to USE_SDS."
|
|
},
|
|
"validationSource": {
|
|
"description": "Defines how TLS certificates are obtained.",
|
|
"enum": [
|
|
"INVALID",
|
|
"USE_PATH",
|
|
"USE_SDS"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UDPHealthCheck": {
|
|
"id": "UDPHealthCheck",
|
|
"properties": {
|
|
"port": {
|
|
"description": "The UDP port number for the health check request. 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"
|
|
},
|
|
"request": {
|
|
"description": "Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.",
|
|
"type": "string"
|
|
},
|
|
"response": {
|
|
"description": "The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"defaultRouteAction": {
|
|
"$ref": "HttpRouteAction",
|
|
"description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.\nOnly one of defaultRouteAction or defaultUrlRedirect must be set."
|
|
},
|
|
"defaultService": {
|
|
"description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified.\nOnly one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.",
|
|
"type": "string"
|
|
},
|
|
"defaultUrlRedirect": {
|
|
"$ref": "HttpRedirectAction",
|
|
"description": "When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect.\nIf defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set."
|
|
},
|
|
"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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a UrlMap.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"headerAction": {
|
|
"$ref": "HttpHeaderAction",
|
|
"description": "Specifies changes to request and response headers that need to take effect for the selected backendService.\nThe headerAction specified here take effect after headerAction specified under pathMatcher."
|
|
},
|
|
"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"
|
|
},
|
|
"region": {
|
|
"description": "[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. 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"
|
|
},
|
|
"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": {
|
|
"backendServiceWeight": {
|
|
"description": "The weight to use for the supplied host and path when using advanced routing rules that involve traffic splitting.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"description": {
|
|
"description": "Description of this test case.",
|
|
"type": "string"
|
|
},
|
|
"expectedUrlRedirect": {
|
|
"description": "The expected URL that should be redirected to for the host and path being tested.",
|
|
"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"
|
|
},
|
|
"UrlMapsAggregatedList": {
|
|
"id": "UrlMapsAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "UrlMapsScopedList",
|
|
"description": "Name of the scope containing this set of UrlMaps."
|
|
},
|
|
"description": "A list of UrlMapsScopedList resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#urlMapsAggregatedList",
|
|
"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"
|
|
},
|
|
"UrlMapsScopedList": {
|
|
"id": "UrlMapsScopedList",
|
|
"properties": {
|
|
"urlMaps": {
|
|
"description": "A list of UrlMaps contained in this scope.",
|
|
"items": {
|
|
"$ref": "UrlMap"
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"UrlRewrite": {
|
|
"description": "The spec for modifying the path before sending the request to the matched backend service.",
|
|
"id": "UrlRewrite",
|
|
"properties": {
|
|
"hostRewrite": {
|
|
"description": "Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite.\nThe value must be between 1 and 255 characters.",
|
|
"type": "string"
|
|
},
|
|
"pathPrefixRewrite": {
|
|
"description": "Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite.\nThe value must be between 1 and 1024 characters.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UsableSubnetwork": {
|
|
"description": "Subnetwork which the current user has compute.subnetworks.use permission on.",
|
|
"id": "UsableSubnetwork",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "The range of internal addresses that are owned by this subnetwork.",
|
|
"type": "string"
|
|
},
|
|
"network": {
|
|
"description": "Network URL.",
|
|
"type": "string"
|
|
},
|
|
"secondaryIpRanges": {
|
|
"description": "Secondary IP ranges.",
|
|
"items": {
|
|
"$ref": "UsableSubnetworkSecondaryRange"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"subnetwork": {
|
|
"description": "Subnetwork URL.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UsableSubnetworkSecondaryRange": {
|
|
"description": "Secondary IP range of a usable subnetwork.",
|
|
"id": "UsableSubnetworkSecondaryRange",
|
|
"properties": {
|
|
"ipCidrRange": {
|
|
"description": "The range of IP addresses belonging to this subnetwork secondary range.",
|
|
"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"
|
|
},
|
|
"UsableSubnetworksAggregatedList": {
|
|
"id": "UsableSubnetworksAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "[Output] A list of usable subnetwork URLs.",
|
|
"items": {
|
|
"$ref": "UsableSubnetwork"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#usableSubnetworksAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable 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"
|
|
},
|
|
"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"
|
|
},
|
|
"VmEndpointNatMappings": {
|
|
"description": "Contain information of Nat mapping for a VM endpoint (i.e., NIC).",
|
|
"id": "VmEndpointNatMappings",
|
|
"properties": {
|
|
"instanceName": {
|
|
"description": "Name of the VM instance which the endpoint belongs to",
|
|
"type": "string"
|
|
},
|
|
"interfaceNatMappings": {
|
|
"items": {
|
|
"$ref": "VmEndpointNatMappingsInterfaceNatMappings"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VmEndpointNatMappingsInterfaceNatMappings": {
|
|
"description": "Contain information of Nat mapping for an interface of this endpoint.",
|
|
"id": "VmEndpointNatMappingsInterfaceNatMappings",
|
|
"properties": {
|
|
"drainNatIpPortRanges": {
|
|
"description": "List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"natIpPortRanges": {
|
|
"description": "A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"numTotalDrainNatPorts": {
|
|
"description": "Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"numTotalNatPorts": {
|
|
"description": "Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"sourceAliasIpRange": {
|
|
"description": "Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: \"10.33.4.55/32\", or \"192.168.5.0/24\".",
|
|
"type": "string"
|
|
},
|
|
"sourceVirtualIp": {
|
|
"description": "Primary IP of the VM for this NIC.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VmEndpointNatMappingsList": {
|
|
"description": "Contains a list of VmEndpointNatMappings.",
|
|
"id": "VmEndpointNatMappingsList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vmEndpointNatMappingsList",
|
|
"description": "[Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat mappings of VM endpoints.",
|
|
"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"
|
|
},
|
|
"result": {
|
|
"description": "[Output Only] A list of Nat mapping information of VM endpoints.",
|
|
"items": {
|
|
"$ref": "VmEndpointNatMappings"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"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"
|
|
},
|
|
"VpnGateway": {
|
|
"description": "Represents a VPN gateway resource.",
|
|
"id": "VpnGateway",
|
|
"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#vpnGateway",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.",
|
|
"type": "string"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this VpnGateway, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve an VpnGateway.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this VpnGateway resource. These can be later modified by the setLabels method. Each label key/value must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"annotations": {
|
|
"required": [
|
|
"compute.vpnGateways.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.vpnGateways.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 VPN gateway resides.",
|
|
"type": "string"
|
|
},
|
|
"selfLink": {
|
|
"description": "[Output Only] Server-defined URL for the resource.",
|
|
"type": "string"
|
|
},
|
|
"vpnInterfaces": {
|
|
"description": "[Output Only] A list of interfaces on this VPN gateway.",
|
|
"items": {
|
|
"$ref": "VpnGatewayVpnGatewayInterface"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewayAggregatedList": {
|
|
"id": "VpnGatewayAggregatedList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "VpnGatewaysScopedList",
|
|
"description": "[Output Only] Name of the scope containing this set of VPN gateways."
|
|
},
|
|
"description": "A list of VpnGateway resources.",
|
|
"type": "object"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vpnGatewayAggregatedList",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnGateway for 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"
|
|
},
|
|
"VpnGatewayList": {
|
|
"description": "Contains a list of VpnGateway resources.",
|
|
"id": "VpnGatewayList",
|
|
"properties": {
|
|
"id": {
|
|
"description": "[Output Only] Unique identifier for the resource; defined by the server.",
|
|
"type": "string"
|
|
},
|
|
"items": {
|
|
"description": "A list of VpnGateway resources.",
|
|
"items": {
|
|
"$ref": "VpnGateway"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"kind": {
|
|
"default": "compute#vpnGatewayList",
|
|
"description": "[Output Only] Type of resource. Always compute#vpnGateway for 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"
|
|
},
|
|
"VpnGatewayStatus": {
|
|
"id": "VpnGatewayStatus",
|
|
"properties": {
|
|
"vpnConnections": {
|
|
"description": "List of VPN connection for this VpnGateway.",
|
|
"items": {
|
|
"$ref": "VpnGatewayStatusVpnConnection"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewayStatusHighAvailabilityRequirementState": {
|
|
"description": "Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.",
|
|
"id": "VpnGatewayStatusHighAvailabilityRequirementState",
|
|
"properties": {
|
|
"state": {
|
|
"description": "Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET.",
|
|
"enum": [
|
|
"CONNECTION_REDUNDANCY_MET",
|
|
"CONNECTION_REDUNDANCY_NOT_MET"
|
|
],
|
|
"enumDescriptions": [
|
|
"",
|
|
""
|
|
],
|
|
"type": "string"
|
|
},
|
|
"unsatisfiedReason": {
|
|
"description": "Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE.",
|
|
"enum": [
|
|
"INCOMPLETE_TUNNELS_COVERAGE"
|
|
],
|
|
"enumDescriptions": [
|
|
""
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewayStatusTunnel": {
|
|
"description": "Contains some information about a VPN tunnel.",
|
|
"id": "VpnGatewayStatusTunnel",
|
|
"properties": {
|
|
"localGatewayInterface": {
|
|
"description": "The VPN gateway interface this VPN tunnel is associated with.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"peerGatewayInterface": {
|
|
"description": "The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"tunnelUrl": {
|
|
"description": "URL reference to the VPN tunnel.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewayStatusVpnConnection": {
|
|
"description": "A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway.",
|
|
"id": "VpnGatewayStatusVpnConnection",
|
|
"properties": {
|
|
"peerExternalGateway": {
|
|
"description": "URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.",
|
|
"type": "string"
|
|
},
|
|
"peerGcpGateway": {
|
|
"description": "URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"$ref": "VpnGatewayStatusHighAvailabilityRequirementState",
|
|
"description": "HighAvailabilityRequirementState for the VPN connection."
|
|
},
|
|
"tunnels": {
|
|
"description": "List of VPN tunnels that are in this VPN connection.",
|
|
"items": {
|
|
"$ref": "VpnGatewayStatusTunnel"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewayVpnGatewayInterface": {
|
|
"description": "A VPN gateway interface.",
|
|
"id": "VpnGatewayVpnGatewayInterface",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The numeric ID of this VPN gateway interface.",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
},
|
|
"ipAddress": {
|
|
"description": "The external IP address for this VPN gateway interface.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewaysGetStatusResponse": {
|
|
"id": "VpnGatewaysGetStatusResponse",
|
|
"properties": {
|
|
"result": {
|
|
"$ref": "VpnGatewayStatus"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"VpnGatewaysScopedList": {
|
|
"id": "VpnGatewaysScopedList",
|
|
"properties": {
|
|
"vpnGateways": {
|
|
"description": "[Output Only] A list of VPN gateways contained in this scope.",
|
|
"items": {
|
|
"$ref": "VpnGateway"
|
|
},
|
|
"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"
|
|
},
|
|
"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 the peer VPN gateway. Acceptable IKE versions are 1 or 2. The 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"
|
|
},
|
|
"labelFingerprint": {
|
|
"description": "A fingerprint for the labels being applied to this VpnTunnel, 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, otherwise the request will fail with error 412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to retrieve a VpnTunnel.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"description": "Labels to apply to this VpnTunnel. These can be later modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.",
|
|
"type": "object"
|
|
},
|
|
"localTrafficSelector": {
|
|
"description": "Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must 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"
|
|
},
|
|
"peerExternalGateway": {
|
|
"description": "URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.",
|
|
"type": "string"
|
|
},
|
|
"peerExternalGatewayInterface": {
|
|
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"peerGcpGateway": {
|
|
"description": "URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway.",
|
|
"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 the 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 the 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, which can be one of the following: \n- PROVISIONING: Resource is being allocated for the VPN tunnel. \n- WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. \n- FIRST_HANDSHAKE: Successful first handshake with the peer VPN. \n- ESTABLISHED: Secure session is successfully established with the peer VPN. \n- NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS \n- AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). \n- NEGOTIATION_FAILURE: Handshake failed. \n- DEPROVISIONING: Resources are being deallocated for the VPN tunnel. \n- FAILED: Tunnel creation has failed and the tunnel is not ready to be used.",
|
|
"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"
|
|
},
|
|
"vpnGateway": {
|
|
"description": "URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.",
|
|
"type": "string"
|
|
},
|
|
"vpnGatewayInterface": {
|
|
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated.",
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"WafExpressionSet": {
|
|
"id": "WafExpressionSet",
|
|
"properties": {
|
|
"aliases": {
|
|
"description": "A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like \"stable\" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"expressions": {
|
|
"description": "List of available expressions.",
|
|
"items": {
|
|
"$ref": "WafExpressionSetExpression"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"id": {
|
|
"description": "Google specified expression set ID. The format should be: - E.g. XSS-20170329",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"WafExpressionSetExpression": {
|
|
"id": "WafExpressionSetExpression",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"WeightedBackendService": {
|
|
"description": "In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple BackendServices. The volume of traffic for each BackendService is proportional to the weight specified in each WeightedBackendService",
|
|
"id": "WeightedBackendService",
|
|
"properties": {
|
|
"backendService": {
|
|
"description": "The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the loadbalancer applies any relevant headerActions specified as part of this backendServiceWeight.",
|
|
"type": "string"
|
|
},
|
|
"headerAction": {
|
|
"$ref": "HttpHeaderAction",
|
|
"description": "Specifies changes to request and response headers that need to take effect for the selected backendService.\nheaderAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap."
|
|
},
|
|
"weight": {
|
|
"description": "Specifies the fraction of traffic sent to backendService, computed as weight / (sum of all weightedBackendService weights in routeAction) .\nThe selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backendService, subsequent requests will be sent to the same backendService as determined by the BackendService's session affinity policy.\nThe value must be between 0 and 1000",
|
|
"format": "uint32",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"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 supports project id (e.g., my-project-123) and 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"
|
|
},
|
|
"ZoneSetPolicyRequest": {
|
|
"id": "ZoneSetPolicyRequest",
|
|
"properties": {
|
|
"bindings": {
|
|
"description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.",
|
|
"items": {
|
|
"$ref": "Binding"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"etag": {
|
|
"description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.",
|
|
"format": "byte",
|
|
"type": "string"
|
|
},
|
|
"policy": {
|
|
"$ref": "Policy",
|
|
"description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them."
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"servicePath": "compute/alpha/projects/",
|
|
"title": "Compute Engine API",
|
|
"version": "alpha"
|
|
} |