class Google::Apis::DataflowV1b3::SourceMetadata

Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.

Attributes

estimated_size_bytes[RW]

An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader. Corresponds to the JSON property `estimatedSizeBytes` @return [Fixnum]

infinite[RW]

Specifies that the size of this source is known to be infinite (this is a streaming source). Corresponds to the JSON property `infinite` @return [Boolean]

infinite?[RW]

Specifies that the size of this source is known to be infinite (this is a streaming source). Corresponds to the JSON property `infinite` @return [Boolean]

produces_sorted_keys[RW]

Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order. Corresponds to the JSON property `producesSortedKeys` @return [Boolean]

produces_sorted_keys?[RW]

Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order. Corresponds to the JSON property `producesSortedKeys` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4631
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4636
def update!(**args)
  @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes)
  @infinite = args[:infinite] if args.key?(:infinite)
  @produces_sorted_keys = args[:produces_sorted_keys] if args.key?(:produces_sorted_keys)
end