public class ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Delete |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Get |
class |
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.List |
| Constructor and Description |
|---|
Versions() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Delete |
delete(String name)
Deletes a version and all of its content.
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Get |
get(String name)
Gets a version
Create a request for the method "versions.get".
|
ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.List |
list(String parent)
Lists versions.
|
public ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the version to delete.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the version to retrieve.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Packages.Versions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the parent resource whose versions will be listed.IOExceptionCopyright © 2011–2022 Google. All rights reserved.