Google Cloud Deploy v1 API - Class Rollout (2.16.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
Name Description
other Rollout

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
Type Description
MapFieldstringstring

ApprovalState

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

Output only. Approval state of the Rollout.

Property Value
Type Description
RolloutTypesApprovalState

ApproveTime

public Timestamp ApproveTime { get; set; }

Output only. Time at which the Rollout was approved.

Property Value
Type Description
Timestamp

ControllerRollout

public string ControllerRollout { get; set; }

Output only. Name of the ControllerRollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

Property Value
Type Description
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time at which the Rollout was created.

Property Value
Type Description
Timestamp

DeployEndTime

public Timestamp DeployEndTime { get; set; }

Output only. Time at which the Rollout finished deploying.

Property Value
Type Description
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
Type Description
RolloutTypesFailureCause

DeployStartTime

public Timestamp DeployStartTime { get; set; }

Output only. Time at which the Rollout started deploying.

Property Value
Type Description
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
Type Description
string

DeployingBuildAsBuildName

public BuildName DeployingBuildAsBuildName { get; set; }

BuildName-typed view over the DeployingBuild resource name property.

Property Value
Type Description
BuildName

Description

public string Description { get; set; }

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

Property Value
Type Description
string

EnqueueTime

public Timestamp EnqueueTime { get; set; }

Output only. Time at which the Rollout was enqueued.

Property Value
Type Description
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
Type Description
string

FailureReason

public string FailureReason { get; set; }

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

Property Value
Type Description
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
Type Description
MapFieldstringstring

Metadata

public Metadata Metadata { get; set; }

Output only. Metadata contains information about the rollout.

Property Value
Type Description
Metadata

Name

public string Name { get; set; }

Optional. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}. The rollout component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?

Property Value
Type Description
string

Phases

public RepeatedField<Phase> Phases { get; }

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

Property Value
Type Description
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
Type Description
string

RolledBackByRollouts

public RepeatedField<string> RolledBackByRollouts { get; }

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

Property Value
Type Description
RepeatedFieldstring

RolloutName

public RolloutName RolloutName { get; set; }

RolloutName-typed view over the Name resource name property.

Property Value
Type Description
RolloutName

State

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

Output only. Current state of the Rollout.

Property Value
Type Description
RolloutTypesState

TargetId

public string TargetId { get; set; }

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

Property Value
Type Description
string

Uid

public string Uid { get; set; }

Output only. Unique identifier of the Rollout.

Property Value
Type Description
string