Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
- 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
Rule used to validate strings.
Instance Attribute Summary collapse
-
#exclusive ⇒ Boolean
(also: #exclusive?)
Whether the regex matcher is applied exclusively (if true, matching values will be rejected).
-
#regex ⇒ String
The regex applied to the input value(s).
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
constructor
A new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex
Returns a new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleStringRegex.
1856 1857 1858 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusive ⇒ Boolean Also known as: exclusive?
Whether the regex matcher is applied exclusively (if true, matching values
will be rejected).
Corresponds to the JSON property exclusive
1848 1849 1850 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1848 def exclusive @exclusive end |
#regex ⇒ String
The regex applied to the input value(s).
Corresponds to the JSON property regex
1854 1855 1856 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1854 def regex @regex end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1861 1862 1863 1864 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1861 def update!(**args) @exclusive = args[:exclusive] if args.key?(:exclusive) @regex = args[:regex] if args.key?(:regex) end |