SecuritySettingsService

google.cloud.dialogflow.cx.v3beta1. SecuritySettingsService

Represents a SecuritySettingsService

Constructor

new SecuritySettingsService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SecuritySettingsService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

createSecuritySettings(request, callback) → {undefined}

Calls CreateSecuritySettings.

Parameters:
Name Type Description
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:
Type Description
undefined

createSecuritySettings(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>}

Calls CreateSecuritySettings.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.ICreateSecuritySettingsRequest

CreateSecuritySettingsRequest message or plain object

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

Promise

deleteSecuritySettings(request, callback) → {undefined}

Calls DeleteSecuritySettings.

Parameters:
Name Type Description
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:
Type Description
undefined

deleteSecuritySettings(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteSecuritySettings.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.IDeleteSecuritySettingsRequest

DeleteSecuritySettingsRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getSecuritySettings(request, callback) → {undefined}

Calls GetSecuritySettings.

Parameters:
Name Type Description
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:
Type Description
undefined

getSecuritySettings(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>}

Calls GetSecuritySettings.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.IGetSecuritySettingsRequest

GetSecuritySettingsRequest message or plain object

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

Promise

listSecuritySettings(request, callback) → {undefined}

Calls ListSecuritySettings.

Parameters:
Name Type Description
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:
Type Description
undefined

listSecuritySettings(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse>}

Calls ListSecuritySettings.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.IListSecuritySettingsRequest

ListSecuritySettingsRequest message or plain object

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

Promise

updateSecuritySettings(request, callback) → {undefined}

Calls UpdateSecuritySettings.

Parameters:
Name Type Description
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:
Type Description
undefined

updateSecuritySettings(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.SecuritySettings>}

Calls UpdateSecuritySettings.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.IUpdateSecuritySettingsRequest

UpdateSecuritySettingsRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SecuritySettingsService}

Creates new SecuritySettingsService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SecuritySettingsService

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

Type Definitions

CreateSecuritySettingsCallback(error, responseopt)

Callback as used by createSecuritySettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.SecuritySettings <optional>

SecuritySettings

DeleteSecuritySettingsCallback(error, responseopt)

Callback as used by deleteSecuritySettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetSecuritySettingsCallback(error, responseopt)

Callback as used by getSecuritySettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.SecuritySettings <optional>

SecuritySettings

ListSecuritySettingsCallback(error, responseopt)

Callback as used by listSecuritySettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse <optional>

ListSecuritySettingsResponse

UpdateSecuritySettingsCallback(error, responseopt)

Callback as used by updateSecuritySettings.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.SecuritySettings <optional>

SecuritySettings