Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,207 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ApiObservation extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $apiOperationCount;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $lastEventDetectedTime;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $serverIps;
/**
* @var string[]
*/
public $sourceLocations;
/**
* @var string
*/
public $style;
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setApiOperationCount($apiOperationCount)
{
$this->apiOperationCount = $apiOperationCount;
}
/**
* @return string
*/
public function getApiOperationCount()
{
return $this->apiOperationCount;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param string
*/
public function setLastEventDetectedTime($lastEventDetectedTime)
{
$this->lastEventDetectedTime = $lastEventDetectedTime;
}
/**
* @return string
*/
public function getLastEventDetectedTime()
{
return $this->lastEventDetectedTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setServerIps($serverIps)
{
$this->serverIps = $serverIps;
}
/**
* @return string[]
*/
public function getServerIps()
{
return $this->serverIps;
}
/**
* @param string[]
*/
public function setSourceLocations($sourceLocations)
{
$this->sourceLocations = $sourceLocations;
}
/**
* @return string[]
*/
public function getSourceLocations()
{
return $this->sourceLocations;
}
/**
* @param string
*/
public function setStyle($style)
{
$this->style = $style;
}
/**
* @return string
*/
public function getStyle()
{
return $this->style;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiObservation::class, 'Google_Service_APIManagement_ApiObservation');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ApiOperation extends \Google\Model
{
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $firstSeenTime;
protected $httpOperationType = HttpOperation::class;
protected $httpOperationDataType = '';
/**
* @var string
*/
public $lastSeenTime;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setFirstSeenTime($firstSeenTime)
{
$this->firstSeenTime = $firstSeenTime;
}
/**
* @return string
*/
public function getFirstSeenTime()
{
return $this->firstSeenTime;
}
/**
* @param HttpOperation
*/
public function setHttpOperation(HttpOperation $httpOperation)
{
$this->httpOperation = $httpOperation;
}
/**
* @return HttpOperation
*/
public function getHttpOperation()
{
return $this->httpOperation;
}
/**
* @param string
*/
public function setLastSeenTime($lastSeenTime)
{
$this->lastSeenTime = $lastSeenTime;
}
/**
* @return string
*/
public function getLastSeenTime()
{
return $this->lastSeenTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiOperation::class, 'Google_Service_APIManagement_ApiOperation');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ApimEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApimEmpty::class, 'Google_Service_APIManagement_ApimEmpty');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\APIManagement;
class BatchEditTagsApiObservationsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = EditTagsApiObservationsRequest::class;
protected $requestsDataType = 'array';
/**
* @param EditTagsApiObservationsRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return EditTagsApiObservationsRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchEditTagsApiObservationsRequest::class, 'Google_Service_APIManagement_BatchEditTagsApiObservationsRequest');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\APIManagement;
class BatchEditTagsApiObservationsResponse extends \Google\Collection
{
protected $collection_key = 'apiObservations';
protected $apiObservationsType = ApiObservation::class;
protected $apiObservationsDataType = 'array';
/**
* @param ApiObservation[]
*/
public function setApiObservations($apiObservations)
{
$this->apiObservations = $apiObservations;
}
/**
* @return ApiObservation[]
*/
public function getApiObservations()
{
return $this->apiObservations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchEditTagsApiObservationsResponse::class, 'Google_Service_APIManagement_BatchEditTagsApiObservationsResponse');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\APIManagement;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_APIManagement_CancelOperationRequest');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\APIManagement;
class DisableObservationJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisableObservationJobRequest::class, 'Google_Service_APIManagement_DisableObservationJobRequest');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\APIManagement;
class EditTagsApiObservationsRequest extends \Google\Collection
{
protected $collection_key = 'tagActions';
/**
* @var string
*/
public $apiObservationId;
protected $tagActionsType = TagAction::class;
protected $tagActionsDataType = 'array';
/**
* @param string
*/
public function setApiObservationId($apiObservationId)
{
$this->apiObservationId = $apiObservationId;
}
/**
* @return string
*/
public function getApiObservationId()
{
return $this->apiObservationId;
}
/**
* @param TagAction[]
*/
public function setTagActions($tagActions)
{
$this->tagActions = $tagActions;
}
/**
* @return TagAction[]
*/
public function getTagActions()
{
return $this->tagActions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EditTagsApiObservationsRequest::class, 'Google_Service_APIManagement_EditTagsApiObservationsRequest');

View File

@@ -0,0 +1,25 @@
<?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.
*/
namespace Google\Service\APIManagement;
class EnableObservationJobRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnableObservationJobRequest::class, 'Google_Service_APIManagement_EnableObservationJobRequest');

View File

@@ -0,0 +1,43 @@
<?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.
*/
namespace Google\Service\APIManagement;
class GclbObservationSource extends \Google\Collection
{
protected $collection_key = 'pscNetworkConfigs';
protected $pscNetworkConfigsType = GclbObservationSourcePscNetworkConfig::class;
protected $pscNetworkConfigsDataType = 'array';
/**
* @param GclbObservationSourcePscNetworkConfig[]
*/
public function setPscNetworkConfigs($pscNetworkConfigs)
{
$this->pscNetworkConfigs = $pscNetworkConfigs;
}
/**
* @return GclbObservationSourcePscNetworkConfig[]
*/
public function getPscNetworkConfigs()
{
return $this->pscNetworkConfigs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GclbObservationSource::class, 'Google_Service_APIManagement_GclbObservationSource');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\APIManagement;
class GclbObservationSourcePscNetworkConfig extends \Google\Model
{
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $subnetwork;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GclbObservationSourcePscNetworkConfig::class, 'Google_Service_APIManagement_GclbObservationSourcePscNetworkConfig');

View File

@@ -0,0 +1,127 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperation extends \Google\Collection
{
protected $collection_key = 'pathParams';
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $path;
protected $pathParamsType = HttpOperationPathParam::class;
protected $pathParamsDataType = 'array';
protected $queryParamsType = HttpOperationQueryParam::class;
protected $queryParamsDataType = 'map';
protected $requestType = HttpOperationHttpRequest::class;
protected $requestDataType = '';
protected $responseType = HttpOperationHttpResponse::class;
protected $responseDataType = '';
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param HttpOperationPathParam[]
*/
public function setPathParams($pathParams)
{
$this->pathParams = $pathParams;
}
/**
* @return HttpOperationPathParam[]
*/
public function getPathParams()
{
return $this->pathParams;
}
/**
* @param HttpOperationQueryParam[]
*/
public function setQueryParams($queryParams)
{
$this->queryParams = $queryParams;
}
/**
* @return HttpOperationQueryParam[]
*/
public function getQueryParams()
{
return $this->queryParams;
}
/**
* @param HttpOperationHttpRequest
*/
public function setRequest(HttpOperationHttpRequest $request)
{
$this->request = $request;
}
/**
* @return HttpOperationHttpRequest
*/
public function getRequest()
{
return $this->request;
}
/**
* @param HttpOperationHttpResponse
*/
public function setResponse(HttpOperationHttpResponse $response)
{
$this->response = $response;
}
/**
* @return HttpOperationHttpResponse
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperation::class, 'Google_Service_APIManagement_HttpOperation');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperationHeader extends \Google\Model
{
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperationHeader::class, 'Google_Service_APIManagement_HttpOperationHeader');

View File

@@ -0,0 +1,42 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperationHttpRequest extends \Google\Model
{
protected $headersType = HttpOperationHeader::class;
protected $headersDataType = 'map';
/**
* @param HttpOperationHeader[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return HttpOperationHeader[]
*/
public function getHeaders()
{
return $this->headers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperationHttpRequest::class, 'Google_Service_APIManagement_HttpOperationHttpRequest');

View File

@@ -0,0 +1,60 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperationHttpResponse extends \Google\Model
{
protected $headersType = HttpOperationHeader::class;
protected $headersDataType = 'map';
/**
* @var string[]
*/
public $responseCodes;
/**
* @param HttpOperationHeader[]
*/
public function setHeaders($headers)
{
$this->headers = $headers;
}
/**
* @return HttpOperationHeader[]
*/
public function getHeaders()
{
return $this->headers;
}
/**
* @param string[]
*/
public function setResponseCodes($responseCodes)
{
$this->responseCodes = $responseCodes;
}
/**
* @return string[]
*/
public function getResponseCodes()
{
return $this->responseCodes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperationHttpResponse::class, 'Google_Service_APIManagement_HttpOperationHttpResponse');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperationPathParam extends \Google\Model
{
/**
* @var string
*/
public $dataType;
/**
* @var int
*/
public $position;
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param int
*/
public function setPosition($position)
{
$this->position = $position;
}
/**
* @return int
*/
public function getPosition()
{
return $this->position;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperationPathParam::class, 'Google_Service_APIManagement_HttpOperationPathParam');

View File

@@ -0,0 +1,80 @@
<?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.
*/
namespace Google\Service\APIManagement;
class HttpOperationQueryParam extends \Google\Model
{
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HttpOperationQueryParam::class, 'Google_Service_APIManagement_HttpOperationQueryParam');

View File

@@ -0,0 +1,63 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListApiObservationTagsResponse extends \Google\Collection
{
protected $collection_key = 'apiObservationTags';
/**
* @var string[]
*/
public $apiObservationTags;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string[]
*/
public function setApiObservationTags($apiObservationTags)
{
$this->apiObservationTags = $apiObservationTags;
}
/**
* @return string[]
*/
public function getApiObservationTags()
{
return $this->apiObservationTags;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListApiObservationTagsResponse::class, 'Google_Service_APIManagement_ListApiObservationTagsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListApiObservationsResponse extends \Google\Collection
{
protected $collection_key = 'apiObservations';
protected $apiObservationsType = ApiObservation::class;
protected $apiObservationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param ApiObservation[]
*/
public function setApiObservations($apiObservations)
{
$this->apiObservations = $apiObservations;
}
/**
* @return ApiObservation[]
*/
public function getApiObservations()
{
return $this->apiObservations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListApiObservationsResponse::class, 'Google_Service_APIManagement_ListApiObservationsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListApiOperationsResponse extends \Google\Collection
{
protected $collection_key = 'apiOperations';
protected $apiOperationsType = ApiOperation::class;
protected $apiOperationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param ApiOperation[]
*/
public function setApiOperations($apiOperations)
{
$this->apiOperations = $apiOperations;
}
/**
* @return ApiOperation[]
*/
public function getApiOperations()
{
return $this->apiOperations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListApiOperationsResponse::class, 'Google_Service_APIManagement_ListApiOperationsResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_APIManagement_ListLocationsResponse');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListObservationJobsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $observationJobsType = ObservationJob::class;
protected $observationJobsDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ObservationJob[]
*/
public function setObservationJobs($observationJobs)
{
$this->observationJobs = $observationJobs;
}
/**
* @return ObservationJob[]
*/
public function getObservationJobs()
{
return $this->observationJobs;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListObservationJobsResponse::class, 'Google_Service_APIManagement_ListObservationJobsResponse');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListObservationSourcesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
/**
* @var string
*/
public $nextPageToken;
protected $observationSourcesType = ObservationSource::class;
protected $observationSourcesDataType = 'array';
/**
* @var string[]
*/
public $unreachable;
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param ObservationSource[]
*/
public function setObservationSources($observationSources)
{
$this->observationSources = $observationSources;
}
/**
* @return ObservationSource[]
*/
public function getObservationSources()
{
return $this->observationSources;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListObservationSourcesResponse::class, 'Google_Service_APIManagement_ListObservationSourcesResponse');

View File

@@ -0,0 +1,61 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_APIManagement_ListOperationsResponse');

View File

@@ -0,0 +1,116 @@
<?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.
*/
namespace Google\Service\APIManagement;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_APIManagement_Location');

View File

@@ -0,0 +1,117 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ObservationJob extends \Google\Collection
{
protected $collection_key = 'sources';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $sources;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return string[]
*/
public function getSources()
{
return $this->sources;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ObservationJob::class, 'Google_Service_APIManagement_ObservationJob');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\APIManagement;
class ObservationSource extends \Google\Model
{
/**
* @var string
*/
public $createTime;
protected $gclbObservationSourceType = GclbObservationSource::class;
protected $gclbObservationSourceDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GclbObservationSource
*/
public function setGclbObservationSource(GclbObservationSource $gclbObservationSource)
{
$this->gclbObservationSource = $gclbObservationSource;
}
/**
* @return GclbObservationSource
*/
public function getGclbObservationSource()
{
return $this->gclbObservationSource;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ObservationSource::class, 'Google_Service_APIManagement_ObservationSource');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\APIManagement;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_APIManagement_Operation');

View File

@@ -0,0 +1,152 @@
<?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.
*/
namespace Google\Service\APIManagement;
class OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_APIManagement_OperationMetadata');

View File

@@ -0,0 +1,33 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $projects = $apimService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_APIManagement_Resource_Projects');

View File

@@ -0,0 +1,100 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\ListApiObservationTagsResponse;
use Google\Service\APIManagement\ListLocationsResponse;
use Google\Service\APIManagement\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $locations = $apimService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
/**
* ListApiObservationTags lists all extant tags on any observation in the given
* project. (locations.listApiObservationTags)
*
* @param string $parent Required. The parent, which owns this collection of
* tags. Format: projects/{project}/locations/{location}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of tags to return. The
* service may return fewer than this value. If unspecified, at most 10 tags
* will be returned. The maximum value is 1000; values above 1000 will be
* coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListApiObservationTags` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListApiObservationTags`
* must match the call that provided the page token.
* @return ListApiObservationTagsResponse
* @throws \Google\Service\Exception
*/
public function listApiObservationTags($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('listApiObservationTags', [$params], ListApiObservationTagsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_APIManagement_Resource_ProjectsLocations');

View File

@@ -0,0 +1,162 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\DisableObservationJobRequest;
use Google\Service\APIManagement\EnableObservationJobRequest;
use Google\Service\APIManagement\ListObservationJobsResponse;
use Google\Service\APIManagement\ObservationJob;
use Google\Service\APIManagement\Operation;
/**
* The "observationJobs" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $observationJobs = $apimService->projects_locations_observationJobs;
* </code>
*/
class ProjectsLocationsObservationJobs extends \Google\Service\Resource
{
/**
* CreateObservationJob creates a new ObservationJob but does not have any
* effecton its own. It is a configuration that can be used in an Observation
* Job to collect data about existing APIs. (observationJobs.create)
*
* @param string $parent Required. The parent resource where this ObservationJob
* will be created. Format: projects/{project}/locations/{location}
* @param ObservationJob $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string observationJobId Required. The ID to use for the
* Observation Job. This value should be 4-63 characters, and valid characters
* are /a-z-/.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ObservationJob $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* DeleteObservationJob deletes an ObservationJob. This method will fail if the
* observation job is currently being used by any ObservationSource, even if not
* enabled. (observationJobs.delete)
*
* @param string $name Required. Name of the resource Format:
* projects/{project}/locations/{location}/observationJobs/{observation_job}
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Disables the given ObservationJob. (observationJobs.disable)
*
* @param string $name Required. The name of the ObservationJob to disable.
* Format: projects/{project}/locations/{location}/observationJobs/{job}
* @param DisableObservationJobRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function disable($name, DisableObservationJobRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('disable', [$params], Operation::class);
}
/**
* Enables the given ObservationJob. (observationJobs.enable)
*
* @param string $name Required. The name of the ObservationJob to enable.
* Format: projects/{project}/locations/{location}/observationJobs/{job}
* @param EnableObservationJobRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function enable($name, EnableObservationJobRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('enable', [$params], Operation::class);
}
/**
* GetObservationJob retrieves a single ObservationJob by name.
* (observationJobs.get)
*
* @param string $name Required. The name of the ObservationJob to retrieve.
* Format: projects/{project}/locations/{location}/observationJobs/{job}
* @param array $optParams Optional parameters.
* @return ObservationJob
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ObservationJob::class);
}
/**
* ListObservationJobs gets all ObservationJobs for a given project and
* location. (observationJobs.listProjectsLocationsObservationJobs)
*
* @param string $parent Required. The parent, which owns this collection of
* ObservationJobs. Format: projects/{project}/locations/{location}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of ObservationJobs to
* return. The service may return fewer than this value. If unspecified, at most
* 10 ObservationJobs will be returned. The maximum value is 1000; values above
* 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListObservationJobs` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListObservationJobs` must
* match the call that provided the page token.
* @return ListObservationJobsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsObservationJobs($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListObservationJobsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsObservationJobs::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobs');

View File

@@ -0,0 +1,100 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\ApiObservation;
use Google\Service\APIManagement\BatchEditTagsApiObservationsRequest;
use Google\Service\APIManagement\BatchEditTagsApiObservationsResponse;
use Google\Service\APIManagement\ListApiObservationsResponse;
/**
* The "apiObservations" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $apiObservations = $apimService->projects_locations_observationJobs_apiObservations;
* </code>
*/
class ProjectsLocationsObservationJobsApiObservations extends \Google\Service\Resource
{
/**
* BatchEditTagsApiObservations adds or removes Tags for ApiObservations.
* (apiObservations.batchEditTags)
*
* @param string $parent Required. The parent resource shared by all
* ApiObservations being edited. Format:
* projects/{project}/locations/{location}/observationJobs/{observation_job}
* @param BatchEditTagsApiObservationsRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchEditTagsApiObservationsResponse
* @throws \Google\Service\Exception
*/
public function batchEditTags($parent, BatchEditTagsApiObservationsRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchEditTags', [$params], BatchEditTagsApiObservationsResponse::class);
}
/**
* GetApiObservation retrieves a single ApiObservation by name.
* (apiObservations.get)
*
* @param string $name Required. The name of the ApiObservation to retrieve.
* Format: projects/{project}/locations/{location}/observationJobs/{observation_
* job}/apiObservations/{api_observation}
* @param array $optParams Optional parameters.
* @return ApiObservation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ApiObservation::class);
}
/**
* ListApiObservations gets all ApiObservations for a given project and location
* and ObservationJob.
* (apiObservations.listProjectsLocationsObservationJobsApiObservations)
*
* @param string $parent Required. The parent, which owns this collection of
* ApiObservations. Format:
* projects/{project}/locations/{location}/observationJobs/{observation_job}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of ApiObservations to
* return. The service may return fewer than this value. If unspecified, at most
* 10 ApiObservations will be returned. The maximum value is 1000; values above
* 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListApiObservations` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListApiObservations` must
* match the call that provided the page token.
* @return ListApiObservationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsObservationJobsApiObservations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListApiObservationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsObservationJobsApiObservations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobsApiObservations');

View File

@@ -0,0 +1,79 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\ApiOperation;
use Google\Service\APIManagement\ListApiOperationsResponse;
/**
* The "apiOperations" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $apiOperations = $apimService->projects_locations_observationJobs_apiObservations_apiOperations;
* </code>
*/
class ProjectsLocationsObservationJobsApiObservationsApiOperations extends \Google\Service\Resource
{
/**
* GetApiOperation retrieves a single ApiOperation by name. (apiOperations.get)
*
* @param string $name Required. The name of the ApiOperation to retrieve.
* Format: projects/{project}/locations/{location}/observationJobs/{observation_
* job}/apiObservations/{api_observation}/apiOperation/{api_operation}
* @param array $optParams Optional parameters.
* @return ApiOperation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ApiOperation::class);
}
/**
* ListApiOperations gets all ApiOperations for a given project and location and
* ObservationJob and ApiObservation. (apiOperations.listProjectsLocationsObserv
* ationJobsApiObservationsApiOperations)
*
* @param string $parent Required. The parent, which owns this collection of
* ApiOperations. Format: projects/{project}/locations/{location}/observationJob
* s/{observation_job}/apiObservations/{api_observation}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of ApiOperations to
* return. The service may return fewer than this value. If unspecified, at most
* 10 ApiOperations will be returned. The maximum value is 1000; values above
* 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListApiApiOperations` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListApiApiOperations` must
* match the call that provided the page token.
* @return ListApiOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsObservationJobsApiObservationsApiOperations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListApiOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsObservationJobsApiObservationsApiOperations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationJobsApiObservationsApiOperations');

View File

@@ -0,0 +1,128 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\ListObservationSourcesResponse;
use Google\Service\APIManagement\ObservationSource;
use Google\Service\APIManagement\Operation;
/**
* The "observationSources" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $observationSources = $apimService->projects_locations_observationSources;
* </code>
*/
class ProjectsLocationsObservationSources extends \Google\Service\Resource
{
/**
* CreateObservationSource creates a new ObservationSource but does not affect
* any deployed infrastructure. It is a configuration that can be used in an
* Observation Job to collect data about APIs running in user's dataplane.
* (observationSources.create)
*
* @param string $parent Required. Value for parent.
* @param ObservationSource $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string observationSourceId Required. The ID to use for the
* Observation Source. This value should be 4-63 characters, and valid
* characters are /a-z-/.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ObservationSource $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* DeleteObservationSource deletes an observation source. This method will fail
* if the observation source is currently being used by any ObservationJob, even
* if not enabled. (observationSources.delete)
*
* @param string $name Required. Name of the resource Format:
* projects/{project}/locations/{location}/observationSources/{source}
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* GetObservationSource retrieves a single ObservationSource by name.
* (observationSources.get)
*
* @param string $name Required. The name of the ObservationSource to retrieve.
* Format: projects/{project}/locations/{location}/observationSources/{source}
* @param array $optParams Optional parameters.
* @return ObservationSource
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ObservationSource::class);
}
/**
* ListObservationSources gets all ObservationSources for a given project and
* location. (observationSources.listProjectsLocationsObservationSources)
*
* @param string $parent Required. The parent, which owns this collection of
* ObservationSources. Format: projects/{project}/locations/{location}
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. The maximum number of ObservationSources to
* return. The service may return fewer than this value. If unspecified, at most
* 10 ObservationSources will be returned. The maximum value is 1000; values
* above 1000 will be coerced to 1000.
* @opt_param string pageToken Optional. A page token, received from a previous
* `ListObservationSources` call. Provide this to retrieve the subsequent page.
* When paginating, all other parameters provided to `ListObservationSources`
* must match the call that provided the page token.
* @return ListObservationSourcesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsObservationSources($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListObservationSourcesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsObservationSources::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsObservationSources');

View File

@@ -0,0 +1,114 @@
<?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.
*/
namespace Google\Service\APIManagement\Resource;
use Google\Service\APIManagement\ApimEmpty;
use Google\Service\APIManagement\CancelOperationRequest;
use Google\Service\APIManagement\ListOperationsResponse;
use Google\Service\APIManagement\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $apimService = new Google\Service\APIManagement(...);
* $operations = $apimService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return ApimEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], ApimEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return ApimEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], ApimEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_APIManagement_Resource_ProjectsLocationsOperations');

View File

@@ -0,0 +1,81 @@
<?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.
*/
namespace Google\Service\APIManagement;
class Status extends \Google\Collection
{
protected $collection_key = 'details';
/**
* @var int
*/
public $code;
/**
* @var array[]
*/
public $details;
/**
* @var string
*/
public $message;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param array[]
*/
public function setDetails($details)
{
$this->details = $details;
}
/**
* @return array[]
*/
public function getDetails()
{
return $this->details;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Status::class, 'Google_Service_APIManagement_Status');

View File

@@ -0,0 +1,62 @@
<?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.
*/
namespace Google\Service\APIManagement;
class TagAction extends \Google\Model
{
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TagAction::class, 'Google_Service_APIManagement_TagAction');