class Backend extends Message

Backend defines the backend configuration for a service.

Generated from protobuf message google.api.Backend

Methods

__construct(array $data = NULL)

Constructor.

RepeatedField
getRules()

A list of API backend rules that apply to individual API methods.

$this
setRules(BackendRule[]|RepeatedField $var)

A list of API backend rules that apply to individual API methods.

Details

at line 37
__construct(array $data = NULL)

Constructor.

Parameters

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

@type \Google\Api\BackendRule[]|\Google\Protobuf\Internal\RepeatedField $rules
      A list of API backend rules that apply to individual API methods.
      **NOTE:** All service configuration rules follow "last one wins" order.

}

at line 49
RepeatedField getRules()

A list of API backend rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

Generated from protobuf field repeated .google.api.BackendRule rules = 1;

Return Value

RepeatedField

at line 62
$this setRules(BackendRule[]|RepeatedField $var)

A list of API backend rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

Generated from protobuf field repeated .google.api.BackendRule rules = 1;

Parameters

BackendRule[]|RepeatedField $var

Return Value

$this