View Source GoogleApi.CloudBuild.V2.Model.ResultValue (google_api_cloud_build v0.50.1)

ResultValue holds different types of data for a single result.

Attributes

  • arrayVal (type: list(String.t), default: nil) - Value of the result if type is array.
  • objectVal (type: map(), default: nil) - Value of the result if type is object.
  • stringVal (type: String.t, default: nil) - Value of the result if type is string.
  • type (type: String.t, default: nil) - Output only. The type of data that the result holds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.ResultValue{
  arrayVal: [String.t()] | nil,
  objectVal: map() | nil,
  stringVal: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.