Constructor
new OsConfigService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new OsConfigService service.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| rpcImpl | $protobuf.RPCImpl | RPC implementation | ||
| requestDelimited | boolean | <optional> | false | Whether requests are length-delimited | 
| responseDelimited | boolean | <optional> | false | Whether responses are length-delimited | 
Extends
- $protobuf.rpc.Service
Methods
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {OsConfigService}
Creates new OsConfigService service using the specified rpc implementation.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| rpcImpl | $protobuf.RPCImpl | RPC implementation | ||
| requestDelimited | boolean | <optional> | false | Whether requests are length-delimited | 
| responseDelimited | boolean | <optional> | false | Whether responses are length-delimited | 
Returns:
| Type | Description | 
|---|---|
| OsConfigService | RPC service. Useful where requests and/or responses are streamed. | 
cancelPatchJob(request, callback) → {undefined}
Calls CancelPatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.ICancelPatchJobRequest | CancelPatchJobRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.CancelPatchJobCallback | Node-style callback called with the error, if any, and PatchJob | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
cancelPatchJob(request) → {Promise.<google.cloud.osconfig.v1.PatchJob>}
Calls CancelPatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.ICancelPatchJobRequest | CancelPatchJobRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.PatchJob> | Promise | 
createPatchDeployment(request, callback) → {undefined}
Calls CreatePatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.ICreatePatchDeploymentRequest | CreatePatchDeploymentRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.CreatePatchDeploymentCallback | Node-style callback called with the error, if any, and PatchDeployment | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
createPatchDeployment(request) → {Promise.<google.cloud.osconfig.v1.PatchDeployment>}
Calls CreatePatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.ICreatePatchDeploymentRequest | CreatePatchDeploymentRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.PatchDeployment> | Promise | 
deletePatchDeployment(request, callback) → {undefined}
Calls DeletePatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IDeletePatchDeploymentRequest | DeletePatchDeploymentRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.DeletePatchDeploymentCallback | Node-style callback called with the error, if any, and Empty | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
deletePatchDeployment(request) → {Promise.<google.protobuf.Empty>}
Calls DeletePatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IDeletePatchDeploymentRequest | DeletePatchDeploymentRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.protobuf.Empty> | Promise | 
executePatchJob(request, callback) → {undefined}
Calls ExecutePatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IExecutePatchJobRequest | ExecutePatchJobRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.ExecutePatchJobCallback | Node-style callback called with the error, if any, and PatchJob | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
executePatchJob(request) → {Promise.<google.cloud.osconfig.v1.PatchJob>}
Calls ExecutePatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IExecutePatchJobRequest | ExecutePatchJobRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.PatchJob> | Promise | 
getPatchDeployment(request, callback) → {undefined}
Calls GetPatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IGetPatchDeploymentRequest | GetPatchDeploymentRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.GetPatchDeploymentCallback | Node-style callback called with the error, if any, and PatchDeployment | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
getPatchDeployment(request) → {Promise.<google.cloud.osconfig.v1.PatchDeployment>}
Calls GetPatchDeployment.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IGetPatchDeploymentRequest | GetPatchDeploymentRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.PatchDeployment> | Promise | 
getPatchJob(request, callback) → {undefined}
Calls GetPatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IGetPatchJobRequest | GetPatchJobRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.GetPatchJobCallback | Node-style callback called with the error, if any, and PatchJob | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
getPatchJob(request) → {Promise.<google.cloud.osconfig.v1.PatchJob>}
Calls GetPatchJob.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IGetPatchJobRequest | GetPatchJobRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.PatchJob> | Promise | 
listPatchDeployments(request, callback) → {undefined}
Calls ListPatchDeployments.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchDeploymentsRequest | ListPatchDeploymentsRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.ListPatchDeploymentsCallback | Node-style callback called with the error, if any, and ListPatchDeploymentsResponse | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
listPatchDeployments(request) → {Promise.<google.cloud.osconfig.v1.ListPatchDeploymentsResponse>}
Calls ListPatchDeployments.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchDeploymentsRequest | ListPatchDeploymentsRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.ListPatchDeploymentsResponse> | Promise | 
listPatchJobInstanceDetails(request, callback) → {undefined}
Calls ListPatchJobInstanceDetails.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchJobInstanceDetailsRequest | ListPatchJobInstanceDetailsRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetailsCallback | Node-style callback called with the error, if any, and ListPatchJobInstanceDetailsResponse | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
listPatchJobInstanceDetails(request) → {Promise.<google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse>}
Calls ListPatchJobInstanceDetails.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchJobInstanceDetailsRequest | ListPatchJobInstanceDetailsRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse> | Promise | 
listPatchJobs(request, callback) → {undefined}
Calls ListPatchJobs.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchJobsRequest | ListPatchJobsRequest message or plain object | 
| callback | google.cloud.osconfig.v1.OsConfigService.ListPatchJobsCallback | Node-style callback called with the error, if any, and ListPatchJobsResponse | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
listPatchJobs(request) → {Promise.<google.cloud.osconfig.v1.ListPatchJobsResponse>}
Calls ListPatchJobs.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.osconfig.v1.IListPatchJobsRequest | ListPatchJobsRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.osconfig.v1.ListPatchJobsResponse> | Promise | 
Type Definitions
CancelPatchJobCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#cancelPatchJob.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.PatchJob | <optional> | PatchJob | 
CreatePatchDeploymentCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#createPatchDeployment.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.PatchDeployment | <optional> | PatchDeployment | 
DeletePatchDeploymentCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#deletePatchDeployment.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.protobuf.Empty | <optional> | Empty | 
ExecutePatchJobCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#executePatchJob.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.PatchJob | <optional> | PatchJob | 
GetPatchDeploymentCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#getPatchDeployment.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.PatchDeployment | <optional> | PatchDeployment | 
GetPatchJobCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#getPatchJob.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.PatchJob | <optional> | PatchJob | 
ListPatchDeploymentsCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#listPatchDeployments.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.ListPatchDeploymentsResponse | <optional> | ListPatchDeploymentsResponse | 
ListPatchJobInstanceDetailsCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#listPatchJobInstanceDetails.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse | <optional> | ListPatchJobInstanceDetailsResponse | 
ListPatchJobsCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigService#listPatchJobs.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.osconfig.v1.ListPatchJobsResponse | <optional> | ListPatchJobsResponse |