Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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
-
#display_name ⇒ String
Required.
-
#insights_export_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
Settings for exporting conversations to Insights.
-
#inspect_template ⇒ String
DLP inspect template name.
-
#name ⇒ String
Required.
-
#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_window_days ⇒ Fixnum
Retains data in interaction logging for the specified number of days.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SecuritySettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SecuritySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SecuritySettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1SecuritySettings.
6781 6782 6783 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. The human-readable name of the security settings, unique within the
location.
Corresponds to the JSON property displayName
6732 6733 6734 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6732 def display_name @display_name end |
#insights_export_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsInsightsExportSettings
Settings for exporting conversations to Insights.
Corresponds to the JSON property insightsExportSettings
6738 6739 6740 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6738 def insights_export_settings @insights_export_settings end |
#inspect_template ⇒ String
DLP inspect template name. Use this
template to define inspect base settings. If empty, we use the default DLP
inspect config. The template name will have one of the following formats:
projects//inspectTemplates/ OR projects//locations//inspectTemplates/ OR
organizations//inspectTemplates/
Corresponds to the JSON property inspectTemplate
6747 6748 6749 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6747 def inspect_template @inspect_template end |
#name ⇒ String
Required. Resource name of the settings. Format: projects//locations//
securitySettings/.
Corresponds to the JSON property name
6753 6754 6755 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6753 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
6758 6759 6760 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6758 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
6764 6765 6766 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6764 def redaction_scope @redaction_scope end |
#redaction_strategy ⇒ String
Strategy that defines how we do redaction.
Corresponds to the JSON property redactionStrategy
6769 6770 6771 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6769 def redaction_strategy @redaction_strategy end |
#retention_window_days ⇒ Fixnum
Retains data in interaction logging for the specified number of days. This
does not apply to Cloud logging, which is owned by the user - not Dialogflow.
User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
higher than that has no effect. A missing value or setting to 0 also means we
use Dialogflow's default TTL. Note: Interaction logging is a limited access
feature. Talk to your Google representative to check availability for you.
Corresponds to the JSON property retentionWindowDays
6779 6780 6781 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6779 def retention_window_days @retention_window_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6786 def update!(**args) @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_window_days = args[:retention_window_days] if args.key?(:retention_window_days) end |