- Resource: Release
 - BuildArtifact
 - RenderState
 - TargetArtifact
 - PhaseArtifact
 - TargetRender
 - TargetRenderState
 - RenderMetadata
 - CloudRunRenderMetadata
 - FailureCause
 - ReleaseCondition
 - ReleaseReadyCondition
 - SkaffoldSupportedCondition
 - SkaffoldSupportState
 - Methods
 
Resource: Release
A Release resource in the Cloud Deploy API.
A Release defines a specific Skaffold configuration instance that can be deployed.
| JSON representation | 
|---|
{ "name": string, "uid": string, "description": string, "annotations": { string: string, ... }, "labels": { string: string, ... }, "abandoned": boolean, "createTime": string, "renderStartTime": string, "renderEndTime": string, "skaffoldConfigUri": string, "skaffoldConfigPath": string, "buildArtifacts": [ { object (  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Identifier. Name of the   | 
              
uid | 
                
                   
 Output only. Unique identifier of the   | 
              
description | 
                
                   
 Optional. Description of the   | 
              
annotations | 
                
                   
 Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations. An object containing a list of   | 
              
labels | 
                
                   
 Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: 
 Both keys and values are additionally constrained to be <= 128 bytes. An object containing a list of   | 
              
abandoned | 
                
                   
 Output only. Indicates whether this is an abandoned release.  | 
              
createTime | 
                
                   
 Output only. Time at which the  Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
renderStartTime | 
                
                   
 Output only. Time at which the render began. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
renderEndTime | 
                
                   
 Output only. Time at which the render completed. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
skaffoldConfigUri | 
                
                   
 Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.  | 
              
skaffoldConfigPath | 
                
                   
 Optional. Filepath of the Skaffold config inside of the config URI.  | 
              
buildArtifacts[] | 
                
                   
 Optional. List of artifacts to pass through to Skaffold command.  | 
              
deliveryPipelineSnapshot | 
                
                   
 Output only. Snapshot of the parent pipeline taken at release creation time.  | 
              
targetSnapshots[] | 
                
                   
 Output only. Snapshot of the targets taken at release creation time.  | 
              
customTargetTypeSnapshots[] | 
                
                   
 Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.  | 
              
renderState | 
                
                   
 Output only. Current state of the render operation.  | 
              
etag | 
                
                   
 This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.  | 
              
skaffoldVersion | 
                
                   
 Optional. The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.  | 
              
targetArtifacts | 
                
                   
 Output only. Map from target ID to the target artifacts created during the render operation. An object containing a list of   | 
              
targetRenders | 
                
                   
 Output only. Map from target ID to details of the render operation for that target. An object containing a list of   | 
              
condition | 
                
                   
 Output only. Information around the state of the Release.  | 
              
deployParameters | 
                
                   
 Optional. The deploy parameters to use for all targets in this release. An object containing a list of   | 
              
BuildArtifact
Description of an a image to use during Skaffold rendering.
| JSON representation | 
|---|
{ "image": string, "tag": string }  | 
              
| Fields | |
|---|---|
image | 
                
                   
 Optional. Image name in Skaffold configuration.  | 
              
tag | 
                
                   
 Optional. Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".  | 
              
RenderState
Valid states of the render operation.
| Enums | |
|---|---|
RENDER_STATE_UNSPECIFIED | 
                The render state is unspecified. | 
SUCCEEDED | 
                All rendering operations have completed successfully. | 
FAILED | 
                All rendering operations have completed, and one or more have failed. | 
IN_PROGRESS | 
                Rendering has started and is not complete. | 
TargetArtifact
The artifacts produced by a target render operation.
| JSON representation | 
|---|
{ "skaffoldConfigPath": string, "manifestPath": string, "phaseArtifacts": { string: { object (  | 
              
| Fields | |
|---|---|
skaffoldConfigPath | 
                
                   
 Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.  | 
              
manifestPath | 
                
                   
 Output only. File path of the rendered manifest relative to the URI for the stable phase.  | 
              
phaseArtifacts | 
                
                   
 Output only. Map from the phase ID to the phase artifacts for the  An object containing a list of   | 
              
Union field  
  | 
              |
artifactUri | 
                
                   
 Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.  | 
              
PhaseArtifact
Contains the paths to the artifacts, relative to the URI, for a phase.
| JSON representation | 
|---|
{ "skaffoldConfigPath": string, "manifestPath": string, "jobManifestsPath": string }  | 
              
| Fields | |
|---|---|
skaffoldConfigPath | 
                
                   
 Output only. File path of the resolved Skaffold configuration relative to the URI.  | 
              
manifestPath | 
                
                   
 Output only. File path of the rendered manifest relative to the URI.  | 
              
jobManifestsPath | 
                
                   
 Output only. File path of the directory of rendered job manifests relative to the URI. This is only set if it is applicable.  | 
              
TargetRender
Details of rendering for a single target.
| JSON representation | 
|---|
{ "renderingBuild": string, "renderingState": enum (  | 
              
| Fields | |
|---|---|
renderingBuild | 
                
                   
 Output only. The resource name of the Cloud Build   | 
              
renderingState | 
                
                   
 Output only. Current state of the render operation for this Target.  | 
              
metadata | 
                
                   
 Output only. Metadata related to the   | 
              
failureCause | 
                
                   
 Output only. Reason this render failed. This will always be unspecified while the render in progress.  | 
              
failureMessage | 
                
                   
 Output only. Additional information about the render failure, if available.  | 
              
TargetRenderState
Valid states of the render operation.
| Enums | |
|---|---|
TARGET_RENDER_STATE_UNSPECIFIED | 
                The render operation state is unspecified. | 
SUCCEEDED | 
                The render operation has completed successfully. | 
FAILED | 
                The render operation has failed. | 
IN_PROGRESS | 
                The render operation is in progress. | 
RenderMetadata
RenderMetadata includes information associated with a Release render.
| JSON representation | 
|---|
{ "cloudRun": { object (  | 
              
| Fields | |
|---|---|
cloudRun | 
                
                   
 Output only. Metadata associated with rendering for Cloud Run.  | 
              
custom | 
                
                   
 Output only. Custom metadata provided by user-defined render operation.  | 
              
CloudRunRenderMetadata
CloudRunRenderMetadata contains Cloud Run information associated with a Release render.
| JSON representation | 
|---|
{ "service": string }  | 
              
| Fields | |
|---|---|
service | 
                
                   
 Output only. The name of the Cloud Run Service in the rendered manifest. Format is   | 
              
FailureCause
Well-known rendering failures.
| Enums | |
|---|---|
FAILURE_CAUSE_UNSPECIFIED | 
                No reason for failure is specified. | 
CLOUD_BUILD_UNAVAILABLE | 
                Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See required permission. | 
EXECUTION_FAILED | 
                The render operation did not complete successfully; check Cloud Build logs. | 
CLOUD_BUILD_REQUEST_FAILED | 
                Cloud Build failed to fulfill Cloud Deploy's request. See failureMessage for additional details. | 
VERIFICATION_CONFIG_NOT_FOUND | 
                The render operation did not complete successfully because the verification stanza required for verify was not found on the Skaffold configuration. | 
CUSTOM_ACTION_NOT_FOUND | 
                The render operation did not complete successfully because the custom action(s) required for Rollout jobs were not found in the Skaffold configuration. See failureMessage for additional details. | 
DEPLOYMENT_STRATEGY_NOT_SUPPORTED | 
                Release failed during rendering because the release configuration is not supported with the specified deployment strategy. | 
RENDER_FEATURE_NOT_SUPPORTED | 
                The render operation had a feature configured that is not supported. | 
ReleaseCondition
ReleaseCondition contains all conditions relevant to a Release.
| JSON representation | 
|---|
{ "releaseReadyCondition": { object (  | 
              
| Fields | |
|---|---|
releaseReadyCondition | 
                
                   
 Details around the Releases's overall status.  | 
              
skaffoldSupportedCondition | 
                
                   
 Details around the support state of the release's Skaffold version.  | 
              
ReleaseReadyCondition
ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.
| JSON representation | 
|---|
{ "status": boolean }  | 
              
| Fields | |
|---|---|
status | 
                
                   
 True if the Release is in a valid state. Otherwise at least one condition in   | 
              
SkaffoldSupportedCondition
SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.
| JSON representation | 
|---|
{
  "status": boolean,
  "skaffoldSupportState": enum ( | 
              
| Fields | |
|---|---|
status | 
                
                   
 True if the version of Skaffold used by this release is supported.  | 
              
skaffoldSupportState | 
                
                   
 The Skaffold support state for this release's version of Skaffold.  | 
              
maintenanceModeTime | 
                
                   
 The time at which this release's version of Skaffold will enter maintenance mode. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
supportExpirationTime | 
                
                   
 The time at which this release's version of Skaffold will no longer be supported. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
SkaffoldSupportState
The support state of a specific Skaffold version.
| Enums | |
|---|---|
SKAFFOLD_SUPPORT_STATE_UNSPECIFIED | 
                Default value. This value is unused. | 
SKAFFOLD_SUPPORT_STATE_SUPPORTED | 
                This Skaffold version is currently supported. | 
SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE | 
                This Skaffold version is in maintenance mode. | 
SKAFFOLD_SUPPORT_STATE_UNSUPPORTED | 
                This Skaffold version is no longer supported. | 
Methods | 
            |
|---|---|
                
 | 
              Abandons a Release in the Delivery Pipeline. | 
                
 | 
              Creates a new Release in a given project and location. | 
                
 | 
              Gets details of a single Release. | 
                
 | 
              Lists Releases in a given project and location. |