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
.
Implements
IMessageRollbackTargetRequest, IEquatableRollbackTargetRequest, IDeepCloneableRollbackTargetRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
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
should be
created. Format should be
projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
Property Value | |
---|---|
Type | Description |
string |
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 |