Reference documentation and code samples for the Google API Common Protos Client class Control.
Selects and configures the service controller used by the service.
Example: control: environment: servicecontrol.googleapis.com
Generated from protobuf message google.api.Control
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ environment
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
getEnvironment
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
string
setEnvironment
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
var
string
$this
getMethodPolicies
Defines policies applying to the API methods of the service.
setMethodPolicies
Defines policies applying to the API methods of the service.
$this