Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

(no description)

File Size: 1343 lines (37 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 33 classes

Google_Service_Clouddebugger:: (1 method):
  __construct()

Google_Service_Clouddebugger_Controller_Resource:: (0 methods):

Google_Service_Clouddebugger_ControllerDebuggees_Resource:: (1 method):
  register()

Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource:: (2 methods):
  listControllerDebuggeesBreakpoints()
  update()

Google_Service_Clouddebugger_Debugger_Resource:: (0 methods):

Google_Service_Clouddebugger_DebuggerDebuggees_Resource:: (1 method):
  listDebuggerDebuggees()

Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource:: (4 methods):
  delete()
  get()
  listDebuggerDebuggeesBreakpoints()
  set()

Google_Service_Clouddebugger_Breakpoint:: (30 methods):
  setAction()
  getAction()
  setCondition()
  getCondition()
  setCreateTime()
  getCreateTime()
  setEvaluatedExpressions()
  getEvaluatedExpressions()
  setExpressions()
  getExpressions()
  setFinalTime()
  getFinalTime()
  setId()
  getId()
  setIsFinalState()
  getIsFinalState()
  setLocation()
  getLocation()
  setLogLevel()
  getLogLevel()
  setLogMessageFormat()
  getLogMessageFormat()
  setStackFrames()
  getStackFrames()
  setStatus()
  getStatus()
  setUserEmail()
  getUserEmail()
  setVariableTable()
  getVariableTable()

Google_Service_Clouddebugger_CloudRepoSourceContext:: (6 methods):
  setAliasName()
  getAliasName()
  setRepoId()
  getRepoId()
  setRevisionId()
  getRevisionId()

Google_Service_Clouddebugger_CloudWorkspaceId:: (4 methods):
  setName()
  getName()
  setRepoId()
  getRepoId()

Google_Service_Clouddebugger_CloudWorkspaceSourceContext:: (4 methods):
  setSnapshotId()
  getSnapshotId()
  setWorkspaceId()
  getWorkspaceId()

Google_Service_Clouddebugger_Debuggee:: (20 methods):
  setAgentVersion()
  getAgentVersion()
  setDescription()
  getDescription()
  setId()
  getId()
  setIsDisabled()
  getIsDisabled()
  setIsInactive()
  getIsInactive()
  setLabels()
  getLabels()
  setProject()
  getProject()
  setSourceContexts()
  getSourceContexts()
  setStatus()
  getStatus()
  setUniquifier()
  getUniquifier()

Google_Service_Clouddebugger_DebuggeeLabels:: (0 methods):

Google_Service_Clouddebugger_Empty:: (0 methods):

Google_Service_Clouddebugger_FormatMessage:: (4 methods):
  setFormat()
  getFormat()
  setParameters()
  getParameters()

Google_Service_Clouddebugger_GerritSourceContext:: (8 methods):
  setAliasName()
  getAliasName()
  setGerritProject()
  getGerritProject()
  setHostUri()
  getHostUri()
  setRevisionId()
  getRevisionId()

Google_Service_Clouddebugger_GetBreakpointResponse:: (2 methods):
  setBreakpoint()
  getBreakpoint()

Google_Service_Clouddebugger_GitSourceContext:: (4 methods):
  setRevisionId()
  getRevisionId()
  setUrl()
  getUrl()

Google_Service_Clouddebugger_ListActiveBreakpointsResponse:: (4 methods):
  setBreakpoints()
  getBreakpoints()
  setNextWaitToken()
  getNextWaitToken()

Google_Service_Clouddebugger_ListBreakpointsResponse:: (4 methods):
  setBreakpoints()
  getBreakpoints()
  setNextWaitToken()
  getNextWaitToken()

Google_Service_Clouddebugger_ListDebuggeesResponse:: (2 methods):
  setDebuggees()
  getDebuggees()

Google_Service_Clouddebugger_ProjectRepoId:: (4 methods):
  setProjectId()
  getProjectId()
  setRepoName()
  getRepoName()

Google_Service_Clouddebugger_RegisterDebuggeeRequest:: (2 methods):
  setDebuggee()
  getDebuggee()

Google_Service_Clouddebugger_RegisterDebuggeeResponse:: (2 methods):
  setDebuggee()
  getDebuggee()

Google_Service_Clouddebugger_RepoId:: (4 methods):
  setProjectRepoId()
  getProjectRepoId()
  setUid()
  getUid()

Google_Service_Clouddebugger_SetBreakpointResponse:: (2 methods):
  setBreakpoint()
  getBreakpoint()

Google_Service_Clouddebugger_SourceContext:: (8 methods):
  setCloudRepo()
  getCloudRepo()
  setCloudWorkspace()
  getCloudWorkspace()
  setGerrit()
  getGerrit()
  setGit()
  getGit()

Google_Service_Clouddebugger_SourceLocation:: (4 methods):
  setLine()
  getLine()
  setPath()
  getPath()

Google_Service_Clouddebugger_StackFrame:: (8 methods):
  setArguments()
  getArguments()
  setFunction()
  getFunction()
  setLocals()
  getLocals()
  setLocation()
  getLocation()

Google_Service_Clouddebugger_StatusMessage:: (6 methods):
  setDescription()
  getDescription()
  setIsError()
  getIsError()
  setRefersTo()
  getRefersTo()

Google_Service_Clouddebugger_UpdateActiveBreakpointRequest:: (2 methods):
  setBreakpoint()
  getBreakpoint()

Google_Service_Clouddebugger_UpdateActiveBreakpointResponse:: (0 methods):

Google_Service_Clouddebugger_Variable:: (10 methods):
  setMembers()
  getMembers()
  setName()
  getName()
  setStatus()
  getStatus()
  setValue()
  getValue()
  setVarTableIndex()
  getVarTableIndex()


Class: Google_Service_Clouddebugger  - X-Ref

Service definition for Clouddebugger (v2).

<p>
Lets you examine the stack and variables of your running application without
stopping or slowing it down.</p>

<p>
For more information about this service, see the API
<a href="https://cloud.google.com/tools/cloud-debugger" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Clouddebugger service.

param: Google_Client $client

Class: Google_Service_Clouddebugger_Controller_Resource  - X-Ref

The "controller" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$controller = $clouddebuggerService->controller;
</code>

Class: Google_Service_Clouddebugger_ControllerDebuggees_Resource  - X-Ref

The "debuggees" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$debuggees = $clouddebuggerService->debuggees;
</code>

register(Google_Service_Clouddebugger_RegisterDebuggeeRequest $postBody, $optParams = array()   X-Ref
Registers the debuggee with the controller. All agents should call this API
with the same request content to get back the same stable 'debuggee_id'.
Agents should call this API again whenever ListActiveBreakpoints or
UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows
the server to disable the agent or recover from any registration loss. If the
debuggee is disabled server, the response will have is_disabled' set to true.
(debuggees.register)

param: Google_RegisterDebuggeeRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_RegisterDebuggeeResponse

Class: Google_Service_Clouddebugger_ControllerDebuggeesBreakpoints_Resource  - X-Ref

The "breakpoints" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$breakpoints = $clouddebuggerService->breakpoints;
</code>

listControllerDebuggeesBreakpoints($debuggeeId, $optParams = array()   X-Ref
Returns the list of all active breakpoints for the specified debuggee. The
breakpoint specification (location, condition, and expression fields) is
semantically immutable, although the field values may change. For example, an
agent may update the location line number to reflect the actual line the
breakpoint was set to, but that doesn't change the breakpoint semantics.
Thus, an agent does not need to check if a breakpoint has changed when it
encounters the same breakpoint on a successive call. Moreover, an agent
should remember breakpoints that are complete until the controller removes
them from the active list to avoid setting those breakpoints again.
(breakpoints.listControllerDebuggeesBreakpoints)

param: string $debuggeeId Identifies the debuggee.
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_ListActiveBreakpointsResponse

update($debuggeeId, $id, Google_Service_Clouddebugger_UpdateActiveBreakpointRequest $postBody, $optParams = array()   X-Ref
Updates the breakpoint state or mutable fields. The entire Breakpoint
protobuf must be sent back to the controller. Updates to active breakpoint
fields are only allowed if the new value does not change the breakpoint
specification. Updates to the 'location', 'condition' and 'expression' fields
should not alter the breakpoint semantics. They are restricted to changes
such as canonicalizing a value or snapping the location to the correct line
of code. (breakpoints.update)

param: string $debuggeeId Identifies the debuggee being debugged.
param: string $id Breakpoint identifier, unique in the scope of the debuggee.
param: Google_UpdateActiveBreakpointRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_UpdateActiveBreakpointResponse

Class: Google_Service_Clouddebugger_Debugger_Resource  - X-Ref

The "debugger" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$debugger = $clouddebuggerService->debugger;
</code>

Class: Google_Service_Clouddebugger_DebuggerDebuggees_Resource  - X-Ref

The "debuggees" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$debuggees = $clouddebuggerService->debuggees;
</code>

listDebuggerDebuggees($optParams = array()   X-Ref
Lists all the debuggees that the user can set breakpoints to.
(debuggees.listDebuggerDebuggees)

param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_ListDebuggeesResponse

Class: Google_Service_Clouddebugger_DebuggerDebuggeesBreakpoints_Resource  - X-Ref

The "breakpoints" collection of methods.
Typical usage is:
<code>
$clouddebuggerService = new Google_Service_Clouddebugger(...);
$breakpoints = $clouddebuggerService->breakpoints;
</code>

delete($debuggeeId, $breakpointId, $optParams = array()   X-Ref
Deletes the breakpoint from the debuggee. (breakpoints.delete)

param: string $debuggeeId The debuggee id to delete the breakpoint from.
param: string $breakpointId The breakpoint to delete.
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_Empty

get($debuggeeId, $breakpointId, $optParams = array()   X-Ref
Gets breakpoint information. (breakpoints.get)

param: string $debuggeeId The debuggee id to get the breakpoint from.
param: string $breakpointId The breakpoint to get.
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_GetBreakpointResponse

listDebuggerDebuggeesBreakpoints($debuggeeId, $optParams = array()   X-Ref
Lists all breakpoints of the debuggee that the user has access to.
(breakpoints.listDebuggerDebuggeesBreakpoints)

param: string $debuggeeId The debuggee id to list breakpoint from.
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_ListBreakpointsResponse

set($debuggeeId, Google_Service_Clouddebugger_Breakpoint $postBody, $optParams = array()   X-Ref
Sets the breakpoint to the debuggee. (breakpoints.set)

param: string $debuggeeId The debuggee id to set the breakpoint to.
param: Google_Breakpoint $postBody
param: array $optParams Optional parameters.
return: Google_Service_Clouddebugger_SetBreakpointResponse

Class: Google_Service_Clouddebugger_Breakpoint  - X-Ref

setAction($action)   X-Ref
No description

getAction()   X-Ref
No description

setCondition($condition)   X-Ref
No description

getCondition()   X-Ref
No description

setCreateTime($createTime)   X-Ref
No description

getCreateTime()   X-Ref
No description

setEvaluatedExpressions($evaluatedExpressions)   X-Ref
No description

getEvaluatedExpressions()   X-Ref
No description

setExpressions($expressions)   X-Ref
No description

getExpressions()   X-Ref
No description

setFinalTime($finalTime)   X-Ref
No description

getFinalTime()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setIsFinalState($isFinalState)   X-Ref
No description

getIsFinalState()   X-Ref
No description

setLocation(Google_Service_Clouddebugger_SourceLocation $location)   X-Ref
No description

getLocation()   X-Ref
No description

setLogLevel($logLevel)   X-Ref
No description

getLogLevel()   X-Ref
No description

setLogMessageFormat($logMessageFormat)   X-Ref
No description

getLogMessageFormat()   X-Ref
No description

setStackFrames($stackFrames)   X-Ref
No description

getStackFrames()   X-Ref
No description

setStatus(Google_Service_Clouddebugger_StatusMessage $status)   X-Ref
No description

getStatus()   X-Ref
No description

setUserEmail($userEmail)   X-Ref
No description

getUserEmail()   X-Ref
No description

setVariableTable($variableTable)   X-Ref
No description

getVariableTable()   X-Ref
No description

Class: Google_Service_Clouddebugger_CloudRepoSourceContext  - X-Ref

setAliasName($aliasName)   X-Ref
No description

getAliasName()   X-Ref
No description

setRepoId(Google_Service_Clouddebugger_RepoId $repoId)   X-Ref
No description

getRepoId()   X-Ref
No description

setRevisionId($revisionId)   X-Ref
No description

getRevisionId()   X-Ref
No description

Class: Google_Service_Clouddebugger_CloudWorkspaceId  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setRepoId(Google_Service_Clouddebugger_RepoId $repoId)   X-Ref
No description

getRepoId()   X-Ref
No description

Class: Google_Service_Clouddebugger_CloudWorkspaceSourceContext  - X-Ref

setSnapshotId($snapshotId)   X-Ref
No description

getSnapshotId()   X-Ref
No description

setWorkspaceId(Google_Service_Clouddebugger_CloudWorkspaceId $workspaceId)   X-Ref
No description

getWorkspaceId()   X-Ref
No description

Class: Google_Service_Clouddebugger_Debuggee  - X-Ref

setAgentVersion($agentVersion)   X-Ref
No description

getAgentVersion()   X-Ref
No description

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setIsDisabled($isDisabled)   X-Ref
No description

getIsDisabled()   X-Ref
No description

setIsInactive($isInactive)   X-Ref
No description

getIsInactive()   X-Ref
No description

setLabels($labels)   X-Ref
No description

getLabels()   X-Ref
No description

setProject($project)   X-Ref
No description

getProject()   X-Ref
No description

setSourceContexts($sourceContexts)   X-Ref
No description

getSourceContexts()   X-Ref
No description

setStatus(Google_Service_Clouddebugger_StatusMessage $status)   X-Ref
No description

getStatus()   X-Ref
No description

setUniquifier($uniquifier)   X-Ref
No description

getUniquifier()   X-Ref
No description

Class: Google_Service_Clouddebugger_FormatMessage  - X-Ref

setFormat($format)   X-Ref
No description

getFormat()   X-Ref
No description

setParameters($parameters)   X-Ref
No description

getParameters()   X-Ref
No description

Class: Google_Service_Clouddebugger_GerritSourceContext  - X-Ref

setAliasName($aliasName)   X-Ref
No description

getAliasName()   X-Ref
No description

setGerritProject($gerritProject)   X-Ref
No description

getGerritProject()   X-Ref
No description

setHostUri($hostUri)   X-Ref
No description

getHostUri()   X-Ref
No description

setRevisionId($revisionId)   X-Ref
No description

getRevisionId()   X-Ref
No description

Class: Google_Service_Clouddebugger_GetBreakpointResponse  - X-Ref

setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)   X-Ref
No description

getBreakpoint()   X-Ref
No description

Class: Google_Service_Clouddebugger_GitSourceContext  - X-Ref

setRevisionId($revisionId)   X-Ref
No description

getRevisionId()   X-Ref
No description

setUrl($url)   X-Ref
No description

getUrl()   X-Ref
No description

Class: Google_Service_Clouddebugger_ProjectRepoId  - X-Ref

setProjectId($projectId)   X-Ref
No description

getProjectId()   X-Ref
No description

setRepoName($repoName)   X-Ref
No description

getRepoName()   X-Ref
No description

Class: Google_Service_Clouddebugger_RegisterDebuggeeRequest  - X-Ref

setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee)   X-Ref
No description

getDebuggee()   X-Ref
No description

Class: Google_Service_Clouddebugger_RegisterDebuggeeResponse  - X-Ref

setDebuggee(Google_Service_Clouddebugger_Debuggee $debuggee)   X-Ref
No description

getDebuggee()   X-Ref
No description

Class: Google_Service_Clouddebugger_RepoId  - X-Ref

setProjectRepoId(Google_Service_Clouddebugger_ProjectRepoId $projectRepoId)   X-Ref
No description

getProjectRepoId()   X-Ref
No description

setUid($uid)   X-Ref
No description

getUid()   X-Ref
No description

Class: Google_Service_Clouddebugger_SetBreakpointResponse  - X-Ref

setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)   X-Ref
No description

getBreakpoint()   X-Ref
No description

Class: Google_Service_Clouddebugger_SourceContext  - X-Ref

setCloudRepo(Google_Service_Clouddebugger_CloudRepoSourceContext $cloudRepo)   X-Ref
No description

getCloudRepo()   X-Ref
No description

setCloudWorkspace(Google_Service_Clouddebugger_CloudWorkspaceSourceContext $cloudWorkspace)   X-Ref
No description

getCloudWorkspace()   X-Ref
No description

setGerrit(Google_Service_Clouddebugger_GerritSourceContext $gerrit)   X-Ref
No description

getGerrit()   X-Ref
No description

setGit(Google_Service_Clouddebugger_GitSourceContext $git)   X-Ref
No description

getGit()   X-Ref
No description

Class: Google_Service_Clouddebugger_SourceLocation  - X-Ref

setLine($line)   X-Ref
No description

getLine()   X-Ref
No description

setPath($path)   X-Ref
No description

getPath()   X-Ref
No description

Class: Google_Service_Clouddebugger_StackFrame  - X-Ref

setArguments($arguments)   X-Ref
No description

getArguments()   X-Ref
No description

setFunction($function)   X-Ref
No description

getFunction()   X-Ref
No description

setLocals($locals)   X-Ref
No description

getLocals()   X-Ref
No description

setLocation(Google_Service_Clouddebugger_SourceLocation $location)   X-Ref
No description

getLocation()   X-Ref
No description

Class: Google_Service_Clouddebugger_StatusMessage  - X-Ref

setDescription(Google_Service_Clouddebugger_FormatMessage $description)   X-Ref
No description

getDescription()   X-Ref
No description

setIsError($isError)   X-Ref
No description

getIsError()   X-Ref
No description

setRefersTo($refersTo)   X-Ref
No description

getRefersTo()   X-Ref
No description

Class: Google_Service_Clouddebugger_UpdateActiveBreakpointRequest  - X-Ref

setBreakpoint(Google_Service_Clouddebugger_Breakpoint $breakpoint)   X-Ref
No description

getBreakpoint()   X-Ref
No description

Class: Google_Service_Clouddebugger_Variable  - X-Ref

setMembers($members)   X-Ref
No description

getMembers()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setStatus(Google_Service_Clouddebugger_StatusMessage $status)   X-Ref
No description

getStatus()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

setVarTableIndex($varTableIndex)   X-Ref
No description

getVarTableIndex()   X-Ref
No description