Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettings

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SecuritySettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1SecuritySettings.



6216
6217
6218
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6216

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)


6176
6177
6178
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6176

def display_name
  @display_name
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/PROJECT_ID/inspectTemplates/ TEMPLATE_ID OR organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID Corresponds to the JSON property inspectTemplate

Returns:

  • (String)


6184
6185
6186
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6184

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)


6190
6191
6192
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6190

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>)


6195
6196
6197
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6195

def purge_data_types
  @purge_data_types
end

#redaction_scopeString

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

Returns:

  • (String)


6201
6202
6203
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6201

def redaction_scope
  @redaction_scope
end

#redaction_strategyString

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

Returns:

  • (String)


6206
6207
6208
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6206

def redaction_strategy
  @redaction_strategy
end

#retention_window_daysFixnum

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

Returns:

  • (Fixnum)


6214
6215
6216
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6214

def retention_window_days
  @retention_window_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6221
6222
6223
6224
6225
6226
6227
6228
6229
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6221

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