Class: Google::Apis::DataflowV1b3::StreamLocation

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

Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.

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

Returns a new instance of StreamLocation



4014
4015
4016
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4014

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

Instance Attribute Details

#custom_source_locationGoogle::Apis::DataflowV1b3::CustomSourceLocation

Identifies the location of a custom souce. Corresponds to the JSON property customSourceLocation



3995
3996
3997
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3995

def custom_source_location
  @custom_source_location
end

#pubsub_locationGoogle::Apis::DataflowV1b3::PubsubLocation

Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job. Corresponds to the JSON property pubsubLocation



4007
4008
4009
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4007

def pubsub_location
  @pubsub_location
end

#side_input_locationGoogle::Apis::DataflowV1b3::StreamingSideInputLocation

Identifies the location of a streaming side input. Corresponds to the JSON property sideInputLocation



4012
4013
4014
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4012

def side_input_location
  @side_input_location
end

#streaming_stage_locationGoogle::Apis::DataflowV1b3::StreamingStageLocation

Identifies the location of a streaming computation stage, for stage-to-stage communication. Corresponds to the JSON property streamingStageLocation



4001
4002
4003
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4001

def streaming_stage_location
  @streaming_stage_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4019
4020
4021
4022
4023
4024
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4019

def update!(**args)
  @custom_source_location = args[:custom_source_location] if args.key?(:custom_source_location)
  @streaming_stage_location = args[:streaming_stage_location] if args.key?(:streaming_stage_location)
  @pubsub_location = args[:pubsub_location] if args.key?(:pubsub_location)
  @side_input_location = args[:side_input_location] if args.key?(:side_input_location)
end