Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

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

Defines 10 classes

Google_Service_Cloudtrace:: (1 method):
  __construct()

Google_Service_Cloudtrace_Projects_Resource:: (1 method):
  patchTraces()

Google_Service_Cloudtrace_ProjectsTraces_Resource:: (2 methods):
  get()
  listProjectsTraces()

Google_Service_Cloudtrace_V1_Resource:: (1 method):
  getDiscovery()

Google_Service_Cloudtrace_Empty:: (0 methods):

Google_Service_Cloudtrace_ListTracesResponse:: (4 methods):
  setNextPageToken()
  getNextPageToken()
  setTraces()
  getTraces()

Google_Service_Cloudtrace_Trace:: (6 methods):
  setProjectId()
  getProjectId()
  setSpans()
  getSpans()
  setTraceId()
  getTraceId()

Google_Service_Cloudtrace_TraceSpan:: (14 methods):
  setEndTime()
  getEndTime()
  setKind()
  getKind()
  setLabels()
  getLabels()
  setName()
  getName()
  setParentSpanId()
  getParentSpanId()
  setSpanId()
  getSpanId()
  setStartTime()
  getStartTime()

Google_Service_Cloudtrace_TraceSpanLabels:: (0 methods):

Google_Service_Cloudtrace_Traces:: (2 methods):
  setTraces()
  getTraces()


Class: Google_Service_Cloudtrace  - X-Ref

Service definition for Cloudtrace (v1).

<p>
The Google Cloud Trace API provides services for reading and writing runtime
trace data for Cloud applications.</p>

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

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

param: Google_Client $client

Class: Google_Service_Cloudtrace_Projects_Resource  - X-Ref

The "projects" collection of methods.
Typical usage is:
<code>
$cloudtraceService = new Google_Service_Cloudtrace(...);
$projects = $cloudtraceService->projects;
</code>

patchTraces($projectId, Google_Service_Cloudtrace_Traces $postBody, $optParams = array()   X-Ref
Updates the existing traces specified by PatchTracesRequest and inserts the
new traces. Any existing trace or span fields included in an update are
overwritten by the update, and any additional fields in an update are merged
with the existing trace data. (projects.patchTraces)

param: string $projectId The project id of the trace to patch.
param: Google_Traces $postBody
param: array $optParams Optional parameters.
return: Google_Service_Cloudtrace_Empty

Class: Google_Service_Cloudtrace_ProjectsTraces_Resource  - X-Ref

The "traces" collection of methods.
Typical usage is:
<code>
$cloudtraceService = new Google_Service_Cloudtrace(...);
$traces = $cloudtraceService->traces;
</code>

get($projectId, $traceId, $optParams = array()   X-Ref
Gets one trace by id. (traces.get)

param: string $projectId The project id of the trace to return.
param: string $traceId The trace id of the trace to return.
param: array $optParams Optional parameters.
return: Google_Service_Cloudtrace_Trace

listProjectsTraces($projectId, $optParams = array()   X-Ref
List traces matching the filter expression. (traces.listProjectsTraces)

param: string $projectId The stringified-version of the project id.
param: array $optParams Optional parameters.
return: Google_Service_Cloudtrace_ListTracesResponse

Class: Google_Service_Cloudtrace_V1_Resource  - X-Ref

The "v1" collection of methods.
Typical usage is:
<code>
$cloudtraceService = new Google_Service_Cloudtrace(...);
$v1 = $cloudtraceService->v1;
</code>

getDiscovery($optParams = array()   X-Ref
Returns a discovery document in the specified `format`. The typeurl in the
returned google.protobuf.Any value depends on the requested format.
(v1.getDiscovery)

param: array $optParams Optional parameters.

Class: Google_Service_Cloudtrace_ListTracesResponse  - X-Ref

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setTraces($traces)   X-Ref
No description

getTraces()   X-Ref
No description

Class: Google_Service_Cloudtrace_Trace  - X-Ref

setProjectId($projectId)   X-Ref
No description

getProjectId()   X-Ref
No description

setSpans($spans)   X-Ref
No description

getSpans()   X-Ref
No description

setTraceId($traceId)   X-Ref
No description

getTraceId()   X-Ref
No description

Class: Google_Service_Cloudtrace_TraceSpan  - X-Ref

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLabels($labels)   X-Ref
No description

getLabels()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setParentSpanId($parentSpanId)   X-Ref
No description

getParentSpanId()   X-Ref
No description

setSpanId($spanId)   X-Ref
No description

getSpanId()   X-Ref
No description

setStartTime($startTime)   X-Ref
No description

getStartTime()   X-Ref
No description

Class: Google_Service_Cloudtrace_Traces  - X-Ref

setTraces($traces)   X-Ref
No description

getTraces()   X-Ref
No description