Google Cloud Datastore v1 API - Class BeginTransactionRequest (4.8.0)

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

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

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

Inheritance

object > BeginTransactionRequest

Namespace

Google.Cloud.Datastore.V1

Assembly

Google.Cloud.Datastore.V1.dll

Constructors

BeginTransactionRequest()

public BeginTransactionRequest()

BeginTransactionRequest(BeginTransactionRequest)

public BeginTransactionRequest(BeginTransactionRequest other)
Parameter
NameDescription
otherBeginTransactionRequest

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

ProjectId

public string ProjectId { get; set; }

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

Property Value
TypeDescription
string

TransactionOptions

public TransactionOptions TransactionOptions { get; set; }

Options for a new transaction.

Property Value
TypeDescription
TransactionOptions