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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.