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



4244
4245
4246
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4244

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)


4236
4237
4238
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4236

def is_read
  @is_read
end

#state_familyString

The state family value. Corresponds to the JSON property stateFamily

Returns:

  • (String)


4242
4243
4244
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4242

def state_family
  @state_family
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4249
4250
4251
4252
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4249

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