Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Cloudtrace_ProjectsTraces_Resource Class Reference

The "traces" collection of methods. More...

Inheritance diagram for Google_Service_Cloudtrace_ProjectsTraces_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($projectId, $traceId, $optParams=array())
 Gets one trace by id.
 
 listProjectsTraces ($projectId, $optParams=array())
 List traces matching the filter expression.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "traces" collection of methods.

Typical usage is: $cloudtraceService = new Google_Service_Cloudtrace(...); $traces = $cloudtraceService->traces;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_Cloudtrace_ProjectsTraces_Resource::get ( $projectId,
$traceId,
$optParams = array() )

Gets one trace by id.

(traces.get)

Parameters
string$projectIdThe project id of the trace to return.
string$traceIdThe trace id of the trace to return.
array$optParamsOptional parameters.
Return values
Google_Service_Cloudtrace_Trace

◆ listProjectsTraces()

Google_Service_Cloudtrace_ProjectsTraces_Resource::listProjectsTraces ( $projectId,
$optParams = array() )

List traces matching the filter expression.

(traces.listProjectsTraces)

Parameters
string$projectIdThe stringified-version of the project id.
array$optParamsOptional parameters.

@opt_param string orderBy The trace field used to establish the order of traces returned by the ListTraces method. Possible options are: trace_id name (name field of root span) duration (different between end_time and start_time fields of root span) start (start_time field of root span) Descending order can be specified by appending "desc" to the sort field: name desc Only one sort field is permitted, though this may change in the future. @opt_param int pageSize Maximum number of topics to return. If not specified or <= 0, the implementation will select a reasonable value. The implemenation may always return fewer than the requested page_size. @opt_param string filter An optional filter for the request. @opt_param string pageToken The token identifying the page of results to return from the ListTraces method. If present, this value is should be taken from the next_page_token field of a previous ListTracesResponse. @opt_param string startTime End of the time interval (inclusive). @opt_param string endTime Start of the time interval (exclusive). @opt_param string view ViewType specifies the projection of the result.

Return values
Google_Service_Cloudtrace_ListTracesResponse

The documentation for this class was generated from the following file: