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



2819
2820
2821
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2819

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)


2816
2817
2818
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2816

def is_read
  @is_read
end

#state_familyString

The state family value. Corresponds to the JSON property stateFamily

Returns:

  • (String)


2811
2812
2813
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2811

def state_family
  @state_family
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2824
2825
2826
2827
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2824

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