Class Release (0.2.0)

Release(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Release resource in the Google Cloud Deploy API.

A Release defines a specific Skaffold configuration instance that can be deployed.

Attributes

NameDescription
name str
Optional. Name of the Release. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/a-z][a-z0-9-]{0,62}.
uid str
Output only. Unique identifier of the Release.
description str
Description of the Release. Max length is 255 characters.
annotations Sequence[google.cloud.deploy_v1.types.Release.AnnotationsEntry]
User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
labels Sequence[google.cloud.deploy_v1.types.Release.LabelsEntry]
Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: Each resource is limited to 64 labels. Keys must conform to the regexp: [a-zA-Z][a-zA-Z0-9\_-]{0,62} Values must conform to the regexp: [a-zA-Z0-9\_-]{0,63} Both keys and values are additionally constrained to be <= 128="" bytes="" in="" size.="">
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 Sequence[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 Sequence[google.cloud.deploy_v1.types.Target]
Output only. Snapshot of the parent pipeline's 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
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.
target_artifacts Sequence[google.cloud.deploy_v1.types.Release.TargetArtifactsEntry]
Output only. Map from target ID to the target artifacts created during the render operation.
target_renders Sequence[google.cloud.deploy_v1.types.Release.TargetRendersEntry]
Output only. Map from target ID to details of the render operation for that target.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

RenderState

RenderState(value)

Valid states of the render operation.

TargetArtifactsEntry

TargetArtifactsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

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
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.