Reference documentation and code samples for the Service Management V1 API class Google::Api::MethodPolicy.
Defines policies applying to an RPC method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#request_policies
def request_policies() -> ::Array<::Google::Api::FieldPolicy>
- (::Array<::Google::Api::FieldPolicy>) — Policies that are applicable to the request message.
#request_policies=
def request_policies=(value) -> ::Array<::Google::Api::FieldPolicy>
- value (::Array<::Google::Api::FieldPolicy>) — Policies that are applicable to the request message.
- (::Array<::Google::Api::FieldPolicy>) — Policies that are applicable to the request message.
#selector
def selector() -> ::String
-
(::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 .
#selector=
def selector=(value) -> ::String
-
value (::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 .
-
(::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 .