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

An entity that can have metadata. For example, a Docker image.

Attributes

  • contentHash (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Hash.t, default: nil) - Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
  • name (type: String.t, default: nil) - Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - "Debian".
  • uri (type: String.t, default: nil) - Required. The unique URI of the resource. For example, 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.V1beta1.Model.Resource{
  contentHash: GoogleApi.ContainerAnalysis.V1beta1.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.