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.



4736
4737
4738
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4736

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)


4718
4719
4720
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4718

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


4724
4725
4726
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4724

def log_type
  @log_type
end

#privacyString

Corresponds to the JSON property privacy

Returns:

  • (String)


4729
4730
4731
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4729

def privacy
  @privacy
end

#sanitize_typeString

Corresponds to the JSON property sanitizeType

Returns:

  • (String)


4734
4735
4736
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4734

def sanitize_type
  @sanitize_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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