Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig (v1.3.0)

Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig.

Remote repository configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#apt_repository

def apt_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository) — Specific settings for an Apt remote repository.

    Note: The following fields are mutually exclusive: apt_repository, docker_repository, maven_repository, npm_repository, python_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#apt_repository=

def apt_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository) — Specific settings for an Apt remote repository.

    Note: The following fields are mutually exclusive: apt_repository, docker_repository, maven_repository, npm_repository, python_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository) — Specific settings for an Apt remote repository.

    Note: The following fields are mutually exclusive: apt_repository, docker_repository, maven_repository, npm_repository, python_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#common_repository

def common_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository) — Common remote repository settings. Used as the remote repository upstream URL.

    Note: The following fields are mutually exclusive: common_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#common_repository=

def common_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository) — Common remote repository settings. Used as the remote repository upstream URL.

    Note: The following fields are mutually exclusive: common_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::CommonRemoteRepository) — Common remote repository settings. Used as the remote repository upstream URL.

    Note: The following fields are mutually exclusive: common_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#description

def description() -> ::String
Returns
  • (::String) — The description of the remote source.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of the remote source.
Returns
  • (::String) — The description of the remote source.

#disable_upstream_validation

def disable_upstream_validation() -> ::Boolean
Returns
  • (::Boolean) — Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.

#disable_upstream_validation=

def disable_upstream_validation=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
Returns
  • (::Boolean) — Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.

#docker_repository

def docker_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository) — Specific settings for a Docker remote repository.

    Note: The following fields are mutually exclusive: docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#docker_repository=

def docker_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository) — Specific settings for a Docker remote repository.

    Note: The following fields are mutually exclusive: docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::DockerRepository) — Specific settings for a Docker remote repository.

    Note: The following fields are mutually exclusive: docker_repository, maven_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#maven_repository

def maven_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository) — Specific settings for a Maven remote repository.

    Note: The following fields are mutually exclusive: maven_repository, docker_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#maven_repository=

def maven_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository) — Specific settings for a Maven remote repository.

    Note: The following fields are mutually exclusive: maven_repository, docker_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::MavenRepository) — Specific settings for a Maven remote repository.

    Note: The following fields are mutually exclusive: maven_repository, docker_repository, npm_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#npm_repository

def npm_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository) — Specific settings for an Npm remote repository.

    Note: The following fields are mutually exclusive: npm_repository, docker_repository, maven_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#npm_repository=

def npm_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository) — Specific settings for an Npm remote repository.

    Note: The following fields are mutually exclusive: npm_repository, docker_repository, maven_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::NpmRepository) — Specific settings for an Npm remote repository.

    Note: The following fields are mutually exclusive: npm_repository, docker_repository, maven_repository, python_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#python_repository

def python_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository) — Specific settings for a Python remote repository.

    Note: The following fields are mutually exclusive: python_repository, docker_repository, maven_repository, npm_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#python_repository=

def python_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository) — Specific settings for a Python remote repository.

    Note: The following fields are mutually exclusive: python_repository, docker_repository, maven_repository, npm_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository) — Specific settings for a Python remote repository.

    Note: The following fields are mutually exclusive: python_repository, docker_repository, maven_repository, npm_repository, apt_repository, yum_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#upstream_credentials

def upstream_credentials() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::UpstreamCredentials
Returns

#upstream_credentials=

def upstream_credentials=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::UpstreamCredentials
Parameter
Returns

#yum_repository

def yum_repository() -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository
Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository) — Specific settings for a Yum remote repository.

    Note: The following fields are mutually exclusive: yum_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

#yum_repository=

def yum_repository=(value) -> ::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository
Parameter
  • value (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository) — Specific settings for a Yum remote repository.

    Note: The following fields are mutually exclusive: yum_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository) — Specific settings for a Yum remote repository.

    Note: The following fields are mutually exclusive: yum_repository, docker_repository, maven_repository, npm_repository, python_repository, apt_repository, common_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.