Class ProjectsResource.LocationsResource.RepositoriesResource.FilesResource
The "files" collection of methods.
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2
Assembly: Google.Apis.ArtifactRegistry.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.FilesResource
Constructors
FilesResource(IClientService)
Constructs a new resource.
Declaration
public FilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Download(string)
Download a file.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.DownloadRequest Download(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the file to download. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.DownloadRequest |
Get(string)
Gets a file.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the file to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.GetRequest |
List(string)
Lists files.
Declaration
public virtual ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.ListRequest |