public class ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Create |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Delete |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Get |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.List |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Patch |
| Constructor and Description |
|---|
Tags() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Create |
create(String parent,
Tag content)
Creates a tag.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Delete |
delete(String name)
Deletes a tag.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Get |
get(String name)
Gets a tag.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.List |
list(String parent)
Lists tags.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Patch |
patch(String name,
Tag content)
Updates a tag.
|
public ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Create create(String parent, Tag content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the parent resource where the tag will be created.content - the TagIOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the tag to delete.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the tag to retrieve.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the parent resource whose tags will be listed.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Tags.Patch patch(String name, Tag content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the tag, for example: "projects/p1/locations/us-
central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains
slashes, the slashes are escaped. The tag part can only have characters in
[a-zA-Z0-9\-._~:@], anything else must be URL encoded.content - the TagIOExceptionCopyright © 2011–2022 Google. All rights reserved.