Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SecuritySettings

Returns a new instance of GoogleCloudDialogflowCxV3SecuritySettings.



4363
4364
4365
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4363

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Required. The human-readable name of the security settings, unique within the location. Corresponds to the JSON property displayName

Returns:

  • (String)


4314
4315
4316
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4314

def display_name
  @display_name
end

#insights_export_settingsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings

Settings for exporting conversations to Insights. Corresponds to the JSON property insightsExportSettings



4320
4321
4322
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4320

def insights_export_settings
  @insights_export_settings
end

#inspect_templateString

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

Returns:

  • (String)


4329
4330
4331
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4329

def inspect_template
  @inspect_template
end

#nameString

Required. Resource name of the settings. Format: projects//locations// securitySettings/. Corresponds to the JSON property name

Returns:

  • (String)


4335
4336
4337
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4335

def name
  @name
end

#purge_data_typesArray<String>

List of types of data to remove when retention settings triggers purge. Corresponds to the JSON property purgeDataTypes

Returns:

  • (Array<String>)


4340
4341
4342
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4340

def purge_data_types
  @purge_data_types
end

#redaction_scopeString

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

Returns:

  • (String)


4346
4347
4348
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4346

def redaction_scope
  @redaction_scope
end

#redaction_strategyString

Strategy that defines how we do redaction. Corresponds to the JSON property redactionStrategy

Returns:

  • (String)


4351
4352
4353
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4351

def redaction_strategy
  @redaction_strategy
end

#retention_window_daysFixnum

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

Returns:

  • (Fixnum)


4361
4362
4363
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4361

def retention_window_days
  @retention_window_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4368

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