Dialogflow v3 API - Class SecuritySettingsServiceClient (2.15.0)

public abstract class SecuritySettingsServiceClient

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

SecuritySettingsService client wrapper, for convenient use.

Inheritance

object > SecuritySettingsServiceClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing security settings for Dialogflow.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the SecuritySettingsService service, which is a host of "dialogflow.googleapis.com" and a port of 443.

Property Value
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default SecuritySettingsService scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

GrpcClient

public virtual SecuritySettingsService.SecuritySettingsServiceClient GrpcClient { get; }

The underlying gRPC SecuritySettingsService client

Property Value
TypeDescription
SecuritySettingsServiceSecuritySettingsServiceClient

LocationsClient

public virtual LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

Methods

Create()

public static SecuritySettingsServiceClient Create()

Synchronously creates a SecuritySettingsServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SecuritySettingsServiceClientBuilder.

Returns
TypeDescription
SecuritySettingsServiceClient

The created SecuritySettingsServiceClient.

CreateAsync(CancellationToken)

public static Task<SecuritySettingsServiceClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a SecuritySettingsServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SecuritySettingsServiceClientBuilder.

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskSecuritySettingsServiceClient

The task representing the created SecuritySettingsServiceClient.

CreateSecuritySettings(LocationName, SecuritySettings, CallSettings)

