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

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

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. 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%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
  • 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) - Output only. The time when the File was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.