Google Cloud Datastore v1 API - Class LookupRequest (4.12.0)

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

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

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

Inheritance

object > LookupRequest

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

LookupRequest()

public LookupRequest()

LookupRequest(LookupRequest)

public LookupRequest(LookupRequest other)
Parameter
Name Description
other LookupRequest

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
Type Description
string

Keys

public RepeatedField<Key> Keys { get; }

Required. Keys of entities to look up.

Property Value
Type Description
RepeatedFieldKey

ProjectId

public string ProjectId { get; set; }

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

Property Value
Type Description
string

PropertyMask

public PropertyMask PropertyMask { get; set; }

The properties to return. Defaults to returning all properties.

If this field is set and an entity has a property not referenced in the mask, it will be absent from [LookupResponse.found.entity.properties][].

The entity's key is always returned.

Property Value
Type Description
PropertyMask

ReadOptions

public ReadOptions ReadOptions { get; set; }

The options for this lookup request.

Property Value
Type Description
ReadOptions