Constructor
new HttpRule(propertiesopt)
Constructs a new HttpRule.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.api.IHttpRule |
<optional> |
Properties to set |
- Implements:
-
- IHttpRule
Members
additionalBindings :Array.<google.api.IHttpRule>
HttpRule additionalBindings.
additionalBindings :Array.<google.api.IHttpRule>
HttpRule additionalBindings.
additionalBindings :Array.<google.api.IHttpRule>
HttpRule additionalBindings.
body :string
HttpRule body.
body :string
HttpRule body.
body :string
HttpRule body.
custom :google.api.ICustomHttpPattern|null|undefined
HttpRule custom.
custom :google.api.ICustomHttpPattern|null|undefined
HttpRule custom.
custom :google.api.ICustomHttpPattern|null|undefined
HttpRule custom.
delete :string
HttpRule delete.
delete :string
HttpRule delete.
delete :string
HttpRule delete.
get :string
HttpRule get.
get :string
HttpRule get.
get :string
HttpRule get.
patch :string
HttpRule patch.
patch :string
HttpRule patch.
patch :string
HttpRule patch.
pattern :"get"|"put"|"post"|"delete"|"patch"|"custom"|undefined
HttpRule pattern.
pattern :"get"|"put"|"post"|"delete"|"patch"|"custom"|undefined
HttpRule pattern.
pattern :"get"|"put"|"post"|"delete"|"patch"|"custom"|undefined
HttpRule pattern.
post :string
HttpRule post.
post :string
HttpRule post.
post :string
HttpRule post.
put :string
HttpRule put.
put :string
HttpRule put.
put :string
HttpRule put.
selector :string
HttpRule selector.
selector :string
HttpRule selector.
selector :string
HttpRule selector.
Methods
(static) fromObject(object) → {google.api.HttpRule}
Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.api.HttpRule}
Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.api.HttpRule}
Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a HttpRule message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.api.HttpRule |
HttpRule |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a HttpRule message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.api.HttpRule |
HttpRule |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a HttpRule message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.api.HttpRule |
HttpRule |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.