Google Cloud Deploy v1 API - Class RollbackTargetRequest (2.19.0)

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

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

The request object for RollbackTarget.

Inheritance

object > RollbackTargetRequest

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

RollbackTargetRequest()

public RollbackTargetRequest()

RollbackTargetRequest(RollbackTargetRequest)

public RollbackTargetRequest(RollbackTargetRequest other)
Parameter
Name Description
other RollbackTargetRequest

Properties

DeliveryPipelineName

public DeliveryPipelineName DeliveryPipelineName { get; set; }

DeliveryPipelineName-typed view over the Name resource name property.

Property Value
Type Description
DeliveryPipelineName

Name

public string Name { get; set; }

Required. The DeliveryPipeline for which the rollback Rollout must be created. The format is projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

Property Value
Type Description
string

OverrideDeployPolicy

public RepeatedField<string> OverrideDeployPolicy { get; }

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deploy_policy}.

Property Value
Type Description
RepeatedFieldstring

OverrideDeployPolicyAsDeployPolicyNames

public ResourceNameList<DeployPolicyName> OverrideDeployPolicyAsDeployPolicyNames { get; }

DeployPolicyName-typed view over the OverrideDeployPolicy resource name property.

Property Value
Type Description
ResourceNameListDeployPolicyName

ReleaseId

public string ReleaseId { get; set; }

Optional. ID of the Release to roll back to. If this isn't specified, the previous successful Rollout to the specified target will be used to determine the Release.

Property Value
Type Description
string

RollbackConfig

public RollbackTargetConfig RollbackConfig { get; set; }

Optional. Configs for the rollback Rollout.

Property Value
Type Description
RollbackTargetConfig

RolloutId

public string RolloutId { get; set; }

Required. ID of the rollback Rollout to create.

Property Value
Type Description
string

RolloutToRollBack

public string RolloutToRollBack { get; set; }

Optional. If provided, this must be the latest Rollout that is on the Target.

Property Value
Type Description
string

TargetId

public string TargetId { get; set; }

Required. ID of the Target that is being rolled back.

Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.

Property Value
Type Description
bool