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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddebugger_v2/classes.rb,
lib/google/apis/clouddebugger_v2/representations.rb,
lib/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.



724
725
726
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 724

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)


713
714
715
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 713

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



722
723
724
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 722

def debuggee
  @debuggee
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



729
730
731
732
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 729

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