Class protos.google.cloud.discoveryengine.v1alpha.AclConfigService (1.6.0)

Represents an AclConfigService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1alpha.AclConfigService

Package

@google-cloud/discoveryengine

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AclConfigService service.

Parameters
NameDescription
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): AclConfigService;

Creates new AclConfigService 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
AclConfigService

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

getAclConfig(request, callback)

public getAclConfig(request: google.cloud.discoveryengine.v1alpha.IGetAclConfigRequest, callback: google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfigCallback): void;

Calls GetAclConfig.

Parameters
NameDescription
request IGetAclConfigRequest

GetAclConfigRequest message or plain object

callback GetAclConfigCallback

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

Returns
TypeDescription
void

getAclConfig(request)

public getAclConfig(request: google.cloud.discoveryengine.v1alpha.IGetAclConfigRequest): Promise<google.cloud.discoveryengine.v1alpha.AclConfig>;

Calls GetAclConfig.

Parameter
NameDescription
request IGetAclConfigRequest

GetAclConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.AclConfig>

Promise

updateAclConfig(request, callback)

public updateAclConfig(request: google.cloud.discoveryengine.v1alpha.IUpdateAclConfigRequest, callback: google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfigCallback): void;

Calls UpdateAclConfig.

Parameters
NameDescription
request IUpdateAclConfigRequest

UpdateAclConfigRequest message or plain object

callback UpdateAclConfigCallback

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

Returns
TypeDescription
void

updateAclConfig(request)

public updateAclConfig(request: google.cloud.discoveryengine.v1alpha.IUpdateAclConfigRequest): Promise<google.cloud.discoveryengine.v1alpha.AclConfig>;

Calls UpdateAclConfig.

Parameter
NameDescription
request IUpdateAclConfigRequest

UpdateAclConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.AclConfig>

Promise