Reference documentation and code samples for the Google API Common Protos Client class Backend.
Backend
defines the backend configuration for a service.
Generated from protobuf message google.api.Backend
Namespace
Google \ ApiMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rules |
array<BackendRule>
A list of API backend rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order. |
getRules
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRules
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
Parameter | |
---|---|
Name | Description |
var |
array<BackendRule>
|
Returns | |
---|---|
Type | Description |
$this |