Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#audio_export_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings
Settings for exporting audio.
-
#deidentify_template ⇒ String
DLP deidentify template name.
-
#display_name ⇒ String
Required.
-
#insights_export_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
Settings for exporting conversations to Insights.
-
#inspect_template ⇒ String
DLP inspect template name.
-
#name ⇒ String
Resource name of the settings.
-
#purge_data_types ⇒ Array<String>
List of types of data to remove when retention settings triggers purge.
-
#redaction_scope ⇒ String
Defines the data for which Dialogflow applies redaction.
-
#redaction_strategy ⇒ String
Strategy that defines how we do redaction.
-
#retention_strategy ⇒ String
Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.
-
#retention_window_days ⇒ Fixnum
Retains the data for the specified number of days.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SecuritySettings
constructor
A new instance of GoogleCloudDialogflowCxV3SecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SecuritySettings
Returns a new instance of GoogleCloudDialogflowCxV3SecuritySettings.
6532 6533 6534 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_export_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings
Settings for exporting audio.
Corresponds to the JSON property audioExportSettings
6455 6456 6457 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6455 def audio_export_settings @audio_export_settings end |
#deidentify_template ⇒ String
DLP 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//locations//
deidentifyTemplates/
OR organizations//locations//deidentifyTemplates/
Note:
deidentify_template
must be located in the same region as the
SecuritySettings
.
Corresponds to the JSON property deidentifyTemplate
6469 6470 6471 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6469 def deidentify_template @deidentify_template end |
#display_name ⇒ String
Required. The human-readable name of the security settings, unique within the
location.
Corresponds to the JSON property displayName
6475 6476 6477 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6475 def display_name @display_name end |
#insights_export_settings ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
Settings for exporting conversations to Insights.
Corresponds to the JSON property insightsExportSettings
6481 6482 6483 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6481 def insights_export_settings @insights_export_settings end |
#inspect_template ⇒ String
DLP 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 [email protected]
) 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//locations//
inspectTemplates/
OR organizations//locations//inspectTemplates/
Note:
inspect_template
must be located in the same region as the SecuritySettings
.
Corresponds to the JSON property inspectTemplate
6493 6494 6495 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6493 def inspect_template @inspect_template end |
#name ⇒ String
Resource name of the settings. Required for the SecuritySettingsService.
UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings
populates the name automatically. Format: projects//locations//
securitySettings/
.
Corresponds to the JSON property name
6501 6502 6503 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6501 def name @name end |
#purge_data_types ⇒ Array<String>
List of types of data to remove when retention settings triggers purge.
Corresponds to the JSON property purgeDataTypes
6506 6507 6508 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6506 def purge_data_types @purge_data_types end |
#redaction_scope ⇒ String
Defines the data for which Dialogflow applies redaction. Dialogflow does not
redact data that it does not have access to – for example, Cloud logging.
Corresponds to the JSON property redactionScope
6512 6513 6514 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6512 def redaction_scope @redaction_scope end |
#redaction_strategy ⇒ String
Strategy that defines how we do redaction.
Corresponds to the JSON property redactionStrategy
6517 6518 6519 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6517 def redaction_strategy @redaction_strategy end |
#retention_strategy ⇒ String
Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.
Corresponds to the JSON property retentionStrategy
6522 6523 6524 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6522 def retention_strategy @retention_strategy end |
#retention_window_days ⇒ Fixnum
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.
Corresponds to the JSON property retentionWindowDays
6530 6531 6532 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6530 def retention_window_days @retention_window_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6537 def update!(**args) @audio_export_settings = args[:audio_export_settings] if args.key?(:audio_export_settings) @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) @display_name = args[:display_name] if args.key?(:display_name) @insights_export_settings = args[:insights_export_settings] if args.key?(:insights_export_settings) @inspect_template = args[:inspect_template] if args.key?(:inspect_template) @name = args[:name] if args.key?(:name) @purge_data_types = args[:purge_data_types] if args.key?(:purge_data_types) @redaction_scope = args[:redaction_scope] if args.key?(:redaction_scope) @redaction_strategy = args[:redaction_strategy] if args.key?(:redaction_strategy) @retention_strategy = args[:retention_strategy] if args.key?(:retention_strategy) @retention_window_days = args[:retention_window_days] if args.key?(:retention_window_days) end |