Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

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

Defines 27 classes

Google_Service_CloudMonitoring:: (1 method):
  __construct()

Google_Service_CloudMonitoring_MetricDescriptors_Resource:: (3 methods):
  create()
  delete()
  listMetricDescriptors()

Google_Service_CloudMonitoring_Timeseries_Resource:: (2 methods):
  listTimeseries()
  write()

Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource:: (1 method):
  listTimeseriesDescriptors()

Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse:: (2 methods):
  setKind()
  getKind()

Google_Service_CloudMonitoring_ListMetricDescriptorsRequest:: (2 methods):
  setKind()
  getKind()

Google_Service_CloudMonitoring_ListMetricDescriptorsResponse:: (6 methods):
  setKind()
  getKind()
  setMetrics()
  getMetrics()
  setNextPageToken()
  getNextPageToken()

Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest:: (2 methods):
  setKind()
  getKind()

Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse:: (10 methods):
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setOldest()
  getOldest()
  setTimeseries()
  getTimeseries()
  setYoungest()
  getYoungest()

Google_Service_CloudMonitoring_ListTimeseriesRequest:: (2 methods):
  setKind()
  getKind()

Google_Service_CloudMonitoring_ListTimeseriesResponse:: (10 methods):
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setOldest()
  getOldest()
  setTimeseries()
  getTimeseries()
  setYoungest()
  getYoungest()

Google_Service_CloudMonitoring_MetricDescriptor:: (10 methods):
  setDescription()
  getDescription()
  setLabels()
  getLabels()
  setName()
  getName()
  setProject()
  getProject()
  setTypeDescriptor()
  getTypeDescriptor()

Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor:: (4 methods):
  setDescription()
  getDescription()
  setKey()
  getKey()

Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor:: (4 methods):
  setMetricType()
  getMetricType()
  setValueType()
  getValueType()

Google_Service_CloudMonitoring_Point:: (14 methods):
  setBoolValue()
  getBoolValue()
  setDistributionValue()
  getDistributionValue()
  setDoubleValue()
  getDoubleValue()
  setEnd()
  getEnd()
  setInt64Value()
  getInt64Value()
  setStart()
  getStart()
  setStringValue()
  getStringValue()

Google_Service_CloudMonitoring_PointDistribution:: (6 methods):
  setBuckets()
  getBuckets()
  setOverflowBucket()
  getOverflowBucket()
  setUnderflowBucket()
  getUnderflowBucket()

Google_Service_CloudMonitoring_PointDistributionBucket:: (6 methods):
  setCount()
  getCount()
  setLowerBound()
  getLowerBound()
  setUpperBound()
  getUpperBound()

Google_Service_CloudMonitoring_PointDistributionOverflowBucket:: (4 methods):
  setCount()
  getCount()
  setLowerBound()
  getLowerBound()

Google_Service_CloudMonitoring_PointDistributionUnderflowBucket:: (4 methods):
  setCount()
  getCount()
  setUpperBound()
  getUpperBound()

Google_Service_CloudMonitoring_Timeseries:: (4 methods):
  setPoints()
  getPoints()
  setTimeseriesDesc()
  getTimeseriesDesc()

Google_Service_CloudMonitoring_TimeseriesDescriptor:: (6 methods):
  setLabels()
  getLabels()
  setMetric()
  getMetric()
  setProject()
  getProject()

Google_Service_CloudMonitoring_TimeseriesDescriptorLabel:: (4 methods):
  setKey()
  getKey()
  setValue()
  getValue()

Google_Service_CloudMonitoring_TimeseriesDescriptorLabels:: (0 methods):

Google_Service_CloudMonitoring_TimeseriesPoint:: (4 methods):
  setPoint()
  getPoint()
  setTimeseriesDesc()
  getTimeseriesDesc()

Google_Service_CloudMonitoring_WriteTimeseriesRequest:: (4 methods):
  setCommonLabels()
  getCommonLabels()
  setTimeseries()
  getTimeseries()

Google_Service_CloudMonitoring_WriteTimeseriesRequestCommonLabels:: (0 methods):

Google_Service_CloudMonitoring_WriteTimeseriesResponse:: (2 methods):
  setKind()
  getKind()


