Class ProjectsResource.LocationsResource.RolloutsResource.ForceCompleteStageRequest
Force-completes a rollout stage. Only the active stage of an active rollout can be force-completed.
Inheritance
ProjectsResource.LocationsResource.RolloutsResource.ForceCompleteStageRequest
Inherited Members
Namespace: Google.Apis.GKEHub.v1beta
Assembly: Google.Apis.GKEHub.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.RolloutsResource.ForceCompleteStageRequest : GKEHubBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ForceCompleteStageRequest(IClientService, ForceCompleteRolloutStageRequest, string)
Constructs a new ForceCompleteStage request.
Declaration
public ForceCompleteStageRequest(IClientService service, ForceCompleteRolloutStageRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ForceCompleteRolloutStageRequest | 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 name of the rollout. Format: projects/{project}/locations/{location}/rollouts/{rollout}
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 ForceCompleteStage parameter list.
Declaration
protected override void InitParameters()