GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Result (google_api_apigee v0.24.1) View Source

Result is short for "action result", could be different types identified by "action_result" field. Supported types: 1. DebugInfo : generic debug info collected by runtime recorded as a list of properties. For example, the contents could be virtual host info, state change result, or execution metadata. Required fields : properties, timestamp 2. RequestMessage: information of a http request. Contains headers, request URI and http methods type.Required fields : headers, uri, verb 3. ResponseMessage: information of a http response. Contains headers, reason phrase and http status code. Required fields : headers, reasonPhrase, statusCode 4. ErrorMessage: information of a http error message. Contains detail error message, reason phrase and status code. Required fields : content, headers, reasonPhrase, statusCode 5. VariableAccess: a list of variable access actions, can be Get, Set and Remove. Required fields : accessList

Attributes

  • ActionResult (type: String.t, default: nil) - Type of the action result. Can be one of the five: DebugInfo, RequestMessage, ResponseMessage, ErrorMessage, VariableAccess
  • accessList (type: list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Access.t), default: nil) - A list of variable access actions agaist the api proxy. Supported values: Get, Set, Remove.
  • content (type: String.t, default: nil) - Error message content. for example, "content" : "{\"fault\":{\"faultstring\":\"API timed out\",\"detail\":{\"errorcode\":\"flow.APITimedOut\"}}}"
  • headers (type: list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Property.t), default: nil) - A list of HTTP headers. for example, '"headers" : [ { "name" : "Content-Length", "value" : "83" }, { "name" : "Content-Type", "value" : "application/json" } ]'
  • properties (type: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Properties.t, default: nil) - Name value pairs used for DebugInfo ActionResult.
  • reasonPhrase (type: String.t, default: nil) - HTTP response phrase
  • statusCode (type: String.t, default: nil) - HTTP response code
  • timestamp (type: String.t, default: nil) - Timestamp of when the result is recorded. Its format is dd-mm-yy hh:mm:ss:xxx. For example, "timestamp" : "12-08-19 00:31:59:960"
  • uRI (type: String.t, default: nil) - The relative path of the api proxy. for example, "uRI" : "/iloveapis"
  • verb (type: String.t, default: nil) - HTTP method verb

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Result{
  ActionResult: String.t(),
  accessList: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Access.t()],
  content: String.t(),
  headers: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Property.t()],
  properties: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Properties.t(),
  reasonPhrase: String.t(),
  statusCode: String.t(),
  timestamp: String.t(),
  uRI: String.t(),
  verb: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.