Class: Google::Cloud::Datastore::V1::BeginTransactionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/datastore/v1/datastore.rb

Overview

The request for Datastore.BeginTransaction.

Instance Attribute Summary collapse

Instance Attribute Details

#database_id::String

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

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

Returns:

  • (::String)

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

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



230
231
232
233
# File 'proto_docs/google/datastore/v1/datastore.rb', line 230

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

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

Returns:

  • (::String)

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



230
231
232
233
# File 'proto_docs/google/datastore/v1/datastore.rb', line 230

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#transaction_options::Google::Cloud::Datastore::V1::TransactionOptions

Returns Options for a new transaction.

Returns:



230
231
232
233
# File 'proto_docs/google/datastore/v1/datastore.rb', line 230

class BeginTransactionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end