Class: Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
- 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
-
#agent_id ⇒ String
A unique ID generated for the agent.
-
#debuggee ⇒ Google::Apis::ClouddebuggerV2::Debuggee
Represents the debugged application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegisterDebuggeeResponse
constructor
A new instance of RegisterDebuggeeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
A unique ID generated for the agent. Each RegisterDebuggee request will
generate a new agent ID.
Corresponds to the JSON property agentId
713 714 715 |
# File 'lib/google/apis/clouddebugger_v2/classes.rb', line 713 def agent_id @agent_id end |
#debuggee ⇒ Google::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 |