[BindServiceMethod(typeof(OsConfigService), "BindService")]
public abstract class OsConfigServiceBase
Base class for server-side implementations of OsConfigService
Namespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Methods
CancelPatchJob(CancelPatchJobRequest, ServerCallContext)
public virtual Task<PatchJob> CancelPatchJob(CancelPatchJobRequest request, ServerCallContext context)
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
Parameters | |
---|---|
Name | Description |
request | CancelPatchJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PatchJob> | The response to send back to the client (wrapped by a task). |
CreatePatchDeployment(CreatePatchDeploymentRequest, ServerCallContext)
public virtual Task<PatchDeployment> CreatePatchDeployment(CreatePatchDeploymentRequest request, ServerCallContext context)
Create an OS Config patch deployment.
Parameters | |
---|---|
Name | Description |
request | CreatePatchDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PatchDeployment> | The response to send back to the client (wrapped by a task). |
DeletePatchDeployment(DeletePatchDeploymentRequest, ServerCallContext)
public virtual Task<Empty> DeletePatchDeployment(DeletePatchDeploymentRequest request, ServerCallContext context)
Delete an OS Config patch deployment.
Parameters | |
---|---|
Name | Description |
request | DeletePatchDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
ExecutePatchJob(ExecutePatchJobRequest, ServerCallContext)
public virtual Task<PatchJob> ExecutePatchJob(ExecutePatchJobRequest request, ServerCallContext context)
Patch VM instances by creating and running a patch job.
Parameters | |
---|---|
Name | Description |
request | ExecutePatchJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PatchJob> | The response to send back to the client (wrapped by a task). |
GetPatchDeployment(GetPatchDeploymentRequest, ServerCallContext)
public virtual Task<PatchDeployment> GetPatchDeployment(GetPatchDeploymentRequest request, ServerCallContext context)
Get an OS Config patch deployment.
Parameters | |
---|---|
Name | Description |
request | GetPatchDeploymentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PatchDeployment> | The response to send back to the client (wrapped by a task). |
GetPatchJob(GetPatchJobRequest, ServerCallContext)
public virtual Task<PatchJob> GetPatchJob(GetPatchJobRequest request, ServerCallContext context)
Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.
Parameters | |
---|---|
Name | Description |
request | GetPatchJobRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<PatchJob> | The response to send back to the client (wrapped by a task). |
ListPatchDeployments(ListPatchDeploymentsRequest, ServerCallContext)
public virtual Task<ListPatchDeploymentsResponse> ListPatchDeployments(ListPatchDeploymentsRequest request, ServerCallContext context)
Get a page of OS Config patch deployments.
Parameters | |
---|---|
Name | Description |
request | ListPatchDeploymentsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListPatchDeploymentsResponse> | The response to send back to the client (wrapped by a task). |
ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest, ServerCallContext)
public virtual Task<ListPatchJobInstanceDetailsResponse> ListPatchJobInstanceDetails(ListPatchJobInstanceDetailsRequest request, ServerCallContext context)
Get a list of instance details for a given patch job.
Parameters | |
---|---|
Name | Description |
request | ListPatchJobInstanceDetailsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListPatchJobInstanceDetailsResponse> | The response to send back to the client (wrapped by a task). |
ListPatchJobs(ListPatchJobsRequest, ServerCallContext)
public virtual Task<ListPatchJobsResponse> ListPatchJobs(ListPatchJobsRequest request, ServerCallContext context)
Get a list of patch jobs.
Parameters | |
---|---|
Name | Description |
request | ListPatchJobsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListPatchJobsResponse> | The response to send back to the client (wrapped by a task). |