Class: Google::Apis::ComputeBeta::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.
58052 58053 58054 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58052 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
58043 58044 58045 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58043 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
58050 58051 58052 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58050 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
58057 58058 58059 58060 |
# File 'lib/google/apis/compute_beta/classes.rb', line 58057 def update!(**args) @name = args[:name] if args.key?(:name) @values = args[:values] if args.key?(:values) end |