Class: Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
38675 38676 38677 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38675 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
38666 38667 38668 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38666 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
38673 38674 38675 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38673 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38680 38681 38682 38683 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38680 def update!(**args) @name = args[:name] if args.key?(:name) @values = args[:values] if args.key?(:values) end |