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

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

#method_policies=

def method_policies=(value) -> ::Array<::Google::Api::MethodPolicy>
Parameter
Returns