Class: Google::Cloud::ArtifactRegistry::V1::NpmPackage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/artifact.rb

Overview

NpmPackage represents an npm artifact.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the package was created.

Returns:



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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.

Returns:

  • (::String)

    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.



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_name::String

Returns Package for the artifact.

Returns:

  • (::String)

    Package for the artifact.



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tags::Array<::String>

Returns Tags attached to this package.

Returns:

  • (::Array<::String>)

    Tags attached to this package.



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the package was updated.

Returns:



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

Returns Version of this package.

Returns:

  • (::String)

    Version of this package.



221
222
223
224
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 221

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end