Class: Google::Api::MethodPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/policy.rb

Overview

Defines policies applying to an RPC method.

Instance Attribute Summary collapse

Instance Attribute Details

#request_policies::Array<::Google::Api::FieldPolicy>

Returns Policies that are applicable to the request message.

Returns:



70
71
72
73
# File 'proto_docs/google/api/policy.rb', line 70

class MethodPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#selector::String

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



70
71
72
73
# File 'proto_docs/google/api/policy.rb', line 70

class MethodPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end