Class: Google::Cloud::ArtifactRegistry::V1::NpmPackage
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::NpmPackage
- 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
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
Required.
-
#package_name ⇒ ::String
Package for the artifact.
-
#tags ⇒ ::Array<::String>
Tags attached to this package.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#version ⇒ ::String
Version of this package.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time the package was created.
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.
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.
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.
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.
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.
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 |