BackendRule
class BackendRule extends Message
A backend rule provides configuration for an individual API element.
Generated from protobuf message google.api.BackendRule
Methods
Constructor.
Selects the methods to which this rule applies.
Selects the methods to which this rule applies.
The address of the API backend.
The address of the API backend.
The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
Details
at line 65
__construct(array $data = NULL)
Constructor.
at line 77
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;
at line 90
$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;
at line 104
string
getAddress()
The address of the API backend.
Generated from protobuf field string address = 2;
at line 116
$this
setAddress(string $var)
The address of the API backend.
Generated from protobuf field string address = 2;
at line 131
float
getDeadline()
The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
Generated from protobuf field double deadline = 3;
at line 144
$this
setDeadline(float $var)
The number of seconds to wait for a response from a request. The default deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds.
Generated from protobuf field double deadline = 3;
at line 159
float
getMinDeadline()
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
Generated from protobuf field double min_deadline = 4;
at line 172
$this
setMinDeadline(float $var)
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
Generated from protobuf field double min_deadline = 4;