public virtual SecuritySettings CreateSecuritySettings(LocationName parent, SecuritySettings securitySettings, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
parentLocationName

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = securitySettingsServiceClient.CreateSecuritySettings(parent, securitySettings);

CreateSecuritySettings(CreateSecuritySettingsRequest, CallSettings)

public virtual SecuritySettings CreateSecuritySettings(CreateSecuritySettingsRequest request, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
requestCreateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
CreateSecuritySettingsRequest request = new CreateSecuritySettingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SecuritySettings = new SecuritySettings(),
};
// Make the request
SecuritySettings response = securitySettingsServiceClient.CreateSecuritySettings(request);

CreateSecuritySettings(string, SecuritySettings, CallSettings)

public virtual SecuritySettings CreateSecuritySettings(string parent, SecuritySettings securitySettings, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
parentstring

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = securitySettingsServiceClient.CreateSecuritySettings(parent, securitySettings);

CreateSecuritySettingsAsync(LocationName, SecuritySettings, CallSettings)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(LocationName parent, SecuritySettings securitySettings, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
parentLocationName

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(parent, securitySettings);

CreateSecuritySettingsAsync(LocationName, SecuritySettings, CancellationToken)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(LocationName parent, SecuritySettings securitySettings, CancellationToken cancellationToken)

Create security settings in the specified location.

Parameters
NameDescription
parentLocationName

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(parent, securitySettings);

CreateSecuritySettingsAsync(CreateSecuritySettingsRequest, CallSettings)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(CreateSecuritySettingsRequest request, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
requestCreateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSecuritySettingsRequest request = new CreateSecuritySettingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SecuritySettings = new SecuritySettings(),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(request);

CreateSecuritySettingsAsync(CreateSecuritySettingsRequest, CancellationToken)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(CreateSecuritySettingsRequest request, CancellationToken cancellationToken)

Create security settings in the specified location.

Parameters
NameDescription
requestCreateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSecuritySettingsRequest request = new CreateSecuritySettingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SecuritySettings = new SecuritySettings(),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(request);

CreateSecuritySettingsAsync(string, SecuritySettings, CallSettings)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(string parent, SecuritySettings securitySettings, CallSettings callSettings = null)

Create security settings in the specified location.

Parameters
NameDescription
parentstring

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(parent, securitySettings);

CreateSecuritySettingsAsync(string, SecuritySettings, CancellationToken)

public virtual Task<SecuritySettings> CreateSecuritySettingsAsync(string parent, SecuritySettings securitySettings, CancellationToken cancellationToken)

Create security settings in the specified location.

Parameters
NameDescription
parentstring

Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: projects/<Project ID>/locations/<Location ID>.

securitySettingsSecuritySettings

Required. The security settings to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
SecuritySettings securitySettings = new SecuritySettings();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.CreateSecuritySettingsAsync(parent, securitySettings);

DeleteSecuritySettings(DeleteSecuritySettingsRequest, CallSettings)

public virtual void DeleteSecuritySettings(DeleteSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
DeleteSecuritySettingsRequest request = new DeleteSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
securitySettingsServiceClient.DeleteSecuritySettings(request);

DeleteSecuritySettings(SecuritySettingsName, CallSettings)

public virtual void DeleteSecuritySettings(SecuritySettingsName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
securitySettingsServiceClient.DeleteSecuritySettings(name);

DeleteSecuritySettings(string, CallSettings)

public virtual void DeleteSecuritySettings(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
namestring

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
securitySettingsServiceClient.DeleteSecuritySettings(name);

DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest, CallSettings)

public virtual Task DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSecuritySettingsRequest request = new DeleteSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(request);

DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest, CancellationToken)

public virtual Task DeleteSecuritySettingsAsync(DeleteSecuritySettingsRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestDeleteSecuritySettingsRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSecuritySettingsRequest request = new DeleteSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(request);

DeleteSecuritySettingsAsync(SecuritySettingsName, CallSettings)

public virtual Task DeleteSecuritySettingsAsync(SecuritySettingsName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name);

DeleteSecuritySettingsAsync(SecuritySettingsName, CancellationToken)

public virtual Task DeleteSecuritySettingsAsync(SecuritySettingsName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name);

DeleteSecuritySettingsAsync(string, CallSettings)

public virtual Task DeleteSecuritySettingsAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
namestring

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name);

DeleteSecuritySettingsAsync(string, CancellationToken)

public virtual Task DeleteSecuritySettingsAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
namestring

Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
await securitySettingsServiceClient.DeleteSecuritySettingsAsync(name);

GetSecuritySettings(GetSecuritySettingsRequest, CallSettings)

public virtual SecuritySettings GetSecuritySettings(GetSecuritySettingsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
GetSecuritySettingsRequest request = new GetSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(request);

GetSecuritySettings(SecuritySettingsName, CallSettings)

public virtual SecuritySettings GetSecuritySettings(SecuritySettingsName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(name);

GetSecuritySettings(string, CallSettings)

public virtual SecuritySettings GetSecuritySettings(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
namestring

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
SecuritySettings response = securitySettingsServiceClient.GetSecuritySettings(name);

GetSecuritySettingsAsync(GetSecuritySettingsRequest, CallSettings)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(GetSecuritySettingsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
GetSecuritySettingsRequest request = new GetSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(request);

GetSecuritySettingsAsync(GetSecuritySettingsRequest, CancellationToken)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(GetSecuritySettingsRequest request, CancellationToken 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 object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
GetSecuritySettingsRequest request = new GetSecuritySettingsRequest
{
    SecuritySettingsName = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]"),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(request);

GetSecuritySettingsAsync(SecuritySettingsName, CallSettings)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(SecuritySettingsName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(name);

GetSecuritySettingsAsync(SecuritySettingsName, CancellationToken)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(SecuritySettingsName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameSecuritySettingsName

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettingsName name = SecuritySettingsName.FromProjectLocationSecuritySettings("[PROJECT]", "[LOCATION]", "[SECURITY_SETTINGS]");
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(name);

GetSecuritySettingsAsync(string, CallSettings)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
namestring

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(name);

GetSecuritySettingsAsync(string, CancellationToken)

public virtual Task<SecuritySettings> GetSecuritySettingsAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
namestring

Required. Resource name of the settings. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<security settings ID>.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/securitySettings/[SECURITY_SETTINGS]";
// Make the request
SecuritySettings response = await securitySettingsServiceClient.GetSecuritySettingsAsync(name);

ListSecuritySettings(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettings(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The location to list all security settings for. Format: projects/<Project ID>/locations/<Location ID>.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListSecuritySettingsResponseSecuritySettings

A pageable sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (SecuritySettings item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSecuritySettingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListSecuritySettings(ListSecuritySettingsRequest, CallSettings)

public virtual PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettings(ListSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListSecuritySettingsResponseSecuritySettings

A pageable sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
ListSecuritySettingsRequest request = new ListSecuritySettingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettings(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (SecuritySettings item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSecuritySettingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListSecuritySettings(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentstring

Required. The location to list all security settings for. Format: projects/<Project ID>/locations/<Location ID>.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListSecuritySettingsResponseSecuritySettings

A pageable sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (SecuritySettings item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSecuritySettingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListSecuritySettingsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettingsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The location to list all security settings for. Format: projects/<Project ID>/locations/<Location ID>.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListSecuritySettingsResponseSecuritySettings

A pageable asynchronous sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SecuritySettings item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSecuritySettingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListSecuritySettingsAsync(ListSecuritySettingsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettingsAsync(ListSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListSecuritySettingsResponseSecuritySettings

A pageable asynchronous sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
ListSecuritySettingsRequest request = new ListSecuritySettingsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettingsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SecuritySettings item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSecuritySettingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListSecuritySettingsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettingsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentstring

Required. The location to list all security settings for. Format: projects/<Project ID>/locations/<Location ID>.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListSecuritySettingsResponseSecuritySettings

A pageable asynchronous sequence of SecuritySettings resources.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> response = securitySettingsServiceClient.ListSecuritySettingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SecuritySettings item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSecuritySettingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (SecuritySettings item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SecuritySettings> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SecuritySettings item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateSecuritySettings(SecuritySettings, FieldMask, CallSettings)

public virtual SecuritySettings UpdateSecuritySettings(SecuritySettings securitySettings, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
securitySettingsSecuritySettings

Required. [SecuritySettings] object that contains values for each of the fields to update.

updateMaskFieldMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
SecuritySettings securitySettings = new SecuritySettings();
FieldMask updateMask = new FieldMask();
// Make the request
SecuritySettings response = securitySettingsServiceClient.UpdateSecuritySettings(securitySettings, updateMask);

UpdateSecuritySettings(UpdateSecuritySettingsRequest, CallSettings)

public virtual SecuritySettings UpdateSecuritySettings(UpdateSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SecuritySettings

The RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = SecuritySettingsServiceClient.Create();
// Initialize request argument(s)
UpdateSecuritySettingsRequest request = new UpdateSecuritySettingsRequest
{
    SecuritySettings = new SecuritySettings(),
    UpdateMask = new FieldMask(),
};
// Make the request
SecuritySettings response = securitySettingsServiceClient.UpdateSecuritySettings(request);

UpdateSecuritySettingsAsync(SecuritySettings, FieldMask, CallSettings)

public virtual Task<SecuritySettings> UpdateSecuritySettingsAsync(SecuritySettings securitySettings, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
securitySettingsSecuritySettings

Required. [SecuritySettings] object that contains values for each of the fields to update.

updateMaskFieldMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettings securitySettings = new SecuritySettings();
FieldMask updateMask = new FieldMask();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(securitySettings, updateMask);

UpdateSecuritySettingsAsync(SecuritySettings, FieldMask, CancellationToken)

public virtual Task<SecuritySettings> UpdateSecuritySettingsAsync(SecuritySettings securitySettings, FieldMask updateMask, CancellationToken cancellationToken)

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

Parameters
NameDescription
securitySettingsSecuritySettings

Required. [SecuritySettings] object that contains values for each of the fields to update.

updateMaskFieldMask

Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
SecuritySettings securitySettings = new SecuritySettings();
FieldMask updateMask = new FieldMask();
// Make the request
SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(securitySettings, updateMask);

UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, CallSettings)

public virtual Task<SecuritySettings> UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSecuritySettingsRequest request = new UpdateSecuritySettingsRequest
{
    SecuritySettings = new SecuritySettings(),
    UpdateMask = new FieldMask(),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(request);

UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest, CancellationToken)

public virtual Task<SecuritySettings> UpdateSecuritySettingsAsync(UpdateSecuritySettingsRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestUpdateSecuritySettingsRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskSecuritySettings

A Task containing the RPC response.

Example
// Create client
SecuritySettingsServiceClient securitySettingsServiceClient = await SecuritySettingsServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSecuritySettingsRequest request = new UpdateSecuritySettingsRequest
{
    SecuritySettings = new SecuritySettings(),
    UpdateMask = new FieldMask(),
};
// Make the request
SecuritySettings response = await securitySettingsServiceClient.UpdateSecuritySettingsAsync(request);