Class ProjectsResource.PatchJobsResource
The "patchJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.OSConfig.v1beta
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class ProjectsResource.PatchJobsResource
Constructors
PatchJobsResource(IClientService)
Constructs a new resource.
Declaration
public PatchJobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
InstanceDetails
Gets the InstanceDetails resource.
Declaration
public virtual ProjectsResource.PatchJobsResource.InstanceDetailsResource InstanceDetails { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.PatchJobsResource.InstanceDetailsResource |
Methods
Cancel(CancelPatchJobRequest, string)
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
Declaration
public virtual ProjectsResource.PatchJobsResource.CancelRequest Cancel(CancelPatchJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
CancelPatchJobRequest | body | The body of the request. |
string | name | Required. Name of the patch in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchJobsResource.CancelRequest |
Execute(ExecutePatchJobRequest, string)
Patch VM instances by creating and running a patch job.
Declaration
public virtual ProjectsResource.PatchJobsResource.ExecuteRequest Execute(ExecutePatchJobRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ExecutePatchJobRequest | body | The body of the request. |
string | parent | Required. The project in which to run this patch in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchJobsResource.ExecuteRequest |
Get(string)
Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.
Declaration
public virtual ProjectsResource.PatchJobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the patch in the form |
Returns
Type | Description |
---|---|
ProjectsResource.PatchJobsResource.GetRequest |
List(string)
Get a list of patch jobs.
Declaration
public virtual ProjectsResource.PatchJobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. In the form of |
Returns
Type | Description |
---|---|
ProjectsResource.PatchJobsResource.ListRequest |