View Source GoogleApi.ArtifactRegistry.V1.Model.NpmPackage (google_api_artifact_registry v0.15.0)

NpmPackage represents an npm artifact.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Time the package was created.
  • name (type: String.t, default: nil) - Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package.
  • packageName (type: String.t, default: nil) - Package for the artifact.
  • tags (type: list(String.t), default: nil) - Tags attached to this package.
  • updateTime (type: DateTime.t, default: nil) - Output only. Time the package was updated.
  • version (type: String.t, default: nil) - Version of this package.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ArtifactRegistry.V1.Model.NpmPackage{
  createTime: DateTime.t() | nil,
  name: String.t() | nil,
  packageName: String.t() | nil,
  tags: [String.t()] | nil,
  updateTime: DateTime.t() | nil,
  version: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.