Initial commit
This commit is contained in:
51
vendor/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php
vendored
Normal file
51
vendor/google/apiclient-services/src/Google/Service/Monitoring/BucketOptions.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_BucketOptions extends Google_Model
|
||||
{
|
||||
protected $explicitBucketsType = 'Google_Service_Monitoring_Explicit';
|
||||
protected $explicitBucketsDataType = '';
|
||||
protected $exponentialBucketsType = 'Google_Service_Monitoring_Exponential';
|
||||
protected $exponentialBucketsDataType = '';
|
||||
protected $linearBucketsType = 'Google_Service_Monitoring_Linear';
|
||||
protected $linearBucketsDataType = '';
|
||||
|
||||
public function setExplicitBuckets(Google_Service_Monitoring_Explicit $explicitBuckets)
|
||||
{
|
||||
$this->explicitBuckets = $explicitBuckets;
|
||||
}
|
||||
public function getExplicitBuckets()
|
||||
{
|
||||
return $this->explicitBuckets;
|
||||
}
|
||||
public function setExponentialBuckets(Google_Service_Monitoring_Exponential $exponentialBuckets)
|
||||
{
|
||||
$this->exponentialBuckets = $exponentialBuckets;
|
||||
}
|
||||
public function getExponentialBuckets()
|
||||
{
|
||||
return $this->exponentialBuckets;
|
||||
}
|
||||
public function setLinearBuckets(Google_Service_Monitoring_Linear $linearBuckets)
|
||||
{
|
||||
$this->linearBuckets = $linearBuckets;
|
||||
}
|
||||
public function getLinearBuckets()
|
||||
{
|
||||
return $this->linearBuckets;
|
||||
}
|
||||
}
|
||||
96
vendor/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php
vendored
Normal file
96
vendor/google/apiclient-services/src/Google/Service/Monitoring/CollectdPayload.php
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_CollectdPayload extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'values';
|
||||
public $endTime;
|
||||
protected $metadataType = 'Google_Service_Monitoring_TypedValue';
|
||||
protected $metadataDataType = 'map';
|
||||
public $plugin;
|
||||
public $pluginInstance;
|
||||
public $startTime;
|
||||
public $type;
|
||||
public $typeInstance;
|
||||
protected $valuesType = 'Google_Service_Monitoring_CollectdValue';
|
||||
protected $valuesDataType = 'array';
|
||||
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setMetadata($metadata)
|
||||
{
|
||||
$this->metadata = $metadata;
|
||||
}
|
||||
public function getMetadata()
|
||||
{
|
||||
return $this->metadata;
|
||||
}
|
||||
public function setPlugin($plugin)
|
||||
{
|
||||
$this->plugin = $plugin;
|
||||
}
|
||||
public function getPlugin()
|
||||
{
|
||||
return $this->plugin;
|
||||
}
|
||||
public function setPluginInstance($pluginInstance)
|
||||
{
|
||||
$this->pluginInstance = $pluginInstance;
|
||||
}
|
||||
public function getPluginInstance()
|
||||
{
|
||||
return $this->pluginInstance;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
public function setTypeInstance($typeInstance)
|
||||
{
|
||||
$this->typeInstance = $typeInstance;
|
||||
}
|
||||
public function getTypeInstance()
|
||||
{
|
||||
return $this->typeInstance;
|
||||
}
|
||||
public function setValues($values)
|
||||
{
|
||||
$this->values = $values;
|
||||
}
|
||||
public function getValues()
|
||||
{
|
||||
return $this->values;
|
||||
}
|
||||
}
|
||||
49
vendor/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php
vendored
Normal file
49
vendor/google/apiclient-services/src/Google/Service/Monitoring/CollectdValue.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_CollectdValue extends Google_Model
|
||||
{
|
||||
public $dataSourceName;
|
||||
public $dataSourceType;
|
||||
protected $valueType = 'Google_Service_Monitoring_TypedValue';
|
||||
protected $valueDataType = '';
|
||||
|
||||
public function setDataSourceName($dataSourceName)
|
||||
{
|
||||
$this->dataSourceName = $dataSourceName;
|
||||
}
|
||||
public function getDataSourceName()
|
||||
{
|
||||
return $this->dataSourceName;
|
||||
}
|
||||
public function setDataSourceType($dataSourceType)
|
||||
{
|
||||
$this->dataSourceType = $dataSourceType;
|
||||
}
|
||||
public function getDataSourceType()
|
||||
{
|
||||
return $this->dataSourceType;
|
||||
}
|
||||
public function setValue(Google_Service_Monitoring_TypedValue $value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_CreateCollectdTimeSeriesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'collectdPayloads';
|
||||
protected $collectdPayloadsType = 'Google_Service_Monitoring_CollectdPayload';
|
||||
protected $collectdPayloadsDataType = 'array';
|
||||
public $collectdVersion;
|
||||
protected $resourceType = 'Google_Service_Monitoring_MonitoredResource';
|
||||
protected $resourceDataType = '';
|
||||
|
||||
public function setCollectdPayloads($collectdPayloads)
|
||||
{
|
||||
$this->collectdPayloads = $collectdPayloads;
|
||||
}
|
||||
public function getCollectdPayloads()
|
||||
{
|
||||
return $this->collectdPayloads;
|
||||
}
|
||||
public function setCollectdVersion($collectdVersion)
|
||||
{
|
||||
$this->collectdVersion = $collectdVersion;
|
||||
}
|
||||
public function getCollectdVersion()
|
||||
{
|
||||
return $this->collectdVersion;
|
||||
}
|
||||
public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
|
||||
{
|
||||
$this->resource = $resource;
|
||||
}
|
||||
public function getResource()
|
||||
{
|
||||
return $this->resource;
|
||||
}
|
||||
}
|
||||
32
vendor/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Monitoring/CreateTimeSeriesRequest.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_CreateTimeSeriesRequest extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'timeSeries';
|
||||
protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
|
||||
protected $timeSeriesDataType = 'array';
|
||||
|
||||
public function setTimeSeries($timeSeries)
|
||||
{
|
||||
$this->timeSeries = $timeSeries;
|
||||
}
|
||||
public function getTimeSeries()
|
||||
{
|
||||
return $this->timeSeries;
|
||||
}
|
||||
}
|
||||
78
vendor/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php
vendored
Normal file
78
vendor/google/apiclient-services/src/Google/Service/Monitoring/Distribution.php
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Distribution extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'bucketCounts';
|
||||
public $bucketCounts;
|
||||
protected $bucketOptionsType = 'Google_Service_Monitoring_BucketOptions';
|
||||
protected $bucketOptionsDataType = '';
|
||||
public $count;
|
||||
public $mean;
|
||||
protected $rangeType = 'Google_Service_Monitoring_Range';
|
||||
protected $rangeDataType = '';
|
||||
public $sumOfSquaredDeviation;
|
||||
|
||||
public function setBucketCounts($bucketCounts)
|
||||
{
|
||||
$this->bucketCounts = $bucketCounts;
|
||||
}
|
||||
public function getBucketCounts()
|
||||
{
|
||||
return $this->bucketCounts;
|
||||
}
|
||||
public function setBucketOptions(Google_Service_Monitoring_BucketOptions $bucketOptions)
|
||||
{
|
||||
$this->bucketOptions = $bucketOptions;
|
||||
}
|
||||
public function getBucketOptions()
|
||||
{
|
||||
return $this->bucketOptions;
|
||||
}
|
||||
public function setCount($count)
|
||||
{
|
||||
$this->count = $count;
|
||||
}
|
||||
public function getCount()
|
||||
{
|
||||
return $this->count;
|
||||
}
|
||||
public function setMean($mean)
|
||||
{
|
||||
$this->mean = $mean;
|
||||
}
|
||||
public function getMean()
|
||||
{
|
||||
return $this->mean;
|
||||
}
|
||||
public function setRange(Google_Service_Monitoring_Range $range)
|
||||
{
|
||||
$this->range = $range;
|
||||
}
|
||||
public function getRange()
|
||||
{
|
||||
return $this->range;
|
||||
}
|
||||
public function setSumOfSquaredDeviation($sumOfSquaredDeviation)
|
||||
{
|
||||
$this->sumOfSquaredDeviation = $sumOfSquaredDeviation;
|
||||
}
|
||||
public function getSumOfSquaredDeviation()
|
||||
{
|
||||
return $this->sumOfSquaredDeviation;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/Monitoring/Explicit.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Explicit extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'bounds';
|
||||
public $bounds;
|
||||
|
||||
public function setBounds($bounds)
|
||||
{
|
||||
$this->bounds = $bounds;
|
||||
}
|
||||
public function getBounds()
|
||||
{
|
||||
return $this->bounds;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/Exponential.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Exponential extends Google_Model
|
||||
{
|
||||
public $growthFactor;
|
||||
public $numFiniteBuckets;
|
||||
public $scale;
|
||||
|
||||
public function setGrowthFactor($growthFactor)
|
||||
{
|
||||
$this->growthFactor = $growthFactor;
|
||||
}
|
||||
public function getGrowthFactor()
|
||||
{
|
||||
return $this->growthFactor;
|
||||
}
|
||||
public function setNumFiniteBuckets($numFiniteBuckets)
|
||||
{
|
||||
$this->numFiniteBuckets = $numFiniteBuckets;
|
||||
}
|
||||
public function getNumFiniteBuckets()
|
||||
{
|
||||
return $this->numFiniteBuckets;
|
||||
}
|
||||
public function setScale($scale)
|
||||
{
|
||||
$this->scale = $scale;
|
||||
}
|
||||
public function getScale()
|
||||
{
|
||||
return $this->scale;
|
||||
}
|
||||
}
|
||||
113
vendor/google/apiclient-services/src/Google/Service/Monitoring/Field.php
vendored
Normal file
113
vendor/google/apiclient-services/src/Google/Service/Monitoring/Field.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Field extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'options';
|
||||
public $cardinality;
|
||||
public $defaultValue;
|
||||
public $jsonName;
|
||||
public $kind;
|
||||
public $name;
|
||||
public $number;
|
||||
public $oneofIndex;
|
||||
protected $optionsType = 'Google_Service_Monitoring_Option';
|
||||
protected $optionsDataType = 'array';
|
||||
public $packed;
|
||||
public $typeUrl;
|
||||
|
||||
public function setCardinality($cardinality)
|
||||
{
|
||||
$this->cardinality = $cardinality;
|
||||
}
|
||||
public function getCardinality()
|
||||
{
|
||||
return $this->cardinality;
|
||||
}
|
||||
public function setDefaultValue($defaultValue)
|
||||
{
|
||||
$this->defaultValue = $defaultValue;
|
||||
}
|
||||
public function getDefaultValue()
|
||||
{
|
||||
return $this->defaultValue;
|
||||
}
|
||||
public function setJsonName($jsonName)
|
||||
{
|
||||
$this->jsonName = $jsonName;
|
||||
}
|
||||
public function getJsonName()
|
||||
{
|
||||
return $this->jsonName;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setNumber($number)
|
||||
{
|
||||
$this->number = $number;
|
||||
}
|
||||
public function getNumber()
|
||||
{
|
||||
return $this->number;
|
||||
}
|
||||
public function setOneofIndex($oneofIndex)
|
||||
{
|
||||
$this->oneofIndex = $oneofIndex;
|
||||
}
|
||||
public function getOneofIndex()
|
||||
{
|
||||
return $this->oneofIndex;
|
||||
}
|
||||
public function setOptions($options)
|
||||
{
|
||||
$this->options = $options;
|
||||
}
|
||||
public function getOptions()
|
||||
{
|
||||
return $this->options;
|
||||
}
|
||||
public function setPacked($packed)
|
||||
{
|
||||
$this->packed = $packed;
|
||||
}
|
||||
public function getPacked()
|
||||
{
|
||||
return $this->packed;
|
||||
}
|
||||
public function setTypeUrl($typeUrl)
|
||||
{
|
||||
$this->typeUrl = $typeUrl;
|
||||
}
|
||||
public function getTypeUrl()
|
||||
{
|
||||
return $this->typeUrl;
|
||||
}
|
||||
}
|
||||
66
vendor/google/apiclient-services/src/Google/Service/Monitoring/Group.php
vendored
Normal file
66
vendor/google/apiclient-services/src/Google/Service/Monitoring/Group.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Group extends Google_Model
|
||||
{
|
||||
public $displayName;
|
||||
public $filter;
|
||||
public $isCluster;
|
||||
public $name;
|
||||
public $parentName;
|
||||
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setFilter($filter)
|
||||
{
|
||||
$this->filter = $filter;
|
||||
}
|
||||
public function getFilter()
|
||||
{
|
||||
return $this->filter;
|
||||
}
|
||||
public function setIsCluster($isCluster)
|
||||
{
|
||||
$this->isCluster = $isCluster;
|
||||
}
|
||||
public function getIsCluster()
|
||||
{
|
||||
return $this->isCluster;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setParentName($parentName)
|
||||
{
|
||||
$this->parentName = $parentName;
|
||||
}
|
||||
public function getParentName()
|
||||
{
|
||||
return $this->parentName;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/LabelDescriptor.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_LabelDescriptor extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
public $key;
|
||||
public $valueType;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setKey($key)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
public function getKey()
|
||||
{
|
||||
return $this->key;
|
||||
}
|
||||
public function setValueType($valueType)
|
||||
{
|
||||
$this->valueType = $valueType;
|
||||
}
|
||||
public function getValueType()
|
||||
{
|
||||
return $this->valueType;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/Linear.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Monitoring/Linear.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Linear extends Google_Model
|
||||
{
|
||||
public $numFiniteBuckets;
|
||||
public $offset;
|
||||
public $width;
|
||||
|
||||
public function setNumFiniteBuckets($numFiniteBuckets)
|
||||
{
|
||||
$this->numFiniteBuckets = $numFiniteBuckets;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
50
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php
vendored
Normal file
50
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListGroupMembersResponse.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_ListGroupMembersResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'members';
|
||||
protected $membersType = 'Google_Service_Monitoring_MonitoredResource';
|
||||
protected $membersDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
|
||||
public function setMembers($members)
|
||||
{
|
||||
$this->members = $members;
|
||||
}
|
||||
public function getMembers()
|
||||
{
|
||||
return $this->members;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListGroupsResponse.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_ListGroupsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'group';
|
||||
protected $groupType = 'Google_Service_Monitoring_Group';
|
||||
protected $groupDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
public function setGroup($group)
|
||||
{
|
||||
$this->group = $group;
|
||||
}
|
||||
public function getGroup()
|
||||
{
|
||||
return $this->group;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListMetricDescriptorsResponse.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_ListMetricDescriptorsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'metricDescriptors';
|
||||
protected $metricDescriptorsType = 'Google_Service_Monitoring_MetricDescriptor';
|
||||
protected $metricDescriptorsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
public function setMetricDescriptors($metricDescriptors)
|
||||
{
|
||||
$this->metricDescriptors = $metricDescriptors;
|
||||
}
|
||||
public function getMetricDescriptors()
|
||||
{
|
||||
return $this->metricDescriptors;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'resourceDescriptors';
|
||||
public $nextPageToken;
|
||||
protected $resourceDescriptorsType = 'Google_Service_Monitoring_MonitoredResourceDescriptor';
|
||||
protected $resourceDescriptorsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setResourceDescriptors($resourceDescriptors)
|
||||
{
|
||||
$this->resourceDescriptors = $resourceDescriptors;
|
||||
}
|
||||
public function getResourceDescriptors()
|
||||
{
|
||||
return $this->resourceDescriptors;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/ListTimeSeriesResponse.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_ListTimeSeriesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'timeSeries';
|
||||
public $nextPageToken;
|
||||
protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
|
||||
protected $timeSeriesDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTimeSeries($timeSeries)
|
||||
{
|
||||
$this->timeSeries = $timeSeries;
|
||||
}
|
||||
public function getTimeSeries()
|
||||
{
|
||||
return $this->timeSeries;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Metric.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Metric.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Metric extends Google_Model
|
||||
{
|
||||
public $labels;
|
||||
public $type;
|
||||
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
95
vendor/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php
vendored
Normal file
95
vendor/google/apiclient-services/src/Google/Service/Monitoring/MetricDescriptor.php
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_MetricDescriptor extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labels';
|
||||
public $description;
|
||||
public $displayName;
|
||||
protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
|
||||
protected $labelsDataType = 'array';
|
||||
public $metricKind;
|
||||
public $name;
|
||||
public $type;
|
||||
public $unit;
|
||||
public $valueType;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setMetricKind($metricKind)
|
||||
{
|
||||
$this->metricKind = $metricKind;
|
||||
}
|
||||
public function getMetricKind()
|
||||
{
|
||||
return $this->metricKind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
public function setUnit($unit)
|
||||
{
|
||||
$this->unit = $unit;
|
||||
}
|
||||
public function getUnit()
|
||||
{
|
||||
return $this->unit;
|
||||
}
|
||||
public function setValueType($valueType)
|
||||
{
|
||||
$this->valueType = $valueType;
|
||||
}
|
||||
public function getValueType()
|
||||
{
|
||||
return $this->valueType;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResource.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_MonitoredResource extends Google_Model
|
||||
{
|
||||
public $labels;
|
||||
public $type;
|
||||
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
68
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php
vendored
Normal file
68
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoredResourceDescriptor.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_MonitoredResourceDescriptor extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labels';
|
||||
public $description;
|
||||
public $displayName;
|
||||
protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
|
||||
protected $labelsDataType = 'array';
|
||||
public $name;
|
||||
public $type;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
20
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php
vendored
Normal file
20
vendor/google/apiclient-services/src/Google/Service/Monitoring/MonitoringEmpty.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_MonitoringEmpty extends Google_Model
|
||||
{
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Option.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Option.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Option extends Google_Model
|
||||
{
|
||||
public $name;
|
||||
public $value;
|
||||
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/Point.php
vendored
Normal file
41
vendor/google/apiclient-services/src/Google/Service/Monitoring/Point.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Point extends Google_Model
|
||||
{
|
||||
protected $intervalType = 'Google_Service_Monitoring_TimeInterval';
|
||||
protected $intervalDataType = '';
|
||||
protected $valueType = 'Google_Service_Monitoring_TypedValue';
|
||||
protected $valueDataType = '';
|
||||
|
||||
public function setInterval(Google_Service_Monitoring_TimeInterval $interval)
|
||||
{
|
||||
$this->interval = $interval;
|
||||
}
|
||||
public function getInterval()
|
||||
{
|
||||
return $this->interval;
|
||||
}
|
||||
public function setValue(Google_Service_Monitoring_TypedValue $value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Range.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/Range.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_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;
|
||||
}
|
||||
}
|
||||
28
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php
vendored
Normal file
28
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/Projects.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "projects" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $projects = $monitoringService->projects;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_Projects extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "collectdTimeSeries" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $collectdTimeSeries = $monitoringService->collectdTimeSeries;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Stackdriver Monitoring Agent only: Creates a new time series.This method is
|
||||
* only for use by the Stackdriver Monitoring Agent. Use
|
||||
* projects.timeSeries.create instead. (collectdTimeSeries.create)
|
||||
*
|
||||
* @param string $name The project in which to create the time series. The
|
||||
* format is "projects/PROJECT_ID_OR_NUMBER".
|
||||
* @param Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MonitoringEmpty
|
||||
*/
|
||||
public function create($name, Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty");
|
||||
}
|
||||
}
|
||||
130
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php
vendored
Normal file
130
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsGroups.php
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "groups" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $groups = $monitoringService->groups;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsGroups extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new group. (groups.create)
|
||||
*
|
||||
* @param string $name The project in which to create the group. The format is
|
||||
* "projects/{project_id_or_number}".
|
||||
* @param Google_Service_Monitoring_Group $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool validateOnly If true, validate this request but do not create
|
||||
* the group.
|
||||
* @return Google_Service_Monitoring_Group
|
||||
*/
|
||||
public function create($name, Google_Service_Monitoring_Group $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Monitoring_Group");
|
||||
}
|
||||
/**
|
||||
* Deletes an existing group. (groups.delete)
|
||||
*
|
||||
* @param string $name The group to delete. The format is
|
||||
* "projects/{project_id_or_number}/groups/{group_id}".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MonitoringEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets a single group. (groups.get)
|
||||
*
|
||||
* @param string $name The group to retrieve. The format is
|
||||
* "projects/{project_id_or_number}/groups/{group_id}".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_Group
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Monitoring_Group");
|
||||
}
|
||||
/**
|
||||
* Lists the existing groups. (groups.listProjectsGroups)
|
||||
*
|
||||
* @param string $name The project whose groups are to be listed. The format is
|
||||
* "projects/{project_id_or_number}".
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string childrenOfGroup A group name:
|
||||
* "projects/{project_id_or_number}/groups/{group_id}". Returns groups whose
|
||||
* parentName field contains the group name. If no groups have this parent, the
|
||||
* results are empty.
|
||||
* @opt_param string descendantsOfGroup A group name:
|
||||
* "projects/{project_id_or_number}/groups/{group_id}". Returns the descendants
|
||||
* of the specified group. This is a superset of the results returned by the
|
||||
* childrenOfGroup filter, and includes children-of-children, and so forth.
|
||||
* @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 int pageSize A positive number that is the maximum number of
|
||||
* results to return.
|
||||
* @opt_param string ancestorsOfGroup A group name:
|
||||
* "projects/{project_id_or_number}/groups/{group_id}". Returns groups that are
|
||||
* ancestors of the specified group. The groups are returned in order, starting
|
||||
* with the immediate parent and ending with the most distant ancestor. If the
|
||||
* specified group has no immediate parent, the results are empty.
|
||||
* @return Google_Service_Monitoring_ListGroupsResponse
|
||||
*/
|
||||
public function listProjectsGroups($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates an existing group. You can change any group attributes except name.
|
||||
* (groups.update)
|
||||
*
|
||||
* @param string $name Output only. The name of this group. The format is
|
||||
* "projects/{project_id_or_number}/groups/{group_id}". When creating a group,
|
||||
* this field is ignored and a new name is created consisting of the project
|
||||
* specified in the call to CreateGroup and a unique {group_id} that is
|
||||
* generated automatically.
|
||||
* @param Google_Service_Monitoring_Group $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool validateOnly If true, validate this request but do not update
|
||||
* the existing group.
|
||||
* @return Google_Service_Monitoring_Group
|
||||
*/
|
||||
public function update($name, Google_Service_Monitoring_Group $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Monitoring_Group");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "members" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $members = $monitoringService->members;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsGroupsMembers extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the monitored resources that are members of a group.
|
||||
* (members.listProjectsGroupsMembers)
|
||||
*
|
||||
* @param string $name The group whose members are listed. The format is
|
||||
* "projects/{project_id_or_number}/groups/{group_id}".
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string interval.endTime Required. The end of the time interval.
|
||||
* @opt_param string filter An optional list filter describing the members to be
|
||||
* returned. The filter may reference the type, labels, and metadata of
|
||||
* monitored resources that comprise the group. For example, to return only
|
||||
* resources representing Compute Engine VM instances, use this filter:
|
||||
* resource.type = "gce_instance"
|
||||
* @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 int pageSize A positive number that is the maximum number of
|
||||
* results to return.
|
||||
* @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.
|
||||
* @return Google_Service_Monitoring_ListGroupMembersResponse
|
||||
*/
|
||||
public function listProjectsGroupsMembers($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Monitoring_ListGroupMembersResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "metricDescriptors" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $metricDescriptors = $monitoringService->metricDescriptors;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new metric descriptor. User-created metric descriptors define
|
||||
* custom metrics. (metricDescriptors.create)
|
||||
*
|
||||
* @param string $name The project on which to execute the request. The format
|
||||
* is "projects/{project_id_or_number}".
|
||||
* @param Google_Service_Monitoring_MetricDescriptor $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MetricDescriptor
|
||||
*/
|
||||
public function create($name, Google_Service_Monitoring_MetricDescriptor $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Monitoring_MetricDescriptor");
|
||||
}
|
||||
/**
|
||||
* Deletes a metric descriptor. Only user-created custom metrics can be deleted.
|
||||
* (metricDescriptors.delete)
|
||||
*
|
||||
* @param string $name The metric descriptor on which to execute the request.
|
||||
* The format is
|
||||
* "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example
|
||||
* of {metric_id} is: "custom.googleapis.com/my_test_metric".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MonitoringEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Monitoring_MonitoringEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets a single metric descriptor. This method does not require a Stackdriver
|
||||
* account. (metricDescriptors.get)
|
||||
*
|
||||
* @param string $name The metric descriptor on which to execute the request.
|
||||
* The format is
|
||||
* "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example
|
||||
* value of {metric_id} is
|
||||
* "compute.googleapis.com/instance/disk/read_bytes_count".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MetricDescriptor
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Monitoring_MetricDescriptor");
|
||||
}
|
||||
/**
|
||||
* Lists metric descriptors that match a filter. This method does not require a
|
||||
* Stackdriver account. (metricDescriptors.listProjectsMetricDescriptors)
|
||||
*
|
||||
* @param string $name The project on which to execute the request. The format
|
||||
* is "projects/{project_id_or_number}".
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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 int pageSize A positive number that is the maximum number of
|
||||
* results to return.
|
||||
* @opt_param string filter If this field is empty, all custom and system-
|
||||
* defined metric descriptors are returned. Otherwise, the filter specifies
|
||||
* which metric descriptors are to be returned. For example, the following
|
||||
* filter matches all custom metrics: metric.type =
|
||||
* starts_with("custom.googleapis.com/")
|
||||
* @return Google_Service_Monitoring_ListMetricDescriptorsResponse
|
||||
*/
|
||||
public function listProjectsMetricDescriptors($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Monitoring_ListMetricDescriptorsResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "monitoredResourceDescriptors" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $monitoredResourceDescriptors = $monitoringService->monitoredResourceDescriptors;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets a single monitored resource descriptor. This method does not require a
|
||||
* Stackdriver account. (monitoredResourceDescriptors.get)
|
||||
*
|
||||
* @param string $name The monitored resource descriptor to get. The format is "
|
||||
* projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}"
|
||||
* . The {resource_type} is a predefined type, such as cloudsql_database.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MonitoredResourceDescriptor
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Monitoring_MonitoredResourceDescriptor");
|
||||
}
|
||||
/**
|
||||
* Lists monitored resource descriptors that match a filter. This method does
|
||||
* not require a Stackdriver account.
|
||||
* (monitoredResourceDescriptors.listProjectsMonitoredResourceDescriptors)
|
||||
*
|
||||
* @param string $name The project on which to execute the request. The format
|
||||
* is "projects/{project_id_or_number}".
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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 int pageSize A positive number that is the maximum number of
|
||||
* results to return.
|
||||
* @opt_param string filter An optional filter describing the descriptors to be
|
||||
* returned. The filter can reference the descriptor's type and labels. For
|
||||
* example, the following filter returns only Google Compute Engine descriptors
|
||||
* that have an id label: resource.type = starts_with("gce_") AND
|
||||
* resource.label:id
|
||||
* @return Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse
|
||||
*/
|
||||
public function listProjectsMonitoredResourceDescriptors($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse");
|
||||
}
|
||||
}
|
||||
119
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php
vendored
Normal file
119
vendor/google/apiclient-services/src/Google/Service/Monitoring/Resource/ProjectsTimeSeries.php
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "timeSeries" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $monitoringService = new Google_Service_Monitoring(...);
|
||||
* $timeSeries = $monitoringService->timeSeries;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates or adds data to one or more time series. The response is empty if all
|
||||
* time series in the request were written. If any time series could not be
|
||||
* written, a corresponding failure message is included in the error response.
|
||||
* (timeSeries.create)
|
||||
*
|
||||
* @param string $name The project on which to execute the request. The format
|
||||
* is "projects/{project_id_or_number}".
|
||||
* @param Google_Service_Monitoring_CreateTimeSeriesRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Monitoring_MonitoringEmpty
|
||||
*/
|
||||
public function create($name, Google_Service_Monitoring_CreateTimeSeriesRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Monitoring_MonitoringEmpty");
|
||||
}
|
||||
/**
|
||||
* Lists time series that match a filter. This method does not require a
|
||||
* Stackdriver account. (timeSeries.listProjectsTimeSeries)
|
||||
*
|
||||
* @param string $name The project on which to execute the request. The format
|
||||
* is "projects/{project_id_or_number}".
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string aggregation.crossSeriesReducer The approach to be used to
|
||||
* combine time series. Not all reducer functions may be applied to all time
|
||||
* series, depending on the metric type and the value type of the original time
|
||||
* series. Reduction may change the metric type of value type of the time
|
||||
* series.Time series data must be aligned in order to perform cross-time series
|
||||
* reduction. If crossSeriesReducer is specified, then perSeriesAligner must be
|
||||
* specified and not equal ALIGN_NONE and alignmentPeriod must be specified;
|
||||
* otherwise, an error is returned.
|
||||
* @opt_param string filter A monitoring filter 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.label.instance_name = "my-instance-name"
|
||||
* @opt_param string aggregation.perSeriesAligner The approach to be used to
|
||||
* align individual time series. Not all alignment functions may be applied to
|
||||
* all time series, depending on the metric type and value type of the original
|
||||
* time series. Alignment may change the metric type or the value type of the
|
||||
* time series.Time series data must be aligned in order to perform cross-time
|
||||
* series reduction. If crossSeriesReducer is specified, then perSeriesAligner
|
||||
* must be specified and not equal ALIGN_NONE and alignmentPeriod must be
|
||||
* specified; otherwise, an error is 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 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 view Specifies which information is returned about the time
|
||||
* series.
|
||||
* @opt_param string aggregation.groupByFields The set of fields to preserve
|
||||
* when crossSeriesReducer is specified. The groupByFields determine how the
|
||||
* time series are partitioned into subsets prior to applying the aggregation
|
||||
* function. 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 crossSeriesReducer 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 groupByFields are
|
||||
* aggregated away. If groupByFields 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 crossSeriesReducer is not defined, this field
|
||||
* is ignored.
|
||||
* @opt_param string interval.endTime Required. The end of the time interval.
|
||||
* @opt_param string aggregation.alignmentPeriod The alignment period for per-
|
||||
* time series alignment. If present, alignmentPeriod must be at least 60
|
||||
* seconds. After per-time series alignment, each time series will contain data
|
||||
* points only on the period boundaries. If perSeriesAligner is not specified or
|
||||
* equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is
|
||||
* specified and does not equal ALIGN_NONE, then this field must be defined;
|
||||
* otherwise an error is returned.
|
||||
* @opt_param int pageSize A positive number that is the maximum number of
|
||||
* results to return. When view field sets to FULL, it limits the number of
|
||||
* Points server will return; if view field is HEADERS, it limits the number of
|
||||
* TimeSeries server will return.
|
||||
* @opt_param string orderBy Specifies the order in which the points of the time
|
||||
* series should be returned. By default, results are not ordered. Currently,
|
||||
* this field must be left blank.
|
||||
* @return Google_Service_Monitoring_ListTimeSeriesResponse
|
||||
*/
|
||||
public function listProjectsTimeSeries($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Monitoring_ListTimeSeriesResponse");
|
||||
}
|
||||
}
|
||||
30
vendor/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php
vendored
Normal file
30
vendor/google/apiclient-services/src/Google/Service/Monitoring/SourceContext.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_SourceContext extends Google_Model
|
||||
{
|
||||
public $fileName;
|
||||
|
||||
public function setFileName($fileName)
|
||||
{
|
||||
$this->fileName = $fileName;
|
||||
}
|
||||
public function getFileName()
|
||||
{
|
||||
return $this->fileName;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Monitoring/TimeInterval.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_TimeInterval extends Google_Model
|
||||
{
|
||||
public $endTime;
|
||||
public $startTime;
|
||||
|
||||
public function setEndTime($endTime)
|
||||
{
|
||||
$this->endTime = $endTime;
|
||||
}
|
||||
public function getEndTime()
|
||||
{
|
||||
return $this->endTime;
|
||||
}
|
||||
public function setStartTime($startTime)
|
||||
{
|
||||
$this->startTime = $startTime;
|
||||
}
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
}
|
||||
70
vendor/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php
vendored
Normal file
70
vendor/google/apiclient-services/src/Google/Service/Monitoring/TimeSeries.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_TimeSeries extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'points';
|
||||
protected $metricType = 'Google_Service_Monitoring_Metric';
|
||||
protected $metricDataType = '';
|
||||
public $metricKind;
|
||||
protected $pointsType = 'Google_Service_Monitoring_Point';
|
||||
protected $pointsDataType = 'array';
|
||||
protected $resourceType = 'Google_Service_Monitoring_MonitoredResource';
|
||||
protected $resourceDataType = '';
|
||||
public $valueType;
|
||||
|
||||
public function setMetric(Google_Service_Monitoring_Metric $metric)
|
||||
{
|
||||
$this->metric = $metric;
|
||||
}
|
||||
public function getMetric()
|
||||
{
|
||||
return $this->metric;
|
||||
}
|
||||
public function setMetricKind($metricKind)
|
||||
{
|
||||
$this->metricKind = $metricKind;
|
||||
}
|
||||
public function getMetricKind()
|
||||
{
|
||||
return $this->metricKind;
|
||||
}
|
||||
public function setPoints($points)
|
||||
{
|
||||
$this->points = $points;
|
||||
}
|
||||
public function getPoints()
|
||||
{
|
||||
return $this->points;
|
||||
}
|
||||
public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
|
||||
{
|
||||
$this->resource = $resource;
|
||||
}
|
||||
public function getResource()
|
||||
{
|
||||
return $this->resource;
|
||||
}
|
||||
public function setValueType($valueType)
|
||||
{
|
||||
$this->valueType = $valueType;
|
||||
}
|
||||
public function getValueType()
|
||||
{
|
||||
return $this->valueType;
|
||||
}
|
||||
}
|
||||
79
vendor/google/apiclient-services/src/Google/Service/Monitoring/Type.php
vendored
Normal file
79
vendor/google/apiclient-services/src/Google/Service/Monitoring/Type.php
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_Type extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'options';
|
||||
protected $fieldsType = 'Google_Service_Monitoring_Field';
|
||||
protected $fieldsDataType = 'array';
|
||||
public $name;
|
||||
public $oneofs;
|
||||
protected $optionsType = 'Google_Service_Monitoring_Option';
|
||||
protected $optionsDataType = 'array';
|
||||
protected $sourceContextType = 'Google_Service_Monitoring_SourceContext';
|
||||
protected $sourceContextDataType = '';
|
||||
public $syntax;
|
||||
|
||||
public function setFields($fields)
|
||||
{
|
||||
$this->fields = $fields;
|
||||
}
|
||||
public function getFields()
|
||||
{
|
||||
return $this->fields;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setOneofs($oneofs)
|
||||
{
|
||||
$this->oneofs = $oneofs;
|
||||
}
|
||||
public function getOneofs()
|
||||
{
|
||||
return $this->oneofs;
|
||||
}
|
||||
public function setOptions($options)
|
||||
{
|
||||
$this->options = $options;
|
||||
}
|
||||
public function getOptions()
|
||||
{
|
||||
return $this->options;
|
||||
}
|
||||
public function setSourceContext(Google_Service_Monitoring_SourceContext $sourceContext)
|
||||
{
|
||||
$this->sourceContext = $sourceContext;
|
||||
}
|
||||
public function getSourceContext()
|
||||
{
|
||||
return $this->sourceContext;
|
||||
}
|
||||
public function setSyntax($syntax)
|
||||
{
|
||||
$this->syntax = $syntax;
|
||||
}
|
||||
public function getSyntax()
|
||||
{
|
||||
return $this->syntax;
|
||||
}
|
||||
}
|
||||
67
vendor/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php
vendored
Normal file
67
vendor/google/apiclient-services/src/Google/Service/Monitoring/TypedValue.php
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Monitoring_TypedValue extends Google_Model
|
||||
{
|
||||
public $boolValue;
|
||||
protected $distributionValueType = 'Google_Service_Monitoring_Distribution';
|
||||
protected $distributionValueDataType = '';
|
||||
public $doubleValue;
|
||||
public $int64Value;
|
||||
public $stringValue;
|
||||
|
||||
public function setBoolValue($boolValue)
|
||||
{
|
||||
$this->boolValue = $boolValue;
|
||||
}
|
||||
public function getBoolValue()
|
||||
{
|
||||
return $this->boolValue;
|
||||
}
|
||||
public function setDistributionValue(Google_Service_Monitoring_Distribution $distributionValue)
|
||||
{
|
||||
$this->distributionValue = $distributionValue;
|
||||
}
|
||||
public function getDistributionValue()
|
||||
{
|
||||
return $this->distributionValue;
|
||||
}
|
||||
public function setDoubleValue($doubleValue)
|
||||
{
|
||||
$this->doubleValue = $doubleValue;
|
||||
}
|
||||
public function getDoubleValue()
|
||||
{
|
||||
return $this->doubleValue;
|
||||
}
|
||||
public function setInt64Value($int64Value)
|
||||
{
|
||||
$this->int64Value = $int64Value;
|
||||
}
|
||||
public function getInt64Value()
|
||||
{
|
||||
return $this->int64Value;
|
||||
}
|
||||
public function setStringValue($stringValue)
|
||||
{
|
||||
$this->stringValue = $stringValue;
|
||||
}
|
||||
public function getStringValue()
|
||||
{
|
||||
return $this->stringValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user