Google_Service_CloudTrace
extends Google_Service
in package
Service definition for CloudTrace (v2).
Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus.
For more information about this service, see the API Documentation
Tags
Table of Contents
- CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"
- View and manage your data across Google Cloud Platform services.
- TRACE_APPEND = "https://www.googleapis.com/auth/trace.append"
- Write Trace data for a project or application.
- $availableScopes : mixed
- $batchPath : mixed
- $projects_traces : mixed
- $projects_traces_spans : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the CloudTrace service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
CLOUD_PLATFORM
View and manage your data across Google Cloud Platform services.
public
mixed
CLOUD_PLATFORM
= "https://www.googleapis.com/auth/cloud-platform"
TRACE_APPEND
Write Trace data for a project or application.
public
mixed
TRACE_APPEND
= "https://www.googleapis.com/auth/trace.append"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$projects_traces
public
mixed
$projects_traces
$projects_traces_spans
public
mixed
$projects_traces_spans
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the CloudTrace service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client