Class: Google_Service_CloudMonitoring  - X-Ref

Service definition for CloudMonitoring (v2beta2).

<p>
API for accessing Google Cloud and API monitoring data.</p>

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

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

param: Google_Client $client

Class: Google_Service_CloudMonitoring_MetricDescriptors_Resource  - X-Ref

The "metricDescriptors" collection of methods.
Typical usage is:
<code>
$cloudmonitoringService = new Google_Service_CloudMonitoring(...);
$metricDescriptors = $cloudmonitoringService->metricDescriptors;
</code>

create($project, Google_Service_CloudMonitoring_MetricDescriptor $postBody, $optParams = array()   X-Ref
Create a new metric. (metricDescriptors.create)

param: string $project The project id. The value can be the numeric project
param: Google_MetricDescriptor $postBody
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_MetricDescriptor

delete($project, $metric, $optParams = array()   X-Ref
Delete an existing metric. (metricDescriptors.delete)

param: string $project The project ID to which the metric belongs.
param: string $metric Name of the metric.
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse

listMetricDescriptors($project, $optParams = array()   X-Ref
List metric descriptors that match the query. If the query is not set, then
all of the metric descriptors will be returned. Large responses will be
paginated, use the nextPageToken returned in the response to request
subsequent pages of results by setting the pageToken query parameter to the
value of the nextPageToken. (metricDescriptors.listMetricDescriptors)

param: string $project The project id. The value can be the numeric project
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_ListMetricDescriptorsResponse

Class: Google_Service_CloudMonitoring_Timeseries_Resource  - X-Ref

The "timeseries" collection of methods.
Typical usage is:
<code>
$cloudmonitoringService = new Google_Service_CloudMonitoring(...);
$timeseries = $cloudmonitoringService->timeseries;
</code>

listTimeseries($project, $metric, $youngest, $optParams = array()   X-Ref
List the data points of the time series that match the metric and labels
values and that have data points in the interval. Large responses are
paginated; use the nextPageToken returned in the response to request
subsequent pages of results by setting the pageToken query parameter to the
value of the nextPageToken. (timeseries.listTimeseries)

param: string $project The project ID to which this time series belongs. The
param: string $metric Metric names are protocol-free URLs as listed in the
param: string $youngest End of the time interval (inclusive), which is
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_ListTimeseriesResponse

write($project, Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody, $optParams = array()   X-Ref
Put data points to one or more time series for one or more metrics. If a time
series does not exist, a new time series will be created. It is not allowed
to write a time series point that is older than the existing youngest point
of that time series. Points that are older than the existing youngest point
of that time series will be discarded silently. Therefore, users should make
sure that points of a time series are written sequentially in the order of
their end time. (timeseries.write)

param: string $project The project ID. The value can be the numeric project
param: Google_WriteTimeseriesRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_WriteTimeseriesResponse

Class: Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource  - X-Ref

The "timeseriesDescriptors" collection of methods.
Typical usage is:
<code>
$cloudmonitoringService = new Google_Service_CloudMonitoring(...);
$timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
</code>

listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array()   X-Ref
List the descriptors of the time series that match the metric and labels
values and that have data points in the interval. Large responses are
paginated; use the nextPageToken returned in the response to request
subsequent pages of results by setting the pageToken query parameter to the
value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)

param: string $project The project ID to which this time series belongs. The
param: string $metric Metric names are protocol-free URLs as listed in the
param: string $youngest End of the time interval (inclusive), which is
param: array $optParams Optional parameters.
return: Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse

Class: Google_Service_CloudMonitoring_ListMetricDescriptorsResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setMetrics($metrics)   X-Ref
No description

getMetrics()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setOldest($oldest)   X-Ref
No description

getOldest()   X-Ref
No description

setTimeseries($timeseries)   X-Ref
No description

getTimeseries()   X-Ref
No description

setYoungest($youngest)   X-Ref
No description

getYoungest()   X-Ref
No description

Class: Google_Service_CloudMonitoring_ListTimeseriesRequest  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_CloudMonitoring_ListTimeseriesResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setOldest($oldest)   X-Ref
No description

getOldest()   X-Ref
No description

setTimeseries($timeseries)   X-Ref
No description

getTimeseries()   X-Ref
No description

setYoungest($youngest)   X-Ref
No description

getYoungest()   X-Ref
No description

Class: Google_Service_CloudMonitoring_MetricDescriptor  - X-Ref

setDescription($description)   X-Ref
No description

getDescription()   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

setProject($project)   X-Ref
No description

getProject()   X-Ref
No description

setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)   X-Ref
No description

getTypeDescriptor()   X-Ref
No description

Class: Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor  - X-Ref

setDescription($description)   X-Ref
No description

getDescription()   X-Ref
No description

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

Class: Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor  - X-Ref

setMetricType($metricType)   X-Ref
No description

getMetricType()   X-Ref
No description

setValueType($valueType)   X-Ref
No description

getValueType()   X-Ref
No description

Class: Google_Service_CloudMonitoring_Point  - X-Ref

setBoolValue($boolValue)   X-Ref
No description

getBoolValue()   X-Ref
No description

setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue)   X-Ref
No description

getDistributionValue()   X-Ref
No description

setDoubleValue($doubleValue)   X-Ref
No description

getDoubleValue()   X-Ref
No description

setEnd($end)   X-Ref
No description

getEnd()   X-Ref
No description

setInt64Value($int64Value)   X-Ref
No description

getInt64Value()   X-Ref
No description

setStart($start)   X-Ref
No description

getStart()   X-Ref
No description

setStringValue($stringValue)   X-Ref
No description

getStringValue()   X-Ref
No description

Class: Google_Service_CloudMonitoring_PointDistribution  - X-Ref

setBuckets($buckets)   X-Ref
No description

getBuckets()   X-Ref
No description

setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)   X-Ref
No description

getOverflowBucket()   X-Ref
No description

setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)   X-Ref
No description

