Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Aggregation extends \Google\Collection
{
protected $collection_key = 'groupByFields';
/**
* @var string
*/
public $alignmentPeriod;
/**
* @var string
*/
public $crossSeriesReducer;
/**
* @var string[]
*/
public $groupByFields;
/**
* @var string
*/
public $perSeriesAligner;
/**
* @param string
*/
public function setAlignmentPeriod($alignmentPeriod)
{
$this->alignmentPeriod = $alignmentPeriod;
}
/**
* @return string
*/
public function getAlignmentPeriod()
{
return $this->alignmentPeriod;
}
/**
* @param string
*/
public function setCrossSeriesReducer($crossSeriesReducer)
{
$this->crossSeriesReducer = $crossSeriesReducer;
}
/**
* @return string
*/
public function getCrossSeriesReducer()
{
return $this->crossSeriesReducer;
}
/**
* @param string[]
*/
public function setGroupByFields($groupByFields)
{
$this->groupByFields = $groupByFields;
}
/**
* @return string[]
*/
public function getGroupByFields()
{
return $this->groupByFields;
}
/**
* @param string
*/
public function setPerSeriesAligner($perSeriesAligner)
{
$this->perSeriesAligner = $perSeriesAligner;
}
/**
* @return string
*/
public function getPerSeriesAligner()
{
return $this->perSeriesAligner;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Aggregation::class, 'Google_Service_Monitoring_Aggregation');

View File

@@ -0,0 +1,249 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class AlertPolicy extends \Google\Collection
{
protected $collection_key = 'notificationChannels';
protected $alertStrategyType = AlertStrategy::class;
protected $alertStrategyDataType = '';
/**
* @var string
*/
public $combiner;
protected $conditionsType = Condition::class;
protected $conditionsDataType = 'array';
protected $creationRecordType = MutationRecord::class;
protected $creationRecordDataType = '';
/**
* @var string
*/
public $displayName;
protected $documentationType = Documentation::class;
protected $documentationDataType = '';
/**
* @var bool
*/
public $enabled;
protected $mutationRecordType = MutationRecord::class;
protected $mutationRecordDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $notificationChannels;
/**
* @var string
*/
public $severity;
/**
* @var string[]
*/
public $userLabels;
protected $validityType = Status::class;
protected $validityDataType = '';
/**
* @param AlertStrategy
*/
public function setAlertStrategy(AlertStrategy $alertStrategy)
{
$this->alertStrategy = $alertStrategy;
}
/**
* @return AlertStrategy
*/
public function getAlertStrategy()
{
return $this->alertStrategy;
}
/**
* @param string
*/
public function setCombiner($combiner)
{
$this->combiner = $combiner;
}
/**
* @return string
*/
public function getCombiner()
{
return $this->combiner;
}
/**
* @param Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param MutationRecord
*/
public function setCreationRecord(MutationRecord $creationRecord)
{
$this->creationRecord = $creationRecord;
}
/**
* @return MutationRecord
*/
public function getCreationRecord()
{
return $this->creationRecord;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Documentation
*/
public function setDocumentation(Documentation $documentation)
{
$this->documentation = $documentation;
}
/**
* @return Documentation
*/
public function getDocumentation()
{
return $this->documentation;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param MutationRecord
*/
public function setMutationRecord(MutationRecord $mutationRecord)
{
$this->mutationRecord = $mutationRecord;
}
/**
* @return MutationRecord
*/
public function getMutationRecord()
{
return $this->mutationRecord;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setNotificationChannels($notificationChannels)
{
$this->notificationChannels = $notificationChannels;
}
/**
* @return string[]
*/
public function getNotificationChannels()
{
return $this->notificationChannels;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string[]
*/
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
/**
* @return string[]
*/
public function getUserLabels()
{
return $this->userLabels;
}
/**
* @param Status
*/
public function setValidity(Status $validity)
{
$this->validity = $validity;
}
/**
* @return Status
*/
public function getValidity()
{
return $this->validity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlertPolicy::class, 'Google_Service_Monitoring_AlertPolicy');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class AlertStrategy extends \Google\Collection
{
protected $collection_key = 'notificationPrompts';
/**
* @var string
*/
public $autoClose;
protected $notificationChannelStrategyType = NotificationChannelStrategy::class;
protected $notificationChannelStrategyDataType = 'array';
/**
* @var string[]
*/
public $notificationPrompts;
protected $notificationRateLimitType = NotificationRateLimit::class;
protected $notificationRateLimitDataType = '';
/**
* @param string
*/
public function setAutoClose($autoClose)
{
$this->autoClose = $autoClose;
}
/**
* @return string
*/
public function getAutoClose()
{
return $this->autoClose;
}
/**
* @param NotificationChannelStrategy[]
*/
public function setNotificationChannelStrategy($notificationChannelStrategy)
{
$this->notificationChannelStrategy = $notificationChannelStrategy;
}
/**
* @return NotificationChannelStrategy[]
*/
public function getNotificationChannelStrategy()
{
return $this->notificationChannelStrategy;
}
/**
* @param string[]
*/
public function setNotificationPrompts($notificationPrompts)
{
$this->notificationPrompts = $notificationPrompts;
}
/**
* @return string[]
*/
public function getNotificationPrompts()
{
return $this->notificationPrompts;
}
/**
* @param NotificationRateLimit
*/
public function setNotificationRateLimit(NotificationRateLimit $notificationRateLimit)
{
$this->notificationRateLimit = $notificationRateLimit;
}
/**
* @return NotificationRateLimit
*/
public function getNotificationRateLimit()
{
return $this->notificationRateLimit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AlertStrategy::class, 'Google_Service_Monitoring_AlertStrategy');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class AppEngine extends \Google\Model
{
/**
* @var string
*/
public $moduleId;
/**
* @param string
*/
public function setModuleId($moduleId)
{
$this->moduleId = $moduleId;
}
/**
* @return string
*/
public function getModuleId()
{
return $this->moduleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppEngine::class, 'Google_Service_Monitoring_AppEngine');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class AvailabilityCriteria extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AvailabilityCriteria::class, 'Google_Service_Monitoring_AvailabilityCriteria');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class BasicAuthentication extends \Google\Model
{
/**
* @var string
*/
public $password;
/**
* @var string
*/
public $username;
/**
* @param string
*/
public function setPassword($password)
{
$this->password = $password;
}
/**
* @return string
*/
public function getPassword()
{
return $this->password;
}
/**
* @param string
*/
public function setUsername($username)
{
$this->username = $username;
}
/**
* @return string
*/
public function getUsername()
{
return $this->username;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicAuthentication::class, 'Google_Service_Monitoring_BasicAuthentication');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class BasicService extends \Google\Model
{
/**
* @var string[]
*/
public $serviceLabels;
/**
* @var string
*/
public $serviceType;
/**
* @param string[]
*/
public function setServiceLabels($serviceLabels)
{
$this->serviceLabels = $serviceLabels;
}
/**
* @return string[]
*/
public function getServiceLabels()
{
return $this->serviceLabels;
}
/**
* @param string
*/
public function setServiceType($serviceType)
{
$this->serviceType = $serviceType;
}
/**
* @return string
*/
public function getServiceType()
{
return $this->serviceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicService::class, 'Google_Service_Monitoring_BasicService');

View File

@@ -0,0 +1,113 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class BasicSli extends \Google\Collection
{
protected $collection_key = 'version';
protected $availabilityType = AvailabilityCriteria::class;
protected $availabilityDataType = '';
protected $latencyType = LatencyCriteria::class;
protected $latencyDataType = '';
/**
* @var string[]
*/
public $location;
/**
* @var string[]
*/
public $method;
/**
* @var string[]
*/
public $version;
/**
* @param AvailabilityCriteria
*/
public function setAvailability(AvailabilityCriteria $availability)
{
$this->availability = $availability;
}
/**
* @return AvailabilityCriteria
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param LatencyCriteria
*/
public function setLatency(LatencyCriteria $latency)
{
$this->latency = $latency;
}
/**
* @return LatencyCriteria
*/
public function getLatency()
{
return $this->latency;
}
/**
* @param string[]
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string[]
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string[]
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string[]
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string[]
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string[]
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicSli::class, 'Google_Service_Monitoring_BasicSli');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class BooleanTest extends \Google\Model
{
/**
* @var string
*/
public $column;
/**
* @param string
*/
public function setColumn($column)
{
$this->column = $column;
}
/**
* @return string
*/
public function getColumn()
{
return $this->column;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BooleanTest::class, 'Google_Service_Monitoring_BooleanTest');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class BucketOptions extends \Google\Model
{
protected $explicitBucketsType = Explicit::class;
protected $explicitBucketsDataType = '';
protected $exponentialBucketsType = Exponential::class;
protected $exponentialBucketsDataType = '';
protected $linearBucketsType = Linear::class;
protected $linearBucketsDataType = '';
/**
* @param Explicit
*/
public function setExplicitBuckets(Explicit $explicitBuckets)
{
$this->explicitBuckets = $explicitBuckets;
}
/**
* @return Explicit
*/
public function getExplicitBuckets()
{
return $this->explicitBuckets;
}
/**
* @param Exponential
*/
public function setExponentialBuckets(Exponential $exponentialBuckets)
{
$this->exponentialBuckets = $exponentialBuckets;
}
/**
* @return Exponential
*/
public function getExponentialBuckets()
{
return $this->exponentialBuckets;
}
/**
* @param Linear
*/
public function setLinearBuckets(Linear $linearBuckets)
{
$this->linearBuckets = $linearBuckets;
}
/**
* @return Linear
*/
public function getLinearBuckets()
{
return $this->linearBuckets;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BucketOptions::class, 'Google_Service_Monitoring_BucketOptions');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CloudEndpoints extends \Google\Model
{
/**
* @var string
*/
public $service;
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudEndpoints::class, 'Google_Service_Monitoring_CloudEndpoints');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CloudFunctionV2Target extends \Google\Model
{
protected $cloudRunRevisionType = MonitoredResource::class;
protected $cloudRunRevisionDataType = '';
/**
* @var string
*/
public $name;
/**
* @param MonitoredResource
*/
public function setCloudRunRevision(MonitoredResource $cloudRunRevision)
{
$this->cloudRunRevision = $cloudRunRevision;
}
/**
* @return MonitoredResource
*/
public function getCloudRunRevision()
{
return $this->cloudRunRevision;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudFunctionV2Target::class, 'Google_Service_Monitoring_CloudFunctionV2Target');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CloudRun extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $serviceName;
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudRun::class, 'Google_Service_Monitoring_CloudRun');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ClusterIstio extends \Google\Model
{
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $serviceName;
/**
* @var string
*/
public $serviceNamespace;
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
/**
* @param string
*/
public function setServiceNamespace($serviceNamespace)
{
$this->serviceNamespace = $serviceNamespace;
}
/**
* @return string
*/
public function getServiceNamespace()
{
return $this->serviceNamespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ClusterIstio::class, 'Google_Service_Monitoring_ClusterIstio');

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CollectdPayload extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $endTime;
protected $metadataType = TypedValue::class;
protected $metadataDataType = 'map';
/**
* @var string
*/
public $plugin;
/**
* @var string
*/
public $pluginInstance;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $typeInstance;
protected $valuesType = CollectdValue::class;
protected $valuesDataType = 'array';
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param TypedValue[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return TypedValue[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setPlugin($plugin)
{
$this->plugin = $plugin;
}
/**
* @return string
*/
public function getPlugin()
{
return $this->plugin;
}
/**
* @param string
*/
public function setPluginInstance($pluginInstance)
{
$this->pluginInstance = $pluginInstance;
}
/**
* @return string
*/
public function getPluginInstance()
{
return $this->pluginInstance;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setTypeInstance($typeInstance)
{
$this->typeInstance = $typeInstance;
}
/**
* @return string
*/
public function getTypeInstance()
{
return $this->typeInstance;
}
/**
* @param CollectdValue[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return CollectdValue[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectdPayload::class, 'Google_Service_Monitoring_CollectdPayload');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CollectdPayloadError extends \Google\Collection
{
protected $collection_key = 'valueErrors';
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var int
*/
public $index;
protected $valueErrorsType = CollectdValueError::class;
protected $valueErrorsDataType = 'array';
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* @param CollectdValueError[]
*/
public function setValueErrors($valueErrors)
{
$this->valueErrors = $valueErrors;
}
/**
* @return CollectdValueError[]
*/
public function getValueErrors()
{
return $this->valueErrors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectdPayloadError::class, 'Google_Service_Monitoring_CollectdPayloadError');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CollectdValue extends \Google\Model
{
/**
* @var string
*/
public $dataSourceName;
/**
* @var string
*/
public $dataSourceType;
protected $valueType = TypedValue::class;
protected $valueDataType = '';
/**
* @param string
*/
public function setDataSourceName($dataSourceName)
{
$this->dataSourceName = $dataSourceName;
}
/**
* @return string
*/
public function getDataSourceName()
{
return $this->dataSourceName;
}
/**
* @param string
*/
public function setDataSourceType($dataSourceType)
{
$this->dataSourceType = $dataSourceType;
}
/**
* @return string
*/
public function getDataSourceType()
{
return $this->dataSourceType;
}
/**
* @param TypedValue
*/
public function setValue(TypedValue $value)
{
$this->value = $value;
}
/**
* @return TypedValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectdValue::class, 'Google_Service_Monitoring_CollectdValue');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CollectdValueError extends \Google\Model
{
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var int
*/
public $index;
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CollectdValueError::class, 'Google_Service_Monitoring_CollectdValueError');

View File

@@ -0,0 +1,158 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Condition extends \Google\Model
{
protected $conditionAbsentType = MetricAbsence::class;
protected $conditionAbsentDataType = '';
protected $conditionMatchedLogType = LogMatch::class;
protected $conditionMatchedLogDataType = '';
protected $conditionMonitoringQueryLanguageType = MonitoringQueryLanguageCondition::class;
protected $conditionMonitoringQueryLanguageDataType = '';
protected $conditionPrometheusQueryLanguageType = PrometheusQueryLanguageCondition::class;
protected $conditionPrometheusQueryLanguageDataType = '';
protected $conditionSqlType = SqlCondition::class;
protected $conditionSqlDataType = '';
protected $conditionThresholdType = MetricThreshold::class;
protected $conditionThresholdDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @param MetricAbsence
*/
public function setConditionAbsent(MetricAbsence $conditionAbsent)
{
$this->conditionAbsent = $conditionAbsent;
}
/**
* @return MetricAbsence
*/
public function getConditionAbsent()
{
return $this->conditionAbsent;
}
/**
* @param LogMatch
*/
public function setConditionMatchedLog(LogMatch $conditionMatchedLog)
{
$this->conditionMatchedLog = $conditionMatchedLog;
}
/**
* @return LogMatch
*/
public function getConditionMatchedLog()
{
return $this->conditionMatchedLog;
}
/**
* @param MonitoringQueryLanguageCondition
*/
public function setConditionMonitoringQueryLanguage(MonitoringQueryLanguageCondition $conditionMonitoringQueryLanguage)
{
$this->conditionMonitoringQueryLanguage = $conditionMonitoringQueryLanguage;
}
/**
* @return MonitoringQueryLanguageCondition
*/
public function getConditionMonitoringQueryLanguage()
{
return $this->conditionMonitoringQueryLanguage;
}
/**
* @param PrometheusQueryLanguageCondition
*/
public function setConditionPrometheusQueryLanguage(PrometheusQueryLanguageCondition $conditionPrometheusQueryLanguage)
{
$this->conditionPrometheusQueryLanguage = $conditionPrometheusQueryLanguage;
}
/**
* @return PrometheusQueryLanguageCondition
*/
public function getConditionPrometheusQueryLanguage()
{
return $this->conditionPrometheusQueryLanguage;
}
/**
* @param SqlCondition
*/
public function setConditionSql(SqlCondition $conditionSql)
{
$this->conditionSql = $conditionSql;
}
/**
* @return SqlCondition
*/
public function getConditionSql()
{
return $this->conditionSql;
}
/**
* @param MetricThreshold
*/
public function setConditionThreshold(MetricThreshold $conditionThreshold)
{
$this->conditionThreshold = $conditionThreshold;
}
/**
* @return MetricThreshold
*/
public function getConditionThreshold()
{
return $this->conditionThreshold;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Condition::class, 'Google_Service_Monitoring_Condition');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ContentMatcher extends \Google\Model
{
/**
* @var string
*/
public $content;
protected $jsonPathMatcherType = JsonPathMatcher::class;
protected $jsonPathMatcherDataType = '';
/**
* @var string
*/
public $matcher;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param JsonPathMatcher
*/
public function setJsonPathMatcher(JsonPathMatcher $jsonPathMatcher)
{
$this->jsonPathMatcher = $jsonPathMatcher;
}
/**
* @return JsonPathMatcher
*/
public function getJsonPathMatcher()
{
return $this->jsonPathMatcher;
}
/**
* @param string
*/
public function setMatcher($matcher)
{
$this->matcher = $matcher;
}
/**
* @return string
*/
public function getMatcher()
{
return $this->matcher;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContentMatcher::class, 'Google_Service_Monitoring_ContentMatcher');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CreateCollectdTimeSeriesRequest extends \Google\Collection
{
protected $collection_key = 'collectdPayloads';
protected $collectdPayloadsType = CollectdPayload::class;
protected $collectdPayloadsDataType = 'array';
/**
* @var string
*/
public $collectdVersion;
protected $resourceType = MonitoredResource::class;
protected $resourceDataType = '';
/**
* @param CollectdPayload[]
*/
public function setCollectdPayloads($collectdPayloads)
{
$this->collectdPayloads = $collectdPayloads;
}
/**
* @return CollectdPayload[]
*/
public function getCollectdPayloads()
{
return $this->collectdPayloads;
}
/**
* @param string
*/
public function setCollectdVersion($collectdVersion)
{
$this->collectdVersion = $collectdVersion;
}
/**
* @return string
*/
public function getCollectdVersion()
{
return $this->collectdVersion;
}
/**
* @param MonitoredResource
*/
public function setResource(MonitoredResource $resource)
{
$this->resource = $resource;
}
/**
* @return MonitoredResource
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateCollectdTimeSeriesRequest::class, 'Google_Service_Monitoring_CreateCollectdTimeSeriesRequest');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CreateCollectdTimeSeriesResponse extends \Google\Collection
{
protected $collection_key = 'payloadErrors';
protected $payloadErrorsType = CollectdPayloadError::class;
protected $payloadErrorsDataType = 'array';
protected $summaryType = CreateTimeSeriesSummary::class;
protected $summaryDataType = '';
/**
* @param CollectdPayloadError[]
*/
public function setPayloadErrors($payloadErrors)
{
$this->payloadErrors = $payloadErrors;
}
/**
* @return CollectdPayloadError[]
*/
public function getPayloadErrors()
{
return $this->payloadErrors;
}
/**
* @param CreateTimeSeriesSummary
*/
public function setSummary(CreateTimeSeriesSummary $summary)
{
$this->summary = $summary;
}
/**
* @return CreateTimeSeriesSummary
*/
public function getSummary()
{
return $this->summary;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateCollectdTimeSeriesResponse::class, 'Google_Service_Monitoring_CreateCollectdTimeSeriesResponse');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CreateTimeSeriesRequest extends \Google\Collection
{
protected $collection_key = 'timeSeries';
protected $timeSeriesType = TimeSeries::class;
protected $timeSeriesDataType = 'array';
/**
* @param TimeSeries[]
*/
public function setTimeSeries($timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return TimeSeries[]
*/
public function getTimeSeries()
{
return $this->timeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateTimeSeriesRequest::class, 'Google_Service_Monitoring_CreateTimeSeriesRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class CreateTimeSeriesSummary extends \Google\Collection
{
protected $collection_key = 'errors';
protected $errorsType = Error::class;
protected $errorsDataType = 'array';
/**
* @var int
*/
public $successPointCount;
/**
* @var int
*/
public $totalPointCount;
/**
* @param Error[]
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return Error[]
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param int
*/
public function setSuccessPointCount($successPointCount)
{
$this->successPointCount = $successPointCount;
}
/**
* @return int
*/
public function getSuccessPointCount()
{
return $this->successPointCount;
}
/**
* @param int
*/
public function setTotalPointCount($totalPointCount)
{
$this->totalPointCount = $totalPointCount;
}
/**
* @return int
*/
public function getTotalPointCount()
{
return $this->totalPointCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateTimeSeriesSummary::class, 'Google_Service_Monitoring_CreateTimeSeriesSummary');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Criteria extends \Google\Collection
{
protected $collection_key = 'policies';
/**
* @var string[]
*/
public $policies;
/**
* @param string[]
*/
public function setPolicies($policies)
{
$this->policies = $policies;
}
/**
* @return string[]
*/
public function getPolicies()
{
return $this->policies;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Criteria::class, 'Google_Service_Monitoring_Criteria');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Custom extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Custom::class, 'Google_Service_Monitoring_Custom');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Daily extends \Google\Model
{
protected $executionTimeType = TimeOfDay::class;
protected $executionTimeDataType = '';
/**
* @var int
*/
public $periodicity;
/**
* @param TimeOfDay
*/
public function setExecutionTime(TimeOfDay $executionTime)
{
$this->executionTime = $executionTime;
}
/**
* @return TimeOfDay
*/
public function getExecutionTime()
{
return $this->executionTime;
}
/**
* @param int
*/
public function setPeriodicity($periodicity)
{
$this->periodicity = $periodicity;
}
/**
* @return int
*/
public function getPeriodicity()
{
return $this->periodicity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Daily::class, 'Google_Service_Monitoring_Daily');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Distribution extends \Google\Collection
{
protected $collection_key = 'exemplars';
/**
* @var string[]
*/
public $bucketCounts;
protected $bucketOptionsType = BucketOptions::class;
protected $bucketOptionsDataType = '';
/**
* @var string
*/
public $count;
protected $exemplarsType = Exemplar::class;
protected $exemplarsDataType = 'array';
public $mean;
protected $rangeType = Range::class;
protected $rangeDataType = '';
public $sumOfSquaredDeviation;
/**
* @param string[]
*/
public function setBucketCounts($bucketCounts)
{
$this->bucketCounts = $bucketCounts;
}
/**
* @return string[]
*/
public function getBucketCounts()
{
return $this->bucketCounts;
}
/**
* @param BucketOptions
*/
public function setBucketOptions(BucketOptions $bucketOptions)
{
$this->bucketOptions = $bucketOptions;
}
/**
* @return BucketOptions
*/
public function getBucketOptions()
{
return $this->bucketOptions;
}
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param Exemplar[]
*/
public function setExemplars($exemplars)
{
$this->exemplars = $exemplars;
}
/**
* @return Exemplar[]
*/
public function getExemplars()
{
return $this->exemplars;
}
public function setMean($mean)
{
$this->mean = $mean;
}
public function getMean()
{
return $this->mean;
}
/**
* @param Range
*/
public function setRange(Range $range)
{
$this->range = $range;
}
/**
* @return Range
*/
public function getRange()
{
return $this->range;
}
public function setSumOfSquaredDeviation($sumOfSquaredDeviation)
{
$this->sumOfSquaredDeviation = $sumOfSquaredDeviation;
}
public function getSumOfSquaredDeviation()
{
return $this->sumOfSquaredDeviation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Distribution::class, 'Google_Service_Monitoring_Distribution');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class DistributionCut extends \Google\Model
{
/**
* @var string
*/
public $distributionFilter;
protected $rangeType = GoogleMonitoringV3Range::class;
protected $rangeDataType = '';
/**
* @param string
*/
public function setDistributionFilter($distributionFilter)
{
$this->distributionFilter = $distributionFilter;
}
/**
* @return string
*/
public function getDistributionFilter()
{
return $this->distributionFilter;
}
/**
* @param GoogleMonitoringV3Range
*/
public function setRange(GoogleMonitoringV3Range $range)
{
$this->range = $range;
}
/**
* @return GoogleMonitoringV3Range
*/
public function getRange()
{
return $this->range;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DistributionCut::class, 'Google_Service_Monitoring_DistributionCut');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Documentation extends \Google\Collection
{
protected $collection_key = 'links';
/**
* @var string
*/
public $content;
protected $linksType = Link::class;
protected $linksDataType = 'array';
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $subject;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param Link[]
*/
public function setLinks($links)
{
$this->links = $links;
}
/**
* @return Link[]
*/
public function getLinks()
{
return $this->links;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Documentation::class, 'Google_Service_Monitoring_Documentation');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class DroppedLabels extends \Google\Model
{
/**
* @var string[]
*/
public $label;
/**
* @param string[]
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string[]
*/
public function getLabel()
{
return $this->label;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DroppedLabels::class, 'Google_Service_Monitoring_DroppedLabels');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Error extends \Google\Model
{
/**
* @var int
*/
public $pointCount;
protected $statusType = Status::class;
protected $statusDataType = '';
/**
* @param int
*/
public function setPointCount($pointCount)
{
$this->pointCount = $pointCount;
}
/**
* @return int
*/
public function getPointCount()
{
return $this->pointCount;
}
/**
* @param Status
*/
public function setStatus(Status $status)
{
$this->status = $status;
}
/**
* @return Status
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Error::class, 'Google_Service_Monitoring_Error');

View File

@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Exemplar extends \Google\Collection
{
protected $collection_key = 'attachments';
/**
* @var array[]
*/
public $attachments;
/**
* @var string
*/
public $timestamp;
public $value;
/**
* @param array[]
*/
public function setAttachments($attachments)
{
$this->attachments = $attachments;
}
/**
* @return array[]
*/
public function getAttachments()
{
return $this->attachments;
}
/**
* @param string
*/
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
/**
* @return string
*/
public function getTimestamp()
{
return $this->timestamp;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Exemplar::class, 'Google_Service_Monitoring_Exemplar');

View File

@@ -0,0 +1,36 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Explicit extends \Google\Collection
{
protected $collection_key = 'bounds';
public $bounds;
public function setBounds($bounds)
{
$this->bounds = $bounds;
}
public function getBounds()
{
return $this->bounds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Explicit::class, 'Google_Service_Monitoring_Explicit');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Exponential extends \Google\Model
{
public $growthFactor;
/**
* @var int
*/
public $numFiniteBuckets;
public $scale;
public function setGrowthFactor($growthFactor)
{
$this->growthFactor = $growthFactor;
}
public function getGrowthFactor()
{
return $this->growthFactor;
}
/**
* @param int
*/
public function setNumFiniteBuckets($numFiniteBuckets)
{
$this->numFiniteBuckets = $numFiniteBuckets;
}
/**
* @return int
*/
public function getNumFiniteBuckets()
{
return $this->numFiniteBuckets;
}
public function setScale($scale)
{
$this->scale = $scale;
}
public function getScale()
{
return $this->scale;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Exponential::class, 'Google_Service_Monitoring_Exponential');

View File

@@ -0,0 +1,205 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Field extends \Google\Collection
{
protected $collection_key = 'options';
/**
* @var string
*/
public $cardinality;
/**
* @var string
*/
public $defaultValue;
/**
* @var string
*/
public $jsonName;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $number;
/**
* @var int
*/
public $oneofIndex;
protected $optionsType = Option::class;
protected $optionsDataType = 'array';
/**
* @var bool
*/
public $packed;
/**
* @var string
*/
public $typeUrl;
/**
* @param string
*/
public function setCardinality($cardinality)
{
$this->cardinality = $cardinality;
}
/**
* @return string
*/
public function getCardinality()
{
return $this->cardinality;
}
/**
* @param string
*/
public function setDefaultValue($defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return string
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* @param string
*/
public function setJsonName($jsonName)
{
$this->jsonName = $jsonName;
}
/**
* @return string
*/
public function getJsonName()
{
return $this->jsonName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setNumber($number)
{
$this->number = $number;
}
/**
* @return int
*/
public function getNumber()
{
return $this->number;
}
/**
* @param int
*/
public function setOneofIndex($oneofIndex)
{
$this->oneofIndex = $oneofIndex;
}
/**
* @return int
*/
public function getOneofIndex()
{
return $this->oneofIndex;
}
/**
* @param Option[]
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Option[]
*/
public function getOptions()
{
return $this->options;
}
/**
* @param bool
*/
public function setPacked($packed)
{
$this->packed = $packed;
}
/**
* @return bool
*/
public function getPacked()
{
return $this->packed;
}
/**
* @param string
*/
public function setTypeUrl($typeUrl)
{
$this->typeUrl = $typeUrl;
}
/**
* @return string
*/
public function getTypeUrl()
{
return $this->typeUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Field::class, 'Google_Service_Monitoring_Field');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ForecastOptions extends \Google\Model
{
/**
* @var string
*/
public $forecastHorizon;
/**
* @param string
*/
public function setForecastHorizon($forecastHorizon)
{
$this->forecastHorizon = $forecastHorizon;
}
/**
* @return string
*/
public function getForecastHorizon()
{
return $this->forecastHorizon;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ForecastOptions::class, 'Google_Service_Monitoring_ForecastOptions');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GetNotificationChannelVerificationCodeRequest extends \Google\Model
{
/**
* @var string
*/
public $expireTime;
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetNotificationChannelVerificationCodeRequest::class, 'Google_Service_Monitoring_GetNotificationChannelVerificationCodeRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GetNotificationChannelVerificationCodeResponse extends \Google\Model
{
/**
* @var string
*/
public $code;
/**
* @var string
*/
public $expireTime;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetNotificationChannelVerificationCodeResponse::class, 'Google_Service_Monitoring_GetNotificationChannelVerificationCodeResponse');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GkeNamespace extends \Google\Model
{
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $namespaceName;
/**
* @var string
*/
public $projectId;
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setNamespaceName($namespaceName)
{
$this->namespaceName = $namespaceName;
}
/**
* @return string
*/
public function getNamespaceName()
{
return $this->namespaceName;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeNamespace::class, 'Google_Service_Monitoring_GkeNamespace');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GkeService extends \Google\Model
{
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $namespaceName;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $serviceName;
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setNamespaceName($namespaceName)
{
$this->namespaceName = $namespaceName;
}
/**
* @return string
*/
public function getNamespaceName()
{
return $this->namespaceName;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeService::class, 'Google_Service_Monitoring_GkeService');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GkeWorkload extends \Google\Model
{
/**
* @var string
*/
public $clusterName;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $namespaceName;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $topLevelControllerName;
/**
* @var string
*/
public $topLevelControllerType;
/**
* @param string
*/
public function setClusterName($clusterName)
{
$this->clusterName = $clusterName;
}
/**
* @return string
*/
public function getClusterName()
{
return $this->clusterName;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setNamespaceName($namespaceName)
{
$this->namespaceName = $namespaceName;
}
/**
* @return string
*/
public function getNamespaceName()
{
return $this->namespaceName;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setTopLevelControllerName($topLevelControllerName)
{
$this->topLevelControllerName = $topLevelControllerName;
}
/**
* @return string
*/
public function getTopLevelControllerName()
{
return $this->topLevelControllerName;
}
/**
* @param string
*/
public function setTopLevelControllerType($topLevelControllerType)
{
$this->topLevelControllerType = $topLevelControllerType;
}
/**
* @return string
*/
public function getTopLevelControllerType()
{
return $this->topLevelControllerType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GkeWorkload::class, 'Google_Service_Monitoring_GkeWorkload');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class GoogleMonitoringV3Range extends \Google\Model
{
public $max;
public $min;
public function setMax($max)
{
$this->max = $max;
}
public function getMax()
{
return $this->max;
}
public function setMin($min)
{
$this->min = $min;
}
public function getMin()
{
return $this->min;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleMonitoringV3Range::class, 'Google_Service_Monitoring_GoogleMonitoringV3Range');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Group extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $filter;
/**
* @var bool
*/
public $isCluster;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $parentName;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param bool
*/
public function setIsCluster($isCluster)
{
$this->isCluster = $isCluster;
}
/**
* @return bool
*/
public function getIsCluster()
{
return $this->isCluster;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setParentName($parentName)
{
$this->parentName = $parentName;
}
/**
* @return string
*/
public function getParentName()
{
return $this->parentName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Group::class, 'Google_Service_Monitoring_Group');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Hourly extends \Google\Model
{
/**
* @var int
*/
public $minuteOffset;
/**
* @var int
*/
public $periodicity;
/**
* @param int
*/
public function setMinuteOffset($minuteOffset)
{
$this->minuteOffset = $minuteOffset;
}
/**
* @return int
*/
public function getMinuteOffset()
{
return $this->minuteOffset;
}
/**
* @param int
*/
public function setPeriodicity($periodicity)
{
$this->periodicity = $periodicity;
}
/**
* @return int
*/
public function getPeriodicity()
{
return $this->periodicity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Hourly::class, 'Google_Service_Monitoring_Hourly');

View File

@@ -0,0 +1,271 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class HttpCheck extends \Google\Collection
{
protected $collection_key = 'acceptedResponseStatusCodes';
protected $acceptedResponseStatusCodesType = ResponseStatusCode::class;
protected $acceptedResponseStatusCodesDataType = 'array';
protected $authInfoType = BasicAuthentication::class;
protected $authInfoDataType = '';
/**
* @var string
*/
public $body;
/**
* @var string
*/
public $contentType;
/**
* @var string
*/
public $customContentType;
/**
* @var string[]
*/
public $headers;
/**
* @var bool
*/
public $maskHeaders;
/**
* @var string
*/
public $path;
protected $pingConfigType = PingConfig::class;
protected $pingConfigDataType = '';
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $requestMethod;
protected $serviceAgentAuthenticationType = ServiceAgentAuthentication::class;
protected $serviceAgentAuthenticationDataType = '';
/**
* @var bool
*/
public $useSsl;
/**
* @var bool
*/
public $validateSsl;
/**
* @param ResponseStatusCode[]
*/
public function setAcceptedResponseStatusCodes($acceptedResponseStatusCodes)
{
$this->acceptedResponseStatusCodes = $acceptedResponseStatusCodes;
}
/**
* @return ResponseStatusCode[]
*/
public function getAcceptedResponseStatusCodes()
{
return $this->acceptedResponseStatusCodes;
}
/**
* @param BasicAuthentication
*/
public function setAuthInfo(BasicAuthentication $authInfo)
{
$this->authInfo = $authInfo;
}
/**
* @return BasicAuthentication
*/
public function getAuthInfo()
{
return $this->authInfo;
}
/**
* @param string
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* @param string
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* @param string
*/
public function setCustomContentType($customContentType)
{
$this->customContentType = $customContentType;
}
/**
* @return string
*/
public function getCustomContentType()
{
return $this->customContentType;
}
/**
* @param string[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return string[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param bool
*/
public function setMaskHeaders($maskHeaders)
{
$this->maskHeaders = $maskHeaders;
}
/**
* @return bool
*/
public function getMaskHeaders()
{
return $this->maskHeaders;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param PingConfig
*/
public function setPingConfig(PingConfig $pingConfig)
{
$this->pingConfig = $pingConfig;
}
/**
* @return PingConfig
*/
public function getPingConfig()
{
return $this->pingConfig;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setRequestMethod($requestMethod)
{
$this->requestMethod = $requestMethod;
}
/**
* @return string
*/
public function getRequestMethod()
{
return $this->requestMethod;
}
/**
* @param ServiceAgentAuthentication
*/
public function setServiceAgentAuthentication(ServiceAgentAuthentication $serviceAgentAuthentication)
{
$this->serviceAgentAuthentication = $serviceAgentAuthentication;
}
/**
* @return ServiceAgentAuthentication
*/
public function getServiceAgentAuthentication()
{
return $this->serviceAgentAuthentication;
}
/**
* @param bool
*/
public function setUseSsl($useSsl)
{
$this->useSsl = $useSsl;
}
/**
* @return bool
*/
public function getUseSsl()
{
return $this->useSsl;
}
/**
* @param bool
*/
public function setValidateSsl($validateSsl)
{
$this->validateSsl = $validateSsl;
}
/**
* @return bool
*/
public function getValidateSsl()
{
return $this->validateSsl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpCheck::class, 'Google_Service_Monitoring_HttpCheck');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class InternalChecker extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $gcpZone;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $peerProjectId;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setGcpZone($gcpZone)
{
$this->gcpZone = $gcpZone;
}
/**
* @return string
*/
public function getGcpZone()
{
return $this->gcpZone;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setPeerProjectId($peerProjectId)
{
$this->peerProjectId = $peerProjectId;
}
/**
* @return string
*/
public function getPeerProjectId()
{
return $this->peerProjectId;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InternalChecker::class, 'Google_Service_Monitoring_InternalChecker');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class IstioCanonicalService extends \Google\Model
{
/**
* @var string
*/
public $canonicalService;
/**
* @var string
*/
public $canonicalServiceNamespace;
/**
* @var string
*/
public $meshUid;
/**
* @param string
*/
public function setCanonicalService($canonicalService)
{
$this->canonicalService = $canonicalService;
}
/**
* @return string
*/
public function getCanonicalService()
{
return $this->canonicalService;
}
/**
* @param string
*/
public function setCanonicalServiceNamespace($canonicalServiceNamespace)
{
$this->canonicalServiceNamespace = $canonicalServiceNamespace;
}
/**
* @return string
*/
public function getCanonicalServiceNamespace()
{
return $this->canonicalServiceNamespace;
}
/**
* @param string
*/
public function setMeshUid($meshUid)
{
$this->meshUid = $meshUid;
}
/**
* @return string
*/
public function getMeshUid()
{
return $this->meshUid;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IstioCanonicalService::class, 'Google_Service_Monitoring_IstioCanonicalService');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class JsonPathMatcher extends \Google\Model
{
/**
* @var string
*/
public $jsonMatcher;
/**
* @var string
*/
public $jsonPath;
/**
* @param string
*/
public function setJsonMatcher($jsonMatcher)
{
$this->jsonMatcher = $jsonMatcher;
}
/**
* @return string
*/
public function getJsonMatcher()
{
return $this->jsonMatcher;
}
/**
* @param string
*/
public function setJsonPath($jsonPath)
{
$this->jsonPath = $jsonPath;
}
/**
* @return string
*/
public function getJsonPath()
{
return $this->jsonPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(JsonPathMatcher::class, 'Google_Service_Monitoring_JsonPathMatcher');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class LabelDescriptor extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $valueType;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelDescriptor::class, 'Google_Service_Monitoring_LabelDescriptor');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class LabelValue extends \Google\Model
{
/**
* @var bool
*/
public $boolValue;
/**
* @var string
*/
public $int64Value;
/**
* @var string
*/
public $stringValue;
/**
* @param bool
*/
public function setBoolValue($boolValue)
{
$this->boolValue = $boolValue;
}
/**
* @return bool
*/
public function getBoolValue()
{
return $this->boolValue;
}
/**
* @param string
*/
public function setInt64Value($int64Value)
{
$this->int64Value = $int64Value;
}
/**
* @return string
*/
public function getInt64Value()
{
return $this->int64Value;
}
/**
* @param string
*/
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
/**
* @return string
*/
public function getStringValue()
{
return $this->stringValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LabelValue::class, 'Google_Service_Monitoring_LabelValue');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class LatencyCriteria extends \Google\Model
{
/**
* @var string
*/
public $threshold;
/**
* @param string
*/
public function setThreshold($threshold)
{
$this->threshold = $threshold;
}
/**
* @return string
*/
public function getThreshold()
{
return $this->threshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LatencyCriteria::class, 'Google_Service_Monitoring_LatencyCriteria');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Linear extends \Google\Model
{
/**
* @var int
*/
public $numFiniteBuckets;
public $offset;
public $width;
/**
* @param int
*/
public function setNumFiniteBuckets($numFiniteBuckets)
{
$this->numFiniteBuckets = $numFiniteBuckets;
}
/**
* @return int
*/
public function getNumFiniteBuckets()
{
return $this->numFiniteBuckets;
}
public function setOffset($offset)
{
$this->offset = $offset;
}
public function getOffset()
{
return $this->offset;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Linear::class, 'Google_Service_Monitoring_Linear');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Link extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Link::class, 'Google_Service_Monitoring_Link');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListAlertPoliciesResponse extends \Google\Collection
{
protected $collection_key = 'alertPolicies';
protected $alertPoliciesType = AlertPolicy::class;
protected $alertPoliciesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalSize;
/**
* @param AlertPolicy[]
*/
public function setAlertPolicies($alertPolicies)
{
$this->alertPolicies = $alertPolicies;
}
/**
* @return AlertPolicy[]
*/
public function getAlertPolicies()
{
return $this->alertPolicies;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListAlertPoliciesResponse::class, 'Google_Service_Monitoring_ListAlertPoliciesResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListGroupMembersResponse extends \Google\Collection
{
protected $collection_key = 'members';
protected $membersType = MonitoredResource::class;
protected $membersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalSize;
/**
* @param MonitoredResource[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return MonitoredResource[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGroupMembersResponse::class, 'Google_Service_Monitoring_ListGroupMembersResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListGroupsResponse extends \Google\Collection
{
protected $collection_key = 'group';
protected $groupType = Group::class;
protected $groupDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Group[]
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return Group[]
*/
public function getGroup()
{
return $this->group;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListGroupsResponse::class, 'Google_Service_Monitoring_ListGroupsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListMetricDescriptorsResponse extends \Google\Collection
{
protected $collection_key = 'metricDescriptors';
protected $metricDescriptorsType = MetricDescriptor::class;
protected $metricDescriptorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param MetricDescriptor[]
*/
public function setMetricDescriptors($metricDescriptors)
{
$this->metricDescriptors = $metricDescriptors;
}
/**
* @return MetricDescriptor[]
*/
public function getMetricDescriptors()
{
return $this->metricDescriptors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMetricDescriptorsResponse::class, 'Google_Service_Monitoring_ListMetricDescriptorsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListMonitoredResourceDescriptorsResponse extends \Google\Collection
{
protected $collection_key = 'resourceDescriptors';
/**
* @var string
*/
public $nextPageToken;
protected $resourceDescriptorsType = MonitoredResourceDescriptor::class;
protected $resourceDescriptorsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param MonitoredResourceDescriptor[]
*/
public function setResourceDescriptors($resourceDescriptors)
{
$this->resourceDescriptors = $resourceDescriptors;
}
/**
* @return MonitoredResourceDescriptor[]
*/
public function getResourceDescriptors()
{
return $this->resourceDescriptors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListMonitoredResourceDescriptorsResponse::class, 'Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListNotificationChannelDescriptorsResponse extends \Google\Collection
{
protected $collection_key = 'channelDescriptors';
protected $channelDescriptorsType = NotificationChannelDescriptor::class;
protected $channelDescriptorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param NotificationChannelDescriptor[]
*/
public function setChannelDescriptors($channelDescriptors)
{
$this->channelDescriptors = $channelDescriptors;
}
/**
* @return NotificationChannelDescriptor[]
*/
public function getChannelDescriptors()
{
return $this->channelDescriptors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNotificationChannelDescriptorsResponse::class, 'Google_Service_Monitoring_ListNotificationChannelDescriptorsResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListNotificationChannelsResponse extends \Google\Collection
{
protected $collection_key = 'notificationChannels';
/**
* @var string
*/
public $nextPageToken;
protected $notificationChannelsType = NotificationChannel::class;
protected $notificationChannelsDataType = 'array';
/**
* @var int
*/
public $totalSize;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param NotificationChannel[]
*/
public function setNotificationChannels($notificationChannels)
{
$this->notificationChannels = $notificationChannels;
}
/**
* @return NotificationChannel[]
*/
public function getNotificationChannels()
{
return $this->notificationChannels;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListNotificationChannelsResponse::class, 'Google_Service_Monitoring_ListNotificationChannelsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListServiceLevelObjectivesResponse extends \Google\Collection
{
protected $collection_key = 'serviceLevelObjectives';
/**
* @var string
*/
public $nextPageToken;
protected $serviceLevelObjectivesType = ServiceLevelObjective::class;
protected $serviceLevelObjectivesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ServiceLevelObjective[]
*/
public function setServiceLevelObjectives($serviceLevelObjectives)
{
$this->serviceLevelObjectives = $serviceLevelObjectives;
}
/**
* @return ServiceLevelObjective[]
*/
public function getServiceLevelObjectives()
{
return $this->serviceLevelObjectives;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServiceLevelObjectivesResponse::class, 'Google_Service_Monitoring_ListServiceLevelObjectivesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = Service::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServicesResponse::class, 'Google_Service_Monitoring_ListServicesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListSnoozesResponse extends \Google\Collection
{
protected $collection_key = 'snoozes';
/**
* @var string
*/
public $nextPageToken;
protected $snoozesType = Snooze::class;
protected $snoozesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Snooze[]
*/
public function setSnoozes($snoozes)
{
$this->snoozes = $snoozes;
}
/**
* @return Snooze[]
*/
public function getSnoozes()
{
return $this->snoozes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListSnoozesResponse::class, 'Google_Service_Monitoring_ListSnoozesResponse');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListTimeSeriesResponse extends \Google\Collection
{
protected $collection_key = 'timeSeries';
protected $executionErrorsType = Status::class;
protected $executionErrorsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
protected $timeSeriesType = TimeSeries::class;
protected $timeSeriesDataType = 'array';
/**
* @var string
*/
public $unit;
/**
* @param Status[]
*/
public function setExecutionErrors($executionErrors)
{
$this->executionErrors = $executionErrors;
}
/**
* @return Status[]
*/
public function getExecutionErrors()
{
return $this->executionErrors;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param TimeSeries[]
*/
public function setTimeSeries($timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return TimeSeries[]
*/
public function getTimeSeries()
{
return $this->timeSeries;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListTimeSeriesResponse::class, 'Google_Service_Monitoring_ListTimeSeriesResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListUptimeCheckConfigsResponse extends \Google\Collection
{
protected $collection_key = 'uptimeCheckConfigs';
/**
* @var string
*/
public $nextPageToken;
/**
* @var int
*/
public $totalSize;
protected $uptimeCheckConfigsType = UptimeCheckConfig::class;
protected $uptimeCheckConfigsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param int
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
/**
* @param UptimeCheckConfig[]
*/
public function setUptimeCheckConfigs($uptimeCheckConfigs)
{
$this->uptimeCheckConfigs = $uptimeCheckConfigs;
}
/**
* @return UptimeCheckConfig[]
*/
public function getUptimeCheckConfigs()
{
return $this->uptimeCheckConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUptimeCheckConfigsResponse::class, 'Google_Service_Monitoring_ListUptimeCheckConfigsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class ListUptimeCheckIpsResponse extends \Google\Collection
{
protected $collection_key = 'uptimeCheckIps';
/**
* @var string
*/
public $nextPageToken;
protected $uptimeCheckIpsType = UptimeCheckIp::class;
protected $uptimeCheckIpsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param UptimeCheckIp[]
*/
public function setUptimeCheckIps($uptimeCheckIps)
{
$this->uptimeCheckIps = $uptimeCheckIps;
}
/**
* @return UptimeCheckIp[]
*/
public function getUptimeCheckIps()
{
return $this->uptimeCheckIps;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListUptimeCheckIpsResponse::class, 'Google_Service_Monitoring_ListUptimeCheckIpsResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class LogMatch extends \Google\Model
{
/**
* @var string
*/
public $filter;
/**
* @var string[]
*/
public $labelExtractors;
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string[]
*/
public function setLabelExtractors($labelExtractors)
{
$this->labelExtractors = $labelExtractors;
}
/**
* @return string[]
*/
public function getLabelExtractors()
{
return $this->labelExtractors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogMatch::class, 'Google_Service_Monitoring_LogMatch');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MeshIstio extends \Google\Model
{
/**
* @var string
*/
public $meshUid;
/**
* @var string
*/
public $serviceName;
/**
* @var string
*/
public $serviceNamespace;
/**
* @param string
*/
public function setMeshUid($meshUid)
{
$this->meshUid = $meshUid;
}
/**
* @return string
*/
public function getMeshUid()
{
return $this->meshUid;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
/**
* @param string
*/
public function setServiceNamespace($serviceNamespace)
{
$this->serviceNamespace = $serviceNamespace;
}
/**
* @return string
*/
public function getServiceNamespace()
{
return $this->serviceNamespace;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MeshIstio::class, 'Google_Service_Monitoring_MeshIstio');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Metric extends \Google\Model
{
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metric::class, 'Google_Service_Monitoring_Metric');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MetricAbsence extends \Google\Collection
{
protected $collection_key = 'aggregations';
protected $aggregationsType = Aggregation::class;
protected $aggregationsDataType = 'array';
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $filter;
protected $triggerType = Trigger::class;
protected $triggerDataType = '';
/**
* @param Aggregation[]
*/
public function setAggregations($aggregations)
{
$this->aggregations = $aggregations;
}
/**
* @return Aggregation[]
*/
public function getAggregations()
{
return $this->aggregations;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param Trigger
*/
public function setTrigger(Trigger $trigger)
{
$this->trigger = $trigger;
}
/**
* @return Trigger
*/
public function getTrigger()
{
return $this->trigger;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricAbsence::class, 'Google_Service_Monitoring_MetricAbsence');

View File

@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MetricDescriptor extends \Google\Collection
{
protected $collection_key = 'monitoredResourceTypes';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $launchStage;
protected $metadataType = MetricDescriptorMetadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $metricKind;
/**
* @var string[]
*/
public $monitoredResourceTypes;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $unit;
/**
* @var string
*/
public $valueType;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param MetricDescriptorMetadata
*/
public function setMetadata(MetricDescriptorMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return MetricDescriptorMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setMetricKind($metricKind)
{
$this->metricKind = $metricKind;
}
/**
* @return string
*/
public function getMetricKind()
{
return $this->metricKind;
}
/**
* @param string[]
*/
public function setMonitoredResourceTypes($monitoredResourceTypes)
{
$this->monitoredResourceTypes = $monitoredResourceTypes;
}
/**
* @return string[]
*/
public function getMonitoredResourceTypes()
{
return $this->monitoredResourceTypes;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUnit($unit)
{
$this->unit = $unit;
}
/**
* @return string
*/
public function getUnit()
{
return $this->unit;
}
/**
* @param string
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricDescriptor::class, 'Google_Service_Monitoring_MetricDescriptor');

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MetricDescriptorMetadata extends \Google\Collection
{
protected $collection_key = 'timeSeriesResourceHierarchyLevel';
/**
* @var string
*/
public $ingestDelay;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $samplePeriod;
/**
* @var string[]
*/
public $timeSeriesResourceHierarchyLevel;
/**
* @param string
*/
public function setIngestDelay($ingestDelay)
{
$this->ingestDelay = $ingestDelay;
}
/**
* @return string
*/
public function getIngestDelay()
{
return $this->ingestDelay;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setSamplePeriod($samplePeriod)
{
$this->samplePeriod = $samplePeriod;
}
/**
* @return string
*/
public function getSamplePeriod()
{
return $this->samplePeriod;
}
/**
* @param string[]
*/
public function setTimeSeriesResourceHierarchyLevel($timeSeriesResourceHierarchyLevel)
{
$this->timeSeriesResourceHierarchyLevel = $timeSeriesResourceHierarchyLevel;
}
/**
* @return string[]
*/
public function getTimeSeriesResourceHierarchyLevel()
{
return $this->timeSeriesResourceHierarchyLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricDescriptorMetadata::class, 'Google_Service_Monitoring_MetricDescriptorMetadata');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MetricRange extends \Google\Model
{
protected $rangeType = GoogleMonitoringV3Range::class;
protected $rangeDataType = '';
/**
* @var string
*/
public $timeSeries;
/**
* @param GoogleMonitoringV3Range
*/
public function setRange(GoogleMonitoringV3Range $range)
{
$this->range = $range;
}
/**
* @return GoogleMonitoringV3Range
*/
public function getRange()
{
return $this->range;
}
/**
* @param string
*/
public function setTimeSeries($timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return string
*/
public function getTimeSeries()
{
return $this->timeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricRange::class, 'Google_Service_Monitoring_MetricRange');

View File

@@ -0,0 +1,190 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MetricThreshold extends \Google\Collection
{
protected $collection_key = 'denominatorAggregations';
protected $aggregationsType = Aggregation::class;
protected $aggregationsDataType = 'array';
/**
* @var string
*/
public $comparison;
protected $denominatorAggregationsType = Aggregation::class;
protected $denominatorAggregationsDataType = 'array';
/**
* @var string
*/
public $denominatorFilter;
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $evaluationMissingData;
/**
* @var string
*/
public $filter;
protected $forecastOptionsType = ForecastOptions::class;
protected $forecastOptionsDataType = '';
public $thresholdValue;
protected $triggerType = Trigger::class;
protected $triggerDataType = '';
/**
* @param Aggregation[]
*/
public function setAggregations($aggregations)
{
$this->aggregations = $aggregations;
}
/**
* @return Aggregation[]
*/
public function getAggregations()
{
return $this->aggregations;
}
/**
* @param string
*/
public function setComparison($comparison)
{
$this->comparison = $comparison;
}
/**
* @return string
*/
public function getComparison()
{
return $this->comparison;
}
/**
* @param Aggregation[]
*/
public function setDenominatorAggregations($denominatorAggregations)
{
$this->denominatorAggregations = $denominatorAggregations;
}
/**
* @return Aggregation[]
*/
public function getDenominatorAggregations()
{
return $this->denominatorAggregations;
}
/**
* @param string
*/
public function setDenominatorFilter($denominatorFilter)
{
$this->denominatorFilter = $denominatorFilter;
}
/**
* @return string
*/
public function getDenominatorFilter()
{
return $this->denominatorFilter;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEvaluationMissingData($evaluationMissingData)
{
$this->evaluationMissingData = $evaluationMissingData;
}
/**
* @return string
*/
public function getEvaluationMissingData()
{
return $this->evaluationMissingData;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param ForecastOptions
*/
public function setForecastOptions(ForecastOptions $forecastOptions)
{
$this->forecastOptions = $forecastOptions;
}
/**
* @return ForecastOptions
*/
public function getForecastOptions()
{
return $this->forecastOptions;
}
public function setThresholdValue($thresholdValue)
{
$this->thresholdValue = $thresholdValue;
}
public function getThresholdValue()
{
return $this->thresholdValue;
}
/**
* @param Trigger
*/
public function setTrigger(Trigger $trigger)
{
$this->trigger = $trigger;
}
/**
* @return Trigger
*/
public function getTrigger()
{
return $this->trigger;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MetricThreshold::class, 'Google_Service_Monitoring_MetricThreshold');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Minutes extends \Google\Model
{
/**
* @var int
*/
public $periodicity;
/**
* @param int
*/
public function setPeriodicity($periodicity)
{
$this->periodicity = $periodicity;
}
/**
* @return int
*/
public function getPeriodicity()
{
return $this->periodicity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Minutes::class, 'Google_Service_Monitoring_Minutes');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MonitoredResource extends \Google\Model
{
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $type;
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoredResource::class, 'Google_Service_Monitoring_MonitoredResource');

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MonitoredResourceDescriptor extends \Google\Collection
{
protected $collection_key = 'labels';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoredResourceDescriptor::class, 'Google_Service_Monitoring_MonitoredResourceDescriptor');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MonitoredResourceMetadata extends \Google\Model
{
/**
* @var array[]
*/
public $systemLabels;
/**
* @var string[]
*/
public $userLabels;
/**
* @param array[]
*/
public function setSystemLabels($systemLabels)
{
$this->systemLabels = $systemLabels;
}
/**
* @return array[]
*/
public function getSystemLabels()
{
return $this->systemLabels;
}
/**
* @param string[]
*/
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
/**
* @return string[]
*/
public function getUserLabels()
{
return $this->userLabels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoredResourceMetadata::class, 'Google_Service_Monitoring_MonitoredResourceMetadata');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MonitoringEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoringEmpty::class, 'Google_Service_Monitoring_MonitoringEmpty');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MonitoringQueryLanguageCondition extends \Google\Model
{
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $evaluationMissingData;
/**
* @var string
*/
public $query;
protected $triggerType = Trigger::class;
protected $triggerDataType = '';
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEvaluationMissingData($evaluationMissingData)
{
$this->evaluationMissingData = $evaluationMissingData;
}
/**
* @return string
*/
public function getEvaluationMissingData()
{
return $this->evaluationMissingData;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param Trigger
*/
public function setTrigger(Trigger $trigger)
{
$this->trigger = $trigger;
}
/**
* @return Trigger
*/
public function getTrigger()
{
return $this->trigger;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MonitoringQueryLanguageCondition::class, 'Google_Service_Monitoring_MonitoringQueryLanguageCondition');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class MutationRecord extends \Google\Model
{
/**
* @var string
*/
public $mutateTime;
/**
* @var string
*/
public $mutatedBy;
/**
* @param string
*/
public function setMutateTime($mutateTime)
{
$this->mutateTime = $mutateTime;
}
/**
* @return string
*/
public function getMutateTime()
{
return $this->mutateTime;
}
/**
* @param string
*/
public function setMutatedBy($mutatedBy)
{
$this->mutatedBy = $mutatedBy;
}
/**
* @return string
*/
public function getMutatedBy()
{
return $this->mutatedBy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MutationRecord::class, 'Google_Service_Monitoring_MutationRecord');

View File

@@ -0,0 +1,203 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class NotificationChannel extends \Google\Collection
{
protected $collection_key = 'mutationRecords';
protected $creationRecordType = MutationRecord::class;
protected $creationRecordDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var bool
*/
public $enabled;
/**
* @var string[]
*/
public $labels;
protected $mutationRecordsType = MutationRecord::class;
protected $mutationRecordsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @var string[]
*/
public $userLabels;
/**
* @var string
*/
public $verificationStatus;
/**
* @param MutationRecord
*/
public function setCreationRecord(MutationRecord $creationRecord)
{
$this->creationRecord = $creationRecord;
}
/**
* @return MutationRecord
*/
public function getCreationRecord()
{
return $this->creationRecord;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param MutationRecord[]
*/
public function setMutationRecords($mutationRecords)
{
$this->mutationRecords = $mutationRecords;
}
/**
* @return MutationRecord[]
*/
public function getMutationRecords()
{
return $this->mutationRecords;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string[]
*/
public function setUserLabels($userLabels)
{
$this->userLabels = $userLabels;
}
/**
* @return string[]
*/
public function getUserLabels()
{
return $this->userLabels;
}
/**
* @param string
*/
public function setVerificationStatus($verificationStatus)
{
$this->verificationStatus = $verificationStatus;
}
/**
* @return string
*/
public function getVerificationStatus()
{
return $this->verificationStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationChannel::class, 'Google_Service_Monitoring_NotificationChannel');

View File

@@ -0,0 +1,151 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class NotificationChannelDescriptor extends \Google\Collection
{
protected $collection_key = 'supportedTiers';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $labelsType = LabelDescriptor::class;
protected $labelsDataType = 'array';
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $supportedTiers;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param LabelDescriptor[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return LabelDescriptor[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setSupportedTiers($supportedTiers)
{
$this->supportedTiers = $supportedTiers;
}
/**
* @return string[]
*/
public function getSupportedTiers()
{
return $this->supportedTiers;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationChannelDescriptor::class, 'Google_Service_Monitoring_NotificationChannelDescriptor');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class NotificationChannelStrategy extends \Google\Collection
{
protected $collection_key = 'notificationChannelNames';
/**
* @var string[]
*/
public $notificationChannelNames;
/**
* @var string
*/
public $renotifyInterval;
/**
* @param string[]
*/
public function setNotificationChannelNames($notificationChannelNames)
{
$this->notificationChannelNames = $notificationChannelNames;
}
/**
* @return string[]
*/
public function getNotificationChannelNames()
{
return $this->notificationChannelNames;
}
/**
* @param string
*/
public function setRenotifyInterval($renotifyInterval)
{
$this->renotifyInterval = $renotifyInterval;
}
/**
* @return string
*/
public function getRenotifyInterval()
{
return $this->renotifyInterval;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationChannelStrategy::class, 'Google_Service_Monitoring_NotificationChannelStrategy');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class NotificationRateLimit extends \Google\Model
{
/**
* @var string
*/
public $period;
/**
* @param string
*/
public function setPeriod($period)
{
$this->period = $period;
}
/**
* @return string
*/
public function getPeriod()
{
return $this->period;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NotificationRateLimit::class, 'Google_Service_Monitoring_NotificationRateLimit');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_Monitoring_OperationMetadata');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Option extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return array[]
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Option::class, 'Google_Service_Monitoring_Option');

View File

@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class PerformanceThreshold extends \Google\Model
{
protected $basicSliPerformanceType = BasicSli::class;
protected $basicSliPerformanceDataType = '';
protected $performanceType = RequestBasedSli::class;
protected $performanceDataType = '';
public $threshold;
/**
* @param BasicSli
*/
public function setBasicSliPerformance(BasicSli $basicSliPerformance)
{
$this->basicSliPerformance = $basicSliPerformance;
}
/**
* @return BasicSli
*/
public function getBasicSliPerformance()
{
return $this->basicSliPerformance;
}
/**
* @param RequestBasedSli
*/
public function setPerformance(RequestBasedSli $performance)
{
$this->performance = $performance;
}
/**
* @return RequestBasedSli
*/
public function getPerformance()
{
return $this->performance;
}
public function setThreshold($threshold)
{
$this->threshold = $threshold;
}
public function getThreshold()
{
return $this->threshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PerformanceThreshold::class, 'Google_Service_Monitoring_PerformanceThreshold');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class PingConfig extends \Google\Model
{
/**
* @var int
*/
public $pingsCount;
/**
* @param int
*/
public function setPingsCount($pingsCount)
{
$this->pingsCount = $pingsCount;
}
/**
* @return int
*/
public function getPingsCount()
{
return $this->pingsCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PingConfig::class, 'Google_Service_Monitoring_PingConfig');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Point extends \Google\Model
{
protected $intervalType = TimeInterval::class;
protected $intervalDataType = '';
protected $valueType = TypedValue::class;
protected $valueDataType = '';
/**
* @param TimeInterval
*/
public function setInterval(TimeInterval $interval)
{
$this->interval = $interval;
}
/**
* @return TimeInterval
*/
public function getInterval()
{
return $this->interval;
}
/**
* @param TypedValue
*/
public function setValue(TypedValue $value)
{
$this->value = $value;
}
/**
* @return TypedValue
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Point::class, 'Google_Service_Monitoring_Point');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class PointData extends \Google\Collection
{
protected $collection_key = 'values';
protected $timeIntervalType = TimeInterval::class;
protected $timeIntervalDataType = '';
protected $valuesType = TypedValue::class;
protected $valuesDataType = 'array';
/**
* @param TimeInterval
*/
public function setTimeInterval(TimeInterval $timeInterval)
{
$this->timeInterval = $timeInterval;
}
/**
* @return TimeInterval
*/
public function getTimeInterval()
{
return $this->timeInterval;
}
/**
* @param TypedValue[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return TypedValue[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PointData::class, 'Google_Service_Monitoring_PointData');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class PrometheusQueryLanguageCondition extends \Google\Model
{
/**
* @var string
*/
public $alertRule;
/**
* @var bool
*/
public $disableMetricValidation;
/**
* @var string
*/
public $duration;
/**
* @var string
*/
public $evaluationInterval;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $query;
/**
* @var string
*/
public $ruleGroup;
/**
* @param string
*/
public function setAlertRule($alertRule)
{
$this->alertRule = $alertRule;
}
/**
* @return string
*/
public function getAlertRule()
{
return $this->alertRule;
}
/**
* @param bool
*/
public function setDisableMetricValidation($disableMetricValidation)
{
$this->disableMetricValidation = $disableMetricValidation;
}
/**
* @return bool
*/
public function getDisableMetricValidation()
{
return $this->disableMetricValidation;
}
/**
* @param string
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string
*/
public function setEvaluationInterval($evaluationInterval)
{
$this->evaluationInterval = $evaluationInterval;
}
/**
* @return string
*/
public function getEvaluationInterval()
{
return $this->evaluationInterval;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
/**
* @param string
*/
public function setRuleGroup($ruleGroup)
{
$this->ruleGroup = $ruleGroup;
}
/**
* @return string
*/
public function getRuleGroup()
{
return $this->ruleGroup;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrometheusQueryLanguageCondition::class, 'Google_Service_Monitoring_PrometheusQueryLanguageCondition');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class QueryTimeSeriesRequest extends \Google\Model
{
/**
* @var int
*/
public $pageSize;
/**
* @var string
*/
public $pageToken;
/**
* @var string
*/
public $query;
/**
* @param int
*/
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
}
/**
* @return int
*/
public function getPageSize()
{
return $this->pageSize;
}
/**
* @param string
*/
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
}
/**
* @return string
*/
public function getPageToken()
{
return $this->pageToken;
}
/**
* @param string
*/
public function setQuery($query)
{
$this->query = $query;
}
/**
* @return string
*/
public function getQuery()
{
return $this->query;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryTimeSeriesRequest::class, 'Google_Service_Monitoring_QueryTimeSeriesRequest');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class QueryTimeSeriesResponse extends \Google\Collection
{
protected $collection_key = 'timeSeriesData';
/**
* @var string
*/
public $nextPageToken;
protected $partialErrorsType = Status::class;
protected $partialErrorsDataType = 'array';
protected $timeSeriesDataType = TimeSeriesData::class;
protected $timeSeriesDataDataType = 'array';
protected $timeSeriesDescriptorType = TimeSeriesDescriptor::class;
protected $timeSeriesDescriptorDataType = '';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Status[]
*/
public function setPartialErrors($partialErrors)
{
$this->partialErrors = $partialErrors;
}
/**
* @return Status[]
*/
public function getPartialErrors()
{
return $this->partialErrors;
}
/**
* @param TimeSeriesData[]
*/
public function setTimeSeriesData($timeSeriesData)
{
$this->timeSeriesData = $timeSeriesData;
}
/**
* @return TimeSeriesData[]
*/
public function getTimeSeriesData()
{
return $this->timeSeriesData;
}
/**
* @param TimeSeriesDescriptor
*/
public function setTimeSeriesDescriptor(TimeSeriesDescriptor $timeSeriesDescriptor)
{
$this->timeSeriesDescriptor = $timeSeriesDescriptor;
}
/**
* @return TimeSeriesDescriptor
*/
public function getTimeSeriesDescriptor()
{
return $this->timeSeriesDescriptor;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(QueryTimeSeriesResponse::class, 'Google_Service_Monitoring_QueryTimeSeriesResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class Range extends \Google\Model
{
public $max;
public $min;
public function setMax($max)
{
$this->max = $max;
}
public function getMax()
{
return $this->max;
}
public function setMin($min)
{
$this->min = $min;
}
public function getMin()
{
return $this->min;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Range::class, 'Google_Service_Monitoring_Range');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring;
class RequestBasedSli extends \Google\Model
{
protected $distributionCutType = DistributionCut::class;
protected $distributionCutDataType = '';
protected $goodTotalRatioType = TimeSeriesRatio::class;
protected $goodTotalRatioDataType = '';
/**
* @param DistributionCut
*/
public function setDistributionCut(DistributionCut $distributionCut)
{
$this->distributionCut = $distributionCut;
}
/**
* @return DistributionCut
*/
public function getDistributionCut()
{
return $this->distributionCut;
}
/**
* @param TimeSeriesRatio
*/
public function setGoodTotalRatio(TimeSeriesRatio $goodTotalRatio)
{
$this->goodTotalRatio = $goodTotalRatio;
}
/**
* @return TimeSeriesRatio
*/
public function getGoodTotalRatio()
{
return $this->goodTotalRatio;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RequestBasedSli::class, 'Google_Service_Monitoring_RequestBasedSli');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring\Resource;
/**
* The "folders" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google\Service\Monitoring(...);
* $folders = $monitoringService->folders;
* </code>
*/
class Folders extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Folders::class, 'Google_Service_Monitoring_Resource_Folders');

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring\Resource;
use Google\Service\Monitoring\ListTimeSeriesResponse;
/**
* The "timeSeries" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google\Service\Monitoring(...);
* $timeSeries = $monitoringService->folders_timeSeries;
* </code>
*/
class FoldersTimeSeries extends \Google\Service\Resource
{
/**
* Lists time series that match a filter. (timeSeries.listFoldersTimeSeries)
*
* @param string $name Required. The project
* (https://cloud.google.com/monitoring/api/v3#project_name), organization or
* folder on which to execute the request. The format is:
* projects/[PROJECT_ID_OR_NUMBER] organizations/[ORGANIZATION_ID]
* folders/[FOLDER_ID]
* @param array $optParams Optional parameters.
*
* @opt_param string aggregation.alignmentPeriod The alignment_period specifies
* a time interval, in seconds, that is used to divide the data in all the time
* series into consistent blocks of time. This will be done before the per-
* series aligner can be applied to the data.The value must be at least 60
* seconds. If a per-series aligner other than ALIGN_NONE is specified, this
* field is required or an error is returned. If no per-series aligner is
* specified, or the aligner ALIGN_NONE is specified, then this field is
* ignored.The maximum value of the alignment_period is 104 weeks (2 years) for
* charts, and 90,000 seconds (25 hours) for alerting policies.
* @opt_param string aggregation.crossSeriesReducer The reduction operation to
* be used to combine time series into a single time series, where the value of
* each data point in the resulting series is a function of all the already
* aligned values in the input time series.Not all reducer operations can be
* applied to all time series. The valid choices depend on the metric_kind and
* the value_type of the original time series. Reduction can yield a time series
* with a different metric_kind or value_type than the input time series.Time
* series data must first be aligned (see per_series_aligner) in order to
* perform cross-time series reduction. If cross_series_reducer is specified,
* then per_series_aligner must be specified, and must not be ALIGN_NONE. An
* alignment_period must also be specified; otherwise, an error is returned.
* @opt_param string aggregation.groupByFields The set of fields to preserve
* when cross_series_reducer is specified. The group_by_fields determine how the
* time series are partitioned into subsets prior to applying the aggregation
* operation. Each subset contains time series that have the same value for each
* of the grouping fields. Each individual time series is a member of exactly
* one subset. The cross_series_reducer is applied to each subset of time
* series. It is not possible to reduce across different resource types, so this
* field implicitly contains resource.type. Fields not specified in
* group_by_fields are aggregated away. If group_by_fields is not specified and
* all the time series have the same resource type, then the time series are
* aggregated into a single output time series. If cross_series_reducer is not
* defined, this field is ignored.
* @opt_param string aggregation.perSeriesAligner An Aligner describes how to
* bring the data points in a single time series into temporal alignment. Except
* for ALIGN_NONE, all alignments cause all the data points in an
* alignment_period to be mathematically grouped together, resulting in a single
* data point for each alignment_period with end timestamp at the end of the
* period.Not all alignment operations may be applied to all time series. The
* valid choices depend on the metric_kind and value_type of the original time
* series. Alignment can change the metric_kind or the value_type of the time
* series.Time series data must be aligned in order to perform cross-time series
* reduction. If cross_series_reducer is specified, then per_series_aligner must
* be specified and not equal to ALIGN_NONE and alignment_period must be
* specified; otherwise, an error is returned.
* @opt_param string filter Required. A monitoring filter
* (https://cloud.google.com/monitoring/api/v3/filters) that specifies which
* time series should be returned. The filter must specify a single metric type,
* and can additionally specify metric labels and other information. For
* example: metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
* metric.labels.instance_name = "my-instance-name"
* @opt_param string interval.endTime Required. The end of the time interval.
* @opt_param string interval.startTime Optional. The beginning of the time
* interval. The default value for the start time is the end time. The start
* time must not be later than the end time.
* @opt_param string orderBy Unsupported: must be left blank. The points in each
* time series are currently returned in reverse time order (most recent to
* oldest).
* @opt_param int pageSize A positive number that is the maximum number of
* results to return. If page_size is empty or more than 100,000 results, the
* effective page_size is 100,000 results. If view is set to FULL, this is the
* maximum number of Points returned. If view is set to HEADERS, this is the
* maximum number of TimeSeries returned.
* @opt_param string pageToken If this field is not empty then it must contain
* the nextPageToken value returned by a previous call to this method. Using
* this field causes the method to return additional results from the previous
* method call.
* @opt_param string secondaryAggregation.alignmentPeriod The alignment_period
* specifies a time interval, in seconds, that is used to divide the data in all
* the time series into consistent blocks of time. This will be done before the
* per-series aligner can be applied to the data.The value must be at least 60
* seconds. If a per-series aligner other than ALIGN_NONE is specified, this
* field is required or an error is returned. If no per-series aligner is
* specified, or the aligner ALIGN_NONE is specified, then this field is
* ignored.The maximum value of the alignment_period is 104 weeks (2 years) for
* charts, and 90,000 seconds (25 hours) for alerting policies.
* @opt_param string secondaryAggregation.crossSeriesReducer The reduction
* operation to be used to combine time series into a single time series, where
* the value of each data point in the resulting series is a function of all the
* already aligned values in the input time series.Not all reducer operations
* can be applied to all time series. The valid choices depend on the
* metric_kind and the value_type of the original time series. Reduction can
* yield a time series with a different metric_kind or value_type than the input
* time series.Time series data must first be aligned (see per_series_aligner)
* in order to perform cross-time series reduction. If cross_series_reducer is
* specified, then per_series_aligner must be specified, and must not be
* ALIGN_NONE. An alignment_period must also be specified; otherwise, an error
* is returned.
* @opt_param string secondaryAggregation.groupByFields The set of fields to
* preserve when cross_series_reducer is specified. The group_by_fields
* determine how the time series are partitioned into subsets prior to applying
* the aggregation operation. Each subset contains time series that have the
* same value for each of the grouping fields. Each individual time series is a
* member of exactly one subset. The cross_series_reducer is applied to each
* subset of time series. It is not possible to reduce across different resource
* types, so this field implicitly contains resource.type. Fields not specified
* in group_by_fields are aggregated away. If group_by_fields is not specified
* and all the time series have the same resource type, then the time series are
* aggregated into a single output time series. If cross_series_reducer is not
* defined, this field is ignored.
* @opt_param string secondaryAggregation.perSeriesAligner An Aligner describes
* how to bring the data points in a single time series into temporal alignment.
* Except for ALIGN_NONE, all alignments cause all the data points in an
* alignment_period to be mathematically grouped together, resulting in a single
* data point for each alignment_period with end timestamp at the end of the
* period.Not all alignment operations may be applied to all time series. The
* valid choices depend on the metric_kind and value_type of the original time
* series. Alignment can change the metric_kind or the value_type of the time
* series.Time series data must be aligned in order to perform cross-time series
* reduction. If cross_series_reducer is specified, then per_series_aligner must
* be specified and not equal to ALIGN_NONE and alignment_period must be
* specified; otherwise, an error is returned.
* @opt_param string view Required. Specifies which information is returned
* about the time series.
* @return ListTimeSeriesResponse
* @throws \Google\Service\Exception
*/
public function listFoldersTimeSeries($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListTimeSeriesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FoldersTimeSeries::class, 'Google_Service_Monitoring_Resource_FoldersTimeSeries');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Monitoring\Resource;
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $monitoringService = new Google\Service\Monitoring(...);
* $organizations = $monitoringService->organizations;
* </code>
*/
class Organizations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Organizations::class, 'Google_Service_Monitoring_Resource_Organizations');

Some files were not shown because too many files have changed in this diff Show More