Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmLoggingGwsSanitizeOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

Identifies whether a field contains, or may contain, PII or sensitive data, and how to sanitize the field if it does. If a field's privacy type cannot be determined then it is sanitized (e.g., scrubbed). The specific sanitizer implementation is determined by run-time configuration and environment options (e.g., prod vs. qa). next_id: 5

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmLoggingGwsSanitizeOptions

Returns a new instance of EnterpriseCrmLoggingGwsSanitizeOptions.



4750
4751
4752
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4750

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

Instance Attribute Details

#is_already_sanitizedBoolean Also known as: is_already_sanitized?

If true, the value has already been sanitized and needs no further sanitization. For instance, a D3 customer id is already an obfuscated entity and might not need further sanitization. Corresponds to the JSON property isAlreadySanitized

Returns:

  • (Boolean)


4732
4733
4734
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4732

def is_already_sanitized
  @is_already_sanitized
end

#log_typeArray<String>

To which type(s) of logs the sanitize options apply. Corresponds to the JSON property logType

Returns:

  • (Array<String>)


4738
4739
4740
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4738

def log_type
  @log_type
end

#privacyString

Corresponds to the JSON property privacy

Returns:

  • (String)


4743
4744
4745
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4743

def privacy
  @privacy
end

#sanitize_typeString

Corresponds to the JSON property sanitizeType

Returns:

  • (String)


4748
4749
4750
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4748

def sanitize_type
  @sanitize_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4755
4756
4757
4758
4759
4760
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4755

def update!(**args)
  @is_already_sanitized = args[:is_already_sanitized] if args.key?(:is_already_sanitized)
  @log_type = args[:log_type] if args.key?(:log_type)
  @privacy = args[:privacy] if args.key?(:privacy)
  @sanitize_type = args[:sanitize_type] if args.key?(:sanitize_type)
end