Release(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A Release
resource in the Cloud Deploy API.
A Release
defines a specific Skaffold configuration instance
that can be deployed.
Attributes |
|
---|---|
Name | Description |
name |
str
Optional. Name of the Release . Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release} .
The release component must match
[a-z]([a-z0-9-]{0,61}[a-z0-9])?
|
uid |
str
Output only. Unique identifier of the Release .
|
description |
str
Description of the Release . Max length is 255
characters.
|
annotations |
MutableMapping[str, str]
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. |
labels |
MutableMapping[str, str]
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.=""> |
abandoned |
bool
Output only. Indicates whether this is an abandoned release. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the Release was created.
|
render_start_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the render began. |
render_end_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time at which the render completed. |
skaffold_config_uri |
str
Cloud Storage URI of tar.gz archive containing Skaffold configuration. |
skaffold_config_path |
str
Filepath of the Skaffold config inside of the config URI. |
build_artifacts |
MutableSequence[google.cloud.deploy_v1.types.BuildArtifact]
List of artifacts to pass through to Skaffold command. |
delivery_pipeline_snapshot |
google.cloud.deploy_v1.types.DeliveryPipeline
Output only. Snapshot of the parent pipeline taken at release creation time. |
target_snapshots |
MutableSequence[google.cloud.deploy_v1.types.Target]
Output only. Snapshot of the targets taken at release creation time. |
custom_target_type_snapshots |
MutableSequence[google.cloud.deploy_v1.types.CustomTargetType]
Output only. Snapshot of the custom target types referenced by the targets taken at release creation time. |
render_state |
google.cloud.deploy_v1.types.Release.RenderState
Output only. Current state of the render operation. |
etag |
str
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. |
skaffold_version |
str
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. |
target_artifacts |
MutableMapping[str, google.cloud.deploy_v1.types.TargetArtifact]
Output only. Map from target ID to the target artifacts created during the render operation. |
target_renders |
MutableMapping[str, google.cloud.deploy_v1.types.Release.TargetRender]
Output only. Map from target ID to details of the render operation for that target. |
condition |
google.cloud.deploy_v1.types.Release.ReleaseCondition
Output only. Information around the state of the Release. |
deploy_parameters |
MutableMapping[str, str]
Optional. The deploy parameters to use for all targets in this release. |
Classes
AnnotationsEntry
AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
DeployParametersEntry
DeployParametersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
ReleaseCondition
ReleaseCondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
ReleaseCondition contains all conditions relevant to a Release.
ReleaseReadyCondition
ReleaseReadyCondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.
RenderState
RenderState(value)
Valid states of the render operation.
SkaffoldSupportedCondition
SkaffoldSupportedCondition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.
TargetArtifactsEntry
TargetArtifactsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
TargetRender
TargetRender(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Details of rendering for a single target.
TargetRendersEntry
TargetRendersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |