Class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse

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

WorkerHealthReportResponse contains information returned to the worker in response to a health ping.

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

Returns a new instance of WorkerHealthReportResponse



5137
5138
5139
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5137

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

Instance Attribute Details

#report_intervalString

A positive value indicates the worker should change its reporting interval to the specified value. The default value of zero means no change in report rate is requested by the server. Corresponds to the JSON property reportInterval

Returns:

  • (String)


5135
5136
5137
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5135

def report_interval
  @report_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5142
5143
5144
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5142

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