Service Client: Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::SecuritySettingsServiceClient

Client stub representing the remote SecuritySettingsService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dialogflow.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/security_settings.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3::SecuritySettings;

my $msg = Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::GetSecuritySettingsRequest->new({
    name => $name,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::GetSecuritySettingsRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/security_settings.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::GetSecuritySettingsRequest

The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Resource name of the settings. Format: `projects/<ProjectID>/locations/<LocationID>/securitySettings/<securitysettingsID>`.

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::UpdateSecuritySettingsRequest

The request message for [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::ListSecuritySettingsRequest

The request message for [SecuritySettings.ListSecuritySettings][].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location to list all security settings for. Format: `projects/<ProjectID>/locations/<LocationID>`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return in a single page. By default 20 and at most 100.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous list request.

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::ListSecuritySettingsResponse

The response message for [SecuritySettings.ListSecuritySettings][].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::CreateSecuritySettingsRequest

The request message for [SecuritySettings.CreateSecuritySettings][].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. Format: `projects/<ProjectID>/locations/<LocationID>`.

  • $msg->security_settings() / $msg->security_settings($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::SecuritySettings)

    Required. The security settings to create.

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::DeleteSecuritySettingsRequest

The request message for [SecuritySettings.DeleteSecuritySettings][].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete. Format: `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`.

Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::SecuritySettings

Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Resource name of the settings. Required for the [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings] method. [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Required. The human-readable name of the security settings, unique within the location.

  • $msg->redaction_strategy() / $msg->redaction_strategy($value)

    Type: Enum (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::RedactionStrategy)

    Strategy that defines how we do redaction.

  • $msg->redaction_scope() / $msg->redaction_scope($value)

    Type: Enum (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::RedactionScope)

    Defines the data for which Dialogflow applies redaction. Dialogflow does not redact data that it does not have access to – for example, Cloud logging.

  • $msg->inspect_template() / $msg->inspect_template($value)

    Type: String

    [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this template to define inspect base settings.

    The `DLP Inspect Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent's project.

    If empty, we use the default DLP inspect config.

    The template name will have one of the following formats: `projects/<ProjectID>/locations/<LocationID>/inspectTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/inspectTemplates/<TemplateID>`

    Note: `inspect_template` must be located in the same region as the `SecuritySettings`.

  • $msg->deidentify_template() / $msg->deidentify_template($value)

    Type: String

    [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this template to define de-identification configuration for the content.

    The `DLP De-identify Templates Reader` role is needed on the Dialogflow service identity service account (has the form `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your agent's project.

    If empty, Dialogflow replaces sensitive info with `[redacted]` text.

    The template name will have one of the following formats: `projects/<ProjectID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>`

    Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.

  • $msg->retention_window_days() / $msg->retention_window_days($value)

    Type: Int32

    Retains the data for the specified number of days. User must set a value lower than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL. When data retention configuration is changed, it only applies to the data created after the change; the TTL of existing data created before the change stays intact.

  • $msg->retention_strategy() / $msg->retention_strategy($value)

    Type: Enum (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::RetentionStrategy)

    Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy].

  • $msg->purge_data_types() / $msg->purge_data_types($value)

    Type: Enum (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::PurgeDataType)

    List of types of data to remove when retention settings triggers purge.

  • $msg->audio_export_settings() / $msg->audio_export_settings($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::SecuritySettings::AudioExportSettings)

    Controls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][].

    If [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION or [audio_export_settings.gcs_bucket][] is empty, audio export is disabled.

    If audio export is enabled, audio is recorded and saved to [audio_export_settings.gcs_bucket][], subject to retention policy of [audio_export_settings.gcs_bucket][].

    This setting won't effect audio input for implicit sessions via [Sessions.DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] or [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent].

  • $msg->insights_export_settings() / $msg->insights_export_settings($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::SecuritySettings::InsightsExportSettings)

    Controls conversation exporting settings to Insights after conversation is completed.

    If [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here.

Enum: SecuritySettings::RedactionStrategy

  • REDACTION_STRATEGY_UNSPECIFIED => 0

  • REDACT_WITH_SERVICE => 1

Enum: SecuritySettings::RedactionScope

  • REDACTION_SCOPE_UNSPECIFIED => 0

  • REDACT_DISK_STORAGE => 2

Enum: SecuritySettings::RetentionStrategy

  • RETENTION_STRATEGY_UNSPECIFIED => 0

  • REMOVE_AFTER_CONVERSATION => 1

Enum: SecuritySettings::PurgeDataType

  • PURGE_DATA_TYPE_UNSPECIFIED => 0

  • DIALOGFLOW_HISTORY => 1

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::SecuritySettings::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.