deployments

DELETE /deploymentmanager/v2/projects/{project}/global/deployments/{deployment}

Changed on

Deletes a deployment and all of the resources in the deployment.

Request

  • Base URL
    https://deploymentmanager.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/ndev.cloudman
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/ndev.cloudman

Path parameters

project, string required

The project ID for this request.

deployment, string required

The name of the deployment for this request.

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, '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.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

deletePolicy, 'DELETE' | 'ABANDON'

Sets the policy to use for deleting resources.

header.bypassBillingFilter, boolean

Response

Successful response

Operation required

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 the globalOperations resource. - For regional operations, use the regionOperations resource. - For zonal operations, use the zoneOperations resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.

agentConversationsSendMessageOperationMetadata, AgentConversationsSendMessageOperationMetadata

[Output Only] Operation metadata for agentConversations.sendMessage. It holds no message content, because anyone with compute.regionOperations.get on the project can read the operation; the reply stays in the owner-only conversation.

clientOperationId, string

[Output Only] The value of requestId 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.

details, OperationDetails
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.

firewallPolicyRuleOperationMetadata, FirewallPolicyRuleOperationMetadata

Metadata for FirewallPolicyRule operations.

getHealthOperationMetadata, GetHealthOperationMetadata

Metadata for GetHealth operations.

getVersionOperationMetadata, GetVersionOperationMetadata
httpErrorMessage, string

[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.

httpErrorStatusCode, integer

[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.

id, string uint64

[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.

instancesBulkInsertOperationMetadata, InstancesBulkInsertOperationMetadata
instancesTroubleshootOperationMetadata, InstancesTroubleshootOperationMetadata

[Output Only] Operation metadata for instances.troubleshoot.

kind, string

Output only. [Output Only] Type of the resource. Always compute#operation for Operation resources.

microVmsExportOperationMetadata, MicroVmsExportOperationMetadata

[Output Only] Operation metadata for microVms.export.

microVmsImportOperationMetadata, MicroVmsImportOperationMetadata

[Output Only] Operation metadata for microVms.import.

name, string

[Output Only] Name of the operation.

operationGroupId, string

Output only. [Output Only] An ID that represents a group of operations, such as when a group of operations results from a bulkInsert API request.

operationType, string

[Output Only] The type of operation, such as insert, update, or delete, 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.

selfLinkWithId, string

Output only. [Output Only] Server-defined URL for this resource with the resource id.

setAutoscalerLinkOperationMetadata, SetAutoscalerLinkOperationMetadata
setCommonInstanceMetadataOperationMetadata, SetCommonInstanceMetadataOperationMetadata
startTime, string

[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.

status, 'PENDING' | 'RUNNING' | 'DONE'

[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.

statusMessage, string

[Output Only] An optional textual description of the current status of the operation.

targetId, string uint64

[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 disk that the snapshot was created from.

user, string

[Output Only] User who requested the operation, for example: user@example.com or alice_smith_identifier (global/workforcePools/example-com-us-employees).

warnings, object[]

[Output Only] If warning messages are generated during processing of the operation, this field will be populated.

zone, string

[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/ndev.cloudman was removed from the endpoint's security scheme Oauth2

    1 more change in this revision