Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class MavenRepository.
Configuration for a Maven remote repository.
Generated from protobuf message google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository
Namespace
Google \ Cloud \ ArtifactRegistry \ V1 \ RemoteRepositoryConfigMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ public_repository |
int
One of the publicly available Maven repositories supported by Artifact Registry. |
getPublicRepository
One of the publicly available Maven repositories supported by Artifact Registry.
Returns | |
---|---|
Type | Description |
int |
hasPublicRepository
setPublicRepository
One of the publicly available Maven repositories supported by Artifact Registry.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getUpstream
Returns | |
---|---|
Type | Description |
string |