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
-
#display_name ⇒ String
Required.
-
#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 on what data we apply redaction.
-
#redaction_strategy ⇒ String
Strategy that defines how we do redaction.
-
#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.
3849 3850 3851 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3849 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
3809 3810 3811 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3809 def display_name @display_name 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/PROJECT_ID/inspectTemplates/
TEMPLATE_ID OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID
Corresponds to the JSON property inspectTemplate
3817 3818 3819 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3817 def inspect_template @inspect_template end |
#name ⇒ String
Required. Resource name of the settings. Format: projects//locations//
securitySettings/.
Corresponds to the JSON property name
3823 3824 3825 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3823 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
3828 3829 3830 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3828 def purge_data_types @purge_data_types end |
#redaction_scope ⇒ String
Defines on what data we apply redaction. Note that we don't redact data to
which we don't have access, e.g., Stackdriver logs.
Corresponds to the JSON property redactionScope
3834 3835 3836 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3834 def redaction_scope @redaction_scope end |
#redaction_strategy ⇒ String
Strategy that defines how we do redaction.
Corresponds to the JSON property redactionStrategy
3839 3840 3841 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3839 def redaction_strategy @redaction_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 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.
Corresponds to the JSON property retentionWindowDays
3847 3848 3849 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3847 def retention_window_days @retention_window_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3854 3855 3856 3857 3858 3859 3860 3861 3862 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3854 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @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 |