class Google::Apis::ClouddeployV1::Release
A ‘Release` resource in the Google
Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
Attributes
User annotations. These attributes can only be set and used by the user, and not by Google
Cloud Deploy. See google.aip.dev/128#annotations for more details such as format and size limitations. Corresponds to the JSON property ‘annotations` @return [Hash<String,String>]
List of artifacts to pass through to Skaffold command. Corresponds to the JSON property ‘buildArtifacts` @return [Array<Google::Apis::ClouddeployV1::BuildArtifact>]
Output only. Time at which the ‘Release` was created. Corresponds to the JSON property `createTime` @return [String]
A ‘DeliveryPipeline` resource in the Google
Cloud Deploy API. A ` DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress. Corresponds to the JSON property `deliveryPipelineSnapshot` @return [Google::Apis::ClouddeployV1::DeliveryPipeline]
Description of the ‘Release`. Max length is 255 characters. Corresponds to the JSON property `description` @return [String]
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. Corresponds to the JSON property ‘etag` @return [String]
Labels are attributes that can be set and used by both the user and by Google
Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
Optional. Name of the ‘Release`. Format is projects/`project`/ locations/` location`/deliveryPipelines/`deliveryPipeline`/ releases/a-z`0,62`. Corresponds to the JSON property `name` @return [String]
Output only. Time at which the render completed. Corresponds to the JSON property ‘renderEndTime` @return [String]
Output only. Time at which the render began. Corresponds to the JSON property ‘renderStartTime` @return [String]
Output only. Current state of the render operation. Corresponds to the JSON property ‘renderState` @return [String]
Filepath of the Skaffold config inside of the config URI. Corresponds to the JSON property ‘skaffoldConfigPath` @return [String]
Cloud Storage URI of tar.gz archive containing Skaffold configuration. Corresponds to the JSON property ‘skaffoldConfigUri` @return [String]
The Skaffold version to use when operating on this release, such as “1.20.0”. Not all versions are valid; Google
Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used. Corresponds to the JSON property ‘skaffoldVersion` @return [String]
Output only. Map from target ID to the target artifacts created during the render operation. Corresponds to the JSON property ‘targetArtifacts` @return [Hash<String,Google::Apis::ClouddeployV1::TargetArtifact>]
Output only. Map from target ID to details of the render operation for that target. Corresponds to the JSON property ‘targetRenders` @return [Hash<String,Google::Apis::ClouddeployV1::TargetRender>]
Output only. Snapshot of the targets taken at release creation time. Corresponds to the JSON property ‘targetSnapshots` @return [Array<Google::Apis::ClouddeployV1::Target>]
Output only. Unique identifier of the ‘Release`. Corresponds to the JSON property `uid` @return [String]
Public Class Methods
# File lib/google/apis/clouddeploy_v1/classes.rb, line 1253 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouddeploy_v1/classes.rb, line 1258 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts) @create_time = args[:create_time] if args.key?(:create_time) @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @render_end_time = args[:render_end_time] if args.key?(:render_end_time) @render_start_time = args[:render_start_time] if args.key?(:render_start_time) @render_state = args[:render_state] if args.key?(:render_state) @skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path) @skaffold_config_uri = args[:skaffold_config_uri] if args.key?(:skaffold_config_uri) @skaffold_version = args[:skaffold_version] if args.key?(:skaffold_version) @target_artifacts = args[:target_artifacts] if args.key?(:target_artifacts) @target_renders = args[:target_renders] if args.key?(:target_renders) @target_snapshots = args[:target_snapshots] if args.key?(:target_snapshots) @uid = args[:uid] if args.key?(:uid) end