Class: Google::Apis::DataflowV1b3::GetWorkerStacktracesRequest

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

Request to get worker stacktraces from debug capture.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetWorkerStacktracesRequest

Returns a new instance of GetWorkerStacktracesRequest.



2180
2181
2182
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2180

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

Instance Attribute Details

#end_timeString

The end time for the stacktrace query. The returned stacktraces will be a recent stack trace at or shortly before this time. Corresponds to the JSON property endTime

Returns:

  • (String)


2172
2173
2174
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2172

def end_time
  @end_time
end

#worker_idString

The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker. Corresponds to the JSON property workerId

Returns:

  • (String)


2178
2179
2180
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2178

def worker_id
  @worker_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2185
2186
2187
2188
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2185

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