Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRule

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRule

Returns a new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRule.



1918
1919
1920
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1918

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

Instance Attribute Details

#double_rangeGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange

Range used to validate doubles and floats. Corresponds to the JSON property doubleRange



1906
1907
1908
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1906

def double_range
  @double_range
end

#int_rangeGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange

Range used to validate longs and ints. Corresponds to the JSON property intRange



1911
1912
1913
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1911

def int_range
  @int_range
end

#string_regexGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex

Rule used to validate strings. Corresponds to the JSON property stringRegex



1916
1917
1918
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1916

def string_regex
  @string_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1923
1924
1925
1926
1927
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1923

def update!(**args)
  @double_range = args[:double_range] if args.key?(:double_range)
  @int_range = args[:int_range] if args.key?(:int_range)
  @string_regex = args[:string_regex] if args.key?(:string_regex)
end