Class: Google::Apis::DataflowV1b3::SendWorkerMessagesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SendWorkerMessagesRequest
- 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
A request for sending worker messages to the service.
Instance Attribute Summary collapse
-
#location ⇒ String
The location which contains the job Corresponds to the JSON property
location
. -
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SendWorkerMessagesRequest
Returns a new instance of SendWorkerMessagesRequest
3109 3110 3111 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The location which contains the job
Corresponds to the JSON property location
3102 3103 3104 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3102 def location @location end |
#worker_messages ⇒ Array<Google::Apis::DataflowV1b3::WorkerMessage>
The WorkerMessages to send.
Corresponds to the JSON property workerMessages
3107 3108 3109 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3107 def @worker_messages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3114 3115 3116 3117 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3114 def update!(**args) @location = args[:location] if args.key?(:location) @worker_messages = args[:worker_messages] if args.key?(:worker_messages) end |