Reference documentation and code samples for the Service Management V1 API class Google::Api::Control.
Selects and configures the service controller used by the service.
Example:
control: environment: servicecontrol.googleapis.com Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#environment
def environment() -> ::String 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
 
#environment=
def environment=(value) -> ::String Parameter 
 - value (::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
 
 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
 
#method_policies
def method_policies() -> ::Array<::Google::Api::MethodPolicy> Returns 
 - (::Array<::Google::Api::MethodPolicy>) — Defines policies applying to the API methods of the service.
 
#method_policies=
def method_policies=(value) -> ::Array<::Google::Api::MethodPolicy> Parameter 
 - value (::Array<::Google::Api::MethodPolicy>) — Defines policies applying to the API methods of the service.
 
 Returns 
 - (::Array<::Google::Api::MethodPolicy>) — Defines policies applying to the API methods of the service.