Class ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.ListRequest
Lists files.
Inheritance
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1beta2
Assembly: Google.Apis.ArtifactRegistry.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.FilesResource.ListRequest : ArtifactRegistryBaseServiceRequest<ListFilesResponse>, IClientServiceRequest<ListFilesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
An expression for filtering the results of the request. Filter rules are case insensitive.
The fields eligible for filtering are: * name
* owner
An example of using a filter: *
name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"
--> Files
with an ID starting with "a/b/". *
owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"
--> Files owned by the version 1.0
in package pkg1
.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of files to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The next_page_token value returned from a previous list request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()