Class NotesResource.ListRequest
Lists notes. Every list call returns a page of results with page_size
as the upper bound of returned
items. A page_size
of zero allows the server to choose the upper bound. The ListNotesResponse contains at
most page_size
entries. If there are more things left to list, it provides a next_page_token
value.
(Page tokens are opaque values.) To get the next page of results, copy the result's next_page_token
into
the next request's page_token
. Repeat until the next_page_token
returned with a page of results is
empty. ListNotes return consistent results in the face of concurrent changes, or signals that it cannot with
an ABORTED error.
Inheritance
Inherited Members
Namespace: Google.Apis.Keep.v1
Assembly: Google.Apis.Keep.v1.dll
Syntax
public class NotesResource.ListRequest : KeepBaseServiceRequest<ListNotesResponse>, IClientServiceRequest<ListNotesResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Filter
Filter for list results. If no filter is supplied, the trashed
filter is applied by default. Valid
fields to filter by are: create_time
, update_time
, trash_time
, and trashed
. Filter syntax
follows the Google AIP filtering spec.
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 results to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The previous page's next_page_token
field.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
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()