Class: Google::Apis::BigqueryV2::TransactionInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransactionInfo

Returns a new instance of TransactionInfo.



11260
11261
11262
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11260

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#transaction_idString

Output only. [Alpha] Id of the transaction. Corresponds to the JSON property transactionId

Returns:

  • (String)


11258
11259
11260
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11258

def transaction_id
  @transaction_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11265
11266
11267
# File 'lib/google/apis/bigquery_v2/classes.rb', line 11265

def update!(**args)
  @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
end