Class ProjectsResource.LocationsResource.DeliveryPipelinesResource.RollbackTargetRequest
Creates a Rollout to roll back the specified target.
Inheritance
ProjectsResource.LocationsResource.DeliveryPipelinesResource.RollbackTargetRequest
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DeliveryPipelinesResource.RollbackTargetRequest : CloudDeployBaseServiceRequest<RollbackTargetResponse>, IClientServiceRequest<RollbackTargetResponse>, IClientServiceRequest
Constructors
RollbackTargetRequest(IClientService, RollbackTargetRequest, string)
Constructs a new RollbackTarget request.
Declaration
public RollbackTargetRequest(IClientService service, RollbackTargetRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RollbackTargetRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The DeliveryPipeline for which the rollback Rollout must be created. The format is
projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes RollbackTarget parameter list.
Declaration
protected override void InitParameters()