Show / Hide Table of Contents

Class ProjectsResource.PatchDeploymentsResource

The "patchDeployments" collection of methods.

Inheritance
object
ProjectsResource.PatchDeploymentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.OSConfig.v1
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ProjectsResource.PatchDeploymentsResource

Constructors

PatchDeploymentsResource(IClientService)

Constructs a new resource.

Declaration
public PatchDeploymentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(PatchDeployment, string)

Create an OS Config patch deployment.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.CreateRequest Create(PatchDeployment body, string parent)
Parameters
Type Name Description
PatchDeployment body

The body of the request.

string parent

Required. The project to apply this patch deployment to in the form projects/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.CreateRequest

Delete(string)

Delete an OS Config patch deployment.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the patch deployment in the form projects/*/patchDeployments/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.DeleteRequest

Get(string)

Get an OS Config patch deployment.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the patch deployment in the form projects/*/patchDeployments/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.GetRequest

List(string)

Get a page of OS Config patch deployments.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the parent in the form projects/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.ListRequest

Patch(PatchDeployment, string)

Update an OS Config patch deployment.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.PatchRequest Patch(PatchDeployment body, string name)
Parameters
Type Name Description
PatchDeployment body

The body of the request.

string name

Unique name for the patch deployment resource in a project. The patch deployment name is in the form: projects/{project_id}/patchDeployments/{patch_deployment_id}. This field is ignored when you create a new patch deployment.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.PatchRequest

Pause(PausePatchDeploymentRequest, string)

Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.PauseRequest Pause(PausePatchDeploymentRequest body, string name)
Parameters
Type Name Description
PausePatchDeploymentRequest body

The body of the request.

string name

Required. The resource name of the patch deployment in the form projects/*/patchDeployments/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.PauseRequest

Resume(ResumePatchDeploymentRequest, string)

Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.

Declaration
public virtual ProjectsResource.PatchDeploymentsResource.ResumeRequest Resume(ResumePatchDeploymentRequest body, string name)
Parameters
Type Name Description
ResumePatchDeploymentRequest body

The body of the request.

string name

Required. The resource name of the patch deployment in the form projects/*/patchDeployments/*.

Returns
Type Description
ProjectsResource.PatchDeploymentsResource.ResumeRequest
In this article
Back to top Generated by DocFX