View Source GoogleApi.ContainerAnalysis.V1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult (google_api_container_analysis v0.28.0)

ApprovalResult describes the decision and associated metadata of a manual approval of a build.

Attributes

  • approvalTime (type: DateTime.t, default: nil) - Output only. The time when the approval decision was made.
  • approverAccount (type: String.t, default: nil) - Output only. Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.
  • comment (type: String.t, default: nil) - Optional. An optional comment for this manual approval result.
  • decision (type: String.t, default: nil) - Required. The decision of this manual approval.
  • url (type: String.t, default: nil) - Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContainerAnalysis.V1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult{
    approvalTime: DateTime.t() | nil,
    approverAccount: String.t() | nil,
    comment: String.t() | nil,
    decision: String.t() | nil,
    url: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.