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
@@ -22,6 +22,7 @@ class Google_Service_Logging_HttpRequest extends Google_Model
public $cacheLookup;
public $cacheValidatedWithOriginServer;
public $latency;
public $protocol;
public $referer;
public $remoteIp;
public $requestMethod;
@@ -72,6 +73,14 @@ class Google_Service_Logging_HttpRequest extends Google_Model
{
return $this->latency;
}
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
public function getProtocol()
{
return $this->protocol;
}
public function setReferer($referer)
{
$this->referer = $referer;

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,10 +22,16 @@ class Google_Service_Logging_ListLogEntriesResponse extends Google_Collection
protected $entriesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Logging_LogEntry
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return Google_Service_Logging_LogEntry
*/
public function getEntries()
{
return $this->entries;

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_Logging_ListLogMetricsResponse extends Google_Collection
protected $metricsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Logging_LogMetric
*/
public function setMetrics($metrics)
{
$this->metrics = $metrics;
}
/**
* @return Google_Service_Logging_LogMetric
*/
public function getMetrics()
{
return $this->metrics;

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
@@ -30,10 +30,16 @@ class Google_Service_Logging_ListMonitoredResourceDescriptorsResponse extends Go
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Logging_MonitoredResourceDescriptor
*/
public function setResourceDescriptors($resourceDescriptors)
{
$this->resourceDescriptors = $resourceDescriptors;
}
/**
* @return Google_Service_Logging_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_Logging_ListSinksResponse extends Google_Collection
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Logging_LogSink
*/
public function setSinks($sinks)
{
$this->sinks = $sinks;
}
/**
* @return Google_Service_Logging_LogSink
*/
public function getSinks()
{
return $this->sinks;

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,22 +23,32 @@ class Google_Service_Logging_LogEntry extends Google_Model
public $jsonPayload;
public $labels;
public $logName;
protected $metadataType = 'Google_Service_Logging_MonitoredResourceMetadata';
protected $metadataDataType = '';
protected $operationType = 'Google_Service_Logging_LogEntryOperation';
protected $operationDataType = '';
public $protoPayload;
public $receiveTimestamp;
protected $resourceType = 'Google_Service_Logging_MonitoredResource';
protected $resourceDataType = '';
public $severity;
protected $sourceLocationType = 'Google_Service_Logging_LogEntrySourceLocation';
protected $sourceLocationDataType = '';
public $spanId;
public $textPayload;
public $timestamp;
public $trace;
/**
* @param Google_Service_Logging_HttpRequest
*/
public function setHttpRequest(Google_Service_Logging_HttpRequest $httpRequest)
{
$this->httpRequest = $httpRequest;
}
/**
* @return Google_Service_Logging_HttpRequest
*/
public function getHttpRequest()
{
return $this->httpRequest;
@@ -75,10 +85,30 @@ class Google_Service_Logging_LogEntry extends Google_Model
{
return $this->logName;
}
/**
* @param Google_Service_Logging_MonitoredResourceMetadata
*/
public function setMetadata(Google_Service_Logging_MonitoredResourceMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_Logging_MonitoredResourceMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param Google_Service_Logging_LogEntryOperation
*/
public function setOperation(Google_Service_Logging_LogEntryOperation $operation)
{
$this->operation = $operation;
}
/**
* @return Google_Service_Logging_LogEntryOperation
*/
public function getOperation()
{
return $this->operation;
@@ -91,10 +121,24 @@ class Google_Service_Logging_LogEntry extends Google_Model
{
return $this->protoPayload;
}
public function setReceiveTimestamp($receiveTimestamp)
{
$this->receiveTimestamp = $receiveTimestamp;
}
public function getReceiveTimestamp()
{
return $this->receiveTimestamp;
}
/**
* @param Google_Service_Logging_MonitoredResource
*/
public function setResource(Google_Service_Logging_MonitoredResource $resource)
{
$this->resource = $resource;
}
/**
* @return Google_Service_Logging_MonitoredResource
*/
public function getResource()
{
return $this->resource;
@@ -107,14 +151,28 @@ class Google_Service_Logging_LogEntry extends Google_Model
{
return $this->severity;
}
/**
* @param Google_Service_Logging_LogEntrySourceLocation
*/
public function setSourceLocation(Google_Service_Logging_LogEntrySourceLocation $sourceLocation)
{
$this->sourceLocation = $sourceLocation;
}
/**
* @return Google_Service_Logging_LogEntrySourceLocation
*/
public function getSourceLocation()
{
return $this->sourceLocation;
}
public function setSpanId($spanId)
{
$this->spanId = $spanId;
}
public function getSpanId()
{
return $this->spanId;
}
public function setTextPayload($textPayload)
{
$this->textPayload = $textPayload;

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
@@ -39,10 +39,16 @@ class Google_Service_Logging_LogLine extends Google_Model
{
return $this->severity;
}
/**
* @param Google_Service_Logging_SourceLocation
*/
public function setSourceLocation(Google_Service_Logging_SourceLocation $sourceLocation)
{
$this->sourceLocation = $sourceLocation;
}
/**
* @return Google_Service_Logging_SourceLocation
*/
public function getSourceLocation()
{
return $this->sourceLocation;

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
@@ -17,11 +17,31 @@
class Google_Service_Logging_LogMetric extends Google_Model
{
protected $bucketOptionsType = 'Google_Service_Logging_BucketOptions';
protected $bucketOptionsDataType = '';
public $description;
public $filter;
public $labelExtractors;
protected $metricDescriptorType = 'Google_Service_Logging_MetricDescriptor';
protected $metricDescriptorDataType = '';
public $name;
public $valueExtractor;
public $version;
/**
* @param Google_Service_Logging_BucketOptions
*/
public function setBucketOptions(Google_Service_Logging_BucketOptions $bucketOptions)
{
$this->bucketOptions = $bucketOptions;
}
/**
* @return Google_Service_Logging_BucketOptions
*/
public function getBucketOptions()
{
return $this->bucketOptions;
}
public function setDescription($description)
{
$this->description = $description;
@@ -38,6 +58,28 @@ class Google_Service_Logging_LogMetric extends Google_Model
{
return $this->filter;
}
public function setLabelExtractors($labelExtractors)
{
$this->labelExtractors = $labelExtractors;
}
public function getLabelExtractors()
{
return $this->labelExtractors;
}
/**
* @param Google_Service_Logging_MetricDescriptor
*/
public function setMetricDescriptor(Google_Service_Logging_MetricDescriptor $metricDescriptor)
{
$this->metricDescriptor = $metricDescriptor;
}
/**
* @return Google_Service_Logging_MetricDescriptor
*/
public function getMetricDescriptor()
{
return $this->metricDescriptor;
}
public function setName($name)
{
$this->name = $name;
@@ -46,6 +88,14 @@ class Google_Service_Logging_LogMetric extends Google_Model
{
return $this->name;
}
public function setValueExtractor($valueExtractor)
{
$this->valueExtractor = $valueExtractor;
}
public function getValueExtractor()
{
return $this->valueExtractor;
}
public function setVersion($version)
{
$this->version = $version;

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
@@ -20,6 +20,7 @@ class Google_Service_Logging_LogSink extends Google_Model
public $destination;
public $endTime;
public $filter;
public $includeChildren;
public $name;
public $outputVersionFormat;
public $startTime;
@@ -49,6 +50,14 @@ class Google_Service_Logging_LogSink extends Google_Model
{
return $this->filter;
}
public function setIncludeChildren($includeChildren)
{
$this->includeChildren = $includeChildren;
}
public function getIncludeChildren()
{
return $this->includeChildren;
}
public function setName($name)
{
$this->name = $name;

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
@@ -41,10 +41,16 @@ class Google_Service_Logging_MonitoredResourceDescriptor extends Google_Collecti
{
return $this->displayName;
}
/**
* @param Google_Service_Logging_LabelDescriptor
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return Google_Service_Logging_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
@@ -149,10 +149,16 @@ class Google_Service_Logging_RequestLog extends Google_Collection
{
return $this->latency;
}
/**
* @param Google_Service_Logging_LogLine
*/
public function setLine($line)
{
$this->line = $line;
}
/**
* @return Google_Service_Logging_LogLine
*/
public function getLine()
{
return $this->line;
@@ -229,10 +235,16 @@ class Google_Service_Logging_RequestLog extends Google_Collection
{
return $this->responseSize;
}
/**
* @param Google_Service_Logging_SourceReference
*/
public function setSourceReference($sourceReference)
{
$this->sourceReference = $sourceReference;
}
/**
* @return Google_Service_Logging_SourceReference
*/
public function getSourceReference()
{
return $this->sourceReference;

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
@@ -27,10 +27,9 @@ class Google_Service_Logging_Resource_BillingAccountsSinks extends Google_Servic
{
/**
* Creates a sink that exports specified log entries to a destination. The
* export of newly-ingested log entries begins immediately, unless the current
* time is outside the sink's start and end times or the sink's writer_identity
* is not permitted to write to the destination. A sink can export log entries
* only from the resource owning the sink. (sinks.create)
* export of newly-ingested log entries begins immediately, unless the sink's
* writer_identity is not permitted to write to the destination. A sink can
* export log entries only from the resource owning the sink. (sinks.create)
*
* @param string $parent Required. The resource in which to create the sink:
* "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
@@ -119,12 +118,10 @@ class Google_Service_Logging_Resource_BillingAccountsSinks extends Google_Servic
return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
}
/**
* Updates a sink. If the named sink doesn't exist, then this method is
* identical to sinks.create. If the named sink does exist, then this method
* replaces the following fields in the existing sink with values from the new
* sink: destination, filter, output_version_format, start_time, and end_time.
* The updated filter might also have a new writer_identity; see the
* unique_writer_identity field. (sinks.update)
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.patch)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
@@ -143,7 +140,57 @@ class Google_Service_Logging_Resource_BillingAccountsSinks extends Google_Servic
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is false.
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function patch($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
{
$params = array('sinkName' => $sinkName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Logging_LogSink");
}
/**
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.update)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
* /my-sink-id".
* @param Google_Service_Logging_LogSink $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
* description of this field. When updating a sink, the effect of this field on
* the value of writer_identity in the updated sink depends on both the old and
* new values of this field: If the old and new values of this field are both
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function update($sinkName, Google_Service_Logging_LogSink $postBody, $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
@@ -41,7 +41,12 @@ class Google_Service_Logging_Resource_Entries extends Google_Service_Resource
return $this->call('list', array($params), "Google_Service_Logging_ListLogEntriesResponse");
}
/**
* Writes log entries to Stackdriver Logging. (entries.write)
* Writes log entries to Stackdriver Logging. This API method is the only way to
* send log entries to Stackdriver Logging. This method is used, directly or
* indirectly, by the Stackdriver Logging agent (fluentd) and all logging
* libraries configured to use Stackdriver Logging. A single request may contain
* log entries for a maximum of 1000 different resources (projects,
* organizations, billing accounts or folders) (entries.write)
*
* @param Google_Service_Logging_WriteLogEntriesRequest $postBody
* @param array $optParams Optional parameters.

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
@@ -27,10 +27,9 @@ class Google_Service_Logging_Resource_FoldersSinks extends Google_Service_Resour
{
/**
* Creates a sink that exports specified log entries to a destination. The
* export of newly-ingested log entries begins immediately, unless the current
* time is outside the sink's start and end times or the sink's writer_identity
* is not permitted to write to the destination. A sink can export log entries
* only from the resource owning the sink. (sinks.create)
* export of newly-ingested log entries begins immediately, unless the sink's
* writer_identity is not permitted to write to the destination. A sink can
* export log entries only from the resource owning the sink. (sinks.create)
*
* @param string $parent Required. The resource in which to create the sink:
* "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
@@ -119,12 +118,10 @@ class Google_Service_Logging_Resource_FoldersSinks extends Google_Service_Resour
return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
}
/**
* Updates a sink. If the named sink doesn't exist, then this method is
* identical to sinks.create. If the named sink does exist, then this method
* replaces the following fields in the existing sink with values from the new
* sink: destination, filter, output_version_format, start_time, and end_time.
* The updated filter might also have a new writer_identity; see the
* unique_writer_identity field. (sinks.update)
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.patch)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
@@ -143,7 +140,57 @@ class Google_Service_Logging_Resource_FoldersSinks extends Google_Service_Resour
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is false.
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function patch($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
{
$params = array('sinkName' => $sinkName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Logging_LogSink");
}
/**
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.update)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
* /my-sink-id".
* @param Google_Service_Logging_LogSink $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
* description of this field. When updating a sink, the effect of this field on
* the value of writer_identity in the updated sink depends on both the old and
* new values of this field: If the old and new values of this field are both
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function update($sinkName, Google_Service_Logging_LogSink $postBody, $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
@@ -31,13 +31,13 @@ class Google_Service_Logging_Resource_MonitoredResourceDescriptors extends Googl
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of results to return
* from this request. Non-positive values are ignored. The presence of
* nextPageToken in the response indicates that more results might be available.
* @opt_param string pageToken Optional. If present, then retrieve the next
* batch of results from the preceding call to this method. pageToken must be
* the value of nextPageToken from the previous response. The values of other
* method parameters should be identical to those in the previous call.
* @opt_param int pageSize Optional. The maximum number of results to return
* from this request. Non-positive values are ignored. The presence of
* nextPageToken in the response indicates that more results might be available.
* @return Google_Service_Logging_ListMonitoredResourceDescriptorsResponse
*/
public function listMonitoredResourceDescriptors($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
@@ -27,10 +27,9 @@ class Google_Service_Logging_Resource_OrganizationsSinks extends Google_Service_
{
/**
* Creates a sink that exports specified log entries to a destination. The
* export of newly-ingested log entries begins immediately, unless the current
* time is outside the sink's start and end times or the sink's writer_identity
* is not permitted to write to the destination. A sink can export log entries
* only from the resource owning the sink. (sinks.create)
* export of newly-ingested log entries begins immediately, unless the sink's
* writer_identity is not permitted to write to the destination. A sink can
* export log entries only from the resource owning the sink. (sinks.create)
*
* @param string $parent Required. The resource in which to create the sink:
* "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
@@ -119,12 +118,10 @@ class Google_Service_Logging_Resource_OrganizationsSinks extends Google_Service_
return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
}
/**
* Updates a sink. If the named sink doesn't exist, then this method is
* identical to sinks.create. If the named sink does exist, then this method
* replaces the following fields in the existing sink with values from the new
* sink: destination, filter, output_version_format, start_time, and end_time.
* The updated filter might also have a new writer_identity; see the
* unique_writer_identity field. (sinks.update)
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.patch)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
@@ -143,7 +140,57 @@ class Google_Service_Logging_Resource_OrganizationsSinks extends Google_Service_
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is false.
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function patch($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
{
$params = array('sinkName' => $sinkName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Logging_LogSink");
}
/**
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.update)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
* /my-sink-id".
* @param Google_Service_Logging_LogSink $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
* description of this field. When updating a sink, the effect of this field on
* the value of writer_identity in the updated sink depends on both the old and
* new values of this field: If the old and new values of this field are both
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function update($sinkName, Google_Service_Logging_LogSink $postBody, $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
@@ -56,13 +56,13 @@ class Google_Service_Logging_Resource_ProjectsLogs extends Google_Service_Resour
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of results to return
* from this request. Non-positive values are ignored. The presence of
* nextPageToken in the response indicates that more results might be available.
* @opt_param string pageToken Optional. If present, then retrieve the next
* batch of results from the preceding call to this method. pageToken must be
* the value of nextPageToken from the previous response. The values of other
* method parameters should be identical to those in the previous call.
* @opt_param int pageSize Optional. The maximum number of results to return
* from this request. Non-positive values are ignored. The presence of
* nextPageToken in the response indicates that more results might be available.
* @return Google_Service_Logging_ListLogsResponse
*/
public function listProjectsLogs($parent, $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
@@ -27,10 +27,9 @@ class Google_Service_Logging_Resource_ProjectsSinks extends Google_Service_Resou
{
/**
* Creates a sink that exports specified log entries to a destination. The
* export of newly-ingested log entries begins immediately, unless the current
* time is outside the sink's start and end times or the sink's writer_identity
* is not permitted to write to the destination. A sink can export log entries
* only from the resource owning the sink. (sinks.create)
* export of newly-ingested log entries begins immediately, unless the sink's
* writer_identity is not permitted to write to the destination. A sink can
* export log entries only from the resource owning the sink. (sinks.create)
*
* @param string $parent Required. The resource in which to create the sink:
* "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
@@ -119,12 +118,10 @@ class Google_Service_Logging_Resource_ProjectsSinks extends Google_Service_Resou
return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
}
/**
* Updates a sink. If the named sink doesn't exist, then this method is
* identical to sinks.create. If the named sink does exist, then this method
* replaces the following fields in the existing sink with values from the new
* sink: destination, filter, output_version_format, start_time, and end_time.
* The updated filter might also have a new writer_identity; see the
* unique_writer_identity field. (sinks.update)
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.patch)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
@@ -143,7 +140,57 @@ class Google_Service_Logging_Resource_ProjectsSinks extends Google_Service_Resou
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is false.
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function patch($sinkName, Google_Service_Logging_LogSink $postBody, $optParams = array())
{
$params = array('sinkName' => $sinkName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Logging_LogSink");
}
/**
* Updates a sink. This method replaces the following fields in the existing
* sink with values from the new sink: destination, and filter. The updated sink
* might also have a new writer_identity; see the unique_writer_identity field.
* (sinks.update)
*
* @param string $sinkName Required. The full resource name of the sink to
* update, including the parent resource and the sink identifier:
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks
* /my-sink-id".
* @param Google_Service_Logging_LogSink $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool uniqueWriterIdentity Optional. See sinks.create for a
* description of this field. When updating a sink, the effect of this field on
* the value of writer_identity in the updated sink depends on both the old and
* new values of this field: If the old and new values of this field are both
* false or both true, then there is no change to the sink's writer_identity. If
* the old value is false and the new value is true, then writer_identity is
* changed to a unique service account. It is an error if the old value is true
* and the new value is set to false or defaulted to false.
* @opt_param string updateMask Optional. Field mask that specifies the fields
* in sink that need an update. A sink field will be overwritten if, and only
* if, it is in the update mask. name and output only fields cannot be
* updated.An empty updateMask is temporarily treated as using the following
* mask for backwards compatibility purposes:
* destination,filter,includeChildren At some point in the future, behavior will
* be removed and specifying an empty updateMask will be an error.For a detailed
* FieldMask definition, see https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmaskExample: updateMask=filter.
* @return Google_Service_Logging_LogSink
*/
public function update($sinkName, Google_Service_Logging_LogSink $postBody, $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,49 +0,0 @@
<?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_Logging_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

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,7 @@
class Google_Service_Logging_WriteLogEntriesRequest extends Google_Collection
{
protected $collection_key = 'entries';
public $dryRun;
protected $entriesType = 'Google_Service_Logging_LogEntry';
protected $entriesDataType = 'array';
public $labels;
@@ -26,10 +27,24 @@ class Google_Service_Logging_WriteLogEntriesRequest extends Google_Collection
protected $resourceType = 'Google_Service_Logging_MonitoredResource';
protected $resourceDataType = '';
public function setDryRun($dryRun)
{
$this->dryRun = $dryRun;
}
public function getDryRun()
{
return $this->dryRun;
}
/**
* @param Google_Service_Logging_LogEntry
*/
public function setEntries($entries)
{
$this->entries = $entries;
}
/**
* @return Google_Service_Logging_LogEntry
*/
public function getEntries()
{
return $this->entries;
@@ -58,10 +73,16 @@ class Google_Service_Logging_WriteLogEntriesRequest extends Google_Collection
{
return $this->partialSuccess;
}
/**
* @param Google_Service_Logging_MonitoredResource
*/
public function setResource(Google_Service_Logging_MonitoredResource $resource)
{
$this->resource = $resource;
}
/**
* @return Google_Service_Logging_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