Nouveaux fichier suite maj librairies vendor
This commit is contained in:
69
vendor/google/apiclient-services/src/Google/Service/Logging/BucketOptions.php
vendored
Normal file
69
vendor/google/apiclient-services/src/Google/Service/Logging/BucketOptions.php
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
<?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_Logging_BucketOptions extends Google_Model
|
||||
{
|
||||
protected $explicitBucketsType = 'Google_Service_Logging_Explicit';
|
||||
protected $explicitBucketsDataType = '';
|
||||
protected $exponentialBucketsType = 'Google_Service_Logging_Exponential';
|
||||
protected $exponentialBucketsDataType = '';
|
||||
protected $linearBucketsType = 'Google_Service_Logging_Linear';
|
||||
protected $linearBucketsDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Logging_Explicit
|
||||
*/
|
||||
public function setExplicitBuckets(Google_Service_Logging_Explicit $explicitBuckets)
|
||||
{
|
||||
$this->explicitBuckets = $explicitBuckets;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Logging_Explicit
|
||||
*/
|
||||
public function getExplicitBuckets()
|
||||
{
|
||||
return $this->explicitBuckets;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Logging_Exponential
|
||||
*/
|
||||
public function setExponentialBuckets(Google_Service_Logging_Exponential $exponentialBuckets)
|
||||
{
|
||||
$this->exponentialBuckets = $exponentialBuckets;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Logging_Exponential
|
||||
*/
|
||||
public function getExponentialBuckets()
|
||||
{
|
||||
return $this->exponentialBuckets;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Logging_Linear
|
||||
*/
|
||||
public function setLinearBuckets(Google_Service_Logging_Linear $linearBuckets)
|
||||
{
|
||||
$this->linearBuckets = $linearBuckets;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Logging_Linear
|
||||
*/
|
||||
public function getLinearBuckets()
|
||||
{
|
||||
return $this->linearBuckets;
|
||||
}
|
||||
}
|
||||
31
vendor/google/apiclient-services/src/Google/Service/Logging/Explicit.php
vendored
Normal file
31
vendor/google/apiclient-services/src/Google/Service/Logging/Explicit.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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_Logging_Explicit extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'bounds';
|
||||
public $bounds;
|
||||
|
||||
public function setBounds($bounds)
|
||||
{
|
||||
$this->bounds = $bounds;
|
||||
}
|
||||
public function getBounds()
|
||||
{
|
||||
return $this->bounds;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Logging/Exponential.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Logging/Exponential.php
vendored
Normal 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_Logging_Exponential extends Google_Model
|
||||
{
|
||||
public $growthFactor;
|
||||
public $numFiniteBuckets;
|
||||
public $scale;
|
||||
|
||||
public function setGrowthFactor($growthFactor)
|
||||
{
|
||||
$this->growthFactor = $growthFactor;
|
||||
}
|
||||
public function getGrowthFactor()
|
||||
{
|
||||
return $this->growthFactor;
|
||||
}
|
||||
public function setNumFiniteBuckets($numFiniteBuckets)
|
||||
{
|
||||
$this->numFiniteBuckets = $numFiniteBuckets;
|
||||
}
|
||||
public function getNumFiniteBuckets()
|
||||
{
|
||||
return $this->numFiniteBuckets;
|
||||
}
|
||||
public function setScale($scale)
|
||||
{
|
||||
$this->scale = $scale;
|
||||
}
|
||||
public function getScale()
|
||||
{
|
||||
return $this->scale;
|
||||
}
|
||||
}
|
||||
48
vendor/google/apiclient-services/src/Google/Service/Logging/Linear.php
vendored
Normal file
48
vendor/google/apiclient-services/src/Google/Service/Logging/Linear.php
vendored
Normal 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_Logging_Linear extends Google_Model
|
||||
{
|
||||
public $numFiniteBuckets;
|
||||
public $offset;
|
||||
public $width;
|
||||
|
||||
public function setNumFiniteBuckets($numFiniteBuckets)
|
||||
{
|
||||
$this->numFiniteBuckets = $numFiniteBuckets;
|
||||
}
|
||||
public function getNumFiniteBuckets()
|
||||
{
|
||||
return $this->numFiniteBuckets;
|
||||
}
|
||||
public function setOffset($offset)
|
||||
{
|
||||
$this->offset = $offset;
|
||||
}
|
||||
public function getOffset()
|
||||
{
|
||||
return $this->offset;
|
||||
}
|
||||
public function setWidth($width)
|
||||
{
|
||||
$this->width = $width;
|
||||
}
|
||||
public function getWidth()
|
||||
{
|
||||
return $this->width;
|
||||
}
|
||||
}
|
||||
47
vendor/google/apiclient-services/src/Google/Service/Logging/ListExclusionsResponse.php
vendored
Normal file
47
vendor/google/apiclient-services/src/Google/Service/Logging/ListExclusionsResponse.php
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
<?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_Logging_ListExclusionsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'exclusions';
|
||||
protected $exclusionsType = 'Google_Service_Logging_LogExclusion';
|
||||
protected $exclusionsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function setExclusions($exclusions)
|
||||
{
|
||||
$this->exclusions = $exclusions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function getExclusions()
|
||||
{
|
||||
return $this->exclusions;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
57
vendor/google/apiclient-services/src/Google/Service/Logging/LogExclusion.php
vendored
Normal file
57
vendor/google/apiclient-services/src/Google/Service/Logging/LogExclusion.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?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_Logging_LogExclusion extends Google_Model
|
||||
{
|
||||
public $description;
|
||||
public $disabled;
|
||||
public $filter;
|
||||
public $name;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setDisabled($disabled)
|
||||
{
|
||||
$this->disabled = $disabled;
|
||||
}
|
||||
public function getDisabled()
|
||||
{
|
||||
return $this->disabled;
|
||||
}
|
||||
public function setFilter($filter)
|
||||
{
|
||||
$this->filter = $filter;
|
||||
}
|
||||
public function getFilter()
|
||||
{
|
||||
return $this->filter;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
101
vendor/google/apiclient-services/src/Google/Service/Logging/MetricDescriptor.php
vendored
Normal file
101
vendor/google/apiclient-services/src/Google/Service/Logging/MetricDescriptor.php
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<?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_Logging_MetricDescriptor extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'labels';
|
||||
public $description;
|
||||
public $displayName;
|
||||
protected $labelsType = 'Google_Service_Logging_LabelDescriptor';
|
||||
protected $labelsDataType = 'array';
|
||||
public $metricKind;
|
||||
public $name;
|
||||
public $type;
|
||||
public $unit;
|
||||
public $valueType;
|
||||
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setDisplayName($displayName)
|
||||
{
|
||||
$this->displayName = $displayName;
|
||||
}
|
||||
public function getDisplayName()
|
||||
{
|
||||
return $this->displayName;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Logging_LabelDescriptor
|
||||
*/
|
||||
public function setLabels($labels)
|
||||
{
|
||||
$this->labels = $labels;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Logging_LabelDescriptor
|
||||
*/
|
||||
public function getLabels()
|
||||
{
|
||||
return $this->labels;
|
||||
}
|
||||
public function setMetricKind($metricKind)
|
||||
{
|
||||
$this->metricKind = $metricKind;
|
||||
}
|
||||
public function getMetricKind()
|
||||
{
|
||||
return $this->metricKind;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
public function setUnit($unit)
|
||||
{
|
||||
$this->unit = $unit;
|
||||
}
|
||||
public function getUnit()
|
||||
{
|
||||
return $this->unit;
|
||||
}
|
||||
public function setValueType($valueType)
|
||||
{
|
||||
$this->valueType = $valueType;
|
||||
}
|
||||
public function getValueType()
|
||||
{
|
||||
return $this->valueType;
|
||||
}
|
||||
}
|
||||
39
vendor/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceMetadata.php
vendored
Normal file
39
vendor/google/apiclient-services/src/Google/Service/Logging/MonitoredResourceMetadata.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?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_Logging_MonitoredResourceMetadata extends Google_Model
|
||||
{
|
||||
public $systemLabels;
|
||||
public $userLabels;
|
||||
|
||||
public function setSystemLabels($systemLabels)
|
||||
{
|
||||
$this->systemLabels = $systemLabels;
|
||||
}
|
||||
public function getSystemLabels()
|
||||
{
|
||||
return $this->systemLabels;
|
||||
}
|
||||
public function setUserLabels($userLabels)
|
||||
{
|
||||
$this->userLabels = $userLabels;
|
||||
}
|
||||
public function getUserLabels()
|
||||
{
|
||||
return $this->userLabels;
|
||||
}
|
||||
}
|
||||
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsExclusions.php
vendored
Normal file
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/BillingAccountsExclusions.php
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "exclusions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $exclusions = $loggingService->exclusions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_BillingAccountsExclusions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new exclusion in a specified parent resource. Only log entries
|
||||
* belonging to that resource can be excluded. You can have up to 10 exclusions
|
||||
* in a resource. (exclusions.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource in which to create the
|
||||
* exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Deletes an exclusion. (exclusions.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion to
|
||||
* delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the description of an exclusion. (exclusions.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Lists all the exclusions in a parent resource.
|
||||
* (exclusions.listBillingAccountsExclusions)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose exclusions are to
|
||||
* be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListExclusionsResponse
|
||||
*/
|
||||
public function listBillingAccountsExclusions($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
|
||||
}
|
||||
/**
|
||||
* Changes one or more properties of an existing exclusion. (exclusions.patch)
|
||||
*
|
||||
* @param string $name Required. The resource name of the exclusion to update:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. A nonempty list of fields to change in
|
||||
* the existing exclusion. New values for the fields are taken from the
|
||||
* corresponding fields in the LogExclusion included in this request. Fields not
|
||||
* mentioned in update_mask are not changed and are ignored in the request.For
|
||||
* example, to change the filter and description of an exclusion, specify an
|
||||
* update_mask of "filter,description".
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function patch($name, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
}
|
||||
132
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Exclusions.php
vendored
Normal file
132
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Exclusions.php
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "exclusions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $exclusions = $loggingService->exclusions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_Exclusions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new exclusion in a specified parent resource. Only log entries
|
||||
* belonging to that resource can be excluded. You can have up to 10 exclusions
|
||||
* in a resource. (exclusions.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource in which to create the
|
||||
* exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Deletes an exclusion. (exclusions.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion to
|
||||
* delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the description of an exclusion. (exclusions.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Lists all the exclusions in a parent resource. (exclusions.listExclusions)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose exclusions are to
|
||||
* be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListExclusionsResponse
|
||||
*/
|
||||
public function listExclusions($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
|
||||
}
|
||||
/**
|
||||
* Changes one or more properties of an existing exclusion. (exclusions.patch)
|
||||
*
|
||||
* @param string $name Required. The resource name of the exclusion to update:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. A nonempty list of fields to change in
|
||||
* the existing exclusion. New values for the fields are taken from the
|
||||
* corresponding fields in the LogExclusion included in this request. Fields not
|
||||
* mentioned in update_mask are not changed and are ignored in the request.For
|
||||
* example, to change the filter and description of an exclusion, specify an
|
||||
* update_mask of "filter,description".
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function patch($name, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
}
|
||||
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersExclusions.php
vendored
Normal file
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/FoldersExclusions.php
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "exclusions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $exclusions = $loggingService->exclusions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_FoldersExclusions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new exclusion in a specified parent resource. Only log entries
|
||||
* belonging to that resource can be excluded. You can have up to 10 exclusions
|
||||
* in a resource. (exclusions.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource in which to create the
|
||||
* exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Deletes an exclusion. (exclusions.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion to
|
||||
* delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the description of an exclusion. (exclusions.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Lists all the exclusions in a parent resource.
|
||||
* (exclusions.listFoldersExclusions)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose exclusions are to
|
||||
* be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListExclusionsResponse
|
||||
*/
|
||||
public function listFoldersExclusions($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
|
||||
}
|
||||
/**
|
||||
* Changes one or more properties of an existing exclusion. (exclusions.patch)
|
||||
*
|
||||
* @param string $name Required. The resource name of the exclusion to update:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. A nonempty list of fields to change in
|
||||
* the existing exclusion. New values for the fields are taken from the
|
||||
* corresponding fields in the LogExclusion included in this request. Fields not
|
||||
* mentioned in update_mask are not changed and are ignored in the request.For
|
||||
* example, to change the filter and description of an exclusion, specify an
|
||||
* update_mask of "filter,description".
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function patch($name, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
}
|
||||
74
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Logs.php
vendored
Normal file
74
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Logs.php
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "logs" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $logs = $loggingService->logs;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_Logs extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Deletes all the log entries in a log. The log reappears if it receives new
|
||||
* entries. Log entries written shortly before the delete operation might not be
|
||||
* deleted. (logs.delete)
|
||||
*
|
||||
* @param string $logName Required. The resource name of the log to delete:
|
||||
* "projects/[PROJECT_ID]/logs/[LOG_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
|
||||
* "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID] must be URL-encoded. For
|
||||
* example, "projects/my-project-id/logs/syslog", "organizations/1234567890/logs
|
||||
* /cloudresourcemanager.googleapis.com%2Factivity". For more information about
|
||||
* log names, see LogEntry.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($logName, $optParams = array())
|
||||
{
|
||||
$params = array('logName' => $logName);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Lists the logs in projects, organizations, folders, or billing accounts. Only
|
||||
* logs that have entries are listed. (logs.listLogs)
|
||||
*
|
||||
* @param string $parent Required. The resource name that owns the logs:
|
||||
* "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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 listLogs($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
|
||||
}
|
||||
}
|
||||
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsExclusions.php
vendored
Normal file
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/OrganizationsExclusions.php
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "exclusions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $exclusions = $loggingService->exclusions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_OrganizationsExclusions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new exclusion in a specified parent resource. Only log entries
|
||||
* belonging to that resource can be excluded. You can have up to 10 exclusions
|
||||
* in a resource. (exclusions.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource in which to create the
|
||||
* exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Deletes an exclusion. (exclusions.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion to
|
||||
* delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the description of an exclusion. (exclusions.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Lists all the exclusions in a parent resource.
|
||||
* (exclusions.listOrganizationsExclusions)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose exclusions are to
|
||||
* be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListExclusionsResponse
|
||||
*/
|
||||
public function listOrganizationsExclusions($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
|
||||
}
|
||||
/**
|
||||
* Changes one or more properties of an existing exclusion. (exclusions.patch)
|
||||
*
|
||||
* @param string $name Required. The resource name of the exclusion to update:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. A nonempty list of fields to change in
|
||||
* the existing exclusion. New values for the fields are taken from the
|
||||
* corresponding fields in the LogExclusion included in this request. Fields not
|
||||
* mentioned in update_mask are not changed and are ignored in the request.For
|
||||
* example, to change the filter and description of an exclusion, specify an
|
||||
* update_mask of "filter,description".
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function patch($name, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
}
|
||||
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsExclusions.php
vendored
Normal file
133
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/ProjectsExclusions.php
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "exclusions" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $exclusions = $loggingService->exclusions;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_ProjectsExclusions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a new exclusion in a specified parent resource. Only log entries
|
||||
* belonging to that resource can be excluded. You can have up to 10 exclusions
|
||||
* in a resource. (exclusions.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource in which to create the
|
||||
* exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Deletes an exclusion. (exclusions.delete)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion to
|
||||
* delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the description of an exclusion. (exclusions.get)
|
||||
*
|
||||
* @param string $name Required. The resource name of an existing exclusion:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
/**
|
||||
* Lists all the exclusions in a parent resource.
|
||||
* (exclusions.listProjectsExclusions)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose exclusions are to
|
||||
* be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListExclusionsResponse
|
||||
*/
|
||||
public function listProjectsExclusions($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
|
||||
}
|
||||
/**
|
||||
* Changes one or more properties of an existing exclusion. (exclusions.patch)
|
||||
*
|
||||
* @param string $name Required. The resource name of the exclusion to update:
|
||||
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
||||
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-
|
||||
* project-id/exclusions/my-exclusion-id".
|
||||
* @param Google_Service_Logging_LogExclusion $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string updateMask Required. A nonempty list of fields to change in
|
||||
* the existing exclusion. New values for the fields are taken from the
|
||||
* corresponding fields in the LogExclusion included in this request. Fields not
|
||||
* mentioned in update_mask are not changed and are ignored in the request.For
|
||||
* example, to change the filter and description of an exclusion, specify an
|
||||
* update_mask of "filter,description".
|
||||
* @return Google_Service_Logging_LogExclusion
|
||||
*/
|
||||
public function patch($name, Google_Service_Logging_LogExclusion $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Logging_LogExclusion");
|
||||
}
|
||||
}
|
||||
161
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Sinks.php
vendored
Normal file
161
vendor/google/apiclient-services/src/Google/Service/Logging/Resource/Sinks.php
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "sinks" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $loggingService = new Google_Service_Logging(...);
|
||||
* $sinks = $loggingService->sinks;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Logging_Resource_Sinks extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Creates a sink that exports specified log entries to a destination. The
|
||||
* 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]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples:
|
||||
* "projects/my-logging-project", "organizations/123456789".
|
||||
* @param Google_Service_Logging_LogSink $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param bool uniqueWriterIdentity Optional. Determines the kind of IAM
|
||||
* identity returned as writer_identity in the new sink. If this value is
|
||||
* omitted or set to false, and if the sink's parent is a project, then the
|
||||
* value returned as writer_identity is the same group or service account used
|
||||
* by Stackdriver Logging before the addition of writer identities to this API.
|
||||
* The sink's destination must be in the same project as the sink itself.If this
|
||||
* field is set to true, or if the sink is owned by a non-project resource such
|
||||
* as an organization, then the value of writer_identity will be a unique
|
||||
* service account used only for exports from the new sink. For more
|
||||
* information, see writer_identity in LogSink.
|
||||
* @return Google_Service_Logging_LogSink
|
||||
*/
|
||||
public function create($parent, Google_Service_Logging_LogSink $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Logging_LogSink");
|
||||
}
|
||||
/**
|
||||
* Deletes a sink. If the sink has a unique writer_identity, then that service
|
||||
* account is also deleted. (sinks.delete)
|
||||
*
|
||||
* @param string $sinkName Required. The full resource name of the sink to
|
||||
* delete, 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 array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LoggingEmpty
|
||||
*/
|
||||
public function delete($sinkName, $optParams = array())
|
||||
{
|
||||
$params = array('sinkName' => $sinkName);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Logging_LoggingEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets a sink. (sinks.get)
|
||||
*
|
||||
* @param string $sinkName Required. The resource name of the sink:
|
||||
* "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 array $optParams Optional parameters.
|
||||
* @return Google_Service_Logging_LogSink
|
||||
*/
|
||||
public function get($sinkName, $optParams = array())
|
||||
{
|
||||
$params = array('sinkName' => $sinkName);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Logging_LogSink");
|
||||
}
|
||||
/**
|
||||
* Lists sinks. (sinks.listSinks)
|
||||
*
|
||||
* @param string $parent Required. The parent resource whose sinks are to be
|
||||
* listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
|
||||
* "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @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_ListSinksResponse
|
||||
*/
|
||||
public function listSinks($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Logging_ListSinksResponse");
|
||||
}
|
||||
/**
|
||||
* 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())
|
||||
{
|
||||
$params = array('sinkName' => $sinkName, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('update', array($params), "Google_Service_Logging_LogSink");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user