Reference documentation and code samples for the Google API Common Protos Client class CustomHttpPattern.
A custom pattern is used for defining custom HTTP verb.
Generated from protobuf message google.api.CustomHttpPattern
Namespace
Google \ ApiMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kind |
string
The name of this custom HTTP verb. |
↳ path |
string
The path matched by this custom verb. |
getKind
The name of this custom HTTP verb.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKind
The name of this custom HTTP verb.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPath
The path matched by this custom verb.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
The path matched by this custom verb.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|