getUnderflowBucket()   X-Ref
No description

Class: Google_Service_CloudMonitoring_PointDistributionBucket  - X-Ref

setCount($count)   X-Ref
No description

getCount()   X-Ref
No description

setLowerBound($lowerBound)   X-Ref
No description

getLowerBound()   X-Ref
No description

setUpperBound($upperBound)   X-Ref
No description

getUpperBound()   X-Ref
No description

Class: Google_Service_CloudMonitoring_PointDistributionOverflowBucket  - X-Ref

setCount($count)   X-Ref
No description

getCount()   X-Ref
No description

setLowerBound($lowerBound)   X-Ref
No description

getLowerBound()   X-Ref
No description

Class: Google_Service_CloudMonitoring_PointDistributionUnderflowBucket  - X-Ref

setCount($count)   X-Ref
No description

getCount()   X-Ref
No description

setUpperBound($upperBound)   X-Ref
No description

getUpperBound()   X-Ref
No description

Class: Google_Service_CloudMonitoring_Timeseries  - X-Ref

setPoints($points)   X-Ref
No description

getPoints()   X-Ref
No description

setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)   X-Ref
No description

getTimeseriesDesc()   X-Ref
No description

Class: Google_Service_CloudMonitoring_TimeseriesDescriptor  - X-Ref

setLabels($labels)   X-Ref
No description

getLabels()   X-Ref
No description

setMetric($metric)   X-Ref
No description

getMetric()   X-Ref
No description

setProject($project)   X-Ref
No description

getProject()   X-Ref
No description

Class: Google_Service_CloudMonitoring_TimeseriesDescriptorLabel  - X-Ref

setKey($key)   X-Ref
No description

getKey()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_CloudMonitoring_TimeseriesPoint  - X-Ref

setPoint(Google_Service_CloudMonitoring_Point $point)   X-Ref
No description

getPoint()   X-Ref
No description

setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)   X-Ref
No description

getTimeseriesDesc()   X-Ref
No description

Class: Google_Service_CloudMonitoring_WriteTimeseriesRequest  - X-Ref

setCommonLabels($commonLabels)   X-Ref
No description

getCommonLabels()   X-Ref
No description

setTimeseries($timeseries)   X-Ref
No description

getTimeseries()   X-Ref
No description

Class: Google_Service_CloudMonitoring_WriteTimeseriesResponse  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description