Dialogflow v3 API - Class SecuritySettingsService.SecuritySettingsServiceClient (2.4.0)

public class SecuritySettingsServiceClient : ClientBase<SecuritySettingsService.SecuritySettingsServiceClient>

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

Client for SecuritySettingsService

Inheritance

Object > ClientBase > ClientBase<SecuritySettingsService.SecuritySettingsServiceClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

SecuritySettingsServiceClient(ChannelBase)

public SecuritySettingsServiceClient(ChannelBase channel)

Creates a new client for SecuritySettingsService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SecuritySettingsServiceClient(ClientBase.ClientBaseConfiguration)

protected SecuritySettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
TypeDescription
Locations.LocationsClient

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
NameDescription
requestCreateSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SecuritySettings

The response received from the server.

CreateSecuritySettings(CreateSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Create security settings in the specified location.

Parameters
NameDescription
requestCreateSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestCreateSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

The call object.

CreateSecuritySettingsAsync(CreateSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Create security settings in the specified location.

Parameters
NameDescription
requestCreateSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

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
NameDescription
requestDeleteSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteSecuritySettings(DeleteSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestDeleteSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestDeleteSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

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
NameDescription
requestGetSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SecuritySettings

The response received from the server.

GetSecuritySettings(GetSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

The call object.

GetSecuritySettingsAsync(GetSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestGetSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

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
NameDescription
requestListSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSecuritySettingsResponse

The response received from the server.

ListSecuritySettings(ListSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestListSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListSecuritySettingsResponse>

The call object.

ListSecuritySettingsAsync(ListSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestListSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListSecuritySettingsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
SecuritySettingsService.SecuritySettingsServiceClient
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
NameDescription
requestUpdateSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SecuritySettings

The response received from the server.

UpdateSecuritySettings(UpdateSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestUpdateSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestUpdateSecuritySettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

The call object.

UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestUpdateSecuritySettingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<SecuritySettings>

The call object.