Reference documentation and code samples for the Stackdriver Debugger V2 Client class 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.
Generated from protobuf message google.devtools.clouddebugger.v2.Debuggee
Namespace
Google \ Cloud \ Debugger \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Unique identifier for the debuggee generated by the controller service.
↳ project
string
Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.
↳ uniquifier
string
Uniquifier to further distinguish the application. It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment.
↳ description
string
Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.
↳ is_inactive
bool
If set to true
, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.
↳ agent_version
string
Version ID of the agent. Schema: domain/language-platform/vmajor.minor
(for example google.com/java-gcp/v1.1
).
↳ is_disabled
bool
If set to true
, indicates that the agent should disable itself and detach from the debuggee.
↳ status
Google\Cloud\Debugger\V2\StatusMessage
Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status.
↳ source_contexts
array< Google\Cloud\DevTools\Source\V1\SourceContext
>
References to the locations and revisions of the source code used in the deployed application.
↳ ext_source_contexts
array< Google\Cloud\DevTools\Source\V1\ExtendedSourceContext
>
References to the locations and revisions of the source code used in the deployed application.
↳ labels
array| Google\Protobuf\Internal\MapField
A set of custom debuggee properties, populated by the agent, to be displayed to the user.
getId
Unique identifier for the debuggee generated by the controller service.
string
setId
Unique identifier for the debuggee generated by the controller service.
var
string
$this
getProject
Project the debuggee is associated with.
Use project number or id when registering a Google Cloud Platform project.
string
setProject
Project the debuggee is associated with.
Use project number or id when registering a Google Cloud Platform project.
var
string
$this
getUniquifier
Uniquifier to further distinguish the application.
It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment.
string
setUniquifier
Uniquifier to further distinguish the application.
It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment.
var
string
$this
getDescription
Human readable description of the debuggee.
Including a human-readable project name, environment name and version information is recommended.
string
setDescription
Human readable description of the debuggee.
Including a human-readable project name, environment name and version information is recommended.
var
string
$this
getIsInactive
If set to true
, indicates that Controller service does not detect any
activity from the debuggee agents and the application is possibly stopped.
bool
setIsInactive
If set to true
, indicates that Controller service does not detect any
activity from the debuggee agents and the application is possibly stopped.
var
bool
$this
getAgentVersion
Version ID of the agent.
Schema: domain/language-platform/vmajor.minor
(for example google.com/java-gcp/v1.1
).
string
setAgentVersion
Version ID of the agent.
Schema: domain/language-platform/vmajor.minor
(for example google.com/java-gcp/v1.1
).
var
string
$this
getIsDisabled
If set to true
, indicates that the agent should disable itself and
detach from the debuggee.
bool
setIsDisabled
If set to true
, indicates that the agent should disable itself and
detach from the debuggee.
var
bool
$this
getStatus
Human readable message to be displayed to the user about this debuggee.
Absence of this field indicates no status. The message can be either informational or an error status.
hasStatus
clearStatus
setStatus
Human readable message to be displayed to the user about this debuggee.
Absence of this field indicates no status. The message can be either informational or an error status.
$this
getSourceContexts
References to the locations and revisions of the source code used in the deployed application.
setSourceContexts
References to the locations and revisions of the source code used in the deployed application.
var
array< Google\Cloud\DevTools\Source\V1\SourceContext
>
$this
getExtSourceContexts
References to the locations and revisions of the source code used in the deployed application.
setExtSourceContexts
References to the locations and revisions of the source code used in the deployed application.
var
array< Google\Cloud\DevTools\Source\V1\ExtendedSourceContext
>
$this
getLabels
A set of custom debuggee properties, populated by the agent, to be displayed to the user.
setLabels
A set of custom debuggee properties, populated by the agent, to be displayed to the user.
$this