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



4176
4177
4178
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4176

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)


4168
4169
4170
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4168

def is_read
  @is_read
end

#state_familyString

The state family value. Corresponds to the JSON property stateFamily

Returns:

  • (String)


4174
4175
4176
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4174

def state_family
  @state_family
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4181
4182
4183
4184
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4181

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