Show / Hide Table of Contents

Class ProjectsResource.DatabasesResource.DocumentsResource.ListDocumentsRequest

Lists documents.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListDocumentsResponse>
FirestoreBaseServiceRequest<ListDocumentsResponse>
ProjectsResource.DatabasesResource.DocumentsResource.ListDocumentsRequest
Implements
IClientServiceRequest<ListDocumentsResponse>
IClientServiceRequest
Inherited Members
FirestoreBaseServiceRequest<ListDocumentsResponse>.Xgafv
FirestoreBaseServiceRequest<ListDocumentsResponse>.AccessToken
FirestoreBaseServiceRequest<ListDocumentsResponse>.Alt
FirestoreBaseServiceRequest<ListDocumentsResponse>.Callback
FirestoreBaseServiceRequest<ListDocumentsResponse>.Fields
FirestoreBaseServiceRequest<ListDocumentsResponse>.Key
FirestoreBaseServiceRequest<ListDocumentsResponse>.OauthToken
FirestoreBaseServiceRequest<ListDocumentsResponse>.PrettyPrint
FirestoreBaseServiceRequest<ListDocumentsResponse>.QuotaUser
FirestoreBaseServiceRequest<ListDocumentsResponse>.UploadType
FirestoreBaseServiceRequest<ListDocumentsResponse>.UploadProtocol
ClientServiceRequest<ListDocumentsResponse>.Execute()
ClientServiceRequest<ListDocumentsResponse>.ExecuteAsStream()
ClientServiceRequest<ListDocumentsResponse>.ExecuteAsync()
ClientServiceRequest<ListDocumentsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListDocumentsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListDocumentsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListDocumentsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListDocumentsResponse>.GenerateRequestUri()
ClientServiceRequest<ListDocumentsResponse>.GetBody()
ClientServiceRequest<ListDocumentsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListDocumentsResponse>.ETagAction
ClientServiceRequest<ListDocumentsResponse>.ModifyRequest
ClientServiceRequest<ListDocumentsResponse>.ValidateParameters
ClientServiceRequest<ListDocumentsResponse>.ApiVersion
ClientServiceRequest<ListDocumentsResponse>.RequestParameters
ClientServiceRequest<ListDocumentsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firestore.v1
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class ProjectsResource.DatabasesResource.DocumentsResource.ListDocumentsRequest : FirestoreBaseServiceRequest<ListDocumentsResponse>, IClientServiceRequest<ListDocumentsResponse>, IClientServiceRequest

Constructors

ListDocumentsRequest(IClientService, string, string)

Constructs a new ListDocuments request.

Declaration
public ListDocumentsRequest(IClientService service, string parent, string collectionId)
Parameters
Type Name Description
IClientService service
string parent
string collectionId

Properties

CollectionId

Optional. The collection ID, relative to parent, to list. For example: chatrooms or messages. This is optional, and when not provided, Firestore will list documents from all collections under the provided parent.

Declaration
[RequestParameter("collectionId", RequestParameterType.Path)]
public virtual string CollectionId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListDocumentsResponse>.HttpMethod

MaskFieldPaths

The list of field paths in the mask. See Document.fields for a field path syntax reference.

Declaration
[RequestParameter("mask.fieldPaths", RequestParameterType.Query)]
public virtual Repeatable<string> MaskFieldPaths { get; set; }
Property Value
Type Description
Repeatable<string>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListDocumentsResponse>.MethodName

OrderBy

Optional. The optional ordering of the documents to return. For example: priority desc, __name__ desc. This mirrors the ORDER BY used in Firestore queries but in a string representation. When absent, documents are ordered based on __name__ ASC.

Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type Description
string

PageSize

Optional. The maximum number of documents to return in a single response. Firestore may return fewer than this value.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. A page token, received from a previous ListDocuments response. Provide this to retrieve the subsequent page. When paginating, all other parameters (with the exception of page_size) must match the values set in the request that generated the page token.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Required. The parent resource name. In the format: projects/{project_id}/databases/{database_id}/documents or projects/{project_id}/databases/{database_id}/documents/{document_path}. For example: projects/my-project/databases/my-database/documents or projects/my-project/databases/my-database/documents/chatrooms/my-chatroom

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

ReadTime

object representation of ReadTimeRaw.

Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeDateTimeOffset instead.")]
public virtual object ReadTime { get; set; }
Property Value
Type Description
object

ReadTimeDateTimeOffset

Declaration
public virtual DateTimeOffset? ReadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReadTimeRaw

String representation of ReadTimeDateTimeOffset, formatted for inclusion in the HTTP request.

Declaration
[RequestParameter("readTime", RequestParameterType.Query)]
public virtual string ReadTimeRaw { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListDocumentsResponse>.RestPath

ShowMissing

If the list should show missing documents. A document is missing if it does not exist, but there are sub-documents nested underneath it. When true, such missing documents will be returned with a key but will not have fields, create_time, or update_time set. Requests with show_missing may not specify where or order_by.

Declaration
[RequestParameter("showMissing", RequestParameterType.Query)]
public virtual bool? ShowMissing { get; set; }
Property Value
Type Description
bool?

Transaction

Perform the read as part of an already active transaction.

Declaration
[RequestParameter("transaction", RequestParameterType.Query)]
public virtual string Transaction { get; set; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes ListDocuments parameter list.

Declaration
protected override void InitParameters()
Overrides
FirestoreBaseServiceRequest<ListDocumentsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX