Class: Google::Apis::DataflowV1b3::SendWorkerMessagesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SendWorkerMessagesRequest

Returns a new instance of SendWorkerMessagesRequest.



5016
5017
5018
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5016

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

Instance Attribute Details

#locationString

The regional endpoint that contains the job. Corresponds to the JSON property location

Returns:

  • (String)


5009
5010
5011
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5009

def location
  @location
end

#worker_messagesArray<Google::Apis::DataflowV1b3::WorkerMessage>

The WorkerMessages to send. Corresponds to the JSON property workerMessages



5014
5015
5016
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5014

def worker_messages
  @worker_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5021
5022
5023
5024
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5021

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