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
def id() -> String
Registered Debuggee ID. Set by Stackdriver Debugger service when a debuggee application is sucessfully registered.
- (String)
#register
def register() -> Boolean
Register the current application as a debuggee with Stackdriver Debuggee service.
- (Boolean) — True if registered sucessfully; otherwise false.
#registered?
def registered?() -> Boolean
Check whether this debuggee is currently registered or not
- (Boolean) — True if debuggee is registered; otherwise false.
#revoke_registration
def revoke_registration()
Revoke the registration of this debuggee
#service_name
def service_name() -> String
Name for the debuggee application
- (String)
#service_version
def service_version() -> String
Version identifier for the debuggee application
- (String)
#to_grpc
def to_grpc()
Convert this debuggee into a gRPC Google::Cloud::Debugger::V2::Debuggee struct.