Google Cloud Deploy v1 API - Class Rollout (2.14.0)

public sealed class Rollout : IMessage<Rollout>, IEquatable<Rollout>, IDeepCloneable<Rollout>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class Rollout.

A Rollout resource in the Cloud Deploy API.

A Rollout contains information around a specific deployment to a Target.

Inheritance

object > Rollout

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

Rollout()

public Rollout()

Rollout(Rollout)

public Rollout(Rollout other)
Parameter
NameDescription
otherRollout

Properties

Annotations

public MapField<string, string> Annotations { get; }

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.

Property Value
TypeDescription
MapFieldstringstring

ApprovalState

public Rollout.Types.ApprovalState ApprovalState { get; set; }

Output only. Approval state of the Rollout.

Property Value
TypeDescription
RolloutTypesApprovalState

ApproveTime

public Timestamp ApproveTime { get; set; }

Output only. Time at which the Rollout was approved.

Property Value
TypeDescription
Timestamp

ControllerRollout

public string ControllerRollout { get; set; }

Output only. Name of the ControllerRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time at which the Rollout was created.

Property Value
TypeDescription
Timestamp

DeployEndTime

public Timestamp DeployEndTime { get; set; }

Output only. Time at which the Rollout finished deploying.

Property Value
TypeDescription
Timestamp

DeployFailureCause

public Rollout.Types.FailureCause DeployFailureCause { get; set; }

Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.

Property Value
TypeDescription
RolloutTypesFailureCause

DeployStartTime

public Timestamp DeployStartTime { get; set; }

Output only. Time at which the Rollout started deploying.

Property Value
TypeDescription
Timestamp

DeployingBuild

public string DeployingBuild { get; set; }

Output only. The resource name of the Cloud Build Build object that is used to deploy the Rollout. Format is projects/{project}/locations/{location}/builds/{build}.

Property Value
TypeDescription
string

DeployingBuildAsBuildName

public BuildName DeployingBuildAsBuildName { get; set; }

BuildName-typed view over the DeployingBuild resource name property.

Property Value
TypeDescription
BuildName

Description

public string Description { get; set; }

Description of the Rollout for user purposes. Max length is 255 characters.

Property Value
TypeDescription
string

EnqueueTime

public Timestamp EnqueueTime { get; set; }

Output only. Time at which the Rollout was enqueued.

Property Value
TypeDescription
Timestamp

Etag

public string Etag { get; set; }

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.

Property Value
TypeDescription
string

FailureReason

public string FailureReason { get; set; }

Output only. Additional information about the rollout failure, if available.

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

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.

Property Value
TypeDescription
MapFieldstringstring

Metadata

public Metadata Metadata { get; set; }

Output only. Metadata contains information about the rollout.

Property Value
TypeDescription
Metadata

Name

public string Name { get; set; }

Optional. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.

Property Value
TypeDescription
string

Phases

public RepeatedField<Phase> Phases { get; }

Output only. The phases that represent the workflows of this Rollout.

Property Value
TypeDescription
RepeatedFieldPhase

RollbackOfRollout

public string RollbackOfRollout { get; set; }

Output only. Name of the Rollout that is rolled back by this Rollout. Empty if this Rollout wasn't created as a rollback.

Property Value
TypeDescription
string

RolledBackByRollouts

public RepeatedField<string> RolledBackByRollouts { get; }

Output only. Names of Rollouts that rolled back this Rollout.

Property Value
TypeDescription
RepeatedFieldstring

RolloutName

public RolloutName RolloutName { get; set; }

RolloutName-typed view over the Name resource name property.

Property Value
TypeDescription
RolloutName

State

public Rollout.Types.State State { get; set; }

Output only. Current state of the Rollout.

Property Value
TypeDescription
RolloutTypesState

TargetId

public string TargetId { get; set; }

Required. The ID of Target to which this Rollout is deploying.

Property Value
TypeDescription
string

Uid

public string Uid { get; set; }

Output only. Unique identifier of the Rollout.

Property Value
TypeDescription
string