google-cloud-debugger - Class Google::Cloud::Debugger::Debuggee (v0.42.2)
Reference documentation and code samples for the google-cloud-debugger class Google::Cloud::Debugger::Debuggee.
Debuggee
Represent a debuggee application. Contains information that identifies
debuggee applications from each other. Maps to gRPC struct
Google::Cloud::Debugger::V2::Debuggee.
It also automatically loads source context information generated from
Cloud SDK. See Stackdriver Debugger
doc
for more information on how to generate this source context information
when used on Google Container Engine and Google Compute engine. This
step is taken care of if debuggee application is hosted on Google App
Engine Flexibile.
To ensure the multiple instances of the application are indeed the same
application, the debuggee also compute a "uniquifier" generated from
source context or application source code.
Inherits
Object
Methods
#id
defid()->String
Registered Debuggee ID. Set by Stackdriver Debugger service when
a debuggee application is sucessfully registered.
Returns
(String)
#register
defregister()->Boolean
Register the current application as a debuggee with Stackdriver
Debuggee service.
Returns
(Boolean) — True if registered sucessfully; otherwise false.
#registered?
defregistered?()->Boolean
Check whether this debuggee is currently registered or not
Returns
(Boolean) — True if debuggee is registered; otherwise false.
#revoke_registration
defrevoke_registration()
Revoke the registration of this debuggee
#service_name
defservice_name()->String
Name for the debuggee application
Returns
(String)
#service_version
defservice_version()->String
Version identifier for the debuggee application
Returns
(String)
#to_grpc
defto_grpc()
Convert this debuggee into a gRPC
Google::Cloud::Debugger::V2::Debuggee struct.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# google-cloud-debugger - Class Google::Cloud::Debugger::Debuggee (v0.42.2)\n\nReference documentation and code samples for the google-cloud-debugger class Google::Cloud::Debugger::Debuggee.\n\nDebuggee\n--------\n\nRepresent a debuggee application. Contains information that identifies\ndebuggee applications from each other. Maps to gRPC struct\nGoogle::Cloud::Debugger::V2::Debuggee.\n\nIt also automatically loads source context information generated from\nCloud SDK. See [Stackdriver Debugger\ndoc](https://cloud.google.com/debugger/docs/source-context#app_engine_standard_python)\nfor more information on how to generate this source context information\nwhen used on Google Container Engine and Google Compute engine. This\nstep is taken care of if debuggee application is hosted on Google App\nEngine Flexibile.\n\nTo ensure the multiple instances of the application are indeed the same\napplication, the debuggee also compute a \"uniquifier\" generated from\nsource context or application source code. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #id\n\n def id() -\u003e String\n\nRegistered Debuggee ID. Set by Stackdriver Debugger service when\na debuggee application is sucessfully registered. \n**Returns**\n\n- (String)\n\n### #register\n\n def register() -\u003e Boolean\n\nRegister the current application as a debuggee with Stackdriver\nDebuggee service. \n**Returns**\n\n- (Boolean) --- True if registered sucessfully; otherwise false.\n\n### #registered?\n\n def registered?() -\u003e Boolean\n\nCheck whether this debuggee is currently registered or not \n**Returns**\n\n- (Boolean) --- True if debuggee is registered; otherwise false.\n\n### #revoke_registration\n\n def revoke_registration()\n\nRevoke the registration of this debuggee\n\n### #service_name\n\n def service_name() -\u003e String\n\nName for the debuggee application \n**Returns**\n\n- (String)\n\n### #service_version\n\n def service_version() -\u003e String\n\nVersion identifier for the debuggee application \n**Returns**\n\n- (String)\n\n### #to_grpc\n\n def to_grpc()\n\nConvert this debuggee into a gRPC\nGoogle::Cloud::Debugger::V2::Debuggee struct."]]