Class: Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleTo
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleTo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb
Overview
Describes properties of one or more targets of a request.
Instance Attribute Summary collapse
-
#not_operations ⇒ Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleToRequestOperation>
Optional.
-
#operations ⇒ Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleToRequestOperation>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthzPolicyAuthzRuleTo
constructor
A new instance of AuthzPolicyAuthzRuleTo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthzPolicyAuthzRuleTo
Returns a new instance of AuthzPolicyAuthzRuleTo.
529 530 531 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#not_operations ⇒ Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleToRequestOperation>
Optional. Describes the negated properties of the targets of a request.
Matches requests for operations that do not match the criteria specified in
this field. At least one of operations or notOperations must be specified.
Corresponds to the JSON property notOperations
517 518 519 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 517 def not_operations @not_operations end |
#operations ⇒ Array<Google::Apis::NetworksecurityV1beta1::AuthzPolicyAuthzRuleToRequestOperation>
Optional. Describes properties of one or more targets of a request. At least
one of operations or notOperations must be specified. Limited to 1 operation.
A match occurs when ANY operation (in operations or notOperations) matches.
Within an operation, the match follows AND semantics across fields and OR
semantics within a field, i.e. a match occurs when ANY path matches AND ANY
header matches and ANY method matches.
Corresponds to the JSON property operations
527 528 529 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 527 def operations @operations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
534 535 536 537 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 534 def update!(**args) @not_operations = args[:not_operations] if args.key?(:not_operations) @operations = args[:operations] if args.key?(:operations) end |