| 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.Packages.Tags.Create |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.create(String parent,
Tag content)
Creates a tag.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Patch |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.patch(String name,
Tag content)
Updates a tag.
|
| Constructor and Description |
|---|
Create(String parent,
Tag content)
Creates a tag.
|
Patch(String name,
Tag content)
Updates a tag.
|
| Modifier and Type | Method and Description |
|---|---|
Tag |
Tag.clone() |
Tag |
Tag.set(String fieldName,
Object value) |
Tag |
Tag.setName(String name)
The name of the tag, for example: "projects/p1/locations/us-
central1/repositories/repo1/packages/pkg1/tags/tag1".
|
Tag |
Tag.setVersion(String version)
The name of the version the tag refers to, for example: "projects/p1/locations/us-
central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" If the package or version ID
parts contain slashes, the slashes are escaped.
|
| Modifier and Type | Method and Description |
|---|---|
List<Tag> |
Version.getRelatedTags()
Output only.
|
List<Tag> |
ListTagsResponse.getTags()
The tags returned.
|
| Modifier and Type | Method and Description |
|---|---|
Version |
Version.setRelatedTags(List<Tag> relatedTags)
Output only.
|
ListTagsResponse |
ListTagsResponse.setTags(List<Tag> tags)
The tags returned.
|
Copyright © 2011–2022 Google. All rights reserved.