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

def id() -> String

Registered Debuggee ID. Set by Stackdriver Debugger service when a debuggee application is sucessfully registered.

Returns
  • (String)

#register

def register() -> Boolean

Register the current application as a debuggee with Stackdriver Debuggee service.

Returns
  • (Boolean) — True if registered sucessfully; otherwise false.

#registered?

def registered?() -> Boolean

Check whether this debuggee is currently registered or not

Returns
  • (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

Returns
  • (String)

#service_version

def service_version() -> String

Version identifier for the debuggee application

Returns
  • (String)

#to_grpc

def to_grpc()

Convert this debuggee into a gRPC Google::Cloud::Debugger::V2::Debuggee struct.