Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmLoggingGwsFieldLimits
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmLoggingGwsFieldLimits
- 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
Describes string and array limits when writing to logs. When a limit is exceeded the shortener_type describes how to shorten the field. next_id: 6
Instance Attribute Summary collapse
-
#log_action ⇒ String
Corresponds to the JSON property
logAction. -
#log_type ⇒ Array<String>
To which type(s) of logs the limits apply.
-
#max_array_size ⇒ Fixnum
maximum array size.
-
#max_string_length ⇒ Fixnum
maximum string length.
-
#shortener_type ⇒ String
Corresponds to the JSON property
shortenerType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmLoggingGwsFieldLimits
constructor
A new instance of EnterpriseCrmLoggingGwsFieldLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmLoggingGwsFieldLimits
Returns a new instance of EnterpriseCrmLoggingGwsFieldLimits.
4705 4706 4707 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4705 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_action ⇒ String
Corresponds to the JSON property logAction
4682 4683 4684 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4682 def log_action @log_action end |
#log_type ⇒ Array<String>
To which type(s) of logs the limits apply.
Corresponds to the JSON property logType
4687 4688 4689 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4687 def log_type @log_type end |
#max_array_size ⇒ Fixnum
maximum array size. If the array exceds this size, the field (list) is
truncated.
Corresponds to the JSON property maxArraySize
4693 4694 4695 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4693 def max_array_size @max_array_size end |
#max_string_length ⇒ Fixnum
maximum string length. If the field exceeds this amount the field is shortened.
Corresponds to the JSON property maxStringLength
4698 4699 4700 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4698 def max_string_length @max_string_length end |
#shortener_type ⇒ String
Corresponds to the JSON property shortenerType
4703 4704 4705 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4703 def shortener_type @shortener_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4710 4711 4712 4713 4714 4715 4716 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4710 def update!(**args) @log_action = args[:log_action] if args.key?(:log_action) @log_type = args[:log_type] if args.key?(:log_type) @max_array_size = args[:max_array_size] if args.key?(:max_array_size) @max_string_length = args[:max_string_length] if args.key?(:max_string_length) @shortener_type = args[:shortener_type] if args.key?(:shortener_type) end |