Dialogflow v3 API - Class SecuritySettingsService.SecuritySettingsServiceClient (2.20.0)

public class SecuritySettingsService.SecuritySettingsServiceClient : ClientBase<SecuritySettingsService.SecuritySettingsServiceClient>

Reference documentation and code samples for the Dialogflow v3 API class SecuritySettingsService.SecuritySettingsServiceClient.

Client for SecuritySettingsService

Inheritance

object > ClientBase > ClientBaseSecuritySettingsServiceSecuritySettingsServiceClient > SecuritySettingsService.SecuritySettingsServiceClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

SecuritySettingsServiceClient()

protected SecuritySettingsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

SecuritySettingsServiceClient(CallInvoker)

public SecuritySettingsServiceClient(CallInvoker callInvoker)

Creates a new client for SecuritySettingsService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SecuritySettingsServiceClient(ChannelBase)

public SecuritySettingsServiceClient(ChannelBase channel)

Creates a new client for SecuritySettingsService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SecuritySettingsServiceClient(ClientBaseConfiguration)

protected SecuritySettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateSecuritySettings(CreateSecuritySettingsRequest, CallOptions)

public virtual SecuritySettings CreateSecuritySettings(CreateSecuritySettingsRequest request, CallOptions options)

Create security settings in the specified location.

Parameters
Name Description
request CreateSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SecuritySettings

The response received from the server.

CreateSecuritySettings(CreateSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual SecuritySettings CreateSecuritySettings(CreateSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create security settings in the specified location.

Parameters
Name Description
request CreateSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SecuritySettings

The response received from the server.

CreateSecuritySettingsAsync(CreateSecuritySettingsRequest, CallOptions)

public virtual AsyncUnaryCall<SecuritySettings> CreateSecuritySettingsAsync(CreateSecuritySettingsRequest request, CallOptions options)

Create security settings in the specified location.

Parameters
Name Description
request CreateSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.

CreateSecuritySettingsAsync(CreateSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SecuritySettings> CreateSecuritySettingsAsync(CreateSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create security settings in the specified location.

Parameters
Name Description
request CreateSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.

DeleteSecuritySettings(DeleteSecuritySettingsRequest, CallOptions)

public virtual Empty DeleteSecuritySettings(DeleteSecuritySettingsRequest request, CallOptions options)

Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request DeleteSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSecuritySettings(DeleteSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteSecuritySettings(DeleteSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request DeleteSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest request, CallOptions options)

Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request DeleteSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request DeleteSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetSecuritySettings(GetSecuritySettingsRequest, CallOptions)

public virtual SecuritySettings GetSecuritySettings(GetSecuritySettingsRequest request, CallOptions options)

Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.

Parameters
Name Description
request GetSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SecuritySettings

The response received from the server.

GetSecuritySettings(GetSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual SecuritySettings GetSecuritySettings(GetSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.

Parameters
Name Description
request GetSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SecuritySettings

The response received from the server.

GetSecuritySettingsAsync(GetSecuritySettingsRequest, CallOptions)

public virtual AsyncUnaryCall<SecuritySettings> GetSecuritySettingsAsync(GetSecuritySettingsRequest request, CallOptions options)

Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.

Parameters
Name Description
request GetSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.

GetSecuritySettingsAsync(GetSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SecuritySettings> GetSecuritySettingsAsync(GetSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.

Parameters
Name Description
request GetSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.

ListSecuritySettings(ListSecuritySettingsRequest, CallOptions)

public virtual ListSecuritySettingsResponse ListSecuritySettings(ListSecuritySettingsRequest request, CallOptions options)

Returns the list of all security settings in the specified location.

Parameters
Name Description
request ListSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSecuritySettingsResponse

The response received from the server.

ListSecuritySettings(ListSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSecuritySettingsResponse ListSecuritySettings(ListSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all security settings in the specified location.

Parameters
Name Description
request ListSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSecuritySettingsResponse

The response received from the server.

ListSecuritySettingsAsync(ListSecuritySettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSecuritySettingsResponse> ListSecuritySettingsAsync(ListSecuritySettingsRequest request, CallOptions options)

Returns the list of all security settings in the specified location.

Parameters
Name Description
request ListSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSecuritySettingsResponse

The call object.

ListSecuritySettingsAsync(ListSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSecuritySettingsResponse> ListSecuritySettingsAsync(ListSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all security settings in the specified location.

Parameters
Name Description
request ListSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSecuritySettingsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SecuritySettingsService.SecuritySettingsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SecuritySettingsServiceSecuritySettingsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.Cx.V3.SecuritySettingsService.SecuritySettingsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateSecuritySettings(UpdateSecuritySettingsRequest, CallOptions)

public virtual SecuritySettings UpdateSecuritySettings(UpdateSecuritySettingsRequest request, CallOptions options)

Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request UpdateSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SecuritySettings

The response received from the server.

UpdateSecuritySettings(UpdateSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual SecuritySettings UpdateSecuritySettings(UpdateSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request UpdateSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SecuritySettings

The response received from the server.

UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, CallOptions)

public virtual AsyncUnaryCall<SecuritySettings> UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest request, CallOptions options)

Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request UpdateSecuritySettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.

UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SecuritySettings> UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].

Parameters
Name Description
request UpdateSecuritySettingsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSecuritySettings

The call object.