View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.Resource (google_api_container_analysis v0.28.0)

Resource is an entity that can have metadata. E.g., a Docker image.

Attributes

  • contentHash (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.Hash.t, default: nil) - The hash of the resource content. E.g., the Docker digest.
  • name (type: String.t, default: nil) - The name of the resource. E.g., the name of a Docker image - "Debian".
  • uri (type: String.t, default: nil) - The unique URI of the resource. E.g., "https://gcr.io/project/image@sha256:foo" for a Docker image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.Resource{
  contentHash: GoogleApi.ContainerAnalysis.V1alpha1.Model.Hash.t() | nil,
  name: String.t() | nil,
  uri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.