Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class RemoteRepositoryConfig.
Remote repository configuration.
Generated from protobuf message google.devtools.artifactregistry.v1.RemoteRepositoryConfig
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ docker_repository
↳ maven_repository
↳ npm_repository
↳ python_repository
↳ apt_repository
↳ yum_repository
↳ common_repository
RemoteRepositoryConfig\CommonRemoteRepository
Common remote repository settings. Used as the remote repository upstream URL.
↳ description
string
The description of the remote source.
↳ upstream_credentials
RemoteRepositoryConfig\UpstreamCredentials
Optional. The credentials used to access the remote repository.
↳ disable_upstream_validation
bool
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.
getDockerRepository
Specific settings for a Docker remote repository.
hasDockerRepository
setDockerRepository
Specific settings for a Docker remote repository.
$this
getMavenRepository
Specific settings for a Maven remote repository.
hasMavenRepository
setMavenRepository
Specific settings for a Maven remote repository.
$this
getNpmRepository
Specific settings for an Npm remote repository.
hasNpmRepository
setNpmRepository
Specific settings for an Npm remote repository.
$this
getPythonRepository
Specific settings for a Python remote repository.
hasPythonRepository
setPythonRepository
Specific settings for a Python remote repository.
$this
getAptRepository
Specific settings for an Apt remote repository.
hasAptRepository
setAptRepository
Specific settings for an Apt remote repository.
$this
getYumRepository
Specific settings for a Yum remote repository.
hasYumRepository
setYumRepository
Specific settings for a Yum remote repository.
$this
getCommonRepository
Common remote repository settings.
Used as the remote repository upstream URL.
hasCommonRepository
setCommonRepository
Common remote repository settings.
Used as the remote repository upstream URL.
$this
getDescription
The description of the remote source.
string
setDescription
The description of the remote source.
var
string
$this
getUpstreamCredentials
Optional. The credentials used to access the remote repository.
hasUpstreamCredentials
clearUpstreamCredentials
setUpstreamCredentials
Optional. The credentials used to access the remote repository.
$this
getDisableUpstreamValidation
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.
bool
setDisableUpstreamValidation
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.
var
bool
$this
getRemoteSource
string