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.



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

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)


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

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


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

def log_type
  @log_type
end

#privacyString

Corresponds to the JSON property privacy

Returns:

  • (String)


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

def privacy
  @privacy
end

#sanitize_typeString

Corresponds to the JSON property sanitizeType

Returns:

  • (String)


4754
4755
4756
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4754

def sanitize_type
  @sanitize_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4761
4762
4763
4764
4765
4766
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4761

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