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

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


  • 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


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.