Class SecuritySettingsServiceClient (1.2.0)

public abstract 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
IReadOnlyList<String>
Remarks

GrpcClient

public virtual SecuritySettingsService.SecuritySettingsServiceClient GrpcClient { get; }

The underlying gRPC SecuritySettingsService client

Property Value
TypeDescription
SecuritySettingsService.SecuritySettingsServiceClient

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(CancellationToken))

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
Task<SecuritySettingsServiceClient>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

securitySettingsSecuritySettings

Required. The security settings to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<SecuritySettings>

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
Task<SecuritySettings>

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
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

securitySettingsSecuritySettings

Required. The security settings to create.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

securitySettingsSecuritySettings

Required. The security settings to create.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;Security Settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

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
Task<SecuritySettings>

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
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SecuritySettings>

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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/securitySettings/&amp;lt;security settings ID&amp;gt;.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<SecuritySettings>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettings(LocationName parent, string pageToken = null, int? pageSize = default(int? ), 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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

pageTokenString

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

pageSizeNullable<Int32>

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
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettings(string parent, string pageToken = null, int? pageSize = default(int? ), 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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

pageTokenString

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

pageSizeNullable<Int32>

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
PagedEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettingsAsync(LocationName parent, string pageToken = null, int? pageSize = default(int? ), 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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

pageTokenString

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

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings> ListSecuritySettingsAsync(string parent, string pageToken = null, int? pageSize = default(int? ), 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/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;.

pageTokenString

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

pageSizeNullable<Int32>

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
PagedAsyncEnumerable<ListSecuritySettingsResponse, SecuritySettings>

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
Task<SecuritySettings>

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
Task<SecuritySettings>

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
Task<SecuritySettings>

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
Task<SecuritySettings>

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);