Class: Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb

Overview

Response for registering a debuggee.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegisterDebuggeeResponse

Returns a new instance of RegisterDebuggeeResponse.



725
726
727
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 725

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

Instance Attribute Details

#agent_idString

A unique ID generated for the agent. Each RegisterDebuggee request will generate a new agent ID. Corresponds to the JSON property agentId

Returns:

  • (String)


714
715
716
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 714

def agent_id
  @agent_id
end

#debuggeeGoogle::Apis::ClouddebuggerV2::Debuggee

Represents the debugged application. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. Agents attached to the same debuggee identify themselves as such by using exactly the same Debuggee message value when registering. Corresponds to the JSON property debuggee



723
724
725
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 723

def debuggee
  @debuggee
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



730
731
732
733
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 730

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