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.



4878
4879
4880
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4878

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)


4860
4861
4862
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4860

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


4866
4867
4868
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4866

def log_type
  @log_type
end

#privacyString

Corresponds to the JSON property privacy

Returns:

  • (String)


4871
4872
4873
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4871

def privacy
  @privacy
end

#sanitize_typeString

Corresponds to the JSON property sanitizeType

Returns:

  • (String)


4876
4877
4878
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4876

def sanitize_type
  @sanitize_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4883
4884
4885
4886
4887
4888
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4883

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