Variables
CustomHttpPattern
CustomHttpPattern: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
-
Parameters
-
object: { kind?: string; path?: string }
-
Optional kind?: string
-
Optional path?: string
-
toJSON: function
-
Parameters
Returns unknown
Http
Http: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): Http
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: Http, writer?: Writer): Writer
-
Parameters
-
message: Http
-
writer: Writer = ...
Returns Writer
-
fromJSON: function
- fromJSON(object: any): Http
-
fromPartial: function
- fromPartial(object: { fullyDecodeReservedExpansion?: boolean; rules?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[] }): Http
-
Parameters
-
object: { fullyDecodeReservedExpansion?: boolean; rules?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[] }
-
Optional fullyDecodeReservedExpansion?: boolean
-
Optional rules?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[]
-
toJSON: function
- toJSON(message: Http): unknown
-
Parameters
Returns unknown
HttpRule
HttpRule: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): HttpRule
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
- encode(message: HttpRule, writer?: Writer): Writer
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { additionalBindings?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[]; body?: string; custom?: { kind?: string | undefined; path?: string | undefined; }; delete?: string; get?: string; patch?: string; post?: string; put?: string; responseBody?: string; selector?: string }): HttpRule
-
Parameters
-
object: { additionalBindings?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[]; body?: string; custom?: { kind?: string | undefined; path?: string | undefined; }; delete?: string; get?: string; patch?: string; post?: string; put?: string; responseBody?: string; selector?: string }
-
Optional additionalBindings?: { selector?: string | undefined; get?: string | undefined; put?: string | undefined; post?: string | undefined; delete?: string | undefined; patch?: string | undefined; custom?: { kind?: string | undefined; path?: string | undefined; } | undefined; body?: string | undefined; responseBody?: string | undefined; additi...[]
-
Optional body?: string
-
Optional custom?: { kind?: string | undefined; path?: string | undefined; }
-
Optional delete?: string
-
Optional get?: string
-
Optional patch?: string
-
Optional post?: string
-
Optional put?: string
-
Optional responseBody?: string
-
Optional selector?: string
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "google.api" = 'google.api'
The name of this custom HTTP verb.