Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::Release.
A Release
resource in the Cloud Deploy API.
A Release
defines a specific Skaffold configuration instance
that can be deployed.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#abandoned
def abandoned() -> ::Boolean
- (::Boolean) — Output only. Indicates whether this is an abandoned release.
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#build_artifacts
def build_artifacts() -> ::Array<::Google::Cloud::Deploy::V1::BuildArtifact>
- (::Array<::Google::Cloud::Deploy::V1::BuildArtifact>) — List of artifacts to pass through to Skaffold command.
#build_artifacts=
def build_artifacts=(value) -> ::Array<::Google::Cloud::Deploy::V1::BuildArtifact>
- value (::Array<::Google::Cloud::Deploy::V1::BuildArtifact>) — List of artifacts to pass through to Skaffold command.
- (::Array<::Google::Cloud::Deploy::V1::BuildArtifact>) — List of artifacts to pass through to Skaffold command.
#condition
def condition() -> ::Google::Cloud::Deploy::V1::Release::ReleaseCondition
- (::Google::Cloud::Deploy::V1::Release::ReleaseCondition) — Output only. Information around the state of the Release.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Output only. Time at which the
Release
was created.
#custom_target_type_snapshots
def custom_target_type_snapshots() -> ::Array<::Google::Cloud::Deploy::V1::CustomTargetType>
- (::Array<::Google::Cloud::Deploy::V1::CustomTargetType>) — Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
#delivery_pipeline_snapshot
def delivery_pipeline_snapshot() -> ::Google::Cloud::Deploy::V1::DeliveryPipeline
- (::Google::Cloud::Deploy::V1::DeliveryPipeline) — Output only. Snapshot of the parent pipeline taken at release creation time.
#deploy_parameters
def deploy_parameters() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The deploy parameters to use for all targets in this release.
#deploy_parameters=
def deploy_parameters=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The deploy parameters to use for all targets in this release.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The deploy parameters to use for all targets in this release.
#description
def description() -> ::String
-
(::String) — Description of the
Release
. Max length is 255 characters.
#description=
def description=(value) -> ::String
-
value (::String) — Description of the
Release
. Max length is 255 characters.
-
(::String) — Description of the
Release
. Max length is 255 characters.
#etag
def etag() -> ::String
- (::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.
#etag=
def etag=(value) -> ::String
- value (::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.
- (::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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — Labels are attributes that can be set and used by both the
user and by 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.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — Labels are attributes that can be set and used by both the
user and by 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.
-
(::Google::Protobuf::Map{::String => ::String}) — Labels are attributes that can be set and used by both the
user and by 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.
#name
def name() -> ::String
-
(::String) — Optional. Name of the
Release
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}
. Therelease
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
#name=
def name=(value) -> ::String
-
value (::String) — Optional. Name of the
Release
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}
. Therelease
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
-
(::String) — Optional. Name of the
Release
. Format isprojects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}
. Therelease
component must match[a-z]([a-z0-9-]{0,61}[a-z0-9])?
#render_end_time
def render_end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Time at which the render completed.
#render_start_time
def render_start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Time at which the render began.
#render_state
def render_state() -> ::Google::Cloud::Deploy::V1::Release::RenderState
- (::Google::Cloud::Deploy::V1::Release::RenderState) — Output only. Current state of the render operation.
#skaffold_config_path
def skaffold_config_path() -> ::String
- (::String) — Filepath of the Skaffold config inside of the config URI.
#skaffold_config_path=
def skaffold_config_path=(value) -> ::String
- value (::String) — Filepath of the Skaffold config inside of the config URI.
- (::String) — Filepath of the Skaffold config inside of the config URI.
#skaffold_config_uri
def skaffold_config_uri() -> ::String
- (::String) — Cloud Storage URI of tar.gz archive containing Skaffold configuration.
#skaffold_config_uri=
def skaffold_config_uri=(value) -> ::String
- value (::String) — Cloud Storage URI of tar.gz archive containing Skaffold configuration.
- (::String) — Cloud Storage URI of tar.gz archive containing Skaffold configuration.
#skaffold_version
def skaffold_version() -> ::String
-
(::String) — 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.
#skaffold_version=
def skaffold_version=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.
#target_artifacts
def target_artifacts() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact}
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact}) — Output only. Map from target ID to the target artifacts created during the render operation.
#target_renders
def target_renders() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender}
- (::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender}) — Output only. Map from target ID to details of the render operation for that target.
#target_snapshots
def target_snapshots() -> ::Array<::Google::Cloud::Deploy::V1::Target>
- (::Array<::Google::Cloud::Deploy::V1::Target>) — Output only. Snapshot of the targets taken at release creation time.
#uid
def uid() -> ::String
-
(::String) — Output only. Unique identifier of the
Release
.