Class protos.google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService (2.14.0)

Represents a SecuritySettingsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.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
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): SecuritySettingsService;

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

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

createSecuritySettings(request, callback)

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

Calls CreateSecuritySettings.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest

CreateSecuritySettingsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettingsCallback

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

Returns
TypeDescription
void

createSecuritySettings(request)

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

Calls CreateSecuritySettings.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest

CreateSecuritySettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>

Promise

deleteSecuritySettings(request, callback)

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

Calls DeleteSecuritySettings.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest

DeleteSecuritySettingsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettingsCallback

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

Returns
TypeDescription
void

deleteSecuritySettings(request)

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

Calls DeleteSecuritySettings.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest

DeleteSecuritySettingsRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getSecuritySettings(request, callback)

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

Calls GetSecuritySettings.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest

GetSecuritySettingsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettingsCallback

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

Returns
TypeDescription
void

getSecuritySettings(request)

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

Calls GetSecuritySettings.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest

GetSecuritySettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>

Promise

listSecuritySettings(request, callback)

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

Calls ListSecuritySettings.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest

ListSecuritySettingsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettingsCallback

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

Returns
TypeDescription
void

listSecuritySettings(request)

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

Calls ListSecuritySettings.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest

ListSecuritySettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse>

Promise

updateSecuritySettings(request, callback)

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

Calls UpdateSecuritySettings.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest

UpdateSecuritySettingsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettingsCallback

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

Returns
TypeDescription
void

updateSecuritySettings(request)

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

Calls UpdateSecuritySettings.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest

UpdateSecuritySettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>

Promise