Class protos.google.cloud.dialogflow.cx.v3.SecuritySettingsService (4.8.0)

Represents a SecuritySettingsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3.SecuritySettingsService

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new SecuritySettingsService 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): SecuritySettingsService;

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

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

createSecuritySettings(request, callback)

public createSecuritySettings(request: google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest, callback: google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettingsCallback): void;

Calls CreateSecuritySettings.

Parameters
Name Description
request ICreateSecuritySettingsRequest

CreateSecuritySettingsRequest message or plain object

callback CreateSecuritySettingsCallback

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

Returns
Type Description
void

createSecuritySettings(request)

public createSecuritySettings(request: google.cloud.dialogflow.cx.v3.ICreateSecuritySettingsRequest): Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>;

Calls CreateSecuritySettings.

Parameter
Name Description
request ICreateSecuritySettingsRequest

CreateSecuritySettingsRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>

Promise

deleteSecuritySettings(request, callback)

public deleteSecuritySettings(request: google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest, callback: google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettingsCallback): void;

Calls DeleteSecuritySettings.

Parameters
Name Description
request IDeleteSecuritySettingsRequest

DeleteSecuritySettingsRequest message or plain object

callback DeleteSecuritySettingsCallback

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

Returns
Type Description
void

deleteSecuritySettings(request)

public deleteSecuritySettings(request: google.cloud.dialogflow.cx.v3.IDeleteSecuritySettingsRequest): Promise<google.protobuf.Empty>;

Calls DeleteSecuritySettings.

Parameter
Name Description
request IDeleteSecuritySettingsRequest

DeleteSecuritySettingsRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

getSecuritySettings(request, callback)

public getSecuritySettings(request: google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest, callback: google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettingsCallback): void;

Calls GetSecuritySettings.

Parameters
Name Description
request IGetSecuritySettingsRequest

GetSecuritySettingsRequest message or plain object

callback GetSecuritySettingsCallback

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

Returns
Type Description
void

getSecuritySettings(request)

public getSecuritySettings(request: google.cloud.dialogflow.cx.v3.IGetSecuritySettingsRequest): Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>;

Calls GetSecuritySettings.

Parameter
Name Description
request IGetSecuritySettingsRequest

GetSecuritySettingsRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>

Promise

listSecuritySettings(request, callback)

public listSecuritySettings(request: google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest, callback: google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettingsCallback): void;

Calls ListSecuritySettings.

Parameters
Name Description
request IListSecuritySettingsRequest

ListSecuritySettingsRequest message or plain object

callback ListSecuritySettingsCallback

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

Returns
Type Description
void

listSecuritySettings(request)

public listSecuritySettings(request: google.cloud.dialogflow.cx.v3.IListSecuritySettingsRequest): Promise<google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse>;

Calls ListSecuritySettings.

Parameter
Name Description
request IListSecuritySettingsRequest

ListSecuritySettingsRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse>

Promise

updateSecuritySettings(request, callback)

public updateSecuritySettings(request: google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest, callback: google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettingsCallback): void;

Calls UpdateSecuritySettings.

Parameters
Name Description
request IUpdateSecuritySettingsRequest

UpdateSecuritySettingsRequest message or plain object

callback UpdateSecuritySettingsCallback

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

Returns
Type Description
void

updateSecuritySettings(request)

public updateSecuritySettings(request: google.cloud.dialogflow.cx.v3.IUpdateSecuritySettingsRequest): Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>;

Calls UpdateSecuritySettings.

Parameter
Name Description
request IUpdateSecuritySettingsRequest

UpdateSecuritySettingsRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3.SecuritySettings>

Promise