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



4238
4239
4240
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4238

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)


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

def stateful
  @stateful
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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