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

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

A request for sending worker messages to the service.

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

Returns a new instance of SendWorkerMessagesRequest



3124
3125
3126
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3124

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

Instance Attribute Details

#locationString

The location which contains the job Corresponds to the JSON property location

Returns:

  • (String)


3117
3118
3119
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3117

def location
  @location
end

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

The WorkerMessages to send. Corresponds to the JSON property workerMessages



3122
3123
3124
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3122

def worker_messages
  @worker_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3129
3130
3131
3132
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3129

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