Class: Google::Apis::ComputeAlpha::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the user-defined field, as given in the definition.
-
#values ⇒ Array<String>
Matching values of the field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
constructor
A new instance of SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
Returns a new instance of SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.
42506 42507 42508 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the user-defined field, as given in the definition.
Corresponds to the JSON property name
42497 42498 42499 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42497 def name @name end |
#values ⇒ Array<String>
Matching values of the field. Each element can be a 32-bit unsigned decimal or
hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-
0x7ff").
Corresponds to the JSON property values
42504 42505 42506 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42504 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42511 42512 42513 42514 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42511 def update!(**args) @name = args[:name] if args.key?(:name) @values = args[:values] if args.key?(:values) end |