Class: Google::Apis::BigqueryV2::Streamingbuffer

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Streamingbuffer

Returns a new instance of Streamingbuffer.



2382
2383
2384
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2382

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

Instance Attribute Details

#estimated_bytesString

[Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. Corresponds to the JSON property estimatedBytes

Returns:

  • (String)


2368
2369
2370
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2368

def estimated_bytes
  @estimated_bytes
end

#estimated_rowsString

[Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. Corresponds to the JSON property estimatedRows

Returns:

  • (String)


2374
2375
2376
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2374

def estimated_rows
  @estimated_rows
end

#oldest_entry_timeString

[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

Returns:

  • (String)


2380
2381
2382
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2380

def oldest_entry_time
  @oldest_entry_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2387
2388
2389
2390
2391
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2387

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