class BackendRule extends Message

A backend rule provides configuration for an individual API element.

Generated from protobuf message google.api.BackendRule

Methods

__construct()

No description

string
getSelector()

Selects the methods to which this rule applies.

$this
setSelector(string $var)

Selects the methods to which this rule applies.

string
getAddress()

The address of the API backend.

$this
setAddress(string $var)

The address of the API backend.

float
getDeadline()

The number of seconds to wait for a response from a request. The default depends on the deployment context.

$this
setDeadline(float $var)

The number of seconds to wait for a response from a request. The default depends on the deployment context.

Details

at line 39
__construct()

at line 51
string getSelector()

Selects the methods to which this rule applies.

Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Generated from protobuf field string selector = 1;

Return Value

string

at line 64
$this setSelector(string $var)

Selects the methods to which this rule applies.

Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Generated from protobuf field string selector = 1;

Parameters

string $var

Return Value

$this

at line 78
string getAddress()

The address of the API backend.

Generated from protobuf field string address = 2;

Return Value

string

at line 90
$this setAddress(string $var)

The address of the API backend.

Generated from protobuf field string address = 2;

Parameters

string $var

Return Value

$this

at line 105
float getDeadline()

The number of seconds to wait for a response from a request. The default depends on the deployment context.

Generated from protobuf field double deadline = 3;

Return Value

float

at line 118
$this setDeadline(float $var)

The number of seconds to wait for a response from a request. The default depends on the deployment context.

Generated from protobuf field double deadline = 3;

Parameters

float $var

Return Value

$this