class Monitoring extends Service (View source)

Service definition for Monitoring (v3).

Manages your Cloud Monitoring data and configurations.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

MONITORING

View and write monitoring data for all of your Google and third-party Cloud and API projects.

MONITORING_READ

View monitoring data for all of your Google Cloud and third-party projects.

MONITORING_WRITE

Publish metric data to your Google Cloud projects.

Properties

$folders_timeSeries
$organizations_timeSeries
$projects_alertPolicies
$projects_collectdTimeSeries
$projects_groups
$projects_groups_members
$projects_metricDescriptors
$projects_monitoredResourceDescriptors
$projects_notificationChannelDescriptors
$projects_notificationChannels
$projects_snoozes
$projects_timeSeries
$projects_uptimeCheckConfigs
$services
$services_serviceLevelObjectives
$uptimeCheckIps
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Monitoring service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Monitoring service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.