Class: Google::Apis::DataflowV1b3::StreamLocation
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StreamLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/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
-
#custom_source_location ⇒ Google::Apis::DataflowV1b3::CustomSourceLocation
Identifies the location of a custom souce.
-
#pubsub_location ⇒ Google::Apis::DataflowV1b3::PubsubLocation
Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.
-
#side_input_location ⇒ Google::Apis::DataflowV1b3::StreamingSideInputLocation
Identifies the location of a streaming side input.
-
#streaming_stage_location ⇒ Google::Apis::DataflowV1b3::StreamingStageLocation
Identifies the location of a streaming computation stage, for stage-to-stage communication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StreamLocation
constructor
A new instance of StreamLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StreamLocation
Returns a new instance of StreamLocation.
5992 5993 5994 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_source_location ⇒ Google::Apis::DataflowV1b3::CustomSourceLocation
Identifies the location of a custom souce.
Corresponds to the JSON property customSourceLocation
5973 5974 5975 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5973 def custom_source_location @custom_source_location end |
#pubsub_location ⇒ Google::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
5979 5980 5981 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5979 def pubsub_location @pubsub_location end |
#side_input_location ⇒ Google::Apis::DataflowV1b3::StreamingSideInputLocation
Identifies the location of a streaming side input.
Corresponds to the JSON property sideInputLocation
5984 5985 5986 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5984 def side_input_location @side_input_location end |
#streaming_stage_location ⇒ Google::Apis::DataflowV1b3::StreamingStageLocation
Identifies the location of a streaming computation stage, for stage-to-stage
communication.
Corresponds to the JSON property streamingStageLocation
5990 5991 5992 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5990 def streaming_stage_location @streaming_stage_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5997 5998 5999 6000 6001 6002 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5997 def update!(**args) @custom_source_location = args[:custom_source_location] if args.key?(:custom_source_location) @pubsub_location = args[:pubsub_location] if args.key?(:pubsub_location) @side_input_location = args[:side_input_location] if args.key?(:side_input_location) @streaming_stage_location = args[:streaming_stage_location] if args.key?(:streaming_stage_location) end |