Class protos.google.cloud.kms.v1.AutokeyAdmin (4.3.0)

Represents an AutokeyAdmin

Inheritance

$protobuf.rpc.Service > protos.google.cloud.kms.v1.AutokeyAdmin

Package

@google-cloud/kms

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AutokeyAdmin service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new AutokeyAdmin service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
AutokeyAdmin

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

getAutokeyConfig(request, callback)

public getAutokeyConfig(request: google.cloud.kms.v1.IGetAutokeyConfigRequest, callback: google.cloud.kms.v1.AutokeyAdmin.GetAutokeyConfigCallback): void;

Calls GetAutokeyConfig.

Parameters
Name Description
request IGetAutokeyConfigRequest

GetAutokeyConfigRequest message or plain object

callback GetAutokeyConfigCallback

Node-style callback called with the error, if any, and AutokeyConfig

Returns
Type Description
void

getAutokeyConfig(request)

public getAutokeyConfig(request: google.cloud.kms.v1.IGetAutokeyConfigRequest): Promise<google.cloud.kms.v1.AutokeyConfig>;

Calls GetAutokeyConfig.

Parameter
Name Description
request IGetAutokeyConfigRequest

GetAutokeyConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.kms.v1.AutokeyConfig>

Promise

showEffectiveAutokeyConfig(request, callback)

public showEffectiveAutokeyConfig(request: google.cloud.kms.v1.IShowEffectiveAutokeyConfigRequest, callback: google.cloud.kms.v1.AutokeyAdmin.ShowEffectiveAutokeyConfigCallback): void;

Calls ShowEffectiveAutokeyConfig.

Parameters
Name Description
request IShowEffectiveAutokeyConfigRequest

ShowEffectiveAutokeyConfigRequest message or plain object

callback ShowEffectiveAutokeyConfigCallback

Node-style callback called with the error, if any, and ShowEffectiveAutokeyConfigResponse

Returns
Type Description
void

showEffectiveAutokeyConfig(request)

public showEffectiveAutokeyConfig(request: google.cloud.kms.v1.IShowEffectiveAutokeyConfigRequest): Promise<google.cloud.kms.v1.ShowEffectiveAutokeyConfigResponse>;

Calls ShowEffectiveAutokeyConfig.

Parameter
Name Description
request IShowEffectiveAutokeyConfigRequest

ShowEffectiveAutokeyConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.kms.v1.ShowEffectiveAutokeyConfigResponse>

Promise

updateAutokeyConfig(request, callback)

public updateAutokeyConfig(request: google.cloud.kms.v1.IUpdateAutokeyConfigRequest, callback: google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfigCallback): void;

Calls UpdateAutokeyConfig.

Parameters
Name Description
request IUpdateAutokeyConfigRequest

UpdateAutokeyConfigRequest message or plain object

callback UpdateAutokeyConfigCallback

Node-style callback called with the error, if any, and AutokeyConfig

Returns
Type Description
void

updateAutokeyConfig(request)

public updateAutokeyConfig(request: google.cloud.kms.v1.IUpdateAutokeyConfigRequest): Promise<google.cloud.kms.v1.AutokeyConfig>;

Calls UpdateAutokeyConfig.

Parameter
Name Description
request IUpdateAutokeyConfigRequest

UpdateAutokeyConfigRequest message or plain object

Returns
Type Description
Promise<google.cloud.kms.v1.AutokeyConfig>

Promise