Class protos.google.cloud.osconfig.v1.OsConfigService (1.9.1)

Represents an OsConfigService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.osconfig.v1.OsConfigService

Package

@google-cloud/os-config!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new OsConfigService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

cancelPatchJob(request, callback)

public cancelPatchJob(request: google.cloud.osconfig.v1.ICancelPatchJobRequest, callback: google.cloud.osconfig.v1.OsConfigService.CancelPatchJobCallback): void;

Calls CancelPatchJob.

Parameters
NameDescription
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
TypeDescription
void

cancelPatchJob(request)

public cancelPatchJob(request: google.cloud.osconfig.v1.ICancelPatchJobRequest): Promise<google.cloud.osconfig.v1.PatchJob>;

Calls CancelPatchJob.

Parameter
NameDescription
request google.cloud.osconfig.v1.ICancelPatchJobRequest

CancelPatchJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.PatchJob>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): OsConfigService;

Creates new OsConfigService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
OsConfigService

RPC service. Useful where requests and/or responses are streamed.

createPatchDeployment(request, callback)

public createPatchDeployment(request: google.cloud.osconfig.v1.ICreatePatchDeploymentRequest, callback: google.cloud.osconfig.v1.OsConfigService.CreatePatchDeploymentCallback): void;

Calls CreatePatchDeployment.

Parameters
NameDescription
request 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
TypeDescription
void

createPatchDeployment(request)

public createPatchDeployment(request: google.cloud.osconfig.v1.ICreatePatchDeploymentRequest): Promise<google.cloud.osconfig.v1.PatchDeployment>;

Calls CreatePatchDeployment.

Parameter
NameDescription
request ICreatePatchDeploymentRequest

CreatePatchDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.PatchDeployment>

Promise

deletePatchDeployment(request, callback)

public deletePatchDeployment(request: google.cloud.osconfig.v1.IDeletePatchDeploymentRequest, callback: google.cloud.osconfig.v1.OsConfigService.DeletePatchDeploymentCallback): void;

Calls DeletePatchDeployment.

Parameters
NameDescription
request 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
TypeDescription
void

deletePatchDeployment(request)

public deletePatchDeployment(request: google.cloud.osconfig.v1.IDeletePatchDeploymentRequest): Promise<google.protobuf.Empty>;

Calls DeletePatchDeployment.

Parameter
NameDescription
request IDeletePatchDeploymentRequest

DeletePatchDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

executePatchJob(request, callback)

public executePatchJob(request: google.cloud.osconfig.v1.IExecutePatchJobRequest, callback: google.cloud.osconfig.v1.OsConfigService.ExecutePatchJobCallback): void;

Calls ExecutePatchJob.

Parameters
NameDescription
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
TypeDescription
void

executePatchJob(request)

public executePatchJob(request: google.cloud.osconfig.v1.IExecutePatchJobRequest): Promise<google.cloud.osconfig.v1.PatchJob>;

Calls ExecutePatchJob.

Parameter
NameDescription
request google.cloud.osconfig.v1.IExecutePatchJobRequest

ExecutePatchJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.PatchJob>

Promise

getPatchDeployment(request, callback)

public getPatchDeployment(request: google.cloud.osconfig.v1.IGetPatchDeploymentRequest, callback: google.cloud.osconfig.v1.OsConfigService.GetPatchDeploymentCallback): void;

Calls GetPatchDeployment.

Parameters
NameDescription
request 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
TypeDescription
void

getPatchDeployment(request)

public getPatchDeployment(request: google.cloud.osconfig.v1.IGetPatchDeploymentRequest): Promise<google.cloud.osconfig.v1.PatchDeployment>;

Calls GetPatchDeployment.

Parameter
NameDescription
request IGetPatchDeploymentRequest

GetPatchDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.PatchDeployment>

Promise

getPatchJob(request, callback)

public getPatchJob(request: google.cloud.osconfig.v1.IGetPatchJobRequest, callback: google.cloud.osconfig.v1.OsConfigService.GetPatchJobCallback): void;

Calls GetPatchJob.

Parameters
NameDescription
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
TypeDescription
void

getPatchJob(request)

public getPatchJob(request: google.cloud.osconfig.v1.IGetPatchJobRequest): Promise<google.cloud.osconfig.v1.PatchJob>;

Calls GetPatchJob.

Parameter
NameDescription
request google.cloud.osconfig.v1.IGetPatchJobRequest

GetPatchJobRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.PatchJob>

Promise

listPatchDeployments(request, callback)

public listPatchDeployments(request: google.cloud.osconfig.v1.IListPatchDeploymentsRequest, callback: google.cloud.osconfig.v1.OsConfigService.ListPatchDeploymentsCallback): void;

Calls ListPatchDeployments.

Parameters
NameDescription
request 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
TypeDescription
void

listPatchDeployments(request)

public listPatchDeployments(request: google.cloud.osconfig.v1.IListPatchDeploymentsRequest): Promise<google.cloud.osconfig.v1.ListPatchDeploymentsResponse>;

Calls ListPatchDeployments.

Parameter
NameDescription
request IListPatchDeploymentsRequest

ListPatchDeploymentsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.ListPatchDeploymentsResponse>

Promise

listPatchJobInstanceDetails(request, callback)

public listPatchJobInstanceDetails(request: google.cloud.osconfig.v1.IListPatchJobInstanceDetailsRequest, callback: google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetailsCallback): void;

Calls ListPatchJobInstanceDetails.

Parameters
NameDescription
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
TypeDescription
void

listPatchJobInstanceDetails(request)

public listPatchJobInstanceDetails(request: google.cloud.osconfig.v1.IListPatchJobInstanceDetailsRequest): Promise<google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse>;

Calls ListPatchJobInstanceDetails.

Parameter
NameDescription
request google.cloud.osconfig.v1.IListPatchJobInstanceDetailsRequest

ListPatchJobInstanceDetailsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse>

Promise

listPatchJobs(request, callback)

public listPatchJobs(request: google.cloud.osconfig.v1.IListPatchJobsRequest, callback: google.cloud.osconfig.v1.OsConfigService.ListPatchJobsCallback): void;

Calls ListPatchJobs.

Parameters
NameDescription
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
TypeDescription
void

listPatchJobs(request)

public listPatchJobs(request: google.cloud.osconfig.v1.IListPatchJobsRequest): Promise<google.cloud.osconfig.v1.ListPatchJobsResponse>;

Calls ListPatchJobs.

Parameter
NameDescription
request google.cloud.osconfig.v1.IListPatchJobsRequest

ListPatchJobsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.ListPatchJobsResponse>

Promise