GoogleApi.ArtifactRegistry.V1beta1.Model.File (google_api_artifact_registry v0.4.0) View Source

Files store content that is potentially associated with Packages or Versions.

Attributes

  • createTime (type: DateTime.t, default: nil) - The time when the File was created.
  • hashes (type: list(GoogleApi.ArtifactRegistry.V1beta1.Model.Hash.t), default: nil) - The hashes of the file content.
  • name (type: String.t, default: nil) - The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
  • owner (type: String.t, default: nil) - The name of the Package or Version that owns this file, if any.
  • sizeBytes (type: String.t, default: nil) - The size of the File in bytes.
  • updateTime (type: DateTime.t, default: nil) - The time when the File was last updated.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ArtifactRegistry.V1beta1.Model.File{
  createTime: DateTime.t(),
  hashes: [GoogleApi.ArtifactRegistry.V1beta1.Model.Hash.t()],
  name: String.t(),
  owner: String.t(),
  sizeBytes: String.t(),
  updateTime: DateTime.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.