Reference documentation and code samples for the Google Cloud Network Security V1 Client class To.
Describes properties of one or more targets of a request.
Generated from protobuf message google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To
Namespace
Google \ Cloud \ NetworkSecurity \ V1 \ AuthzPolicy \ AuthzRuleMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ operations |
array<To\RequestOperation>
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. |
↳ not_operations |
array<To\RequestOperation>
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. |
getOperations
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<To\RequestOperation> |
|
setOperations
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<To\RequestOperation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNotOperations
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<To\RequestOperation> |
|
setNotOperations
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<To\RequestOperation>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|