Reference documentation and code samples for the Google API Common Protos Client class MethodPolicy.
Defines policies applying to an RPC method.
Generated from protobuf message google.api.MethodPolicy
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ selector
string
Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to 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 .
↳ request_policies
getSelector
Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription".
Refer to 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 .
string
setSelector
Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription".
Refer to 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 .
var
string
$this
getRequestPolicies
Policies that are applicable to the request message.
setRequestPolicies
Policies that are applicable to the request message.
$this