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



4200
4201
4202
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4200

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)


4192
4193
4194
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4192

def is_read
  @is_read
end

#state_familyString

The state family value. Corresponds to the JSON property stateFamily

Returns:

  • (String)


4198
4199
4200
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4198

def state_family
  @state_family
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4205
4206
4207
4208
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4205

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