Class SecuritySettingsService.SecuritySettingsServiceClient (2.0.0)

public class SecuritySettingsServiceClient : ClientBase<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
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(ClientBase.ClientBaseConfiguration)

protected SecuritySettingsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

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, 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
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 Nullable<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
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
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 Nullable<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
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
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, 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
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 Nullable<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
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
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 Nullable<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
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
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, 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
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 Nullable<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
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
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 Nullable<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
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
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, 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
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 Nullable<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
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
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 Nullable<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
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
Name Description
configuration ClientBase.ClientBaseConfiguration
Returns
Type Description
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
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, 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
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 Nullable<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
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
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 Nullable<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
AsyncUnaryCall<SecuritySettings>

The call object.