Class: Google::Apis::DatastoreV1beta2::BeginTransactionResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::BeginTransactionResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property
header
. -
#transaction ⇒ String
The transaction identifier (always present).
Instance Method Summary collapse
-
#initialize(**args) ⇒ BeginTransactionResponse
constructor
A new instance of BeginTransactionResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BeginTransactionResponse
Returns a new instance of BeginTransactionResponse.
109 110 111 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property header
102 103 104 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 102 def header @header end |
#transaction ⇒ String
The transaction identifier (always present).
Corresponds to the JSON property transaction
107 108 109 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 107 def transaction @transaction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
114 115 116 117 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 114 def update!(**args) @header = args[:header] if args.key?(:header) @transaction = args[:transaction] if args.key?(:transaction) end |