Class: Google::Apis::DataflowV1b3::SourceMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SourceMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.
Instance Attribute Summary collapse
-
#estimated_size_bytes ⇒ Fixnum
An estimate of the total size (in bytes) of the data that would be read from this source.
-
#infinite ⇒ Boolean
(also: #infinite?)
Specifies that the size of this source is known to be infinite (this is a streaming source).
-
#produces_sorted_keys ⇒ Boolean
(also: #produces_sorted_keys?)
Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceMetadata
constructor
A new instance of SourceMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceMetadata
Returns a new instance of SourceMetadata
3153 3154 3155 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#estimated_size_bytes ⇒ Fixnum
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
3151 3152 3153 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3151 def estimated_size_bytes @estimated_size_bytes end |
#infinite ⇒ Boolean Also known as: infinite?
Specifies that the size of this source is known to be infinite
(this is a streaming source).
Corresponds to the JSON property infinite
3143 3144 3145 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3143 def infinite @infinite end |
#produces_sorted_keys ⇒ Boolean Also known as: produces_sorted_keys?
Whether this source is known to produce key/value pairs with
the (encoded) keys in lexicographically sorted order.
Corresponds to the JSON property producesSortedKeys
3136 3137 3138 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3136 def produces_sorted_keys @produces_sorted_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3158 3159 3160 3161 3162 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3158 def update!(**args) @produces_sorted_keys = args[:produces_sorted_keys] if args.key?(:produces_sorted_keys) @infinite = args[:infinite] if args.key?(:infinite) @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes) end |