GoogleApi.NetworkServices.V1.Model.HttpRouteHttpDirectResponse (google_api_network_services v0.11.0)

View Source

Static HTTP response object to be returned.

Attributes

  • bytesBody (type: String.t, default: nil) - Optional. Response body as bytes. Maximum body size is 4096B.
  • status (type: integer(), default: nil) - Required. Status to return as part of HTTP Response. Must be a positive integer.
  • stringBody (type: String.t, default: nil) - Optional. Response body as a string. Maximum body length is 1024 characters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.HttpRouteHttpDirectResponse{
  bytesBody: String.t() | nil,
  status: integer() | nil,
  stringBody: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.