Http
class Http extends Message
Defines the HTTP configuration for an API 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
Constructor.
A list of HTTP configuration rules that apply to individual API methods.
When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded.
When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded.
Details
at line 55
__construct(array $data = NULL)
Constructor.
at line 67
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;
at line 80
$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;
at line 98
bool
getFullyDecodeReservedExpansion()
When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded.
The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
Generated from protobuf field bool fully_decode_reserved_expansion = 2;
at line 114
$this
setFullyDecodeReservedExpansion(bool $var)
When set to true, URL path parmeters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded.
The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
Generated from protobuf field bool fully_decode_reserved_expansion = 2;