Defines policies applying to an RPC method.
Generated from protobuf message google.api.MethodPolicy
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getRequestPolicies() Policies that are applicable to the request message. Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2;
|
| public getSelector() Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to [selector][google.api.DocumentationRule.selector] for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler . Generated from protobuf field string selector = 9;
|
| public setRequestPolicies( $var) Policies that are applicable to the request message. Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2;
|
| public setSelector( $var) Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to [selector][google.api.DocumentationRule.selector] for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler . Generated from protobuf field string selector = 9;
|
| Properties |
| protected $selector = '' Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to [selector][google.api.DocumentationRule.selector] for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler . Generated from protobuf field string selector = 9; |
| Methods |
| Properties |
| private $request_policies = NULL Policies that are applicable to the request message. Generated from protobuf field repeated .google.api.FieldPolicy request_policies = 2; |