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(array $data = NULL)

Constructor.

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 39
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

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

}

at line 51
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 64
$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