Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRule

Returns a new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRule.



1963
1964
1965
# File 'lib/google/apis/integrations_v1/classes.rb', line 1963

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

Instance Attribute Details

#double_rangeGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange

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



1951
1952
1953
# File 'lib/google/apis/integrations_v1/classes.rb', line 1951

def double_range
  @double_range
end

#int_rangeGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange

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



1956
1957
1958
# File 'lib/google/apis/integrations_v1/classes.rb', line 1956

def int_range
  @int_range
end

#string_regexGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex

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



1961
1962
1963
# File 'lib/google/apis/integrations_v1/classes.rb', line 1961

def string_regex
  @string_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1968
1969
1970
1971
1972
# File 'lib/google/apis/integrations_v1/classes.rb', line 1968

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