class Control extends Message

Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.

Generated from protobuf message google.api.Control

Methods

__construct()

No description

string
getEnvironment()

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

$this
setEnvironment(string $var)

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

Details

at line 28
__construct()

at line 40
string getEnvironment()

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

Generated from protobuf field string environment = 1;

Return Value

string

at line 53
$this setEnvironment(string $var)

The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.

Generated from protobuf field string environment = 1;

Parameters

string $var

Return Value

$this