Class Release
A Release
resource in the Cloud Deploy API. A Release
defines a specific Skaffold configuration instance
that can be deployed.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class Release : IDirectResponseSchema
Properties
Abandoned
Output only. Indicates whether this is an abandoned release.
Declaration
[JsonProperty("abandoned")]
public virtual bool? Abandoned { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Annotations
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.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
BuildArtifacts
List of artifacts to pass through to Skaffold command.
Declaration
[JsonProperty("buildArtifacts")]
public virtual IList<BuildArtifact> BuildArtifacts { get; set; }
Property Value
Type | Description |
---|---|
IList<BuildArtifact> |
Condition
Output only. Information around the state of the Release.
Declaration
[JsonProperty("condition")]
public virtual ReleaseCondition Condition { get; set; }
Property Value
Type | Description |
---|---|
ReleaseCondition |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time at which the Release
was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomTargetTypeSnapshots
Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
Declaration
[JsonProperty("customTargetTypeSnapshots")]
public virtual IList<CustomTargetType> CustomTargetTypeSnapshots { get; set; }
Property Value
Type | Description |
---|---|
IList<CustomTargetType> |
DeliveryPipelineSnapshot
Output only. Snapshot of the parent pipeline taken at release creation time.
Declaration
[JsonProperty("deliveryPipelineSnapshot")]
public virtual DeliveryPipeline DeliveryPipelineSnapshot { get; set; }
Property Value
Type | Description |
---|---|
DeliveryPipeline |
DeployParameters
Optional. The deploy parameters to use for all targets in this release.
Declaration
[JsonProperty("deployParameters")]
public virtual IDictionary<string, string> DeployParameters { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Description
Description of the Release
. Max length is 255 characters.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
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])?
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RenderEndTime
object representation of RenderEndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RenderEndTimeDateTimeOffset instead.")]
public virtual object RenderEndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
RenderEndTimeDateTimeOffset
DateTimeOffset representation of RenderEndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RenderEndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
RenderEndTimeRaw
Output only. Time at which the render completed.
Declaration
[JsonProperty("renderEndTime")]
public virtual string RenderEndTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RenderStartTime
object representation of RenderStartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use RenderStartTimeDateTimeOffset instead.")]
public virtual object RenderStartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
RenderStartTimeDateTimeOffset
DateTimeOffset representation of RenderStartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? RenderStartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
RenderStartTimeRaw
Output only. Time at which the render began.
Declaration
[JsonProperty("renderStartTime")]
public virtual string RenderStartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
RenderState
Output only. Current state of the render operation.
Declaration
[JsonProperty("renderState")]
public virtual string RenderState { get; set; }
Property Value
Type | Description |
---|---|
string |
SkaffoldConfigPath
Filepath of the Skaffold config inside of the config URI.
Declaration
[JsonProperty("skaffoldConfigPath")]
public virtual string SkaffoldConfigPath { get; set; }
Property Value
Type | Description |
---|---|
string |
SkaffoldConfigUri
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
Declaration
[JsonProperty("skaffoldConfigUri")]
public virtual string SkaffoldConfigUri { get; set; }
Property Value
Type | Description |
---|---|
string |
SkaffoldVersion
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.
Declaration
[JsonProperty("skaffoldVersion")]
public virtual string SkaffoldVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
TargetArtifacts
Output only. Map from target ID to the target artifacts created during the render operation.
Declaration
[JsonProperty("targetArtifacts")]
public virtual IDictionary<string, TargetArtifact> TargetArtifacts { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, TargetArtifact> |
TargetRenders
Output only. Map from target ID to details of the render operation for that target.
Declaration
[JsonProperty("targetRenders")]
public virtual IDictionary<string, TargetRender> TargetRenders { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, TargetRender> |
TargetSnapshots
Output only. Snapshot of the targets taken at release creation time.
Declaration
[JsonProperty("targetSnapshots")]
public virtual IList<Target> TargetSnapshots { get; set; }
Property Value
Type | Description |
---|---|
IList<Target> |
Uid
Output only. Unique identifier of the Release
.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |