public class ArtifactRegistry.Projects.Locations.Repositories.Files extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactRegistry.Projects.Locations.Repositories.Files.Get |
class |
ArtifactRegistry.Projects.Locations.Repositories.Files.List |
| Constructor and Description |
|---|
Files() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactRegistry.Projects.Locations.Repositories.Files.Get |
get(String name)
Gets a file.
|
ArtifactRegistry.Projects.Locations.Repositories.Files.List |
list(String parent)
Lists files.
|
public ArtifactRegistry.Projects.Locations.Repositories.Files.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the file to retrieve.IOExceptionpublic ArtifactRegistry.Projects.Locations.Repositories.Files.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The name of the repository whose files will be listed. For example: "projects/p1/locations/us-
central1/repositories/repo1IOExceptionCopyright © 2011–2022 Google. All rights reserved.