# Class Release (2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.1 2.6.3 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.0 1.19.1 1.18.1 1.17.3 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.1 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.1 1.1.1 1.0.0 0.3.2 0.2.0 0.1.1

    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` Identifier. 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` Optional. Description of the `Release`. Max length is 255 characters. |
| `annotations` | `MutableMapping[str, str]` 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. |
| `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` Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration. |
| `skaffold_config_path` | `str` Optional. Filepath of the Skaffold config inside of the config URI. |
| `build_artifacts` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.BuildArtifact]` Optional. List of artifacts to pass through to Skaffold command. |
| `delivery_pipeline_snapshot` | `https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.DeliveryPipeline` Output only. Snapshot of the parent pipeline taken at release creation time. |
| `target_snapshots` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.Target]` Output only. Snapshot of the targets taken at release creation time. |
| `custom_target_type_snapshots` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/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` | `https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/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, https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/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, https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.Release.TargetRender]` Output only. Map from target ID to details of the render operation for that target. |
| `condition` | `https://docs.cloud.google.com/python/docs/reference/clouddeploy/latest/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, `.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. |

### 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, `.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** ||
|---|---|
| **Name** | **Description** |
| `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. |

### 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, `.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** ||
|---|---|
| **Name** | **Description** |
| `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. |