Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmLoggingGwsFieldLimits

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmLoggingGwsFieldLimits

Returns a new instance of EnterpriseCrmLoggingGwsFieldLimits.



4691
4692
4693
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4691

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

Instance Attribute Details

#log_actionString

Corresponds to the JSON property logAction

Returns:

  • (String)


4668
4669
4670
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4668

def log_action
  @log_action
end

#log_typeArray<String>

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

Returns:

  • (Array<String>)


4673
4674
4675
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4673

def log_type
  @log_type
end

#max_array_sizeFixnum

maximum array size. If the array exceds this size, the field (list) is truncated. Corresponds to the JSON property maxArraySize

Returns:

  • (Fixnum)


4679
4680
4681
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4679

def max_array_size
  @max_array_size
end

#max_string_lengthFixnum

maximum string length. If the field exceeds this amount the field is shortened. Corresponds to the JSON property maxStringLength

Returns:

  • (Fixnum)


4684
4685
4686
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4684

def max_string_length
  @max_string_length
end

#shortener_typeString

Corresponds to the JSON property shortenerType

Returns:

  • (String)


4689
4690
4691
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4689

def shortener_type
  @shortener_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4696
4697
4698
4699
4700
4701
4702
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4696

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