Class: Google::Api::Control

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

Overview

Selects and configures the service controller used by the service.

Example:

control:
  environment: servicecontrol.googleapis.com

Instance Attribute Summary collapse

Instance Attribute Details

#environment::String

Returns The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com.

Returns:

  • (::String)

    The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com



36
37
38
39
# File 'proto_docs/google/api/control.rb', line 36

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

#method_policies::Array<::Google::Api::MethodPolicy>

Returns Defines policies applying to the API methods of the service.

Returns:



36
37
38
39
# File 'proto_docs/google/api/control.rb', line 36

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