Class: Fluent::BigQuery::Writer::JobReference
- Inherits:
-
Struct
- Object
- Struct
- Fluent::BigQuery::Writer::JobReference
- Defined in:
- lib/fluent/plugin/bigquery/writer.rb
Instance Attribute Summary collapse
-
#chunk_id ⇒ Object
Returns the value of attribute chunk_id.
-
#chunk_id_hex ⇒ Object
Returns the value of attribute chunk_id_hex.
-
#dataset_id ⇒ Object
Returns the value of attribute dataset_id.
-
#job_id ⇒ Object
Returns the value of attribute job_id.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#table_id ⇒ Object
Returns the value of attribute table_id.
Instance Method Summary collapse
Instance Attribute Details
#chunk_id ⇒ Object
Returns the value of attribute chunk_id
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def chunk_id @chunk_id end |
#chunk_id_hex ⇒ Object
Returns the value of attribute chunk_id_hex
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def chunk_id_hex @chunk_id_hex end |
#dataset_id ⇒ Object
Returns the value of attribute dataset_id
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def dataset_id @dataset_id end |
#job_id ⇒ Object
Returns the value of attribute job_id
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def job_id @job_id end |
#project_id ⇒ Object
Returns the value of attribute project_id
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def project_id @project_id end |
#table_id ⇒ Object
Returns the value of attribute table_id
115 116 117 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 115 def table_id @table_id end |
Instance Method Details
#as_hash(*keys) ⇒ Object
116 117 118 119 120 121 122 |
# File 'lib/fluent/plugin/bigquery/writer.rb', line 116 def as_hash(*keys) if keys.empty? to_h else to_h.select { |k, _| keys.include?(k) } end end |