Service Management V1 API - Class Google::Api::MethodPolicy (v0.9.0)

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>
Returns

#request_policies=

def request_policies=(value) -> ::Array<::Google::Api::FieldPolicy>
Parameter
Returns

#selector

def selector() -> ::String
Returns
  • (::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
Parameter
  • 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 .

Returns
  • (::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 .