Class: Google::Apis::DataflowV1b3::GetDebugConfigRequest

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 get updated debug configuration for component.

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

Returns a new instance of GetDebugConfigRequest.


39
40
41
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 39

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

Instance Attribute Details

#component_idString

The internal component id for which debug configuration is requested. Corresponds to the JSON property componentId

Returns:

  • (String)

37
38
39
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 37

def component_id
  @component_id
end

#worker_idString

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

Returns:

  • (String)

32
33
34
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 32

def worker_id
  @worker_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


44
45
46
47
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 44

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