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.



1957
1958
1959
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1957

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



1945
1946
1947
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1945

def double_range
  @double_range
end

#int_rangeGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleIntRange

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



1950
1951
1952
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1950

def int_range
  @int_range
end

#string_regexGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex

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



1955
1956
1957
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1955

def string_regex
  @string_regex
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1962
1963
1964
1965
1966
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1962

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