Google Cloud Datastore v1 API - Class AllocateIdsRequest (4.3.0)

public sealed class AllocateIdsRequest : IMessage<AllocateIdsRequest>, IEquatable<AllocateIdsRequest>, IDeepCloneable<AllocateIdsRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Datastore v1 API class AllocateIdsRequest.

The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].

Inheritance

Object > AllocateIdsRequest

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

AllocateIdsRequest()

public AllocateIdsRequest()

AllocateIdsRequest(AllocateIdsRequest)

public AllocateIdsRequest(AllocateIdsRequest other)
Parameter
NameDescription
otherAllocateIdsRequest

Properties

DatabaseId

public string DatabaseId { get; set; }

The ID of the database against which to make the request.

'(default)' is not allowed; please use empty string '' to refer the default database.

Property Value
TypeDescription
String

Keys

public RepeatedField<Key> Keys { get; }

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

Property Value
TypeDescription
RepeatedField<Key>

ProjectId

public string ProjectId { get; set; }

Required. The ID of the project against which to make the request.

Property Value
TypeDescription
String