GoogleApi.BinaryAuthorization.V1.Model.ImageResult (google_api_binary_authorization v0.18.0)

View Source

Result of evaluating one image.

Attributes

  • allowlistResult (type: GoogleApi.BinaryAuthorization.V1.Model.AllowlistResult.t, default: nil) - If the image was exempted by a top-level allow_pattern, contains the allowlist pattern that the image name matched.
  • checkSetResult (type: GoogleApi.BinaryAuthorization.V1.Model.CheckSetResult.t, default: nil) - If a check set was evaluated, contains the result of the check set. Empty if there were no check sets.
  • explanation (type: String.t, default: nil) - Explanation of this image result. Only populated if no check sets were evaluated.
  • imageUri (type: String.t, default: nil) - Image URI from the request.
  • verdict (type: String.t, default: nil) - The result of evaluating this image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.BinaryAuthorization.V1.Model.ImageResult{
  allowlistResult:
    GoogleApi.BinaryAuthorization.V1.Model.AllowlistResult.t() | nil,
  checkSetResult:
    GoogleApi.BinaryAuthorization.V1.Model.CheckSetResult.t() | nil,
  explanation: String.t() | nil,
  imageUri: String.t() | nil,
  verdict: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.