Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#custom_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository::CustomRepository

Returns Customer-specified remote repository.



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 269

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.

Returns:



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 269

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