Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -24,26 +24,44 @@ class Google_Service_Monitoring_BucketOptions extends Google_Model
protected $linearBucketsType = 'Google_Service_Monitoring_Linear';
protected $linearBucketsDataType = '';
/**
* @param Google_Service_Monitoring_Explicit
*/
public function setExplicitBuckets(Google_Service_Monitoring_Explicit $explicitBuckets)
{
$this->explicitBuckets = $explicitBuckets;
}
/**
* @return Google_Service_Monitoring_Explicit
*/
public function getExplicitBuckets()
{
return $this->explicitBuckets;
}
/**
* @param Google_Service_Monitoring_Exponential
*/
public function setExponentialBuckets(Google_Service_Monitoring_Exponential $exponentialBuckets)
{
$this->exponentialBuckets = $exponentialBuckets;
}
/**
* @return Google_Service_Monitoring_Exponential
*/
public function getExponentialBuckets()
{
return $this->exponentialBuckets;
}
/**
* @param Google_Service_Monitoring_Linear
*/
public function setLinearBuckets(Google_Service_Monitoring_Linear $linearBuckets)
{
$this->linearBuckets = $linearBuckets;
}
/**
* @return Google_Service_Monitoring_Linear
*/
public function getLinearBuckets()
{
return $this->linearBuckets;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -37,10 +37,16 @@ class Google_Service_Monitoring_CollectdPayload extends Google_Collection
{
return $this->endTime;
}
/**
* @param Google_Service_Monitoring_TypedValue
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_Monitoring_TypedValue
*/
public function getMetadata()
{
return $this->metadata;
@@ -85,10 +91,16 @@ class Google_Service_Monitoring_CollectdPayload extends Google_Collection
{
return $this->typeInstance;
}
/**
* @param Google_Service_Monitoring_CollectdValue
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Google_Service_Monitoring_CollectdValue
*/
public function getValues()
{
return $this->values;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -38,10 +38,16 @@ class Google_Service_Monitoring_CollectdValue extends Google_Model
{
return $this->dataSourceType;
}
/**
* @param Google_Service_Monitoring_TypedValue
*/
public function setValue(Google_Service_Monitoring_TypedValue $value)
{
$this->value = $value;
}
/**
* @return Google_Service_Monitoring_TypedValue
*/
public function getValue()
{
return $this->value;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -24,10 +24,16 @@ class Google_Service_Monitoring_CreateCollectdTimeSeriesRequest extends Google_C
protected $resourceType = 'Google_Service_Monitoring_MonitoredResource';
protected $resourceDataType = '';
/**
* @param Google_Service_Monitoring_CollectdPayload
*/
public function setCollectdPayloads($collectdPayloads)
{
$this->collectdPayloads = $collectdPayloads;
}
/**
* @return Google_Service_Monitoring_CollectdPayload
*/
public function getCollectdPayloads()
{
return $this->collectdPayloads;
@@ -40,10 +46,16 @@ class Google_Service_Monitoring_CreateCollectdTimeSeriesRequest extends Google_C
{
return $this->collectdVersion;
}
/**
* @param Google_Service_Monitoring_MonitoredResource
*/
public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
{
$this->resource = $resource;
}
/**
* @return Google_Service_Monitoring_MonitoredResource
*/
public function getResource()
{
return $this->resource;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -21,10 +21,16 @@ class Google_Service_Monitoring_CreateTimeSeriesRequest extends Google_Collectio
protected $timeSeriesType = 'Google_Service_Monitoring_TimeSeries';
protected $timeSeriesDataType = 'array';
/**
* @param Google_Service_Monitoring_TimeSeries
*/
public function setTimeSeries($timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return Google_Service_Monitoring_TimeSeries
*/
public function getTimeSeries()
{
return $this->timeSeries;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -35,10 +35,16 @@ class Google_Service_Monitoring_Distribution extends Google_Collection
{
return $this->bucketCounts;
}
/**
* @param Google_Service_Monitoring_BucketOptions
*/
public function setBucketOptions(Google_Service_Monitoring_BucketOptions $bucketOptions)
{
$this->bucketOptions = $bucketOptions;
}
/**
* @return Google_Service_Monitoring_BucketOptions
*/
public function getBucketOptions()
{
return $this->bucketOptions;
@@ -59,10 +65,16 @@ class Google_Service_Monitoring_Distribution extends Google_Collection
{
return $this->mean;
}
/**
* @param Google_Service_Monitoring_Range
*/
public function setRange(Google_Service_Monitoring_Range $range)
{
$this->range = $range;
}
/**
* @return Google_Service_Monitoring_Range
*/
public function getRange()
{
return $this->range;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -86,10 +86,16 @@ class Google_Service_Monitoring_Field extends Google_Collection
{
return $this->oneofIndex;
}
/**
* @param Google_Service_Monitoring_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_Monitoring_Option
*/
public function getOptions()
{
return $this->options;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -23,10 +23,16 @@ class Google_Service_Monitoring_ListGroupMembersResponse extends Google_Collecti
public $nextPageToken;
public $totalSize;
/**
* @param Google_Service_Monitoring_MonitoredResource
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return Google_Service_Monitoring_MonitoredResource
*/
public function getMembers()
{
return $this->members;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -22,10 +22,16 @@ class Google_Service_Monitoring_ListGroupsResponse extends Google_Collection
protected $groupDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Monitoring_Group
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return Google_Service_Monitoring_Group
*/
public function getGroup()
{
return $this->group;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -22,10 +22,16 @@ class Google_Service_Monitoring_ListMetricDescriptorsResponse extends Google_Col
protected $metricDescriptorsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Monitoring_MetricDescriptor
*/
public function setMetricDescriptors($metricDescriptors)
{
$this->metricDescriptors = $metricDescriptors;
}
/**
* @return Google_Service_Monitoring_MetricDescriptor
*/
public function getMetricDescriptors()
{
return $this->metricDescriptors;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -30,10 +30,16 @@ class Google_Service_Monitoring_ListMonitoredResourceDescriptorsResponse extends
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Monitoring_MonitoredResourceDescriptor
*/
public function setResourceDescriptors($resourceDescriptors)
{
$this->resourceDescriptors = $resourceDescriptors;
}
/**
* @return Google_Service_Monitoring_MonitoredResourceDescriptor
*/
public function getResourceDescriptors()
{
return $this->resourceDescriptors;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -30,10 +30,16 @@ class Google_Service_Monitoring_ListTimeSeriesResponse extends Google_Collection
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Monitoring_TimeSeries
*/
public function setTimeSeries($timeSeries)
{
$this->timeSeries = $timeSeries;
}
/**
* @return Google_Service_Monitoring_TimeSeries
*/
public function getTimeSeries()
{
return $this->timeSeries;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -44,10 +44,16 @@ class Google_Service_Monitoring_MetricDescriptor extends Google_Collection
{
return $this->displayName;
}
/**
* @param Google_Service_Monitoring_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_Monitoring_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -41,10 +41,16 @@ class Google_Service_Monitoring_MonitoredResourceDescriptor extends Google_Colle
{
return $this->displayName;
}
/**
* @param Google_Service_Monitoring_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_Monitoring_LabelDescriptor
*/
public function getLabels()
{
return $this->labels;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -22,18 +22,30 @@ class Google_Service_Monitoring_Point extends Google_Model
protected $valueType = 'Google_Service_Monitoring_TypedValue';
protected $valueDataType = '';
/**
* @param Google_Service_Monitoring_TimeInterval
*/
public function setInterval(Google_Service_Monitoring_TimeInterval $interval)
{
$this->interval = $interval;
}
/**
* @return Google_Service_Monitoring_TimeInterval
*/
public function getInterval()
{
return $this->interval;
}
/**
* @param Google_Service_Monitoring_TypedValue
*/
public function setValue(Google_Service_Monitoring_TypedValue $value)
{
$this->value = $value;
}
/**
* @return Google_Service_Monitoring_TypedValue
*/
public function getValue()
{
return $this->value;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -34,12 +34,12 @@ class Google_Service_Monitoring_Resource_ProjectsCollectdTimeSeries extends Goog
* format is "projects/PROJECT_ID_OR_NUMBER".
* @param Google_Service_Monitoring_CreateCollectdTimeSeriesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Monitoring_MonitoringEmpty
* @return Google_Service_Monitoring_CreateCollectdTimeSeriesResponse
*/
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");
return $this->call('create', array($params), "Google_Service_Monitoring_CreateCollectdTimeSeriesResponse");
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -84,10 +84,6 @@ class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Googl
* 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-
@@ -95,6 +91,10 @@ class Google_Service_Monitoring_Resource_ProjectsMetricDescriptors extends Googl
* which metric descriptors are to be returned. For example, the following
* filter matches all custom metrics: metric.type =
* starts_with("custom.googleapis.com/")
* @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_ListMetricDescriptorsResponse
*/
public function listProjectsMetricDescriptors($name, $optParams = array())

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -50,10 +50,6 @@ class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors ex
* 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
@@ -61,6 +57,10 @@ class Google_Service_Monitoring_Resource_ProjectsMonitoredResourceDescriptors ex
* example, the following filter returns only Google Compute Engine descriptors
* that have an id label: resource.type = starts_with("gce_") AND
* resource.label:id
* @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_ListMonitoredResourceDescriptorsResponse
*/
public function listProjectsMonitoredResourceDescriptors($name, $optParams = array())

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -51,31 +51,6 @@ 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 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.
@@ -105,9 +80,33 @@ class Google_Service_Monitoring_Resource_ProjectsTimeSeries extends Google_Servi
* 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.
* @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

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -18,6 +18,8 @@
class Google_Service_Monitoring_TimeSeries extends Google_Collection
{
protected $collection_key = 'points';
protected $metadataType = 'Google_Service_Monitoring_MonitoredResourceMetadata';
protected $metadataDataType = '';
protected $metricType = 'Google_Service_Monitoring_Metric';
protected $metricDataType = '';
public $metricKind;
@@ -27,10 +29,30 @@ class Google_Service_Monitoring_TimeSeries extends Google_Collection
protected $resourceDataType = '';
public $valueType;
/**
* @param Google_Service_Monitoring_MonitoredResourceMetadata
*/
public function setMetadata(Google_Service_Monitoring_MonitoredResourceMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_Monitoring_MonitoredResourceMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param Google_Service_Monitoring_Metric
*/
public function setMetric(Google_Service_Monitoring_Metric $metric)
{
$this->metric = $metric;
}
/**
* @return Google_Service_Monitoring_Metric
*/
public function getMetric()
{
return $this->metric;
@@ -43,18 +65,30 @@ class Google_Service_Monitoring_TimeSeries extends Google_Collection
{
return $this->metricKind;
}
/**
* @param Google_Service_Monitoring_Point
*/
public function setPoints($points)
{
$this->points = $points;
}
/**
* @return Google_Service_Monitoring_Point
*/
public function getPoints()
{
return $this->points;
}
/**
* @param Google_Service_Monitoring_MonitoredResource
*/
public function setResource(Google_Service_Monitoring_MonitoredResource $resource)
{
$this->resource = $resource;
}
/**
* @return Google_Service_Monitoring_MonitoredResource
*/
public function getResource()
{
return $this->resource;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -28,10 +28,16 @@ class Google_Service_Monitoring_Type extends Google_Collection
protected $sourceContextDataType = '';
public $syntax;
/**
* @param Google_Service_Monitoring_Field
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return Google_Service_Monitoring_Field
*/
public function getFields()
{
return $this->fields;
@@ -52,18 +58,30 @@ class Google_Service_Monitoring_Type extends Google_Collection
{
return $this->oneofs;
}
/**
* @param Google_Service_Monitoring_Option
*/
public function setOptions($options)
{
$this->options = $options;
}
/**
* @return Google_Service_Monitoring_Option
*/
public function getOptions()
{
return $this->options;
}
/**
* @param Google_Service_Monitoring_SourceContext
*/
public function setSourceContext(Google_Service_Monitoring_SourceContext $sourceContext)
{
$this->sourceContext = $sourceContext;
}
/**
* @return Google_Service_Monitoring_SourceContext
*/
public function getSourceContext()
{
return $this->sourceContext;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* 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
@@ -32,10 +32,16 @@ class Google_Service_Monitoring_TypedValue extends Google_Model
{
return $this->boolValue;
}
/**
* @param Google_Service_Monitoring_Distribution
*/
public function setDistributionValue(Google_Service_Monitoring_Distribution $distributionValue)
{
$this->distributionValue = $distributionValue;
}
/**
* @return Google_Service_Monitoring_Distribution
*/
public function getDistributionValue()
{
return $this->distributionValue;