Class: Google::Apis::BigqueryV2::Streamingbuffer
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::Streamingbuffer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#estimated_bytes ⇒ String
[Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer.
-
#estimated_rows ⇒ String
[Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer.
-
#oldest_entry_time ⇒ String
[Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Streamingbuffer
constructor
A new instance of Streamingbuffer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Streamingbuffer
Returns a new instance of Streamingbuffer
2407 2408 2409 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_bytes ⇒ String
[Output-only] A lower-bound estimate of the number of bytes currently in the
streaming buffer.
Corresponds to the JSON property estimatedBytes
2393 2394 2395 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2393 def estimated_bytes @estimated_bytes end |
#estimated_rows ⇒ String
[Output-only] A lower-bound estimate of the number of rows currently in the
streaming buffer.
Corresponds to the JSON property estimatedRows
2399 2400 2401 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2399 def estimated_rows @estimated_rows end |
#oldest_entry_time ⇒ String
[Output-only] Contains the timestamp of the oldest entry in the streaming
buffer, in milliseconds since the epoch, if the streaming buffer is available.
Corresponds to the JSON property oldestEntryTime
2405 2406 2407 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2405 def oldest_entry_time @oldest_entry_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2412 2413 2414 2415 2416 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2412 def update!(**args) @estimated_bytes = args[:estimated_bytes] if args.key?(:estimated_bytes) @estimated_rows = args[:estimated_rows] if args.key?(:estimated_rows) @oldest_entry_time = args[:oldest_entry_time] if args.key?(:oldest_entry_time) end |