Class: Google::Apis::DataflowV1b3::SendDebugCaptureRequest

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

Request to send encoded debug information.

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

Returns a new instance of SendDebugCaptureRequest.



88
89
90
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 88

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

Instance Attribute Details

#component_idString

The internal component id for which debug information is sent. Corresponds to the JSON property componentId

Returns:

  • (String)


81
82
83
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 81

def component_id
  @component_id
end

#dataString

The encoded debug information. Corresponds to the JSON property data

Returns:

  • (String)


86
87
88
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 86

def data
  @data
end

#worker_idString

The worker id, i.e., VM hostname. Corresponds to the JSON property workerId

Returns:

  • (String)


76
77
78
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 76

def worker_id
  @worker_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



93
94
95
96
97
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 93

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