Represents an AclConfigService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1alpha.AclConfigServicePackage
@google-cloud/discoveryengineConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AclConfigService 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): AclConfigService;
Creates new AclConfigService 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 |
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 | |
---|---|
Name | Description |
request |
IGetAclConfigRequest
GetAclConfigRequest message or plain object |
callback |
GetAclConfigCallback
Node-style callback called with the error, if any, and AclConfig |
Returns | |
---|---|
Type | Description |
void |
getAclConfig(request)
public getAclConfig(request: google.cloud.discoveryengine.v1alpha.IGetAclConfigRequest): Promise<google.cloud.discoveryengine.v1alpha.AclConfig>;
Calls GetAclConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetAclConfigRequest
GetAclConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IUpdateAclConfigRequest
UpdateAclConfigRequest message or plain object |
callback |
UpdateAclConfigCallback
Node-style callback called with the error, if any, and AclConfig |
Returns | |
---|---|
Type | Description |
void |
updateAclConfig(request)
public updateAclConfig(request: google.cloud.discoveryengine.v1alpha.IUpdateAclConfigRequest): Promise<google.cloud.discoveryengine.v1alpha.AclConfig>;
Calls UpdateAclConfig.
Parameter | |
---|---|
Name | Description |
request |
IUpdateAclConfigRequest
UpdateAclConfigRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1alpha.AclConfig> |
Promise |