Class: Google::Apis::DataflowV1b3::SendWorkerMessagesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SendWorkerMessagesRequest
- 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
A request for sending worker messages to the service.
Instance Attribute Summary collapse
-
#location ⇒ String
The regional endpoint that contains the job.
-
#worker_messages ⇒ Array<Google::Apis::DataflowV1b3::WorkerMessage>
The WorkerMessages to send.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SendWorkerMessagesRequest
constructor
A new instance of SendWorkerMessagesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SendWorkerMessagesRequest
Returns a new instance of SendWorkerMessagesRequest.
4863 4864 4865 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The regional endpoint that contains the job.
Corresponds to the JSON property location
4856 4857 4858 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4856 def location @location end |
#worker_messages ⇒ Array<Google::Apis::DataflowV1b3::WorkerMessage>
The WorkerMessages to send.
Corresponds to the JSON property workerMessages
4861 4862 4863 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4861 def @worker_messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4868 4869 4870 4871 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4868 def update!(**args) @location = args[:location] if args.key?(:location) @worker_messages = args[:worker_messages] if args.key?(:worker_messages) end |