Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/repository.rb
Overview
Configuration for a Npm remote repository.
Defined Under Namespace
Modules: PublicRepository Classes: CustomRepository
Instance Attribute Summary collapse
-
#custom_repository ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::CustomRepository
Customer-specified remote repository.
-
#public_repository ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::PublicRepository
One of the publicly available Npm repositories supported by Artifact Registry.
Instance Attribute Details
#custom_repository ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::CustomRepository
Returns Customer-specified remote repository.
Note: The following fields are mutually exclusive: custom_repository, public_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 299 class NpmRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Customer-specified publicly available remote repository. # @!attribute [rw] uri # @return [::String] # An http/https uri reference to the upstream remote repository, for ex: # "https://my.npm.registry/". class CustomRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Predefined list of publicly available NPM repositories like npmjs. module PublicRepository # Unspecified repository. PUBLIC_REPOSITORY_UNSPECIFIED = 0 # npmjs. NPMJS = 1 end end |
#public_repository ⇒ ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::PublicRepository
Returns One of the publicly available Npm repositories supported by Artifact Registry.
Note: The following fields are mutually exclusive: public_repository, custom_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 299 class NpmRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Customer-specified publicly available remote repository. # @!attribute [rw] uri # @return [::String] # An http/https uri reference to the upstream remote repository, for ex: # "https://my.npm.registry/". class CustomRepository include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Predefined list of publicly available NPM repositories like npmjs. module PublicRepository # Unspecified repository. PUBLIC_REPOSITORY_UNSPECIFIED = 0 # npmjs. NPMJS = 1 end end |