Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

View File

@@ -17,11 +17,13 @@
class Google_Service_Monitoring_Distribution extends Google_Collection
{
protected $collection_key = 'bucketCounts';
protected $collection_key = 'exemplars';
public $bucketCounts;
protected $bucketOptionsType = 'Google_Service_Monitoring_BucketOptions';
protected $bucketOptionsDataType = '';
public $count;
protected $exemplarsType = 'Google_Service_Monitoring_Exemplar';
protected $exemplarsDataType = 'array';
public $mean;
protected $rangeType = 'Google_Service_Monitoring_Range';
protected $rangeDataType = '';
@@ -57,6 +59,20 @@ class Google_Service_Monitoring_Distribution extends Google_Collection
{
return $this->count;
}
/**
* @param Google_Service_Monitoring_Exemplar
*/
public function setExemplars($exemplars)
{
$this->exemplars = $exemplars;
}
/**
* @return Google_Service_Monitoring_Exemplar
*/
public function getExemplars()
{
return $this->exemplars;
}
public function setMean($mean)
{
$this->mean = $mean;

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_Monitoring_DroppedLabels extends Google_Model
{
public $label;
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_Monitoring_Exemplar extends Google_Collection
{
protected $collection_key = 'attachments';
public $attachments;
public $timestamp;
public $value;
public function setAttachments($attachments)
{
$this->attachments = $attachments;
}
public function getAttachments()
{
return $this->attachments;
}
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
}
public function getTimestamp()
{
return $this->timestamp;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -17,20 +17,13 @@
class Google_Service_Monitoring_InternalChecker extends Google_Model
{
public $checkerId;
public $displayName;
public $gcpZone;
public $name;
public $network;
public $projectId;
public $peerProjectId;
public $state;
public function setCheckerId($checkerId)
{
$this->checkerId = $checkerId;
}
public function getCheckerId()
{
return $this->checkerId;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
@@ -47,6 +40,14 @@ class Google_Service_Monitoring_InternalChecker extends Google_Model
{
return $this->gcpZone;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNetwork($network)
{
$this->network = $network;
@@ -55,12 +56,20 @@ class Google_Service_Monitoring_InternalChecker extends Google_Model
{
return $this->network;
}
public function setProjectId($projectId)
public function setPeerProjectId($peerProjectId)
{
$this->projectId = $projectId;
$this->peerProjectId = $peerProjectId;
}
public function getProjectId()
public function getPeerProjectId()
{
return $this->projectId;
return $this->peerProjectId;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
}

View File

@@ -18,10 +18,26 @@
class Google_Service_Monitoring_ListTimeSeriesResponse extends Google_Collection
{
protected $collection_key = 'timeSeries';
protected $executionErrorsType = 'Google_Service_Monitoring_Status';
protected $executionErrorsDataType = 'array';
public $nextPageToken;
protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
protected $timeSeriesDataType = 'array';
/**
* @param Google_Service_Monitoring_Status
*/
public function setExecutionErrors($executionErrors)
{
$this->executionErrors = $executionErrors;
}
/**
* @return Google_Service_Monitoring_Status
*/
public function getExecutionErrors()
{
return $this->executionErrors;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;

View File

@@ -22,6 +22,8 @@ class Google_Service_Monitoring_MetricDescriptor extends Google_Collection
public $displayName;
protected $labelsType = 'Google_Service_Monitoring_LabelDescriptor';
protected $labelsDataType = 'array';
protected $metadataType = 'Google_Service_Monitoring_MetricDescriptorMetadata';
protected $metadataDataType = '';
public $metricKind;
public $name;
public $type;
@@ -58,6 +60,20 @@ class Google_Service_Monitoring_MetricDescriptor extends Google_Collection
{
return $this->labels;
}
/**
* @param Google_Service_Monitoring_MetricDescriptorMetadata
*/
public function setMetadata(Google_Service_Monitoring_MetricDescriptorMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_Monitoring_MetricDescriptorMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setMetricKind($metricKind)
{
$this->metricKind = $metricKind;

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_Monitoring_MetricDescriptorMetadata extends Google_Model
{
public $ingestDelay;
public $launchStage;
public $samplePeriod;
public function setIngestDelay($ingestDelay)
{
$this->ingestDelay = $ingestDelay;
}
public function getIngestDelay()
{
return $this->ingestDelay;
}
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
public function getLaunchStage()
{
return $this->launchStage;
}
public function setSamplePeriod($samplePeriod)
{
$this->samplePeriod = $samplePeriod;
}
public function getSamplePeriod()
{
return $this->samplePeriod;
}
}

View File

@@ -49,6 +49,10 @@ class Google_Service_Monitoring_Resource_ProjectsGroups extends Google_Service_R
* @param string $name The group to delete. The format is
* "projects/{project_id_or_number}/groups/{group_id}".
* @param array $optParams Optional parameters.
*
* @opt_param bool recursive If this field is true, then the request means to
* delete a group with all its descendants. Otherwise, the request means to
* delete a group only when it has no descendants. The default value is false.
* @return Google_Service_Monitoring_MonitoringEmpty
*/
public function delete($name, $optParams = array())

View File

@@ -33,21 +33,21 @@ class Google_Service_Monitoring_Resource_ProjectsGroupsMembers extends Google_Se
* "projects/{project_id_or_number}/groups/{group_id}".
* @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 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 int pageSize A positive number that is the maximum number of
* results to return.
* @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())

View File

@@ -84,8 +84,6 @@ class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Googl
* is "projects/{project_id_or_number}".
* @param array $optParams Optional parameters.
*
* @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
@@ -95,6 +93,8 @@ class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Googl
* 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.
* @return Google_Service_Monitoring_ListMetricDescriptorsResponse
*/
public function listProjectsMetricDescriptors($name, $optParams = array())

View File

@@ -50,8 +50,6 @@ class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors ex
* is "projects/{project_id_or_number}".
* @param array $optParams Optional parameters.
*
* @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
@@ -61,6 +59,8 @@ class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors ex
* 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.
* @return Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse
*/
public function listProjectsMonitoredResourceDescriptors($name, $optParams = array())

View File

@@ -54,12 +54,12 @@ class Google_Service_Monitoring_Resource_ProjectsNotificationChannelDescriptors
* GetNotificationChannelDescriptor operation, instead.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken If non-empty, page_token must contain a value
* returned as the next_page_token in a previous response to request the next
* set of results.
* @opt_param int pageSize The maximum number of results to return in a single
* response. If not set to a positive number, a reasonable value will be chosen
* by the service.
* @opt_param string pageToken If non-empty, page_token must contain a value
* returned as the next_page_token in a previous response to request the next
* set of results.
* @return Google_Service_Monitoring_ListNotificationChannelDescriptorsResponse
*/
public function listProjectsNotificationChannelDescriptors($name, $optParams = array())

View File

@@ -27,7 +27,7 @@ class Google_Service_Monitoring_Resource_ProjectsNotificationChannels extends Go
{
/**
* Creates a new notification channel, representing a single notification
* endpoint such as an email address, SMS number, or pagerduty service.
* endpoint such as an email address, SMS number, or PagerDuty service.
* (notificationChannels.create)
*
* @param string $name The project on which to execute the request. The format

View File

@@ -51,6 +51,31 @@ class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Servi
* 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 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 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 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.
@@ -77,36 +102,12 @@ class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Servi
* 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.
* 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 orderBy Unsupported: must be left blank. The points in each
* time series are returned in reverse time order.
* @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.
* @return Google_Service_Monitoring_ListTimeSeriesResponse
*/
public function listProjectsTimeSeries($name, $optParams = array())

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_Monitoring_SpanContext extends Google_Model
{
public $spanName;
public function setSpanName($spanName)
{
$this->spanName = $spanName;
}
public function getSpanName()
{
return $this->spanName;
}
}