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
HttpRule additionalBindings.
additionalBindings
HttpRule additionalBindings.
additionalBindings
HttpRule additionalBindings.
body
HttpRule body.
body
HttpRule body.
body
HttpRule body.
custom
HttpRule custom.
custom
HttpRule custom.
custom
HttpRule custom.
delete
HttpRule delete.
delete
HttpRule delete.
delete
HttpRule delete.
get
HttpRule get.
get
HttpRule get.
get
HttpRule get.
patch
HttpRule patch.
patch
HttpRule patch.
patch
HttpRule patch.
pattern
HttpRule pattern.
pattern
HttpRule pattern.
pattern
HttpRule pattern.
post
HttpRule post.
post
HttpRule post.
post
HttpRule post.
put
HttpRule put.
put
HttpRule put.
put
HttpRule put.
selector
HttpRule selector.
selector
HttpRule selector.
selector
HttpRule selector.
Methods
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this HttpRule to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON 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 |
Returns:
Type | Description |
---|---|
google.api.HttpRule |
HttpRule |
(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 |
Returns:
Type | Description |
---|---|
google.api.HttpRule |
HttpRule |
(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 |
Returns:
Type | Description |
---|---|
google.api.HttpRule |
HttpRule |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for HttpRule
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for HttpRule
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for HttpRule
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |