Class: Google::Apis::DataflowV1b3::CustomSourceLocation

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

Identifies the location of a custom souce.

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

Returns a new instance of CustomSourceLocation



691
692
693
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 691

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

Instance Attribute Details

#statefulBoolean Also known as: stateful?

Whether this source is stateful. Corresponds to the JSON property stateful

Returns:

  • (Boolean)


688
689
690
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 688

def stateful
  @stateful
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



696
697
698
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 696

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