Class ProjectsResource.AllocateIdsRequest
Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted.
Inheritance
ProjectsResource.AllocateIdsRequest
Inherited Members
Namespace: Google.Apis.Datastore.v1
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class ProjectsResource.AllocateIdsRequest : DatastoreBaseServiceRequest<AllocateIdsResponse>, IClientServiceRequest<AllocateIdsResponse>, IClientServiceRequest
Constructors
AllocateIdsRequest(IClientService, AllocateIdsRequest, string)
Constructs a new AllocateIds request.
Declaration
public AllocateIdsRequest(IClientService service, AllocateIdsRequest body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AllocateIdsRequest | body | |
string | projectId |
Properties
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
ProjectId
Required. The ID of the project against which to make the request.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
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 AllocateIds parameter list.
Declaration
protected override void InitParameters()