v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132971121.5 KB
projects

Creates a DeploymentGroup The newly created DeploymentGroup will be in the CREATING state and can be retrieved via Get and List calls.

post/v1/{+parent}/deploymentGroups

Path parameters

parentstring required

Required. The parent in whose context the Deployment Group is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'

Query parameters

deploymentGroupIdstring

Required. The deployment group ID.

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

namestring

Identifier. The name of the deployment group. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

createTimestring google-datetime

Output only. Time when the deployment group was created.

updateTimestring google-datetime

Output only. Time when the deployment group was last updated.

labelsobject

Optional. User-defined metadata for the deployment group.

annotationsobject

Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

state'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING' | 'FAILED' | 'SUSPENDED' | 'DELETED'

Output only. Current state of the deployment group.

stateDescriptionstring

Output only. Additional information regarding the current state.

provisioningState'PROVISIONING_STATE_UNSPECIFIED' | 'PROVISIONING' | 'PROVISIONED' | 'FAILED_TO_PROVISION' | 'DEPROVISIONING' | 'DEPROVISIONED' | 'FAILED_TO_DEPROVISION'

Output only. The provisioning state of the deployment group.

provisioningStateDescriptionstring

Output only. Additional information regarding the current provisioning state.

Response

Successful response