Class: Google::Apis::DataflowV1b3::BoundedTrieNode
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::BoundedTrieNode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
A single node in a BoundedTrie.
Instance Attribute Summary collapse
-
#children ⇒ Hash<String,Google::Apis::DataflowV1b3::BoundedTrieNode>
Children of this node.
-
#truncated ⇒ Boolean
(also: #truncated?)
Whether this node has been truncated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BoundedTrieNode
constructor
A new instance of BoundedTrieNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BoundedTrieNode
Returns a new instance of BoundedTrieNode.
357 358 359 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#children ⇒ Hash<String,Google::Apis::DataflowV1b3::BoundedTrieNode>
Children of this node. Must be empty if truncated is true.
Corresponds to the JSON property children
348 349 350 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 348 def children @children end |
#truncated ⇒ Boolean Also known as: truncated?
Whether this node has been truncated. A truncated leaf represents possibly
many children with the same prefix.
Corresponds to the JSON property truncated
354 355 356 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 354 def truncated @truncated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 362 def update!(**args) @children = args[:children] if args.key?(:children) @truncated = args[:truncated] if args.key?(:truncated) end |