@datafire/google_deploymentmanager
Client library for Cloud Deployment Manager V2 API
Installation and Usage
npm install --save @datafire/google_deploymentmanager
let google_deploymentmanager = require('@datafire/google_deploymentmanager').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Description
The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.
Actions
oauthCallback
Exchange the code passed to your redirect URI for an access_token
google_deploymentmanager.oauthCallback({
"code": ""
}, context)
Input
- input
object
- code required
string
- code required
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
oauthRefresh
Exchange a refresh_token for an access_token
google_deploymentmanager.oauthRefresh(null, context)
Input
This action has no parameters
Output
- output
object
- access_token
string
- refresh_token
string
- token_type
string
- scope
string
- expiration
string
- access_token
deploymentmanager.compositeTypes.list
Lists all composite types for Deployment Manager.
google_deploymentmanager.deploymentmanager.compositeTypes.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output CompositeTypesListResponse
deploymentmanager.compositeTypes.insert
Creates a composite type.
google_deploymentmanager.deploymentmanager.compositeTypes.insert({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - body CompositeType
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.compositeTypes.delete
Deletes a composite type.
google_deploymentmanager.deploymentmanager.compositeTypes.delete({
"project": "",
"compositeType": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - compositeType required
string
: The name of the type for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.compositeTypes.get
Gets information about a specific composite type.
google_deploymentmanager.deploymentmanager.compositeTypes.get({
"project": "",
"compositeType": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - compositeType required
string
: The name of the composite type for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output CompositeType
deploymentmanager.compositeTypes.patch
Patches a composite type.
google_deploymentmanager.deploymentmanager.compositeTypes.patch({
"project": "",
"compositeType": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - compositeType required
string
: The name of the composite type for this request. - body CompositeType
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.compositeTypes.update
Updates a composite type.
google_deploymentmanager.deploymentmanager.compositeTypes.update({
"project": "",
"compositeType": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - compositeType required
string
: The name of the composite type for this request. - body CompositeType
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.list
Lists all deployments for a given project.
google_deploymentmanager.deploymentmanager.deployments.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output DeploymentsListResponse
deploymentmanager.deployments.insert
Creates a deployment and all of the resources described by the deployment manifest.
google_deploymentmanager.deploymentmanager.deployments.insert({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - createPolicy
string
(values: CREATE_OR_ACQUIRE, ACQUIRE, CREATE): Sets the policy to use for creating new resources. - preview
boolean
: If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with theupdate()
method or you can use thecancelPreview()
method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it. - body Deployment
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.delete
Deletes a deployment and all of the resources in the deployment.
google_deploymentmanager.deploymentmanager.deployments.delete({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - deletePolicy
string
(values: DELETE, ABANDON): Sets the policy to use for deleting resources. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.get
Gets information about a specific deployment.
google_deploymentmanager.deploymentmanager.deployments.get({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Deployment
deploymentmanager.deployments.patch
Patches a deployment and all of the resources described by the deployment manifest.
google_deploymentmanager.deploymentmanager.deployments.patch({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - createPolicy
string
(values: CREATE_OR_ACQUIRE, ACQUIRE, CREATE): Sets the policy to use for creating new resources. - deletePolicy
string
(values: DELETE, ABANDON): Sets the policy to use for deleting resources. - preview
boolean
: If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide atarget.config
with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with theupdate()
or you cancancelPreview()
to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it. - body Deployment
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.update
Updates a deployment and all of the resources described by the deployment manifest.
google_deploymentmanager.deploymentmanager.deployments.update({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - createPolicy
string
(values: CREATE_OR_ACQUIRE, ACQUIRE, CREATE): Sets the policy to use for creating new resources. - deletePolicy
string
(values: DELETE, ABANDON): Sets the policy to use for deleting resources. - preview
boolean
: If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide atarget.config
with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with theupdate()
or you cancancelPreview()
to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it. - body Deployment
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.cancelPreview
Cancels and removes the preview currently associated with the deployment.
google_deploymentmanager.deploymentmanager.deployments.cancelPreview({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - body DeploymentsCancelPreviewRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.manifests.list
Lists all manifests for a given deployment.
google_deploymentmanager.deploymentmanager.manifests.list({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output ManifestsListResponse
deploymentmanager.manifests.get
Gets information about a specific manifest.
google_deploymentmanager.deploymentmanager.manifests.get({
"project": "",
"deployment": "",
"manifest": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - manifest required
string
: The name of the manifest for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Manifest
deploymentmanager.resources.list
Lists all resources in a given deployment.
google_deploymentmanager.deploymentmanager.resources.list({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output ResourcesListResponse
deploymentmanager.resources.get
Gets information about a single resource.
google_deploymentmanager.deploymentmanager.resources.get({
"project": "",
"deployment": "",
"resource": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - resource required
string
: The name of the resource for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Resource
deploymentmanager.deployments.stop
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
google_deploymentmanager.deploymentmanager.deployments.stop({
"project": "",
"deployment": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - deployment required
string
: The name of the deployment for this request. - body DeploymentsStopRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.deployments.getIamPolicy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
google_deploymentmanager.deploymentmanager.deployments.getIamPolicy({
"project": "",
"resource": ""
}, context)
Input
- input
object
- project required
string
: Project ID for this request. - resource required
string
: Name or id of the resource for this request. - optionsRequestedPolicyVersion
integer
: Requested IAM Policy version. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Policy
deploymentmanager.deployments.setIamPolicy
Sets the access control policy on the specified resource. Replaces any existing policy.
google_deploymentmanager.deploymentmanager.deployments.setIamPolicy({
"project": "",
"resource": ""
}, context)
Input
- input
object
- project required
string
: Project ID for this request. - resource required
string
: Name or id of the resource for this request. - body GlobalSetPolicyRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Policy
deploymentmanager.deployments.testIamPermissions
Returns permissions that a caller has on the specified resource.
google_deploymentmanager.deploymentmanager.deployments.testIamPermissions({
"project": "",
"resource": ""
}, context)
Input
- input
object
- project required
string
: Project ID for this request. - resource required
string
: Name or id of the resource for this request. - body TestPermissionsRequest
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output TestPermissionsResponse
deploymentmanager.operations.list
Lists all operations for a project.
google_deploymentmanager.deploymentmanager.operations.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output OperationsListResponse
deploymentmanager.operations.get
Gets information about a specific operation.
google_deploymentmanager.deploymentmanager.operations.get({
"project": "",
"operation": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - operation required
string
: The name of the operation for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.typeProviders.list
Lists all resource type providers for Deployment Manager.
google_deploymentmanager.deploymentmanager.typeProviders.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output TypeProvidersListResponse
deploymentmanager.typeProviders.insert
Creates a type provider.
google_deploymentmanager.deploymentmanager.typeProviders.insert({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - body TypeProvider
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.typeProviders.delete
Deletes a type provider.
google_deploymentmanager.deploymentmanager.typeProviders.delete({
"project": "",
"typeProvider": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.typeProviders.get
Gets information about a specific type provider.
google_deploymentmanager.deploymentmanager.typeProviders.get({
"project": "",
"typeProvider": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output TypeProvider
deploymentmanager.typeProviders.patch
Patches a type provider.
google_deploymentmanager.deploymentmanager.typeProviders.patch({
"project": "",
"typeProvider": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - body TypeProvider
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.typeProviders.update
Updates a type provider.
google_deploymentmanager.deploymentmanager.typeProviders.update({
"project": "",
"typeProvider": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - body TypeProvider
- $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output Operation
deploymentmanager.typeProviders.listTypes
Lists all the type info for a TypeProvider.
google_deploymentmanager.deploymentmanager.typeProviders.listTypes({
"project": "",
"typeProvider": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
deploymentmanager.typeProviders.getType
Gets a type info for a type provided by a TypeProvider.
google_deploymentmanager.deploymentmanager.typeProviders.getType({
"project": "",
"typeProvider": "",
"type": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - typeProvider required
string
: The name of the type provider for this request. - type required
string
: The name of the type provider type for this request. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output TypeInfo
deploymentmanager.types.list
Lists all resource types for Deployment Manager.
google_deploymentmanager.deploymentmanager.types.list({
"project": ""
}, context)
Input
- input
object
- project required
string
: The project ID for this request. - filter
string
: 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=
,!=
,>
, or<
. For example, if you are filtering Compute Engine instances, you can exclude instances namedexample-instance
by specifyingname != example-instance
. You can also filter nested fields. For example, you could specifyscheduling.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. To filter on multiple expressions, provide each separate expression within parentheses. For example:(scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is anAND
expression. However, you can includeAND
andOR
expressions explicitly. For example:(cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
- maxResults
integer
: The maximum number of results per page that should be returned. If the number of available results is larger thanmaxResults
, Compute Engine returns anextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are0
to500
, inclusive. (Default:500
) - orderBy
string
: Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp usingorderBy="creationTimestamp desc"
. This sorts results based on thecreationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting byname
orcreationTimestamp desc
is supported. - pageToken
string
: Specifies a page token to use. SetpageToken
to thenextPageToken
returned by a previous list request to get the next page of results. - $.xgafv
string
(values: 1, 2): V1 error format. - access_token
string
: OAuth access token. - alt
string
(values: json, media, proto): Data format for response. - callback
string
: JSONP - fields
string
: Selector specifying which fields to include in a partial response. - key
string
: 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. - oauth_token
string
: OAuth 2.0 token for the current user. - prettyPrint
boolean
: Returns response with indentations and line breaks. - quotaUser
string
: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - upload_protocol
string
: Upload protocol for media (e.g. "raw", "multipart"). - uploadType
string
: Legacy upload protocol for media (e.g. "media", "multipart").
- project required
Output
- output TypesListResponse
Definitions
AsyncOptions
- AsyncOptions
object
: Async options that determine when a resource should finish.- methodMatch
string
: Method regex where this policy will apply. - pollingOptions PollingOptions
- methodMatch
AuditConfig
- AuditConfig
object
: 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. If there are AuditConfigs for bothallServices
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. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.- auditLogConfigs
array
: The configuration for logging of each type of permission.- items AuditLogConfig
- service
string
: 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.
- auditLogConfigs
AuditLogConfig
- AuditLogConfig
object
: Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.- exemptedMembers
array
: Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.- items
string
- items
- logType
string
(values: LOG_TYPE_UNSPECIFIED, ADMIN_READ, DATA_WRITE, DATA_READ): The log type that this config enables.
- exemptedMembers
BaseType
- BaseType
object
: BaseType that describes a service-backed Type.- collectionOverrides
array
: Allows resource handling overrides for specific collections- items CollectionOverride
- credential Credential
- descriptorUrl
string
: Descriptor Url for the this type. - options Options
- collectionOverrides
BasicAuth
- BasicAuth
object
: Basic Auth used as a credential.- password
string
- user
string
- password
Binding
- Binding
object
: Associatesmembers
with arole
.- condition Expr
- members
array
: Specifies the identities requesting access for a Cloud Platform resource.members
can have the following values: *allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. *allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. *user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
. *serviceAccount:{emailid}
: An email address that represents a service account. For example,my-other-app@appspot.gserviceaccount.com
. *group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
. *deleted:user:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a user that has been recently deleted. For example,alice@example.com?uid=123456789012345678901
. If the user is recovered, this value reverts touser:{emailid}
and the recovered user retains the role in the binding. *deleted:serviceAccount:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901
. If the service account is undeleted, this value reverts toserviceAccount:{emailid}
and the undeleted service account retains the role in the binding. *deleted:group:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example,admins@example.com?uid=123456789012345678901
. If the group is recovered, this value reverts togroup:{emailid}
and the recovered group retains the role in the binding. *domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.com
.- items
string
- items
- role
string
: Role that is assigned tomembers
. For example,roles/viewer
,roles/editor
, orroles/owner
.
CollectionOverride
- CollectionOverride
object
: CollectionOverride allows resource handling overrides for specific resources within a BaseType- collection
string
: The collection that identifies this resource within its service. - options Options
- collection
CompositeType
- CompositeType
object
: Holds the composite type.- description
string
: An optional textual description of the resource; provided by the client when the resource is created. - id
string
- insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - labels
array
: Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression:[a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression([a-z]([-a-z0-9]*[a-z0-9])?)?
.- items CompositeTypeLabelEntry
- name
string
: Name of the composite type, must follow the expression:[a-z]([-a-z0-9_.]{0,61}[a-z0-9])?
. - operation Operation
- selfLink
string
: Output only. Server defined URL for the resource. - status
string
(values: UNKNOWN_STATUS, DEPRECATED, EXPERIMENTAL, SUPPORTED) - templateContents TemplateContents
- description
CompositeTypeLabelEntry
- CompositeTypeLabelEntry
object
: Label object for CompositeTypes- key
string
: Key of the label - value
string
: Value of the label
- key
CompositeTypesListResponse
- CompositeTypesListResponse
object
: A response that returns all Composite Types supported by Deployment Manager- compositeTypes
array
: Output only. A list of resource composite types supported by Deployment Manager.- items CompositeType
- nextPageToken
string
: A token used to continue a truncated list request.
- compositeTypes
ConfigFile
- ConfigFile
object
- content
string
: The contents of the file.
- content
Credential
- Credential
object
: The credential used by Deployment Manager and TypeProvider. Only one of the options is permitted.- basicAuth BasicAuth
- serviceAccount ServiceAccount
- useProjectDefault
boolean
: Specify to use the project default credential, only supported by Deployment.
Deployment
- Deployment
object
- description
string
: An optional user-provided description of the deployment. - fingerprint
string
: Provides a fingerprint to use in requests to modify a deployment, such asupdate()
,stop()
, andcancelPreview()
requests. A fingerprint is a randomly generated value that must be provided withupdate()
,stop()
, andcancelPreview()
requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time. The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform aget()
request to a deployment. - id
string
- insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - labels
array
: Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression:[a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression([a-z]([-a-z0-9]*[a-z0-9])?)?
.- items DeploymentLabelEntry
- manifest
string
: Output only. URL of the manifest representing the last manifest that was successfully deployed. If no manifest has been successfully deployed, this field will be absent. - name
string
: 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. - operation Operation
- selfLink
string
: Output only. Server defined URL for the resource. - target TargetConfiguration
- update DeploymentUpdate
- updateTime
string
: Output only. Update timestamp in RFC3339 text format.
- description
DeploymentLabelEntry
- DeploymentLabelEntry
object
: Label object for Deployments- key
string
: Key of the label - value
string
: Value of the label
- key
DeploymentUpdate
- DeploymentUpdate
object
- description
string
: Output only. An optional user-provided description of the deployment after the current update has been applied. - labels
array
: Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression:[a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression([a-z]([-a-z0-9]*[a-z0-9])?)?
. - manifest
string
: Output only. URL of the manifest representing the update configuration of this deployment.
- description
DeploymentUpdateLabelEntry
- DeploymentUpdateLabelEntry
object
: Label object for DeploymentUpdate- key
string
: Key of the label - value
string
: Value of the label
- key
DeploymentsCancelPreviewRequest
- DeploymentsCancelPreviewRequest
object
- fingerprint
string
: Specifies a fingerprint forcancelPreview()
requests. A fingerprint is a randomly generated value that must be provided incancelPreview()
requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform aget()
request on the deployment.
- fingerprint
DeploymentsListResponse
- DeploymentsListResponse
object
: A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.- deployments
array
: Output only. The deployments contained in this response.- items Deployment
- nextPageToken
string
: Output only. A token used to continue a truncated list request.
- deployments
DeploymentsStopRequest
- DeploymentsStopRequest
object
- fingerprint
string
: Specifies a fingerprint forstop()
requests. A fingerprint is a randomly generated value that must be provided instop()
requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision). The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform aget()
request on the deployment.
- fingerprint
Diagnostic
- Diagnostic
object
- field
string
: JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic. - level
string
(values: UNKNOWN, INFORMATION, WARNING, ERROR): Level to record this diagnostic.
- field
Expr
- Expr
object
: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.- description
string
: Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. - expression
string
: Textual representation of an expression in Common Expression Language syntax. - location
string
: Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. - title
string
: 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.
- description
GlobalSetPolicyRequest
- GlobalSetPolicyRequest
object
ImportFile
- ImportFile
object
- content
string
: The contents of the file. - name
string
: The name of the file.
- content
InputMapping
- InputMapping
object
: InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.- fieldName
string
: The name of the field that is going to be injected. - location
string
(values: UNKNOWN, PATH, QUERY, BODY, HEADER): The location where this mapping applies. - methodMatch
string
: Regex to evaluate on method to decide if input applies. - value
string
: A jsonPath expression to select an element.
- fieldName
Manifest
- Manifest
object
- config ConfigFile
- expandedConfig
string
: Output only. The fully-expanded configuration file, including any templates and references. - id
string
- imports
array
: Output only. The imported files for this manifest.- items ImportFile
- insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - layout
string
: Output only. The YAML layout for this manifest. - name
string
: Output only. The name of the manifest. - selfLink
string
: Output only. Self link for the manifest.
ManifestsListResponse
- ManifestsListResponse
object
: A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.- manifests
array
: Output only. Manifests contained in this list response.- items Manifest
- nextPageToken
string
: Output only. A token used to continue a truncated list request.
- manifests
Operation
- Operation
object
: Represents an Operation resource. Google Compute Engine has three Operation resources: * Global * Regional * Zonal You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use theglobalOperations
resource. - For regional operations, use theregionOperations
resource. - For zonal operations, use thezonalOperations
resource. For more information, read Global, Regional, and Zonal Resources.- clientOperationId
string
: [Output Only] The value ofrequestId
if you provided it in the request. Not present otherwise. - creationTimestamp
string
: [Deprecated] This field is deprecated. - description
string
: [Output Only] A textual description of the operation, which is set when the operation is created. - endTime
string
: [Output Only] The time that this operation was completed. This value is in RFC3339 text format. - error
object
: [Output Only] If errors are generated during processing of the operation, this field will be populated.- errors
array
: [Output Only] The array of errors encountered while processing this operation.- items
object
- code
string
: [Output Only] The error type identifier for this error. - location
string
: [Output Only] Indicates the field in the request that caused the error. This property is optional. - message
string
: [Output Only] An optional, human-readable error message.
- code
- items
- errors
- httpErrorMessage
string
: [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such asNOT FOUND
. - httpErrorStatusCode
integer
: [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a404
means the resource was not found. - id
string
: [Output Only] The unique identifier for the operation. This identifier is defined by the server. - insertTime
string
: [Output Only] The time that this operation was requested. This value is in RFC3339 text format. - kind
string
: [Output Only] Type of the resource. Alwayscompute#operation
for Operation resources. - name
string
: [Output Only] Name of the operation. - operationType
string
: [Output Only] The type of operation, such asinsert
,update
, ordelete
, and so on. - progress
integer
: [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. - region
string
: [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. - selfLink
string
: [Output Only] Server-defined URL for the resource. - startTime
string
: [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. - status
string
(values: PENDING, RUNNING, DONE): [Output Only] The status of the operation, which can be one of the following:PENDING
,RUNNING
, orDONE
. - statusMessage
string
: [Output Only] An optional textual description of the current status of the operation. - targetId
string
: [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. - targetLink
string
: [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. - user
string
: [Output Only] User who requested the operation, for example:user@example.com
. - warnings
array
: [Output Only] If warning messages are generated during processing of the operation, this field will be populated.- items
object
- code
string
(values: DEPRECATED_RESOURCE_USED, NO_RESULTS_ON_PAGE, UNREACHABLE, NEXT_HOP_ADDRESS_NOT_ASSIGNED, NEXT_HOP_INSTANCE_NOT_FOUND, NEXT_HOP_INSTANCE_NOT_ON_NETWORK, NEXT_HOP_CANNOT_IP_FORWARD, NEXT_HOP_NOT_RUNNING, INJECTED_KERNELS_DEPRECATED, REQUIRED_TOS_AGREEMENT, DISK_SIZE_LARGER_THAN_IMAGE_SIZE, RESOURCE_NOT_DELETED, SINGLE_INSTANCE_PROPERTY_TEMPLATE, NOT_CRITICAL_ERROR, CLEANUP_FAILED, FIELD_VALUE_OVERRIDEN, RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING, MISSING_TYPE_DEPENDENCY, EXTERNAL_API_WARNING, SCHEMA_VALIDATION_IGNORED, UNDECLARED_PROPERTIES, EXPERIMENTAL_TYPE_USED, DEPRECATED_TYPE_USED, PARTIAL_SUCCESS, LARGE_DEPLOYMENT_WARNING): [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - data
array
: [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }- items
object
- key
string
: [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). - value
string
: [Output Only] A warning data value corresponding to the key.
- key
- items
- message
string
: [Output Only] A human-readable description of the warning code.
- code
- items
- zone
string
: [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
- clientOperationId
OperationsListResponse
- OperationsListResponse
object
: A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.- nextPageToken
string
: Output only. A token used to continue a truncated list request. - operations
array
: Output only. Operations contained in this list response.- items Operation
- nextPageToken
Options
- Options
object
: Options allows customized resource handling by Deployment Manager.- asyncOptions
array
: Options regarding how to thread async requests.- items AsyncOptions
- inputMappings
array
: The mappings that apply for requests.- items InputMapping
- validationOptions ValidationOptions
- virtualProperties
string
: Additional properties block described as a jsonSchema, these properties will never be part of the json payload, but they can be consumed by InputMappings, this must be a valid json schema draft-04. The properties specified here will be decouple in a different section. This schema will be merged to the schema validation, and properties here will be extracted From the payload and consumed explicitly by InputMappings. ex: field1: type: string field2: type: number
- asyncOptions
Policy
- Policy
object
: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. APolicy
is a collection ofbindings
. Abinding
binds one or moremembers
to a singlerole
. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). Arole
is a named list of permissions; eachrole
can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, abinding
can also specify acondition
, which is a logical expression that allows access to a resource only if the expression evaluates totrue
. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation. JSON example: { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the IAM documentation.- auditConfigs
array
: Specifies cloud audit logging configuration for this policy.- items AuditConfig
- bindings
array
: Associates a list ofmembers
to arole
. Optionally, may specify acondition
that determines how and when thebindings
are applied. Each of thebindings
must contain at least one member.- items Binding
- etag
string
: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 theetag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: Anetag
is returned in the response togetIamPolicy
, and systems are expected to put that etag in the request tosetIamPolicy
to ensure that their change will be applied to the same version of the policy. Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost. - version
integer
: Specifies the format of the policy. Valid values are0
,1
, and3
. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version3
. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions Important: If you use IAM Conditions, you must include theetag
field whenever you callsetIamPolicy
. If you omit this field, then IAM allows you to overwrite a version3
policy with a version1
policy, and all of the conditions in the version3
policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.
- auditConfigs
PollingOptions
- PollingOptions
object
- diagnostics
array
: An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user.- items Diagnostic
- failCondition
string
: JsonPath expression that determines if the request failed. - finishCondition
string
: JsonPath expression that determines if the request is completed. - pollingLink
string
: JsonPath expression that evaluates to string, it indicates where to poll. - targetLink
string
: JsonPath expression, after polling is completed, indicates where to fetch the resource.
- diagnostics
Resource
- Resource
object
- accessControl ResourceAccessControl
- finalProperties
string
: Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML. - id
string
- insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - manifest
string
: Output only. URL of the manifest representing the current configuration of this resource. - name
string
: Output only. The name of the resource as it appears in the YAML config. - properties
string
: Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML. - type
string
: Output only. The type of the resource, for examplecompute.v1.instance
, orcloudfunctions.v1beta1.function
. - update ResourceUpdate
- updateTime
string
: Output only. Update timestamp in RFC3339 text format. - url
string
: Output only. The URL of the actual resource. - warnings
array
: Output only. If warning messages are generated during processing of this resource, this field will be populated.- items
object
- code
string
(values: DEPRECATED_RESOURCE_USED, NO_RESULTS_ON_PAGE, UNREACHABLE, NEXT_HOP_ADDRESS_NOT_ASSIGNED, NEXT_HOP_INSTANCE_NOT_FOUND, NEXT_HOP_INSTANCE_NOT_ON_NETWORK, NEXT_HOP_CANNOT_IP_FORWARD, NEXT_HOP_NOT_RUNNING, INJECTED_KERNELS_DEPRECATED, REQUIRED_TOS_AGREEMENT, DISK_SIZE_LARGER_THAN_IMAGE_SIZE, RESOURCE_NOT_DELETED, SINGLE_INSTANCE_PROPERTY_TEMPLATE, NOT_CRITICAL_ERROR, CLEANUP_FAILED, FIELD_VALUE_OVERRIDEN, RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING, MISSING_TYPE_DEPENDENCY, EXTERNAL_API_WARNING, SCHEMA_VALIDATION_IGNORED, UNDECLARED_PROPERTIES, EXPERIMENTAL_TYPE_USED, DEPRECATED_TYPE_USED, PARTIAL_SUCCESS, LARGE_DEPLOYMENT_WARNING): [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - data
array
: [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }- items
object
- key
string
: [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). - value
string
: [Output Only] A warning data value corresponding to the key.
- key
- items
- message
string
: [Output Only] A human-readable description of the warning code.
- code
- items
ResourceAccessControl
- ResourceAccessControl
object
: The access controls set on the resource.- gcpIamPolicy
string
: The GCP IAM Policy to set on the resource.
- gcpIamPolicy
ResourceUpdate
- ResourceUpdate
object
- accessControl ResourceAccessControl
- error
object
: Output only. If errors are generated during update of the resource, this field will be populated.- errors
array
: [Output Only] The array of errors encountered while processing this operation.- items
object
- code
string
: [Output Only] The error type identifier for this error. - location
string
: [Output Only] Indicates the field in the request that caused the error. This property is optional. - message
string
: [Output Only] An optional, human-readable error message.
- code
- items
- errors
- finalProperties
string
: Output only. The expanded properties of the resource with reference values expanded. Returned as serialized YAML. - intent
string
(values: CREATE_OR_ACQUIRE, DELETE, ACQUIRE, UPDATE, ABANDON, CREATE): Output only. The intent of the resource:PREVIEW
,UPDATE
, orCANCEL
. - manifest
string
: Output only. URL of the manifest representing the update configuration of this resource. - properties
string
: Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML. - state
string
(values: PENDING, IN_PROGRESS, IN_PREVIEW, FAILED, ABORTED): Output only. The state of the resource. - warnings
array
: Output only. If warning messages are generated during processing of this resource, this field will be populated.- items
object
- code
string
(values: DEPRECATED_RESOURCE_USED, NO_RESULTS_ON_PAGE, UNREACHABLE, NEXT_HOP_ADDRESS_NOT_ASSIGNED, NEXT_HOP_INSTANCE_NOT_FOUND, NEXT_HOP_INSTANCE_NOT_ON_NETWORK, NEXT_HOP_CANNOT_IP_FORWARD, NEXT_HOP_NOT_RUNNING, INJECTED_KERNELS_DEPRECATED, REQUIRED_TOS_AGREEMENT, DISK_SIZE_LARGER_THAN_IMAGE_SIZE, RESOURCE_NOT_DELETED, SINGLE_INSTANCE_PROPERTY_TEMPLATE, NOT_CRITICAL_ERROR, CLEANUP_FAILED, FIELD_VALUE_OVERRIDEN, RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING, MISSING_TYPE_DEPENDENCY, EXTERNAL_API_WARNING, SCHEMA_VALIDATION_IGNORED, UNDECLARED_PROPERTIES, EXPERIMENTAL_TYPE_USED, DEPRECATED_TYPE_USED, PARTIAL_SUCCESS, LARGE_DEPLOYMENT_WARNING): [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - data
array
: [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }- items
object
- key
string
: [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). - value
string
: [Output Only] A warning data value corresponding to the key.
- key
- items
- message
string
: [Output Only] A human-readable description of the warning code.
- code
- items
ResourcesListResponse
- ResourcesListResponse
object
: A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.- nextPageToken
string
: A token used to continue a truncated list request. - resources
array
: Resources contained in this list response.- items Resource
- nextPageToken
ServiceAccount
- ServiceAccount
object
: Service Account used as a credential.- email
string
: The IAM service account email address like test@myproject.iam.gserviceaccount.com
- email
TargetConfiguration
- TargetConfiguration
object
- config ConfigFile
- imports
array
: Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.- items ImportFile
TemplateContents
- TemplateContents
object
: Files that make up the template contents of a template type.- imports
array
: Import files referenced by the main template.- items ImportFile
- interpreter
string
(values: UNKNOWN_INTERPRETER, PYTHON, JINJA): Which interpreter (python or jinja) should be used during expansion. - mainTemplate
string
: The filename of the mainTemplate - schema
string
: The contents of the template schema. - template
string
: The contents of the main template file.
- imports
TestPermissionsRequest
- TestPermissionsRequest
object
- permissions
array
: The set of permissions to check for the 'resource'. Permissions with wildcards (such as '' or 'storage.') are not allowed.- items
string
- items
- permissions
TestPermissionsResponse
- TestPermissionsResponse
object
- permissions
array
: A subset ofTestPermissionsRequest.permissions
that the caller is allowed.- items
string
- items
- permissions
Type
- Type
object
: A resource type supported by Deployment Manager.- base BaseType
- description
string
: An optional textual description of the resource; provided by the client when the resource is created. - id
string
- insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - labels
array
: Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression:[a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression([a-z]([-a-z0-9]*[a-z0-9])?)?
.- items TypeLabelEntry
- name
string
: Name of the type. - operation Operation
- selfLink
string
: Output only. Server defined URL for the resource.
TypeInfo
- TypeInfo
object
: Type Information. Contains detailed information about a composite type, base type, or base type with specific collection.- description
string
: The description of the type. - documentationLink
string
: For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty. - kind
string
: Output only. Type of the output. AlwaysdeploymentManager#TypeInfo
for TypeInfo. - name
string
: The base type or composite type name. - schema TypeInfoSchemaInfo
- selfLink
string
: Output only. Self link for the type provider. - title
string
: The title on the API descriptor URL provided.
- description
TypeInfoSchemaInfo
- TypeInfoSchemaInfo
object
- input
string
: The properties that this composite type or base type collection accept as input, represented as a json blob, format is: JSON Schema Draft V4 - output
string
: The properties that this composite type or base type collection exposes as output, these properties can be used for references, represented as json blob, format is: JSON Schema Draft V4
- input
TypeLabelEntry
- TypeLabelEntry
object
: Label object for Types- key
string
: Key of the label - value
string
: Value of the label
- key
TypeProvider
- TypeProvider
object
: A type provider that describes a service-backed Type.- collectionOverrides
array
: Allows resource handling overrides for specific collections- items CollectionOverride
- credential Credential
- customCertificateAuthorityRoots
array
: List of up to 2 custom certificate authority roots to use for TLS authentication when making calls on behalf of this type provider. If set, TLS authentication will exclusively use these roots instead of relying on publicly trusted certificate authorities when validating TLS certificate authenticity. The certificates must be in base64-encoded PEM format. The maximum size of each certificate must not exceed 10KB.- items
string
- items
- description
string
: An optional textual description of the resource; provided by the client when the resource is created. - descriptorUrl
string
: Descriptor Url for the this type provider. - id
string
: Output only. Unique identifier for the resource defined by the server. - insertTime
string
: Output only. Creation timestamp in RFC3339 text format. - labels
array
: Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression:[a-z]([-a-z0-9]*[a-z0-9])?
Label values must be between 0 and 63 characters long and must conform to the regular expression([a-z]([-a-z0-9]*[a-z0-9])?)?
- items TypeProviderLabelEntry
- name
string
: 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. - operation Operation
- options Options
- selfLink
string
: Output only. Self link for the type provider.
- collectionOverrides
TypeProviderLabelEntry
- TypeProviderLabelEntry
object
: Label object for TypeProviders- key
string
: Key of the label - value
string
: Value of the label
- key
TypeProvidersListResponse
- TypeProvidersListResponse
object
: A response that returns all Type Providers supported by Deployment Manager- nextPageToken
string
: A token used to continue a truncated list request. - typeProviders
array
: Output only. A list of resource type providers supported by Deployment Manager.- items TypeProvider
- nextPageToken
TypeProvidersListTypesResponse
- TypeProvidersListTypesResponse
object
- nextPageToken
string
: A token used to continue a truncated list request. - types
array
: Output only. A list of resource type info.- items TypeInfo
- nextPageToken
TypesListResponse
- TypesListResponse
object
: A response that returns all Types supported by Deployment Manager- nextPageToken
string
: A token used to continue a truncated list request. - types
array
: Output only. A list of resource types supported by Deployment Manager.- items Type
- nextPageToken
ValidationOptions
- ValidationOptions
object
: Options for how to validate and process properties on a resource.- schemaValidation
string
(values: UNKNOWN, IGNORE, IGNORE_WITH_WARNINGS, FAIL): Customize how deployment manager will validate the resource against schema errors. - undeclaredProperties
string
(values: UNKNOWN, INCLUDE, IGNORE, INCLUDE_WITH_WARNINGS, IGNORE_WITH_WARNINGS, FAIL): Specify what to do with extra properties when executing a request.
- schemaValidation