class BackendRule extends Message

A backend rule provides configuration for an individual API element.

Protobuf type Google\Api\BackendRule

Methods

__construct()

No description

string
getSelector()

Selects the methods to which this rule applies.

setSelector(string $var)

Selects the methods to which this rule applies.

string
getAddress()

The address of the API backend.

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.

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 63
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

at line 75
string getAddress()

The address of the API backend.

Generated from protobuf field string address = 2;

Return Value

string

at line 86
setAddress(string $var)

The address of the API backend.

Generated from protobuf field string address = 2;

Parameters

string $var

at line 99
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 111
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