Class ProjectsResource.DatabasesResource.DocumentsResource.BatchGetRequest
Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.
Inheritance
ProjectsResource.DatabasesResource.DocumentsResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.Firestore.v1beta1
Assembly: Google.Apis.Firestore.v1beta1.dll
Syntax
public class ProjectsResource.DatabasesResource.DocumentsResource.BatchGetRequest : FirestoreBaseServiceRequest<BatchGetDocumentsResponse>, IClientServiceRequest<BatchGetDocumentsResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService, BatchGetDocumentsRequest, string)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service, BatchGetDocumentsRequest body, string database)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchGetDocumentsRequest | body | |
string | database |
Properties
Database
Required. The database name. In the format: projects/{project_id}/databases/{database_id}
.
Declaration
[RequestParameter("database", RequestParameterType.Path)]
public virtual string Database { get; }
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()