| Package | Description |
|---|---|
| com.google.api.services.artifactregistry.v1beta2 | |
| com.google.api.services.artifactregistry.v1beta2.model |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.Create |
ArtifactRegistry.Projects.Locations.Repositories.create(String parent,
Repository content)
Creates a repository.
|
ArtifactRegistry.Projects.Locations.Repositories.Patch |
ArtifactRegistry.Projects.Locations.Repositories.patch(String name,
Repository content)
Updates a repository.
|
| Constructor and Description |
|---|
Create(String parent,
Repository content)
Creates a repository.
|
Patch(String name,
Repository content)
Updates a repository.
|
| Modifier and Type | Method and Description |
|---|---|
Repository |
Repository.clone() |
Repository |
Repository.set(String fieldName,
Object value) |
Repository |
Repository.setCreateTime(String createTime)
The time when the repository was created.
|
Repository |
Repository.setDescription(String description)
The user-provided description of the repository.
|
Repository |
Repository.setFormat(String format)
The format of packages that are stored in the repository.
|
Repository |
Repository.setKmsKeyName(String kmsKeyName)
The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the
contents of the Repository.
|
Repository |
Repository.setLabels(Map<String,String> labels)
Labels with user-defined metadata.
|
Repository |
Repository.setMavenConfig(MavenRepositoryConfig mavenConfig)
Maven repository config contains repository level configuration for the repositories of maven
type.
|
Repository |
Repository.setName(String name)
The name of the repository, for example: "projects/p1/locations/us-
central1/repositories/repo1".
|
Repository |
Repository.setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
Repository |
Repository.setSizeBytes(Long sizeBytes)
Output only.
|
Repository |
Repository.setUpdateTime(String updateTime)
The time when the repository was last updated.
|
| Modifier and Type | Method and Description |
|---|---|
List<Repository> |
ListRepositoriesResponse.getRepositories()
The repositories returned.
|
| Modifier and Type | Method and Description |
|---|---|
ListRepositoriesResponse |
ListRepositoriesResponse.setRepositories(List<Repository> repositories)
The repositories returned.
|
Copyright © 2011–2022 Google. All rights reserved.