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].
Implements
IMessageBeginTransactionRequest, IEquatableBeginTransactionRequest, IDeepCloneableBeginTransactionRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DatastoreV1Assembly
Google.Cloud.Datastore.V1.dll
Constructors
BeginTransactionRequest()
public BeginTransactionRequest()
BeginTransactionRequest(BeginTransactionRequest)
public BeginTransactionRequest(BeginTransactionRequest other)
Parameter | |
---|---|
Name | Description |
other | BeginTransactionRequest |
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 |
ProjectId
public string ProjectId { get; set; }
Required. The ID of the project against which to make the request.
Property Value | |
---|---|
Type | Description |
string |
TransactionOptions
public TransactionOptions TransactionOptions { get; set; }
Options for a new transaction.
Property Value | |
---|---|
Type | Description |
TransactionOptions |