Interface protos.google.cloud.tasks.v2.IHttpRequest (2.3.6)

Properties of a HttpRequest.

Package

@google-cloud/tasks!

Properties

body

body?: (Uint8Array|string|null);

HttpRequest body

Property Value
TypeDescription
(Uint8Array|string|null)

headers

headers?: ({ [k: string]: string }|null);

HttpRequest headers

Property Value
TypeDescription
({ [k: string]: string }|null)

httpMethod

httpMethod?: (google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod|null);

HttpRequest httpMethod

Property Value
TypeDescription
(google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod|null)

oauthToken

oauthToken?: (google.cloud.tasks.v2.IOAuthToken|null);

HttpRequest oauthToken

Property Value
TypeDescription
(google.cloud.tasks.v2.IOAuthToken|null)

oidcToken

oidcToken?: (google.cloud.tasks.v2.IOidcToken|null);

HttpRequest oidcToken

Property Value
TypeDescription
(google.cloud.tasks.v2.IOidcToken|null)

url

url?: (string|null);

HttpRequest url

Property Value
TypeDescription
(string|null)