Class: Google::Apis::DataflowV1b3::StateFamilyConfig

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

State family configuration.

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) ⇒ StateFamilyConfig

Returns a new instance of StateFamilyConfig.



3460
3461
3462
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3460

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

Instance Attribute Details

#is_readBoolean Also known as: is_read?

If true, this family corresponds to a read operation. Corresponds to the JSON property isRead

Returns:

  • (Boolean)


3457
3458
3459
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3457

def is_read
  @is_read
end

#state_familyString

The state family value. Corresponds to the JSON property stateFamily

Returns:

  • (String)


3452
3453
3454
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3452

def state_family
  @state_family
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3465
3466
3467
3468
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3465

def update!(**args)
  @state_family = args[:state_family] if args.key?(:state_family)
  @is_read = args[:is_read] if args.key?(:is_read)
end