class Http extends Message

Defines the HTTP configuration for a service. It contains a list of [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method to one or more HTTP REST API methods.

Generated from protobuf message google.api.Http

Methods

__construct()

No description

RepeatedField
getRules()

A list of HTTP configuration rules that apply to individual API methods.

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

A list of HTTP configuration rules that apply to individual API methods.

Details

at line 28
__construct()

at line 40
RepeatedField getRules()

A list of HTTP configuration rules that apply to individual API methods.

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

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

Return Value

RepeatedField

at line 53
$this setRules(HttpRule[]|RepeatedField $var)

A list of HTTP configuration rules that apply to individual API methods.

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

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

Parameters

HttpRule[]|RepeatedField $var

Return Value

$this