Class: Google::Apis::BigqueryV2::TransactionInfo
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::TransactionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
[Alpha] Information of a multi-statement transaction.
Instance Attribute Summary collapse
-
#transaction_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransactionInfo
constructor
A new instance of TransactionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransactionInfo
Returns a new instance of TransactionInfo.
11218 11219 11220 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#transaction_id ⇒ String
Output only. [Alpha] Id of the transaction.
Corresponds to the JSON property transactionId
11216 11217 11218 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11216 def transaction_id @transaction_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11223 11224 11225 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11223 def update!(**args) @transaction_id = args[:transaction_id] if args.key?(:transaction_id) end |