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.



1778
1779
1780
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1778

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



1766
1767
1768
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1766

def double_range
  @double_range
end

#int_rangeGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange

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



1771
1772
1773
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1771

def int_range
  @int_range
end

#string_regexGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex

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



1776
1777
1778
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1776

def string_regex
  @string_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1783
1784
1785
1786
1787
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1783

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