Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository

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 Maven remote repository.

Defined Under Namespace

Modules: PublicRepository Classes: CustomRepository

Instance Attribute Summary collapse

Instance Attribute Details

#custom_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository::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.

Returns:



262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 262

class MavenRepository
  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.maven.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Predefined list of publicly available Maven repositories like Maven
  # Central.
  module PublicRepository
    # Unspecified repository.
    PUBLIC_REPOSITORY_UNSPECIFIED = 0

    # Maven Central.
    MAVEN_CENTRAL = 1
  end
end

#public_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository::PublicRepository

Returns One of the publicly available Maven 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.

Returns:



262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 262

class MavenRepository
  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.maven.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Predefined list of publicly available Maven repositories like Maven
  # Central.
  module PublicRepository
    # Unspecified repository.
    PUBLIC_REPOSITORY_UNSPECIFIED = 0

    # Maven Central.
    MAVEN_CENTRAL = 1
  end
end