Class ProjectsResource.PatchDeploymentsResource.PauseRequest
Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.
Inheritance
ProjectsResource.PatchDeploymentsResource.PauseRequest
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class ProjectsResource.PatchDeploymentsResource.PauseRequest : OSConfigBaseServiceRequest<PatchDeployment>, IClientServiceRequest<PatchDeployment>, IClientServiceRequest
Constructors
PauseRequest(IClientService, PausePatchDeploymentRequest, string)
Constructs a new Pause request.
Declaration
public PauseRequest(IClientService service, PausePatchDeploymentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PausePatchDeploymentRequest | 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 resource name of the patch deployment in the form projects/*/patchDeployments/*
.
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 Pause parameter list.
Declaration
protected override void InitParameters()