Class RollbackTargetRequest
The request object for RollbackTarget.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class RollbackTargetRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OverrideDeployPolicy
Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deploy_policy}.
Declaration
[JsonProperty("overrideDeployPolicy")]
public virtual IList<string> OverrideDeployPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ReleaseId
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.
Declaration
[JsonProperty("releaseId")]
public virtual string ReleaseId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RollbackConfig
Optional. Configs for the rollback Rollout.
Declaration
[JsonProperty("rollbackConfig")]
public virtual RollbackTargetConfig RollbackConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| RollbackTargetConfig |
RolloutId
Required. ID of the rollback Rollout to create.
Declaration
[JsonProperty("rolloutId")]
public virtual string RolloutId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RolloutToRollBack
Optional. If provided, this must be the latest Rollout that is on the Target.
Declaration
[JsonProperty("rolloutToRollBack")]
public virtual string RolloutToRollBack { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetId
Required. ID of the Target that is being rolled back.
Declaration
[JsonProperty("targetId")]
public virtual string TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValidateOnly
Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.
Declaration
[JsonProperty("validateOnly")]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |