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,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\Appengine;
class ApiConfigHandler extends \Google\Model
{
/**
* @var string
*/
public $authFailAction;
/**
* @var string
*/
public $login;
/**
* @var string
*/
public $script;
/**
* @var string
*/
public $securityLevel;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setAuthFailAction($authFailAction)
{
$this->authFailAction = $authFailAction;
}
/**
* @return string
*/
public function getAuthFailAction()
{
return $this->authFailAction;
}
/**
* @param string
*/
public function setLogin($login)
{
$this->login = $login;
}
/**
* @return string
*/
public function getLogin()
{
return $this->login;
}
/**
* @param string
*/
public function setScript($script)
{
$this->script = $script;
}
/**
* @return string
*/
public function getScript()
{
return $this->script;
}
/**
* @param string
*/
public function setSecurityLevel($securityLevel)
{
$this->securityLevel = $securityLevel;
}
/**
* @return string
*/
public function getSecurityLevel()
{
return $this->securityLevel;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiConfigHandler::class, 'Google_Service_Appengine_ApiConfigHandler');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class ApiEndpointHandler extends \Google\Model
{
/**
* @var string
*/
public $scriptPath;
/**
* @param string
*/
public function setScriptPath($scriptPath)
{
$this->scriptPath = $scriptPath;
}
/**
* @return string
*/
public function getScriptPath()
{
return $this->scriptPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ApiEndpointHandler::class, 'Google_Service_Appengine_ApiEndpointHandler');

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\Appengine;
class AppengineEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppengineEmpty::class, 'Google_Service_Appengine_AppengineEmpty');

View File

@@ -0,0 +1,309 @@
<?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\Appengine;
class Application extends \Google\Collection
{
protected $collection_key = 'dispatchRules';
/**
* @var string
*/
public $authDomain;
/**
* @var string
*/
public $codeBucket;
/**
* @var string
*/
public $databaseType;
/**
* @var string
*/
public $defaultBucket;
/**
* @var string
*/
public $defaultCookieExpiration;
/**
* @var string
*/
public $defaultHostname;
protected $dispatchRulesType = UrlDispatchRule::class;
protected $dispatchRulesDataType = 'array';
protected $featureSettingsType = FeatureSettings::class;
protected $featureSettingsDataType = '';
/**
* @var string
*/
public $gcrDomain;
/**
* @var array[]
*/
public $generatedCustomerMetadata;
protected $iapType = IdentityAwareProxy::class;
protected $iapDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $servingStatus;
/**
* @param string
*/
public function setAuthDomain($authDomain)
{
$this->authDomain = $authDomain;
}
/**
* @return string
*/
public function getAuthDomain()
{
return $this->authDomain;
}
/**
* @param string
*/
public function setCodeBucket($codeBucket)
{
$this->codeBucket = $codeBucket;
}
/**
* @return string
*/
public function getCodeBucket()
{
return $this->codeBucket;
}
/**
* @param string
*/
public function setDatabaseType($databaseType)
{
$this->databaseType = $databaseType;
}
/**
* @return string
*/
public function getDatabaseType()
{
return $this->databaseType;
}
/**
* @param string
*/
public function setDefaultBucket($defaultBucket)
{
$this->defaultBucket = $defaultBucket;
}
/**
* @return string
*/
public function getDefaultBucket()
{
return $this->defaultBucket;
}
/**
* @param string
*/
public function setDefaultCookieExpiration($defaultCookieExpiration)
{
$this->defaultCookieExpiration = $defaultCookieExpiration;
}
/**
* @return string
*/
public function getDefaultCookieExpiration()
{
return $this->defaultCookieExpiration;
}
/**
* @param string
*/
public function setDefaultHostname($defaultHostname)
{
$this->defaultHostname = $defaultHostname;
}
/**
* @return string
*/
public function getDefaultHostname()
{
return $this->defaultHostname;
}
/**
* @param UrlDispatchRule[]
*/
public function setDispatchRules($dispatchRules)
{
$this->dispatchRules = $dispatchRules;
}
/**
* @return UrlDispatchRule[]
*/
public function getDispatchRules()
{
return $this->dispatchRules;
}
/**
* @param FeatureSettings
*/
public function setFeatureSettings(FeatureSettings $featureSettings)
{
$this->featureSettings = $featureSettings;
}
/**
* @return FeatureSettings
*/
public function getFeatureSettings()
{
return $this->featureSettings;
}
/**
* @param string
*/
public function setGcrDomain($gcrDomain)
{
$this->gcrDomain = $gcrDomain;
}
/**
* @return string
*/
public function getGcrDomain()
{
return $this->gcrDomain;
}
/**
* @param array[]
*/
public function setGeneratedCustomerMetadata($generatedCustomerMetadata)
{
$this->generatedCustomerMetadata = $generatedCustomerMetadata;
}
/**
* @return array[]
*/
public function getGeneratedCustomerMetadata()
{
return $this->generatedCustomerMetadata;
}
/**
* @param IdentityAwareProxy
*/
public function setIap(IdentityAwareProxy $iap)
{
$this->iap = $iap;
}
/**
* @return IdentityAwareProxy
*/
public function getIap()
{
return $this->iap;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setServingStatus($servingStatus)
{
$this->servingStatus = $servingStatus;
}
/**
* @return string
*/
public function getServingStatus()
{
return $this->servingStatus;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Application::class, 'Google_Service_Appengine_Application');

View File

@@ -0,0 +1,185 @@
<?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\Appengine;
class AuthorizedCertificate extends \Google\Collection
{
protected $collection_key = 'visibleDomainMappings';
protected $certificateRawDataType = CertificateRawData::class;
protected $certificateRawDataDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var int
*/
public $domainMappingsCount;
/**
* @var string[]
*/
public $domainNames;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $id;
protected $managedCertificateType = ManagedCertificate::class;
protected $managedCertificateDataType = '';
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $visibleDomainMappings;
/**
* @param CertificateRawData
*/
public function setCertificateRawData(CertificateRawData $certificateRawData)
{
$this->certificateRawData = $certificateRawData;
}
/**
* @return CertificateRawData
*/
public function getCertificateRawData()
{
return $this->certificateRawData;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param int
*/
public function setDomainMappingsCount($domainMappingsCount)
{
$this->domainMappingsCount = $domainMappingsCount;
}
/**
* @return int
*/
public function getDomainMappingsCount()
{
return $this->domainMappingsCount;
}
/**
* @param string[]
*/
public function setDomainNames($domainNames)
{
$this->domainNames = $domainNames;
}
/**
* @return string[]
*/
public function getDomainNames()
{
return $this->domainNames;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param ManagedCertificate
*/
public function setManagedCertificate(ManagedCertificate $managedCertificate)
{
$this->managedCertificate = $managedCertificate;
}
/**
* @return ManagedCertificate
*/
public function getManagedCertificate()
{
return $this->managedCertificate;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setVisibleDomainMappings($visibleDomainMappings)
{
$this->visibleDomainMappings = $visibleDomainMappings;
}
/**
* @return string[]
*/
public function getVisibleDomainMappings()
{
return $this->visibleDomainMappings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizedCertificate::class, 'Google_Service_Appengine_AuthorizedCertificate');

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\Appengine;
class AuthorizedDomain extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @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(AuthorizedDomain::class, 'Google_Service_Appengine_AuthorizedDomain');

View File

@@ -0,0 +1,250 @@
<?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\Appengine;
class AutomaticScaling extends \Google\Model
{
/**
* @var string
*/
public $coolDownPeriod;
protected $cpuUtilizationType = CpuUtilization::class;
protected $cpuUtilizationDataType = '';
protected $diskUtilizationType = DiskUtilization::class;
protected $diskUtilizationDataType = '';
/**
* @var int
*/
public $maxConcurrentRequests;
/**
* @var int
*/
public $maxIdleInstances;
/**
* @var string
*/
public $maxPendingLatency;
/**
* @var int
*/
public $maxTotalInstances;
/**
* @var int
*/
public $minIdleInstances;
/**
* @var string
*/
public $minPendingLatency;
/**
* @var int
*/
public $minTotalInstances;
protected $networkUtilizationType = NetworkUtilization::class;
protected $networkUtilizationDataType = '';
protected $requestUtilizationType = RequestUtilization::class;
protected $requestUtilizationDataType = '';
protected $standardSchedulerSettingsType = StandardSchedulerSettings::class;
protected $standardSchedulerSettingsDataType = '';
/**
* @param string
*/
public function setCoolDownPeriod($coolDownPeriod)
{
$this->coolDownPeriod = $coolDownPeriod;
}
/**
* @return string
*/
public function getCoolDownPeriod()
{
return $this->coolDownPeriod;
}
/**
* @param CpuUtilization
*/
public function setCpuUtilization(CpuUtilization $cpuUtilization)
{
$this->cpuUtilization = $cpuUtilization;
}
/**
* @return CpuUtilization
*/
public function getCpuUtilization()
{
return $this->cpuUtilization;
}
/**
* @param DiskUtilization
*/
public function setDiskUtilization(DiskUtilization $diskUtilization)
{
$this->diskUtilization = $diskUtilization;
}
/**
* @return DiskUtilization
*/
public function getDiskUtilization()
{
return $this->diskUtilization;
}
/**
* @param int
*/
public function setMaxConcurrentRequests($maxConcurrentRequests)
{
$this->maxConcurrentRequests = $maxConcurrentRequests;
}
/**
* @return int
*/
public function getMaxConcurrentRequests()
{
return $this->maxConcurrentRequests;
}
/**
* @param int
*/
public function setMaxIdleInstances($maxIdleInstances)
{
$this->maxIdleInstances = $maxIdleInstances;
}
/**
* @return int
*/
public function getMaxIdleInstances()
{
return $this->maxIdleInstances;
}
/**
* @param string
*/
public function setMaxPendingLatency($maxPendingLatency)
{
$this->maxPendingLatency = $maxPendingLatency;
}
/**
* @return string
*/
public function getMaxPendingLatency()
{
return $this->maxPendingLatency;
}
/**
* @param int
*/
public function setMaxTotalInstances($maxTotalInstances)
{
$this->maxTotalInstances = $maxTotalInstances;
}
/**
* @return int
*/
public function getMaxTotalInstances()
{
return $this->maxTotalInstances;
}
/**
* @param int
*/
public function setMinIdleInstances($minIdleInstances)
{
$this->minIdleInstances = $minIdleInstances;
}
/**
* @return int
*/
public function getMinIdleInstances()
{
return $this->minIdleInstances;
}
/**
* @param string
*/
public function setMinPendingLatency($minPendingLatency)
{
$this->minPendingLatency = $minPendingLatency;
}
/**
* @return string
*/
public function getMinPendingLatency()
{
return $this->minPendingLatency;
}
/**
* @param int
*/
public function setMinTotalInstances($minTotalInstances)
{
$this->minTotalInstances = $minTotalInstances;
}
/**
* @return int
*/
public function getMinTotalInstances()
{
return $this->minTotalInstances;
}
/**
* @param NetworkUtilization
*/
public function setNetworkUtilization(NetworkUtilization $networkUtilization)
{
$this->networkUtilization = $networkUtilization;
}
/**
* @return NetworkUtilization
*/
public function getNetworkUtilization()
{
return $this->networkUtilization;
}
/**
* @param RequestUtilization
*/
public function setRequestUtilization(RequestUtilization $requestUtilization)
{
$this->requestUtilization = $requestUtilization;
}
/**
* @return RequestUtilization
*/
public function getRequestUtilization()
{
return $this->requestUtilization;
}
/**
* @param StandardSchedulerSettings
*/
public function setStandardSchedulerSettings(StandardSchedulerSettings $standardSchedulerSettings)
{
$this->standardSchedulerSettings = $standardSchedulerSettings;
}
/**
* @return StandardSchedulerSettings
*/
public function getStandardSchedulerSettings()
{
return $this->standardSchedulerSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomaticScaling::class, 'Google_Service_Appengine_AutomaticScaling');

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\Appengine;
class BasicScaling extends \Google\Model
{
/**
* @var string
*/
public $idleTimeout;
/**
* @var int
*/
public $maxInstances;
/**
* @param string
*/
public function setIdleTimeout($idleTimeout)
{
$this->idleTimeout = $idleTimeout;
}
/**
* @return string
*/
public function getIdleTimeout()
{
return $this->idleTimeout;
}
/**
* @param int
*/
public function setMaxInstances($maxInstances)
{
$this->maxInstances = $maxInstances;
}
/**
* @return int
*/
public function getMaxInstances()
{
return $this->maxInstances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BasicScaling::class, 'Google_Service_Appengine_BasicScaling');

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\Appengine;
class BatchUpdateIngressRulesRequest extends \Google\Collection
{
protected $collection_key = 'ingressRules';
protected $ingressRulesType = FirewallRule::class;
protected $ingressRulesDataType = 'array';
/**
* @param FirewallRule[]
*/
public function setIngressRules($ingressRules)
{
$this->ingressRules = $ingressRules;
}
/**
* @return FirewallRule[]
*/
public function getIngressRules()
{
return $this->ingressRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchUpdateIngressRulesRequest::class, 'Google_Service_Appengine_BatchUpdateIngressRulesRequest');

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\Appengine;
class BatchUpdateIngressRulesResponse extends \Google\Collection
{
protected $collection_key = 'ingressRules';
protected $ingressRulesType = FirewallRule::class;
protected $ingressRulesDataType = 'array';
/**
* @param FirewallRule[]
*/
public function setIngressRules($ingressRules)
{
$this->ingressRules = $ingressRules;
}
/**
* @return FirewallRule[]
*/
public function getIngressRules()
{
return $this->ingressRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchUpdateIngressRulesResponse::class, 'Google_Service_Appengine_BatchUpdateIngressRulesResponse');

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\Appengine;
class CertificateRawData extends \Google\Model
{
/**
* @var string
*/
public $privateKey;
/**
* @var string
*/
public $publicCertificate;
/**
* @param string
*/
public function setPrivateKey($privateKey)
{
$this->privateKey = $privateKey;
}
/**
* @return string
*/
public function getPrivateKey()
{
return $this->privateKey;
}
/**
* @param string
*/
public function setPublicCertificate($publicCertificate)
{
$this->publicCertificate = $publicCertificate;
}
/**
* @return string
*/
public function getPublicCertificate()
{
return $this->publicCertificate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CertificateRawData::class, 'Google_Service_Appengine_CertificateRawData');

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\Appengine;
class CloudBuildOptions extends \Google\Model
{
/**
* @var string
*/
public $appYamlPath;
/**
* @var string
*/
public $cloudBuildTimeout;
/**
* @param string
*/
public function setAppYamlPath($appYamlPath)
{
$this->appYamlPath = $appYamlPath;
}
/**
* @return string
*/
public function getAppYamlPath()
{
return $this->appYamlPath;
}
/**
* @param string
*/
public function setCloudBuildTimeout($cloudBuildTimeout)
{
$this->cloudBuildTimeout = $cloudBuildTimeout;
}
/**
* @return string
*/
public function getCloudBuildTimeout()
{
return $this->cloudBuildTimeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudBuildOptions::class, 'Google_Service_Appengine_CloudBuildOptions');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class ContainerInfo extends \Google\Model
{
/**
* @var string
*/
public $image;
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerInfo::class, 'Google_Service_Appengine_ContainerInfo');

View File

@@ -0,0 +1,76 @@
<?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\Appengine;
class ContainerState extends \Google\Model
{
protected $currentReasonsType = Reasons::class;
protected $currentReasonsDataType = '';
protected $previousReasonsType = Reasons::class;
protected $previousReasonsDataType = '';
/**
* @var string
*/
public $state;
/**
* @param Reasons
*/
public function setCurrentReasons(Reasons $currentReasons)
{
$this->currentReasons = $currentReasons;
}
/**
* @return Reasons
*/
public function getCurrentReasons()
{
return $this->currentReasons;
}
/**
* @param Reasons
*/
public function setPreviousReasons(Reasons $previousReasons)
{
$this->previousReasons = $previousReasons;
}
/**
* @return Reasons
*/
public function getPreviousReasons()
{
return $this->previousReasons;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerState::class, 'Google_Service_Appengine_ContainerState');

View File

@@ -0,0 +1,53 @@
<?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\Appengine;
class CpuUtilization extends \Google\Model
{
/**
* @var string
*/
public $aggregationWindowLength;
public $targetUtilization;
/**
* @param string
*/
public function setAggregationWindowLength($aggregationWindowLength)
{
$this->aggregationWindowLength = $aggregationWindowLength;
}
/**
* @return string
*/
public function getAggregationWindowLength()
{
return $this->aggregationWindowLength;
}
public function setTargetUtilization($targetUtilization)
{
$this->targetUtilization = $targetUtilization;
}
public function getTargetUtilization()
{
return $this->targetUtilization;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CpuUtilization::class, 'Google_Service_Appengine_CpuUtilization');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class CreateVersionMetadataV1 extends \Google\Model
{
/**
* @var string
*/
public $cloudBuildId;
/**
* @param string
*/
public function setCloudBuildId($cloudBuildId)
{
$this->cloudBuildId = $cloudBuildId;
}
/**
* @return string
*/
public function getCloudBuildId()
{
return $this->cloudBuildId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateVersionMetadataV1::class, 'Google_Service_Appengine_CreateVersionMetadataV1');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class CreateVersionMetadataV1Alpha extends \Google\Model
{
/**
* @var string
*/
public $cloudBuildId;
/**
* @param string
*/
public function setCloudBuildId($cloudBuildId)
{
$this->cloudBuildId = $cloudBuildId;
}
/**
* @return string
*/
public function getCloudBuildId()
{
return $this->cloudBuildId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateVersionMetadataV1Alpha::class, 'Google_Service_Appengine_CreateVersionMetadataV1Alpha');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class CreateVersionMetadataV1Beta extends \Google\Model
{
/**
* @var string
*/
public $cloudBuildId;
/**
* @param string
*/
public function setCloudBuildId($cloudBuildId)
{
$this->cloudBuildId = $cloudBuildId;
}
/**
* @return string
*/
public function getCloudBuildId()
{
return $this->cloudBuildId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateVersionMetadataV1Beta::class, 'Google_Service_Appengine_CreateVersionMetadataV1Beta');

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\Appengine;
class Date extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Date::class, 'Google_Service_Appengine_Date');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class DebugInstanceRequest extends \Google\Model
{
/**
* @var string
*/
public $sshKey;
/**
* @param string
*/
public function setSshKey($sshKey)
{
$this->sshKey = $sshKey;
}
/**
* @return string
*/
public function getSshKey()
{
return $this->sshKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DebugInstanceRequest::class, 'Google_Service_Appengine_DebugInstanceRequest');

View File

@@ -0,0 +1,90 @@
<?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\Appengine;
class Deployment extends \Google\Model
{
protected $cloudBuildOptionsType = CloudBuildOptions::class;
protected $cloudBuildOptionsDataType = '';
protected $containerType = ContainerInfo::class;
protected $containerDataType = '';
protected $filesType = FileInfo::class;
protected $filesDataType = 'map';
protected $zipType = ZipInfo::class;
protected $zipDataType = '';
/**
* @param CloudBuildOptions
*/
public function setCloudBuildOptions(CloudBuildOptions $cloudBuildOptions)
{
$this->cloudBuildOptions = $cloudBuildOptions;
}
/**
* @return CloudBuildOptions
*/
public function getCloudBuildOptions()
{
return $this->cloudBuildOptions;
}
/**
* @param ContainerInfo
*/
public function setContainer(ContainerInfo $container)
{
$this->container = $container;
}
/**
* @return ContainerInfo
*/
public function getContainer()
{
return $this->container;
}
/**
* @param FileInfo[]
*/
public function setFiles($files)
{
$this->files = $files;
}
/**
* @return FileInfo[]
*/
public function getFiles()
{
return $this->files;
}
/**
* @param ZipInfo
*/
public function setZip(ZipInfo $zip)
{
$this->zip = $zip;
}
/**
* @return ZipInfo
*/
public function getZip()
{
return $this->zip;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Deployment::class, 'Google_Service_Appengine_Deployment');

View File

@@ -0,0 +1,98 @@
<?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\Appengine;
class DiskUtilization extends \Google\Model
{
/**
* @var int
*/
public $targetReadBytesPerSecond;
/**
* @var int
*/
public $targetReadOpsPerSecond;
/**
* @var int
*/
public $targetWriteBytesPerSecond;
/**
* @var int
*/
public $targetWriteOpsPerSecond;
/**
* @param int
*/
public function setTargetReadBytesPerSecond($targetReadBytesPerSecond)
{
$this->targetReadBytesPerSecond = $targetReadBytesPerSecond;
}
/**
* @return int
*/
public function getTargetReadBytesPerSecond()
{
return $this->targetReadBytesPerSecond;
}
/**
* @param int
*/
public function setTargetReadOpsPerSecond($targetReadOpsPerSecond)
{
$this->targetReadOpsPerSecond = $targetReadOpsPerSecond;
}
/**
* @return int
*/
public function getTargetReadOpsPerSecond()
{
return $this->targetReadOpsPerSecond;
}
/**
* @param int
*/
public function setTargetWriteBytesPerSecond($targetWriteBytesPerSecond)
{
$this->targetWriteBytesPerSecond = $targetWriteBytesPerSecond;
}
/**
* @return int
*/
public function getTargetWriteBytesPerSecond()
{
return $this->targetWriteBytesPerSecond;
}
/**
* @param int
*/
public function setTargetWriteOpsPerSecond($targetWriteOpsPerSecond)
{
$this->targetWriteOpsPerSecond = $targetWriteOpsPerSecond;
}
/**
* @return int
*/
public function getTargetWriteOpsPerSecond()
{
return $this->targetWriteOpsPerSecond;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiskUtilization::class, 'Google_Service_Appengine_DiskUtilization');

View File

@@ -0,0 +1,95 @@
<?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\Appengine;
class DomainMapping extends \Google\Collection
{
protected $collection_key = 'resourceRecords';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
protected $resourceRecordsType = ResourceRecord::class;
protected $resourceRecordsDataType = 'array';
protected $sslSettingsType = SslSettings::class;
protected $sslSettingsDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ResourceRecord[]
*/
public function setResourceRecords($resourceRecords)
{
$this->resourceRecords = $resourceRecords;
}
/**
* @return ResourceRecord[]
*/
public function getResourceRecords()
{
return $this->resourceRecords;
}
/**
* @param SslSettings
*/
public function setSslSettings(SslSettings $sslSettings)
{
$this->sslSettings = $sslSettings;
}
/**
* @return SslSettings
*/
public function getSslSettings()
{
return $this->sslSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainMapping::class, 'Google_Service_Appengine_DomainMapping');

View File

@@ -0,0 +1,98 @@
<?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\Appengine;
class EndpointsApiService extends \Google\Model
{
/**
* @var string
*/
public $configId;
/**
* @var bool
*/
public $disableTraceSampling;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $rolloutStrategy;
/**
* @param string
*/
public function setConfigId($configId)
{
$this->configId = $configId;
}
/**
* @return string
*/
public function getConfigId()
{
return $this->configId;
}
/**
* @param bool
*/
public function setDisableTraceSampling($disableTraceSampling)
{
$this->disableTraceSampling = $disableTraceSampling;
}
/**
* @return bool
*/
public function getDisableTraceSampling()
{
return $this->disableTraceSampling;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRolloutStrategy($rolloutStrategy)
{
$this->rolloutStrategy = $rolloutStrategy;
}
/**
* @return string
*/
public function getRolloutStrategy()
{
return $this->rolloutStrategy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EndpointsApiService::class, 'Google_Service_Appengine_EndpointsApiService');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class Entrypoint extends \Google\Model
{
/**
* @var string
*/
public $shell;
/**
* @param string
*/
public function setShell($shell)
{
$this->shell = $shell;
}
/**
* @return string
*/
public function getShell()
{
return $this->shell;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Entrypoint::class, 'Google_Service_Appengine_Entrypoint');

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\Appengine;
class ErrorHandler extends \Google\Model
{
/**
* @var string
*/
public $errorCode;
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $staticFile;
/**
* @param string
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setStaticFile($staticFile)
{
$this->staticFile = $staticFile;
}
/**
* @return string
*/
public function getStaticFile()
{
return $this->staticFile;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ErrorHandler::class, 'Google_Service_Appengine_ErrorHandler');

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\Appengine;
class FeatureSettings extends \Google\Model
{
/**
* @var bool
*/
public $splitHealthChecks;
/**
* @var bool
*/
public $useContainerOptimizedOs;
/**
* @param bool
*/
public function setSplitHealthChecks($splitHealthChecks)
{
$this->splitHealthChecks = $splitHealthChecks;
}
/**
* @return bool
*/
public function getSplitHealthChecks()
{
return $this->splitHealthChecks;
}
/**
* @param bool
*/
public function setUseContainerOptimizedOs($useContainerOptimizedOs)
{
$this->useContainerOptimizedOs = $useContainerOptimizedOs;
}
/**
* @return bool
*/
public function getUseContainerOptimizedOs()
{
return $this->useContainerOptimizedOs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FeatureSettings::class, 'Google_Service_Appengine_FeatureSettings');

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\Appengine;
class FileInfo extends \Google\Model
{
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $sha1Sum;
/**
* @var string
*/
public $sourceUrl;
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setSha1Sum($sha1Sum)
{
$this->sha1Sum = $sha1Sum;
}
/**
* @return string
*/
public function getSha1Sum()
{
return $this->sha1Sum;
}
/**
* @param string
*/
public function setSourceUrl($sourceUrl)
{
$this->sourceUrl = $sourceUrl;
}
/**
* @return string
*/
public function getSourceUrl()
{
return $this->sourceUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FileInfo::class, 'Google_Service_Appengine_FileInfo');

View File

@@ -0,0 +1,98 @@
<?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\Appengine;
class FirewallRule extends \Google\Model
{
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $description;
/**
* @var int
*/
public $priority;
/**
* @var string
*/
public $sourceRange;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param int
*/
public function setPriority($priority)
{
$this->priority = $priority;
}
/**
* @return int
*/
public function getPriority()
{
return $this->priority;
}
/**
* @param string
*/
public function setSourceRange($sourceRange)
{
$this->sourceRange = $sourceRange;
}
/**
* @return string
*/
public function getSourceRange()
{
return $this->sourceRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FirewallRule::class, 'Google_Service_Appengine_FirewallRule');

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\Appengine;
class FlexibleRuntimeSettings extends \Google\Model
{
/**
* @var string
*/
public $operatingSystem;
/**
* @var string
*/
public $runtimeVersion;
/**
* @param string
*/
public function setOperatingSystem($operatingSystem)
{
$this->operatingSystem = $operatingSystem;
}
/**
* @return string
*/
public function getOperatingSystem()
{
return $this->operatingSystem;
}
/**
* @param string
*/
public function setRuntimeVersion($runtimeVersion)
{
$this->runtimeVersion = $runtimeVersion;
}
/**
* @return string
*/
public function getRuntimeVersion()
{
return $this->runtimeVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FlexibleRuntimeSettings::class, 'Google_Service_Appengine_FlexibleRuntimeSettings');

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\Appengine;
class GceTag extends \Google\Collection
{
protected $collection_key = 'parent';
/**
* @var string[]
*/
public $parent;
/**
* @var string
*/
public $tag;
/**
* @param string[]
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string[]
*/
public function getParent()
{
return $this->parent;
}
/**
* @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(GceTag::class, 'Google_Service_Appengine_GceTag');

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\Appengine;
class GoogleAppengineV1betaLocationMetadata extends \Google\Model
{
/**
* @var bool
*/
public $flexibleEnvironmentAvailable;
/**
* @var bool
*/
public $searchApiAvailable;
/**
* @var bool
*/
public $standardEnvironmentAvailable;
/**
* @param bool
*/
public function setFlexibleEnvironmentAvailable($flexibleEnvironmentAvailable)
{
$this->flexibleEnvironmentAvailable = $flexibleEnvironmentAvailable;
}
/**
* @return bool
*/
public function getFlexibleEnvironmentAvailable()
{
return $this->flexibleEnvironmentAvailable;
}
/**
* @param bool
*/
public function setSearchApiAvailable($searchApiAvailable)
{
$this->searchApiAvailable = $searchApiAvailable;
}
/**
* @return bool
*/
public function getSearchApiAvailable()
{
return $this->searchApiAvailable;
}
/**
* @param bool
*/
public function setStandardEnvironmentAvailable($standardEnvironmentAvailable)
{
$this->standardEnvironmentAvailable = $standardEnvironmentAvailable;
}
/**
* @return bool
*/
public function getStandardEnvironmentAvailable()
{
return $this->standardEnvironmentAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppengineV1betaLocationMetadata::class, 'Google_Service_Appengine_GoogleAppengineV1betaLocationMetadata');

View File

@@ -0,0 +1,108 @@
<?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\Appengine;
class GoogleAppengineV2OperationMetadata extends \Google\Collection
{
protected $collection_key = 'warning';
public $apiVersion;
public $createTime;
public $endTime;
public $ephemeralMessage;
public $requestedCancellation;
public $statusMessage;
public $target;
public $verb;
public $warning;
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
public function getApiVersion()
{
return $this->apiVersion;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setEphemeralMessage($ephemeralMessage)
{
$this->ephemeralMessage = $ephemeralMessage;
}
public function getEphemeralMessage()
{
return $this->ephemeralMessage;
}
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
public function getStatusMessage()
{
return $this->statusMessage;
}
public function setTarget($target)
{
$this->target = $target;
}
public function getTarget()
{
return $this->target;
}
public function setVerb($verb)
{
$this->verb = $verb;
}
public function getVerb()
{
return $this->verb;
}
public function setWarning($warning)
{
$this->warning = $warning;
}
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppengineV2OperationMetadata::class, 'Google_Service_Appengine_GoogleAppengineV2OperationMetadata');

View File

@@ -0,0 +1,108 @@
<?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\Appengine;
class GoogleAppengineV2mainOperationMetadata extends \Google\Collection
{
protected $collection_key = 'warning';
public $apiVersion;
public $createTime;
public $endTime;
public $ephemeralMessage;
public $requestedCancellation;
public $statusMessage;
public $target;
public $verb;
public $warning;
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
public function getApiVersion()
{
return $this->apiVersion;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setEphemeralMessage($ephemeralMessage)
{
$this->ephemeralMessage = $ephemeralMessage;
}
public function getEphemeralMessage()
{
return $this->ephemeralMessage;
}
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
public function getStatusMessage()
{
return $this->statusMessage;
}
public function setTarget($target)
{
$this->target = $target;
}
public function getTarget()
{
return $this->target;
}
public function setVerb($verb)
{
$this->verb = $verb;
}
public function getVerb()
{
return $this->verb;
}
public function setWarning($warning)
{
$this->warning = $warning;
}
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppengineV2mainOperationMetadata::class, 'Google_Service_Appengine_GoogleAppengineV2mainOperationMetadata');

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\Appengine;
class HealthCheck extends \Google\Model
{
/**
* @var string
*/
public $checkInterval;
/**
* @var bool
*/
public $disableHealthCheck;
/**
* @var string
*/
public $healthyThreshold;
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $restartThreshold;
/**
* @var string
*/
public $timeout;
/**
* @var string
*/
public $unhealthyThreshold;
/**
* @param string
*/
public function setCheckInterval($checkInterval)
{
$this->checkInterval = $checkInterval;
}
/**
* @return string
*/
public function getCheckInterval()
{
return $this->checkInterval;
}
/**
* @param bool
*/
public function setDisableHealthCheck($disableHealthCheck)
{
$this->disableHealthCheck = $disableHealthCheck;
}
/**
* @return bool
*/
public function getDisableHealthCheck()
{
return $this->disableHealthCheck;
}
/**
* @param string
*/
public function setHealthyThreshold($healthyThreshold)
{
$this->healthyThreshold = $healthyThreshold;
}
/**
* @return string
*/
public function getHealthyThreshold()
{
return $this->healthyThreshold;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setRestartThreshold($restartThreshold)
{
$this->restartThreshold = $restartThreshold;
}
/**
* @return string
*/
public function getRestartThreshold()
{
return $this->restartThreshold;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param string
*/
public function setUnhealthyThreshold($unhealthyThreshold)
{
$this->unhealthyThreshold = $unhealthyThreshold;
}
/**
* @return string
*/
public function getUnhealthyThreshold()
{
return $this->unhealthyThreshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(HealthCheck::class, 'Google_Service_Appengine_HealthCheck');

View File

@@ -0,0 +1,98 @@
<?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\Appengine;
class IdentityAwareProxy extends \Google\Model
{
/**
* @var bool
*/
public $enabled;
/**
* @var string
*/
public $oauth2ClientId;
/**
* @var string
*/
public $oauth2ClientSecret;
/**
* @var string
*/
public $oauth2ClientSecretSha256;
/**
* @param bool
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* @return bool
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param string
*/
public function setOauth2ClientId($oauth2ClientId)
{
$this->oauth2ClientId = $oauth2ClientId;
}
/**
* @return string
*/
public function getOauth2ClientId()
{
return $this->oauth2ClientId;
}
/**
* @param string
*/
public function setOauth2ClientSecret($oauth2ClientSecret)
{
$this->oauth2ClientSecret = $oauth2ClientSecret;
}
/**
* @return string
*/
public function getOauth2ClientSecret()
{
return $this->oauth2ClientSecret;
}
/**
* @param string
*/
public function setOauth2ClientSecretSha256($oauth2ClientSecretSha256)
{
$this->oauth2ClientSecretSha256 = $oauth2ClientSecretSha256;
}
/**
* @return string
*/
public function getOauth2ClientSecretSha256()
{
return $this->oauth2ClientSecretSha256;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IdentityAwareProxy::class, 'Google_Service_Appengine_IdentityAwareProxy');

View File

@@ -0,0 +1,332 @@
<?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\Appengine;
class Instance extends \Google\Model
{
/**
* @var string
*/
public $appEngineRelease;
/**
* @var string
*/
public $availability;
/**
* @var int
*/
public $averageLatency;
/**
* @var int
*/
public $errors;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $memoryUsage;
/**
* @var string
*/
public $name;
/**
* @var float
*/
public $qps;
/**
* @var int
*/
public $requests;
/**
* @var string
*/
public $startTime;
/**
* @var bool
*/
public $vmDebugEnabled;
/**
* @var string
*/
public $vmId;
/**
* @var string
*/
public $vmIp;
/**
* @var string
*/
public $vmLiveness;
/**
* @var string
*/
public $vmName;
/**
* @var string
*/
public $vmStatus;
/**
* @var string
*/
public $vmZoneName;
/**
* @param string
*/
public function setAppEngineRelease($appEngineRelease)
{
$this->appEngineRelease = $appEngineRelease;
}
/**
* @return string
*/
public function getAppEngineRelease()
{
return $this->appEngineRelease;
}
/**
* @param string
*/
public function setAvailability($availability)
{
$this->availability = $availability;
}
/**
* @return string
*/
public function getAvailability()
{
return $this->availability;
}
/**
* @param int
*/
public function setAverageLatency($averageLatency)
{
$this->averageLatency = $averageLatency;
}
/**
* @return int
*/
public function getAverageLatency()
{
return $this->averageLatency;
}
/**
* @param int
*/
public function setErrors($errors)
{
$this->errors = $errors;
}
/**
* @return int
*/
public function getErrors()
{
return $this->errors;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setMemoryUsage($memoryUsage)
{
$this->memoryUsage = $memoryUsage;
}
/**
* @return string
*/
public function getMemoryUsage()
{
return $this->memoryUsage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param float
*/
public function setQps($qps)
{
$this->qps = $qps;
}
/**
* @return float
*/
public function getQps()
{
return $this->qps;
}
/**
* @param int
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return int
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param bool
*/
public function setVmDebugEnabled($vmDebugEnabled)
{
$this->vmDebugEnabled = $vmDebugEnabled;
}
/**
* @return bool
*/
public function getVmDebugEnabled()
{
return $this->vmDebugEnabled;
}
/**
* @param string
*/
public function setVmId($vmId)
{
$this->vmId = $vmId;
}
/**
* @return string
*/
public function getVmId()
{
return $this->vmId;
}
/**
* @param string
*/
public function setVmIp($vmIp)
{
$this->vmIp = $vmIp;
}
/**
* @return string
*/
public function getVmIp()
{
return $this->vmIp;
}
/**
* @param string
*/
public function setVmLiveness($vmLiveness)
{
$this->vmLiveness = $vmLiveness;
}
/**
* @return string
*/
public function getVmLiveness()
{
return $this->vmLiveness;
}
/**
* @param string
*/
public function setVmName($vmName)
{
$this->vmName = $vmName;
}
/**
* @return string
*/
public function getVmName()
{
return $this->vmName;
}
/**
* @param string
*/
public function setVmStatus($vmStatus)
{
$this->vmStatus = $vmStatus;
}
/**
* @return string
*/
public function getVmStatus()
{
return $this->vmStatus;
}
/**
* @param string
*/
public function setVmZoneName($vmZoneName)
{
$this->vmZoneName = $vmZoneName;
}
/**
* @return string
*/
public function getVmZoneName()
{
return $this->vmZoneName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Instance::class, 'Google_Service_Appengine_Instance');

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\Appengine;
class Library extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Library::class, 'Google_Service_Appengine_Library');

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\Appengine;
class ListAuthorizedCertificatesResponse extends \Google\Collection
{
protected $collection_key = 'certificates';
protected $certificatesType = AuthorizedCertificate::class;
protected $certificatesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AuthorizedCertificate[]
*/
public function setCertificates($certificates)
{
$this->certificates = $certificates;
}
/**
* @return AuthorizedCertificate[]
*/
public function getCertificates()
{
return $this->certificates;
}
/**
* @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(ListAuthorizedCertificatesResponse::class, 'Google_Service_Appengine_ListAuthorizedCertificatesResponse');

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\Appengine;
class ListAuthorizedDomainsResponse extends \Google\Collection
{
protected $collection_key = 'domains';
protected $domainsType = AuthorizedDomain::class;
protected $domainsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param AuthorizedDomain[]
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return AuthorizedDomain[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* @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(ListAuthorizedDomainsResponse::class, 'Google_Service_Appengine_ListAuthorizedDomainsResponse');

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\Appengine;
class ListDomainMappingsResponse extends \Google\Collection
{
protected $collection_key = 'domainMappings';
protected $domainMappingsType = DomainMapping::class;
protected $domainMappingsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param DomainMapping[]
*/
public function setDomainMappings($domainMappings)
{
$this->domainMappings = $domainMappings;
}
/**
* @return DomainMapping[]
*/
public function getDomainMappings()
{
return $this->domainMappings;
}
/**
* @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(ListDomainMappingsResponse::class, 'Google_Service_Appengine_ListDomainMappingsResponse');

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\Appengine;
class ListIngressRulesResponse extends \Google\Collection
{
protected $collection_key = 'ingressRules';
protected $ingressRulesType = FirewallRule::class;
protected $ingressRulesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param FirewallRule[]
*/
public function setIngressRules($ingressRules)
{
$this->ingressRules = $ingressRules;
}
/**
* @return FirewallRule[]
*/
public function getIngressRules()
{
return $this->ingressRules;
}
/**
* @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(ListIngressRulesResponse::class, 'Google_Service_Appengine_ListIngressRulesResponse');

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\Appengine;
class ListInstancesResponse extends \Google\Collection
{
protected $collection_key = 'instances';
protected $instancesType = Instance::class;
protected $instancesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Instance[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return Instance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* @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(ListInstancesResponse::class, 'Google_Service_Appengine_ListInstancesResponse');

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\Appengine;
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_Appengine_ListLocationsResponse');

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\Appengine;
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_Appengine_ListOperationsResponse');

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\Appengine;
class ListRuntimesResponse extends \Google\Collection
{
protected $collection_key = 'runtimes';
/**
* @var string
*/
public $nextPageToken;
protected $runtimesType = Runtime::class;
protected $runtimesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Runtime[]
*/
public function setRuntimes($runtimes)
{
$this->runtimes = $runtimes;
}
/**
* @return Runtime[]
*/
public function getRuntimes()
{
return $this->runtimes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListRuntimesResponse::class, 'Google_Service_Appengine_ListRuntimesResponse');

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\Appengine;
class ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = Service::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListServicesResponse::class, 'Google_Service_Appengine_ListServicesResponse');

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\Appengine;
class ListVersionsResponse extends \Google\Collection
{
protected $collection_key = 'versions';
/**
* @var string
*/
public $nextPageToken;
protected $versionsType = Version::class;
protected $versionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Version[]
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return Version[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListVersionsResponse::class, 'Google_Service_Appengine_ListVersionsResponse');

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\Appengine;
class LivenessCheck extends \Google\Model
{
/**
* @var string
*/
public $checkInterval;
/**
* @var string
*/
public $failureThreshold;
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $initialDelay;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $successThreshold;
/**
* @var string
*/
public $timeout;
/**
* @param string
*/
public function setCheckInterval($checkInterval)
{
$this->checkInterval = $checkInterval;
}
/**
* @return string
*/
public function getCheckInterval()
{
return $this->checkInterval;
}
/**
* @param string
*/
public function setFailureThreshold($failureThreshold)
{
$this->failureThreshold = $failureThreshold;
}
/**
* @return string
*/
public function getFailureThreshold()
{
return $this->failureThreshold;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setInitialDelay($initialDelay)
{
$this->initialDelay = $initialDelay;
}
/**
* @return string
*/
public function getInitialDelay()
{
return $this->initialDelay;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setSuccessThreshold($successThreshold)
{
$this->successThreshold = $successThreshold;
}
/**
* @return string
*/
public function getSuccessThreshold()
{
return $this->successThreshold;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LivenessCheck::class, 'Google_Service_Appengine_LivenessCheck');

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\Appengine;
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_Appengine_Location');

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\Appengine;
class LocationMetadata extends \Google\Model
{
/**
* @var bool
*/
public $flexibleEnvironmentAvailable;
/**
* @var bool
*/
public $searchApiAvailable;
/**
* @var bool
*/
public $standardEnvironmentAvailable;
/**
* @param bool
*/
public function setFlexibleEnvironmentAvailable($flexibleEnvironmentAvailable)
{
$this->flexibleEnvironmentAvailable = $flexibleEnvironmentAvailable;
}
/**
* @return bool
*/
public function getFlexibleEnvironmentAvailable()
{
return $this->flexibleEnvironmentAvailable;
}
/**
* @param bool
*/
public function setSearchApiAvailable($searchApiAvailable)
{
$this->searchApiAvailable = $searchApiAvailable;
}
/**
* @return bool
*/
public function getSearchApiAvailable()
{
return $this->searchApiAvailable;
}
/**
* @param bool
*/
public function setStandardEnvironmentAvailable($standardEnvironmentAvailable)
{
$this->standardEnvironmentAvailable = $standardEnvironmentAvailable;
}
/**
* @return bool
*/
public function getStandardEnvironmentAvailable()
{
return $this->standardEnvironmentAvailable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationMetadata::class, 'Google_Service_Appengine_LocationMetadata');

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\Appengine;
class ManagedCertificate extends \Google\Model
{
/**
* @var string
*/
public $lastRenewalTime;
/**
* @var string
*/
public $status;
/**
* @param string
*/
public function setLastRenewalTime($lastRenewalTime)
{
$this->lastRenewalTime = $lastRenewalTime;
}
/**
* @return string
*/
public function getLastRenewalTime()
{
return $this->lastRenewalTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedCertificate::class, 'Google_Service_Appengine_ManagedCertificate');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class ManualScaling extends \Google\Model
{
/**
* @var int
*/
public $instances;
/**
* @param int
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return int
*/
public function getInstances()
{
return $this->instances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManualScaling::class, 'Google_Service_Appengine_ManualScaling');

View File

@@ -0,0 +1,135 @@
<?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\Appengine;
class Network extends \Google\Collection
{
protected $collection_key = 'forwardedPorts';
/**
* @var string[]
*/
public $forwardedPorts;
/**
* @var string
*/
public $instanceIpMode;
/**
* @var string
*/
public $instanceTag;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $sessionAffinity;
/**
* @var string
*/
public $subnetworkName;
/**
* @param string[]
*/
public function setForwardedPorts($forwardedPorts)
{
$this->forwardedPorts = $forwardedPorts;
}
/**
* @return string[]
*/
public function getForwardedPorts()
{
return $this->forwardedPorts;
}
/**
* @param string
*/
public function setInstanceIpMode($instanceIpMode)
{
$this->instanceIpMode = $instanceIpMode;
}
/**
* @return string
*/
public function getInstanceIpMode()
{
return $this->instanceIpMode;
}
/**
* @param string
*/
public function setInstanceTag($instanceTag)
{
$this->instanceTag = $instanceTag;
}
/**
* @return string
*/
public function getInstanceTag()
{
return $this->instanceTag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setSessionAffinity($sessionAffinity)
{
$this->sessionAffinity = $sessionAffinity;
}
/**
* @return bool
*/
public function getSessionAffinity()
{
return $this->sessionAffinity;
}
/**
* @param string
*/
public function setSubnetworkName($subnetworkName)
{
$this->subnetworkName = $subnetworkName;
}
/**
* @return string
*/
public function getSubnetworkName()
{
return $this->subnetworkName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Network::class, 'Google_Service_Appengine_Network');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class NetworkSettings extends \Google\Model
{
/**
* @var string
*/
public $ingressTrafficAllowed;
/**
* @param string
*/
public function setIngressTrafficAllowed($ingressTrafficAllowed)
{
$this->ingressTrafficAllowed = $ingressTrafficAllowed;
}
/**
* @return string
*/
public function getIngressTrafficAllowed()
{
return $this->ingressTrafficAllowed;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkSettings::class, 'Google_Service_Appengine_NetworkSettings');

View File

@@ -0,0 +1,98 @@
<?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\Appengine;
class NetworkUtilization extends \Google\Model
{
/**
* @var int
*/
public $targetReceivedBytesPerSecond;
/**
* @var int
*/
public $targetReceivedPacketsPerSecond;
/**
* @var int
*/
public $targetSentBytesPerSecond;
/**
* @var int
*/
public $targetSentPacketsPerSecond;
/**
* @param int
*/
public function setTargetReceivedBytesPerSecond($targetReceivedBytesPerSecond)
{
$this->targetReceivedBytesPerSecond = $targetReceivedBytesPerSecond;
}
/**
* @return int
*/
public function getTargetReceivedBytesPerSecond()
{
return $this->targetReceivedBytesPerSecond;
}
/**
* @param int
*/
public function setTargetReceivedPacketsPerSecond($targetReceivedPacketsPerSecond)
{
$this->targetReceivedPacketsPerSecond = $targetReceivedPacketsPerSecond;
}
/**
* @return int
*/
public function getTargetReceivedPacketsPerSecond()
{
return $this->targetReceivedPacketsPerSecond;
}
/**
* @param int
*/
public function setTargetSentBytesPerSecond($targetSentBytesPerSecond)
{
$this->targetSentBytesPerSecond = $targetSentBytesPerSecond;
}
/**
* @return int
*/
public function getTargetSentBytesPerSecond()
{
return $this->targetSentBytesPerSecond;
}
/**
* @param int
*/
public function setTargetSentPacketsPerSecond($targetSentPacketsPerSecond)
{
$this->targetSentPacketsPerSecond = $targetSentPacketsPerSecond;
}
/**
* @return int
*/
public function getTargetSentPacketsPerSecond()
{
return $this->targetSentPacketsPerSecond;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkUtilization::class, 'Google_Service_Appengine_NetworkUtilization');

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\Appengine;
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_Appengine_Operation');

View File

@@ -0,0 +1,169 @@
<?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\Appengine;
class OperationMetadataV1 extends \Google\Collection
{
protected $collection_key = 'warning';
protected $createVersionMetadataType = CreateVersionMetadataV1::class;
protected $createVersionMetadataDataType = '';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $ephemeralMessage;
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $user;
/**
* @var string[]
*/
public $warning;
/**
* @param CreateVersionMetadataV1
*/
public function setCreateVersionMetadata(CreateVersionMetadataV1 $createVersionMetadata)
{
$this->createVersionMetadata = $createVersionMetadata;
}
/**
* @return CreateVersionMetadataV1
*/
public function getCreateVersionMetadata()
{
return $this->createVersionMetadata;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setEphemeralMessage($ephemeralMessage)
{
$this->ephemeralMessage = $ephemeralMessage;
}
/**
* @return string
*/
public function getEphemeralMessage()
{
return $this->ephemeralMessage;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
/**
* @param string[]
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return string[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadataV1::class, 'Google_Service_Appengine_OperationMetadataV1');

View File

@@ -0,0 +1,169 @@
<?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\Appengine;
class OperationMetadataV1Alpha extends \Google\Collection
{
protected $collection_key = 'warning';
protected $createVersionMetadataType = CreateVersionMetadataV1Alpha::class;
protected $createVersionMetadataDataType = '';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $ephemeralMessage;
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $user;
/**
* @var string[]
*/
public $warning;
/**
* @param CreateVersionMetadataV1Alpha
*/
public function setCreateVersionMetadata(CreateVersionMetadataV1Alpha $createVersionMetadata)
{
$this->createVersionMetadata = $createVersionMetadata;
}
/**
* @return CreateVersionMetadataV1Alpha
*/
public function getCreateVersionMetadata()
{
return $this->createVersionMetadata;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setEphemeralMessage($ephemeralMessage)
{
$this->ephemeralMessage = $ephemeralMessage;
}
/**
* @return string
*/
public function getEphemeralMessage()
{
return $this->ephemeralMessage;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
/**
* @param string[]
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return string[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadataV1Alpha::class, 'Google_Service_Appengine_OperationMetadataV1Alpha');

View File

@@ -0,0 +1,169 @@
<?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\Appengine;
class OperationMetadataV1Beta extends \Google\Collection
{
protected $collection_key = 'warning';
protected $createVersionMetadataType = CreateVersionMetadataV1Beta::class;
protected $createVersionMetadataDataType = '';
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $ephemeralMessage;
/**
* @var string
*/
public $insertTime;
/**
* @var string
*/
public $method;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $user;
/**
* @var string[]
*/
public $warning;
/**
* @param CreateVersionMetadataV1Beta
*/
public function setCreateVersionMetadata(CreateVersionMetadataV1Beta $createVersionMetadata)
{
$this->createVersionMetadata = $createVersionMetadata;
}
/**
* @return CreateVersionMetadataV1Beta
*/
public function getCreateVersionMetadata()
{
return $this->createVersionMetadata;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setEphemeralMessage($ephemeralMessage)
{
$this->ephemeralMessage = $ephemeralMessage;
}
/**
* @return string
*/
public function getEphemeralMessage()
{
return $this->ephemeralMessage;
}
/**
* @param string
*/
public function setInsertTime($insertTime)
{
$this->insertTime = $insertTime;
}
/**
* @return string
*/
public function getInsertTime()
{
return $this->insertTime;
}
/**
* @param string
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return string
*/
public function getUser()
{
return $this->user;
}
/**
* @param string[]
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return string[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadataV1Beta::class, 'Google_Service_Appengine_OperationMetadataV1Beta');

View File

@@ -0,0 +1,94 @@
<?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\Appengine;
class ProjectEvent extends \Google\Model
{
/**
* @var string
*/
public $eventId;
/**
* @var string
*/
public $phase;
protected $projectMetadataType = ProjectsMetadata::class;
protected $projectMetadataDataType = '';
protected $stateType = ContainerState::class;
protected $stateDataType = '';
/**
* @param string
*/
public function setEventId($eventId)
{
$this->eventId = $eventId;
}
/**
* @return string
*/
public function getEventId()
{
return $this->eventId;
}
/**
* @param string
*/
public function setPhase($phase)
{
$this->phase = $phase;
}
/**
* @return string
*/
public function getPhase()
{
return $this->phase;
}
/**
* @param ProjectsMetadata
*/
public function setProjectMetadata(ProjectsMetadata $projectMetadata)
{
$this->projectMetadata = $projectMetadata;
}
/**
* @return ProjectsMetadata
*/
public function getProjectMetadata()
{
return $this->projectMetadata;
}
/**
* @param ContainerState
*/
public function setState(ContainerState $state)
{
$this->state = $state;
}
/**
* @return ContainerState
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectEvent::class, 'Google_Service_Appengine_ProjectEvent');

View File

@@ -0,0 +1,76 @@
<?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\Appengine;
class ProjectState extends \Google\Model
{
protected $currentReasonsType = Reasons::class;
protected $currentReasonsDataType = '';
protected $previousReasonsType = Reasons::class;
protected $previousReasonsDataType = '';
/**
* @var string
*/
public $state;
/**
* @param Reasons
*/
public function setCurrentReasons(Reasons $currentReasons)
{
$this->currentReasons = $currentReasons;
}
/**
* @return Reasons
*/
public function getCurrentReasons()
{
return $this->currentReasons;
}
/**
* @param Reasons
*/
public function setPreviousReasons(Reasons $previousReasons)
{
$this->previousReasons = $previousReasons;
}
/**
* @return Reasons
*/
public function getPreviousReasons()
{
return $this->previousReasons;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectState::class, 'Google_Service_Appengine_ProjectState');

View File

@@ -0,0 +1,187 @@
<?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\Appengine;
class ProjectsMetadata extends \Google\Collection
{
protected $collection_key = 'gceTag';
/**
* @var string
*/
public $consumerProjectId;
/**
* @var string
*/
public $consumerProjectNumber;
/**
* @var string
*/
public $consumerProjectState;
protected $gceTagType = GceTag::class;
protected $gceTagDataType = 'array';
/**
* @var string
*/
public $p4ServiceAccount;
/**
* @var string
*/
public $producerProjectId;
/**
* @var string
*/
public $producerProjectNumber;
/**
* @var string
*/
public $tenantProjectId;
/**
* @var string
*/
public $tenantProjectNumber;
/**
* @param string
*/
public function setConsumerProjectId($consumerProjectId)
{
$this->consumerProjectId = $consumerProjectId;
}
/**
* @return string
*/
public function getConsumerProjectId()
{
return $this->consumerProjectId;
}
/**
* @param string
*/
public function setConsumerProjectNumber($consumerProjectNumber)
{
$this->consumerProjectNumber = $consumerProjectNumber;
}
/**
* @return string
*/
public function getConsumerProjectNumber()
{
return $this->consumerProjectNumber;
}
/**
* @param string
*/
public function setConsumerProjectState($consumerProjectState)
{
$this->consumerProjectState = $consumerProjectState;
}
/**
* @return string
*/
public function getConsumerProjectState()
{
return $this->consumerProjectState;
}
/**
* @param GceTag[]
*/
public function setGceTag($gceTag)
{
$this->gceTag = $gceTag;
}
/**
* @return GceTag[]
*/
public function getGceTag()
{
return $this->gceTag;
}
/**
* @param string
*/
public function setP4ServiceAccount($p4ServiceAccount)
{
$this->p4ServiceAccount = $p4ServiceAccount;
}
/**
* @return string
*/
public function getP4ServiceAccount()
{
return $this->p4ServiceAccount;
}
/**
* @param string
*/
public function setProducerProjectId($producerProjectId)
{
$this->producerProjectId = $producerProjectId;
}
/**
* @return string
*/
public function getProducerProjectId()
{
return $this->producerProjectId;
}
/**
* @param string
*/
public function setProducerProjectNumber($producerProjectNumber)
{
$this->producerProjectNumber = $producerProjectNumber;
}
/**
* @return string
*/
public function getProducerProjectNumber()
{
return $this->producerProjectNumber;
}
/**
* @param string
*/
public function setTenantProjectId($tenantProjectId)
{
$this->tenantProjectId = $tenantProjectId;
}
/**
* @return string
*/
public function getTenantProjectId()
{
return $this->tenantProjectId;
}
/**
* @param string
*/
public function setTenantProjectNumber($tenantProjectNumber)
{
$this->tenantProjectNumber = $tenantProjectNumber;
}
/**
* @return string
*/
public function getTenantProjectNumber()
{
return $this->tenantProjectNumber;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsMetadata::class, 'Google_Service_Appengine_ProjectsMetadata');

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\Appengine;
class ReadinessCheck extends \Google\Model
{
/**
* @var string
*/
public $appStartTimeout;
/**
* @var string
*/
public $checkInterval;
/**
* @var string
*/
public $failureThreshold;
/**
* @var string
*/
public $host;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $successThreshold;
/**
* @var string
*/
public $timeout;
/**
* @param string
*/
public function setAppStartTimeout($appStartTimeout)
{
$this->appStartTimeout = $appStartTimeout;
}
/**
* @return string
*/
public function getAppStartTimeout()
{
return $this->appStartTimeout;
}
/**
* @param string
*/
public function setCheckInterval($checkInterval)
{
$this->checkInterval = $checkInterval;
}
/**
* @return string
*/
public function getCheckInterval()
{
return $this->checkInterval;
}
/**
* @param string
*/
public function setFailureThreshold($failureThreshold)
{
$this->failureThreshold = $failureThreshold;
}
/**
* @return string
*/
public function getFailureThreshold()
{
return $this->failureThreshold;
}
/**
* @param string
*/
public function setHost($host)
{
$this->host = $host;
}
/**
* @return string
*/
public function getHost()
{
return $this->host;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setSuccessThreshold($successThreshold)
{
$this->successThreshold = $successThreshold;
}
/**
* @return string
*/
public function getSuccessThreshold()
{
return $this->successThreshold;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ReadinessCheck::class, 'Google_Service_Appengine_ReadinessCheck');

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\Appengine;
class Reasons extends \Google\Model
{
/**
* @var string
*/
public $abuse;
/**
* @var string
*/
public $billing;
/**
* @var string
*/
public $dataGovernance;
/**
* @var string
*/
public $serviceActivation;
/**
* @var string
*/
public $serviceManagement;
/**
* @param string
*/
public function setAbuse($abuse)
{
$this->abuse = $abuse;
}
/**
* @return string
*/
public function getAbuse()
{
return $this->abuse;
}
/**
* @param string
*/
public function setBilling($billing)
{
$this->billing = $billing;
}
/**
* @return string
*/
public function getBilling()
{
return $this->billing;
}
/**
* @param string
*/
public function setDataGovernance($dataGovernance)
{
$this->dataGovernance = $dataGovernance;
}
/**
* @return string
*/
public function getDataGovernance()
{
return $this->dataGovernance;
}
/**
* @param string
*/
public function setServiceActivation($serviceActivation)
{
$this->serviceActivation = $serviceActivation;
}
/**
* @return string
*/
public function getServiceActivation()
{
return $this->serviceActivation;
}
/**
* @param string
*/
public function setServiceManagement($serviceManagement)
{
$this->serviceManagement = $serviceManagement;
}
/**
* @return string
*/
public function getServiceManagement()
{
return $this->serviceManagement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Reasons::class, 'Google_Service_Appengine_Reasons');

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\Appengine;
class RepairApplicationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RepairApplicationRequest::class, 'Google_Service_Appengine_RepairApplicationRequest');

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\Appengine;
class RequestUtilization extends \Google\Model
{
/**
* @var int
*/
public $targetConcurrentRequests;
/**
* @var int
*/
public $targetRequestCountPerSecond;
/**
* @param int
*/
public function setTargetConcurrentRequests($targetConcurrentRequests)
{
$this->targetConcurrentRequests = $targetConcurrentRequests;
}
/**
* @return int
*/
public function getTargetConcurrentRequests()
{
return $this->targetConcurrentRequests;
}
/**
* @param int
*/
public function setTargetRequestCountPerSecond($targetRequestCountPerSecond)
{
$this->targetRequestCountPerSecond = $targetRequestCountPerSecond;
}
/**
* @return int
*/
public function getTargetRequestCountPerSecond()
{
return $this->targetRequestCountPerSecond;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RequestUtilization::class, 'Google_Service_Appengine_RequestUtilization');

View File

@@ -0,0 +1,141 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\Application;
use Google\Service\Appengine\ListRuntimesResponse;
use Google\Service\Appengine\Operation;
use Google\Service\Appengine\RepairApplicationRequest;
/**
* The "apps" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $apps = $appengineService->apps;
* </code>
*/
class Apps extends \Google\Service\Resource
{
/**
* Creates an App Engine application for a Google Cloud Platform project.
* Required fields: id - The ID of the target Cloud Platform project. location -
* The region (https://cloud.google.com/appengine/docs/locations) where you want
* the App Engine application located.For more information about App Engine
* applications, see Managing Projects, Applications, and Billing
* (https://cloud.google.com/appengine/docs/standard/python/console/).
* (apps.create)
*
* @param Application $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create(Application $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Gets information about an application. (apps.get)
*
* @param string $appsId Part of `name`. Name of the Application resource to
* get. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param string includeExtraData Options to include extra data
* @return Application
* @throws \Google\Service\Exception
*/
public function get($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Application::class);
}
/**
* Lists all the available runtimes for the application. (apps.listRuntimes)
*
* @param string $appsId Part of `parent`. Required. Name of the parent
* Application resource. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param string environment Optional. The environment of the Application.
* @return ListRuntimesResponse
* @throws \Google\Service\Exception
*/
public function listRuntimes($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('listRuntimes', [$params], ListRuntimesResponse::class);
}
/**
* Updates the specified Application resource. You can update the following
* fields: auth_domain - Google authentication domain for controlling user
* access to the application. default_cookie_expiration - Cookie expiration
* policy for the application. iap - Identity-Aware Proxy properties for the
* application. (apps.patch)
*
* @param string $appsId Part of `name`. Name of the Application resource to
* update. Example: apps/myapp.
* @param Application $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Standard field mask for the set of
* fields to be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($appsId, Application $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Recreates the required App Engine features for the specified App Engine
* application, for example a Cloud Storage bucket or App Engine service
* account. Use this method if you receive an error message about a missing
* feature, for example, Error retrieving the App Engine service account. If you
* have deleted your App Engine service account, this will not be able to
* recreate it. Instead, you should attempt to use the IAM undelete API if
* possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAc
* counts/undelete?apix_params=%7B"name"%3A"projects%2F-
* %2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion
* was recent, the numeric ID can be found in the Cloud Console Activity Log.
* (apps.repair)
*
* @param string $appsId Part of `name`. Name of the application to repair.
* Example: apps/myapp
* @param RepairApplicationRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function repair($appsId, RepairApplicationRequest $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('repair', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Apps::class, 'Google_Service_Appengine_Resource_Apps');

View File

@@ -0,0 +1,138 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\AppengineEmpty;
use Google\Service\Appengine\AuthorizedCertificate;
use Google\Service\Appengine\ListAuthorizedCertificatesResponse;
/**
* The "authorizedCertificates" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $authorizedCertificates = $appengineService->apps_authorizedCertificates;
* </code>
*/
class AppsAuthorizedCertificates extends \Google\Service\Resource
{
/**
* Uploads the specified SSL certificate. (authorizedCertificates.create)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param AuthorizedCertificate $postBody
* @param array $optParams Optional parameters.
* @return AuthorizedCertificate
* @throws \Google\Service\Exception
*/
public function create($appsId, AuthorizedCertificate $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], AuthorizedCertificate::class);
}
/**
* Deletes the specified SSL certificate. (authorizedCertificates.delete)
*
* @param string $appsId Part of `name`. Name of the resource to delete.
* Example: apps/myapp/authorizedCertificates/12345.
* @param string $authorizedCertificatesId Part of `name`. See documentation of
* `appsId`.
* @param array $optParams Optional parameters.
* @return AppengineEmpty
* @throws \Google\Service\Exception
*/
public function delete($appsId, $authorizedCertificatesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'authorizedCertificatesId' => $authorizedCertificatesId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AppengineEmpty::class);
}
/**
* Gets the specified SSL certificate. (authorizedCertificates.get)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/authorizedCertificates/12345.
* @param string $authorizedCertificatesId Part of `name`. See documentation of
* `appsId`.
* @param array $optParams Optional parameters.
*
* @opt_param string view Controls the set of fields returned in the GET
* response.
* @return AuthorizedCertificate
* @throws \Google\Service\Exception
*/
public function get($appsId, $authorizedCertificatesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'authorizedCertificatesId' => $authorizedCertificatesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], AuthorizedCertificate::class);
}
/**
* Lists all SSL certificates the user is authorized to administer.
* (authorizedCertificates.listAppsAuthorizedCertificates)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @opt_param string view Controls the set of fields returned in the LIST
* response.
* @return ListAuthorizedCertificatesResponse
* @throws \Google\Service\Exception
*/
public function listAppsAuthorizedCertificates($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAuthorizedCertificatesResponse::class);
}
/**
* Updates the specified SSL certificate. To renew a certificate and maintain
* its existing domain mappings, update certificate_data with a new certificate.
* The new certificate must be applicable to the same domains as the original
* certificate. The certificate display_name may also be updated.
* (authorizedCertificates.patch)
*
* @param string $appsId Part of `name`. Name of the resource to update.
* Example: apps/myapp/authorizedCertificates/12345.
* @param string $authorizedCertificatesId Part of `name`. See documentation of
* `appsId`.
* @param AuthorizedCertificate $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Standard field mask for the set of fields to be
* updated. Updates are only supported on the certificate_raw_data and
* display_name fields.
* @return AuthorizedCertificate
* @throws \Google\Service\Exception
*/
public function patch($appsId, $authorizedCertificatesId, AuthorizedCertificate $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'authorizedCertificatesId' => $authorizedCertificatesId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], AuthorizedCertificate::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsAuthorizedCertificates::class, 'Google_Service_Appengine_Resource_AppsAuthorizedCertificates');

View File

@@ -0,0 +1,55 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\ListAuthorizedDomainsResponse;
/**
* The "authorizedDomains" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $authorizedDomains = $appengineService->apps_authorizedDomains;
* </code>
*/
class AppsAuthorizedDomains extends \Google\Service\Resource
{
/**
* Lists all domains the user is authorized to administer.
* (authorizedDomains.listAppsAuthorizedDomains)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListAuthorizedDomainsResponse
* @throws \Google\Service\Exception
*/
public function listAppsAuthorizedDomains($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAuthorizedDomainsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsAuthorizedDomains::class, 'Google_Service_Appengine_Resource_AppsAuthorizedDomains');

View File

@@ -0,0 +1,140 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\DomainMapping;
use Google\Service\Appengine\ListDomainMappingsResponse;
use Google\Service\Appengine\Operation;
/**
* The "domainMappings" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $domainMappings = $appengineService->apps_domainMappings;
* </code>
*/
class AppsDomainMappings extends \Google\Service\Resource
{
/**
* Maps a domain to an application. A user must be authorized to administer a
* domain in order to map it to an application. For a list of available
* authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
* (domainMappings.create)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param DomainMapping $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string overrideStrategy Whether the domain creation should
* override any existing mappings for this domain. By default, overrides are
* rejected.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($appsId, DomainMapping $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes the specified domain mapping. A user must be authorized to administer
* the associated domain in order to delete a DomainMapping resource.
* (domainMappings.delete)
*
* @param string $appsId Part of `name`. Name of the resource to delete.
* Example: apps/myapp/domainMappings/example.com.
* @param string $domainMappingsId Part of `name`. See documentation of
* `appsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($appsId, $domainMappingsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'domainMappingsId' => $domainMappingsId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the specified domain mapping. (domainMappings.get)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/domainMappings/example.com.
* @param string $domainMappingsId Part of `name`. See documentation of
* `appsId`.
* @param array $optParams Optional parameters.
* @return DomainMapping
* @throws \Google\Service\Exception
*/
public function get($appsId, $domainMappingsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'domainMappingsId' => $domainMappingsId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DomainMapping::class);
}
/**
* Lists the domain mappings on an application.
* (domainMappings.listAppsDomainMappings)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListDomainMappingsResponse
* @throws \Google\Service\Exception
*/
public function listAppsDomainMappings($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDomainMappingsResponse::class);
}
/**
* Updates the specified domain mapping. To map an SSL certificate to a domain
* mapping, update certificate_id to point to an AuthorizedCertificate resource.
* A user must be authorized to administer the associated domain in order to
* update a DomainMapping resource. (domainMappings.patch)
*
* @param string $appsId Part of `name`. Name of the resource to update.
* Example: apps/myapp/domainMappings/example.com.
* @param string $domainMappingsId Part of `name`. See documentation of
* `appsId`.
* @param DomainMapping $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Standard field mask for the set of
* fields to be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($appsId, $domainMappingsId, DomainMapping $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'domainMappingsId' => $domainMappingsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsDomainMappings::class, 'Google_Service_Appengine_Resource_AppsDomainMappings');

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\Appengine\Resource;
/**
* The "firewall" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $firewall = $appengineService->apps_firewall;
* </code>
*/
class AppsFirewall extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsFirewall::class, 'Google_Service_Appengine_Resource_AppsFirewall');

View File

@@ -0,0 +1,151 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\AppengineEmpty;
use Google\Service\Appengine\BatchUpdateIngressRulesRequest;
use Google\Service\Appengine\BatchUpdateIngressRulesResponse;
use Google\Service\Appengine\FirewallRule;
use Google\Service\Appengine\ListIngressRulesResponse;
/**
* The "ingressRules" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $ingressRules = $appengineService->apps_firewall_ingressRules;
* </code>
*/
class AppsFirewallIngressRules extends \Google\Service\Resource
{
/**
* Replaces the entire firewall ruleset in one bulk operation. This overrides
* and replaces the rules of an existing firewall with the new rules.If the
* final rule does not match traffic with the '*' wildcard IP range, then an
* "allow all" rule is explicitly added to the end of the list.
* (ingressRules.batchUpdate)
*
* @param string $appsId Part of `name`. Name of the Firewall collection to set.
* Example: apps/myapp/firewall/ingressRules.
* @param BatchUpdateIngressRulesRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchUpdateIngressRulesResponse
* @throws \Google\Service\Exception
*/
public function batchUpdate($appsId, BatchUpdateIngressRulesRequest $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchUpdate', [$params], BatchUpdateIngressRulesResponse::class);
}
/**
* Creates a firewall rule for the application. (ingressRules.create)
*
* @param string $appsId Part of `parent`. Name of the parent Firewall
* collection in which to create a new rule. Example:
* apps/myapp/firewall/ingressRules.
* @param FirewallRule $postBody
* @param array $optParams Optional parameters.
* @return FirewallRule
* @throws \Google\Service\Exception
*/
public function create($appsId, FirewallRule $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], FirewallRule::class);
}
/**
* Deletes the specified firewall rule. (ingressRules.delete)
*
* @param string $appsId Part of `name`. Name of the Firewall resource to
* delete. Example: apps/myapp/firewall/ingressRules/100.
* @param string $ingressRulesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return AppengineEmpty
* @throws \Google\Service\Exception
*/
public function delete($appsId, $ingressRulesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'ingressRulesId' => $ingressRulesId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AppengineEmpty::class);
}
/**
* Gets the specified firewall rule. (ingressRules.get)
*
* @param string $appsId Part of `name`. Name of the Firewall resource to
* retrieve. Example: apps/myapp/firewall/ingressRules/100.
* @param string $ingressRulesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return FirewallRule
* @throws \Google\Service\Exception
*/
public function get($appsId, $ingressRulesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'ingressRulesId' => $ingressRulesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], FirewallRule::class);
}
/**
* Lists the firewall rules of an application.
* (ingressRules.listAppsFirewallIngressRules)
*
* @param string $appsId Part of `parent`. Name of the Firewall collection to
* retrieve. Example: apps/myapp/firewall/ingressRules.
* @param array $optParams Optional parameters.
*
* @opt_param string matchingAddress A valid IP Address. If set, only rules
* matching this address will be returned. The first returned rule will be the
* rule that fires on requests from this IP.
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListIngressRulesResponse
* @throws \Google\Service\Exception
*/
public function listAppsFirewallIngressRules($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListIngressRulesResponse::class);
}
/**
* Updates the specified firewall rule. (ingressRules.patch)
*
* @param string $appsId Part of `name`. Name of the Firewall resource to
* update. Example: apps/myapp/firewall/ingressRules/100.
* @param string $ingressRulesId Part of `name`. See documentation of `appsId`.
* @param FirewallRule $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Standard field mask for the set of fields to be
* updated.
* @return FirewallRule
* @throws \Google\Service\Exception
*/
public function patch($appsId, $ingressRulesId, FirewallRule $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'ingressRulesId' => $ingressRulesId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], FirewallRule::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsFirewallIngressRules::class, 'Google_Service_Appengine_Resource_AppsFirewallIngressRules');

View File

@@ -0,0 +1,75 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\ListLocationsResponse;
use Google\Service\Appengine\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $locations = $appengineService->apps_locations;
* </code>
*/
class AppsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $appsId Part of `name`. Resource name for the location.
* @param string $locationsId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($appsId, $locationsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'locationsId' => $locationsId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listAppsLocations)
*
* @param string $appsId Part of `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 listAppsLocations($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsLocations::class, 'Google_Service_Appengine_Resource_AppsLocations');

View 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.
*/
namespace Google\Service\Appengine\Resource;
use Google\Service\Appengine\ListOperationsResponse;
use Google\Service\Appengine\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $operations = $appengineService->apps_operations;
* </code>
*/
class AppsOperations extends \Google\Service\Resource
{
/**
* 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 $appsId Part of `name`. The name of the operation resource.
* @param string $operationsId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($appsId, $operationsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'operationsId' => $operationsId];
$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.listAppsOperations)
*
* @param string $appsId Part of `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 listAppsOperations($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$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(AppsOperations::class, 'Google_Service_Appengine_Resource_AppsOperations');

View File

@@ -0,0 +1,122 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\ListServicesResponse;
use Google\Service\Appengine\Operation;
use Google\Service\Appengine\Service;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $services = $appengineService->apps_services;
* </code>
*/
class AppsServices extends \Google\Service\Resource
{
/**
* Deletes the specified service and all enclosed versions. (services.delete)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($appsId, $servicesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the current configuration of the specified service. (services.get)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Service
* @throws \Google\Service\Exception
*/
public function get($appsId, $servicesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Service::class);
}
/**
* Lists all the services in the application. (services.listAppsServices)
*
* @param string $appsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListServicesResponse
* @throws \Google\Service\Exception
*/
public function listAppsServices($appsId, $optParams = [])
{
$params = ['appsId' => $appsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListServicesResponse::class);
}
/**
* Updates the configuration of the specified service. (services.patch)
*
* @param string $appsId Part of `name`. Name of the resource to update.
* Example: apps/myapp/services/default.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param Service $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool migrateTraffic Set to true to gradually shift traffic to one
* or more versions that you specify. By default, traffic is shifted
* immediately. For gradual traffic migration, the target versions must be
* located within instances that are configured for both warmup requests
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#InboundServiceType) and
* automatic scaling (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must
* specify the shardBy (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services#ShardBy) field in the Service resource.
* Gradual traffic migration is not supported in the App Engine flexible
* environment. For examples, see Migrating and Splitting Traffic
* (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-
* traffic).
* @opt_param string updateMask Required. Standard field mask for the set of
* fields to be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($appsId, $servicesId, Service $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsServices::class, 'Google_Service_Appengine_Resource_AppsServices');

View File

@@ -0,0 +1,181 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\ListVersionsResponse;
use Google\Service\Appengine\Operation;
use Google\Service\Appengine\Version;
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $versions = $appengineService->apps_services_versions;
* </code>
*/
class AppsServicesVersions extends \Google\Service\Resource
{
/**
* Deploys code and resource files to a new version. (versions.create)
*
* @param string $appsId Part of `parent`. Name of the parent resource to create
* this version under. Example: apps/myapp/services/default.
* @param string $servicesId Part of `parent`. See documentation of `appsId`.
* @param Version $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($appsId, $servicesId, Version $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes an existing Version resource. (versions.delete)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($appsId, $servicesId, $versionsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets the specified Version resource. By default, only a BASIC_VIEW will be
* returned. Specify the FULL_VIEW parameter to get the full resource.
* (versions.get)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
*
* @opt_param string view Controls the set of fields returned in the Get
* response.
* @return Version
* @throws \Google\Service\Exception
*/
public function get($appsId, $servicesId, $versionsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Version::class);
}
/**
* Lists the versions of a service. (versions.listAppsServicesVersions)
*
* @param string $appsId Part of `parent`. Name of the parent Service resource.
* Example: apps/myapp/services/default.
* @param string $servicesId Part of `parent`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @opt_param string view Controls the set of fields returned in the List
* response.
* @return ListVersionsResponse
* @throws \Google\Service\Exception
*/
public function listAppsServicesVersions($appsId, $servicesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListVersionsResponse::class);
}
/**
* Updates the specified Version resource. You can specify the following fields
* depending on the App Engine environment and type of scaling that the version
* resource uses:Standard environment instance_class
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.instance_class)automatic scaling in the
* standard environment: automatic_scaling.min_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)
* automatic_scaling.max_idle_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)
* automaticScaling.standard_scheduler_settings.max_instances
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
* automaticScaling.standard_scheduler_settings.min_instances
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
* automaticScaling.standard_scheduler_settings.target_cpu_utilization
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
* automaticScaling.standard_scheduler_settings.target_throughput_utilization
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic
* scaling or manual scaling in the standard environment: serving_status
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
* manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#manualscaling)Flexible
* environment serving_status (https://cloud.google.com/appengine/docs/admin-api
* /reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)autom
* atic scaling in the flexible environment:
* automatic_scaling.min_total_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)
* automatic_scaling.max_total_instances
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)
* automatic_scaling.cool_down_period_sec
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)
* automatic_scaling.cpu_utilization.target_utilization
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.ser
* vices.versions#Version.FIELDS.automatic_scaling)manual scaling in the
* flexible environment: manual_scaling.instances
* (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions#manualscaling) (versions.patch)
*
* @param string $appsId Part of `name`. Name of the resource to update.
* Example: apps/myapp/services/default/versions/1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param Version $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Standard field mask for the set of fields to be
* updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($appsId, $servicesId, $versionsId, Version $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsServicesVersions::class, 'Google_Service_Appengine_Resource_AppsServicesVersions');

View 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.
*/
namespace Google\Service\Appengine\Resource;
use Google\Service\Appengine\DebugInstanceRequest;
use Google\Service\Appengine\Instance;
use Google\Service\Appengine\ListInstancesResponse;
use Google\Service\Appengine\Operation;
/**
* The "instances" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $instances = $appengineService->apps_services_versions_instances;
* </code>
*/
class AppsServicesVersionsInstances extends \Google\Service\Resource
{
/**
* Enables debugging on a VM instance. This allows you to use the SSH command to
* connect to the virtual machine where the instance lives. While in "debug
* mode", the instance continues to serve live traffic. You should delete the
* instance when you are done debugging and then allow the system to take over
* and determine if another instance should be started.Only applicable for
* instances in App Engine flexible environment. (instances.debug)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1/instances/instance-1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param string $instancesId Part of `name`. See documentation of `appsId`.
* @param DebugInstanceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function debug($appsId, $servicesId, $versionsId, $instancesId, DebugInstanceRequest $postBody, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('debug', [$params], Operation::class);
}
/**
* Stops a running instance.The instance might be automatically recreated based
* on the scaling settings of the version. For more information, see "How
* Instances are Managed" (standard environment
* (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-
* managed) | flexible environment
* (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-
* managed)).To ensure that instances are not re-created and avoid getting
* billed, you can stop all instances within the target version by changing the
* serving status of the version to STOPPED with the
* apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-
* api/reference/rest/v1/apps.services.versions/patch) method.
* (instances.delete)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1/instances/instance-1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param string $instancesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($appsId, $servicesId, $versionsId, $instancesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets instance information. (instances.get)
*
* @param string $appsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1/instances/instance-1.
* @param string $servicesId Part of `name`. See documentation of `appsId`.
* @param string $versionsId Part of `name`. See documentation of `appsId`.
* @param string $instancesId Part of `name`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
* @return Instance
* @throws \Google\Service\Exception
*/
public function get($appsId, $servicesId, $versionsId, $instancesId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId, 'instancesId' => $instancesId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Instance::class);
}
/**
* Lists the instances of a version.Tip: To aggregate details about instances
* over time, see the Stackdriver Monitoring API (https://cloud.google.com/monit
* oring/api/ref_v3/rest/v3/projects.timeSeries/list).
* (instances.listAppsServicesVersionsInstances)
*
* @param string $appsId Part of `parent`. Name of the parent Version resource.
* Example: apps/myapp/services/default/versions/v1.
* @param string $servicesId Part of `parent`. See documentation of `appsId`.
* @param string $versionsId Part of `parent`. See documentation of `appsId`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListInstancesResponse
* @throws \Google\Service\Exception
*/
public function listAppsServicesVersionsInstances($appsId, $servicesId, $versionsId, $optParams = [])
{
$params = ['appsId' => $appsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListInstancesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AppsServicesVersionsInstances::class, 'Google_Service_Appengine_Resource_AppsServicesVersionsInstances');

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\Appengine\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $projects = $appengineService->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_Appengine_Resource_Projects');

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\Appengine\Resource;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $locations = $appengineService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Appengine_Resource_ProjectsLocations');

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\Appengine\Resource;
/**
* The "applications" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $applications = $appengineService->projects_locations_applications;
* </code>
*/
class ProjectsLocationsApplications extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsApplications::class, 'Google_Service_Appengine_Resource_ProjectsLocationsApplications');

View File

@@ -0,0 +1,59 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\ListAuthorizedDomainsResponse;
/**
* The "authorizedDomains" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $authorizedDomains = $appengineService->projects_locations_applications_authorizedDomains;
* </code>
*/
class ProjectsLocationsApplicationsAuthorizedDomains extends \Google\Service\Resource
{
/**
* Lists all domains the user is authorized to administer.
* (authorizedDomains.listProjectsLocationsApplicationsAuthorizedDomains)
*
* @param string $projectsId Part of `parent`. Name of the parent Application
* resource. Example: apps/myapp.
* @param string $locationsId Part of `parent`. See documentation of
* `projectsId`.
* @param string $applicationsId Part of `parent`. See documentation of
* `projectsId`.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Maximum results to return per page.
* @opt_param string pageToken Continuation token for fetching the next page of
* results.
* @return ListAuthorizedDomainsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsApplicationsAuthorizedDomains($projectsId, $locationsId, $applicationsId, $optParams = [])
{
$params = ['projectsId' => $projectsId, 'locationsId' => $locationsId, 'applicationsId' => $applicationsId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListAuthorizedDomainsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsApplicationsAuthorizedDomains::class, 'Google_Service_Appengine_Resource_ProjectsLocationsApplicationsAuthorizedDomains');

View File

@@ -0,0 +1,54 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\Operation;
/**
* The "services" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $services = $appengineService->projects_locations_applications_services;
* </code>
*/
class ProjectsLocationsApplicationsServices extends \Google\Service\Resource
{
/**
* Deletes the specified service and all enclosed versions. (services.delete)
*
* @param string $projectsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default.
* @param string $locationsId Part of `name`. See documentation of `projectsId`.
* @param string $applicationsId Part of `name`. See documentation of
* `projectsId`.
* @param string $servicesId Part of `name`. See documentation of `projectsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($projectsId, $locationsId, $applicationsId, $servicesId, $optParams = [])
{
$params = ['projectsId' => $projectsId, 'locationsId' => $locationsId, 'applicationsId' => $applicationsId, 'servicesId' => $servicesId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsApplicationsServices::class, 'Google_Service_Appengine_Resource_ProjectsLocationsApplicationsServices');

View File

@@ -0,0 +1,55 @@
<?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\Appengine\Resource;
use Google\Service\Appengine\Operation;
/**
* The "versions" collection of methods.
* Typical usage is:
* <code>
* $appengineService = new Google\Service\Appengine(...);
* $versions = $appengineService->projects_locations_applications_services_versions;
* </code>
*/
class ProjectsLocationsApplicationsServicesVersions extends \Google\Service\Resource
{
/**
* Deletes an existing Version resource. (versions.delete)
*
* @param string $projectsId Part of `name`. Name of the resource requested.
* Example: apps/myapp/services/default/versions/v1.
* @param string $locationsId Part of `name`. See documentation of `projectsId`.
* @param string $applicationsId Part of `name`. See documentation of
* `projectsId`.
* @param string $servicesId Part of `name`. See documentation of `projectsId`.
* @param string $versionsId Part of `name`. See documentation of `projectsId`.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($projectsId, $locationsId, $applicationsId, $servicesId, $versionsId, $optParams = [])
{
$params = ['projectsId' => $projectsId, 'locationsId' => $locationsId, 'applicationsId' => $applicationsId, 'servicesId' => $servicesId, 'versionsId' => $versionsId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsApplicationsServicesVersions::class, 'Google_Service_Appengine_Resource_ProjectsLocationsApplicationsServicesVersions');

View File

@@ -0,0 +1,78 @@
<?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\Appengine;
class ResourceEvent extends \Google\Model
{
/**
* @var string
*/
public $eventId;
/**
* @var string
*/
public $name;
protected $stateType = ContainerState::class;
protected $stateDataType = '';
/**
* @param string
*/
public function setEventId($eventId)
{
$this->eventId = $eventId;
}
/**
* @return string
*/
public function getEventId()
{
return $this->eventId;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ContainerState
*/
public function setState(ContainerState $state)
{
$this->state = $state;
}
/**
* @return ContainerState
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceEvent::class, 'Google_Service_Appengine_ResourceEvent');

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\Appengine;
class ResourceRecord extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $rrdata;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setRrdata($rrdata)
{
$this->rrdata = $rrdata;
}
/**
* @return string
*/
public function getRrdata()
{
return $this->rrdata;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ResourceRecord::class, 'Google_Service_Appengine_ResourceRecord');

View File

@@ -0,0 +1,88 @@
<?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\Appengine;
class Resources extends \Google\Collection
{
protected $collection_key = 'volumes';
public $cpu;
public $diskGb;
/**
* @var string
*/
public $kmsKeyReference;
public $memoryGb;
protected $volumesType = Volume::class;
protected $volumesDataType = 'array';
public function setCpu($cpu)
{
$this->cpu = $cpu;
}
public function getCpu()
{
return $this->cpu;
}
public function setDiskGb($diskGb)
{
$this->diskGb = $diskGb;
}
public function getDiskGb()
{
return $this->diskGb;
}
/**
* @param string
*/
public function setKmsKeyReference($kmsKeyReference)
{
$this->kmsKeyReference = $kmsKeyReference;
}
/**
* @return string
*/
public function getKmsKeyReference()
{
return $this->kmsKeyReference;
}
public function setMemoryGb($memoryGb)
{
$this->memoryGb = $memoryGb;
}
public function getMemoryGb()
{
return $this->memoryGb;
}
/**
* @param Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Resources::class, 'Google_Service_Appengine_Resources');

View File

@@ -0,0 +1,183 @@
<?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\Appengine;
class Runtime extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $decommissionedDateType = Date::class;
protected $decommissionedDateDataType = '';
protected $deprecationDateType = Date::class;
protected $deprecationDateDataType = '';
/**
* @var string
*/
public $displayName;
protected $endOfSupportDateType = Date::class;
protected $endOfSupportDateDataType = '';
/**
* @var string
*/
public $environment;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $stage;
/**
* @var string[]
*/
public $supportedOperatingSystems;
/**
* @var string[]
*/
public $warnings;
/**
* @param Date
*/
public function setDecommissionedDate(Date $decommissionedDate)
{
$this->decommissionedDate = $decommissionedDate;
}
/**
* @return Date
*/
public function getDecommissionedDate()
{
return $this->decommissionedDate;
}
/**
* @param Date
*/
public function setDeprecationDate(Date $deprecationDate)
{
$this->deprecationDate = $deprecationDate;
}
/**
* @return Date
*/
public function getDeprecationDate()
{
return $this->deprecationDate;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param Date
*/
public function setEndOfSupportDate(Date $endOfSupportDate)
{
$this->endOfSupportDate = $endOfSupportDate;
}
/**
* @return Date
*/
public function getEndOfSupportDate()
{
return $this->endOfSupportDate;
}
/**
* @param string
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setStage($stage)
{
$this->stage = $stage;
}
/**
* @return string
*/
public function getStage()
{
return $this->stage;
}
/**
* @param string[]
*/
public function setSupportedOperatingSystems($supportedOperatingSystems)
{
$this->supportedOperatingSystems = $supportedOperatingSystems;
}
/**
* @return string[]
*/
public function getSupportedOperatingSystems()
{
return $this->supportedOperatingSystems;
}
/**
* @param string[]
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return string[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Runtime::class, 'Google_Service_Appengine_Runtime');

View File

@@ -0,0 +1,44 @@
<?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\Appengine;
class ScriptHandler extends \Google\Model
{
/**
* @var string
*/
public $scriptPath;
/**
* @param string
*/
public function setScriptPath($scriptPath)
{
$this->scriptPath = $scriptPath;
}
/**
* @return string
*/
public function getScriptPath()
{
return $this->scriptPath;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ScriptHandler::class, 'Google_Service_Appengine_ScriptHandler');

View File

@@ -0,0 +1,130 @@
<?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\Appengine;
class Service extends \Google\Model
{
/**
* @var array[]
*/
public $generatedCustomerMetadata;
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
protected $networkSettingsType = NetworkSettings::class;
protected $networkSettingsDataType = '';
protected $splitType = TrafficSplit::class;
protected $splitDataType = '';
/**
* @param array[]
*/
public function setGeneratedCustomerMetadata($generatedCustomerMetadata)
{
$this->generatedCustomerMetadata = $generatedCustomerMetadata;
}
/**
* @return array[]
*/
public function getGeneratedCustomerMetadata()
{
return $this->generatedCustomerMetadata;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkSettings
*/
public function setNetworkSettings(NetworkSettings $networkSettings)
{
$this->networkSettings = $networkSettings;
}
/**
* @return NetworkSettings
*/
public function getNetworkSettings()
{
return $this->networkSettings;
}
/**
* @param TrafficSplit
*/
public function setSplit(TrafficSplit $split)
{
$this->split = $split;
}
/**
* @return TrafficSplit
*/
public function getSplit()
{
return $this->split;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Service::class, 'Google_Service_Appengine_Service');

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\Appengine;
class SslSettings extends \Google\Model
{
/**
* @var string
*/
public $certificateId;
/**
* @var string
*/
public $pendingManagedCertificateId;
/**
* @var string
*/
public $sslManagementType;
/**
* @param string
*/
public function setCertificateId($certificateId)
{
$this->certificateId = $certificateId;
}
/**
* @return string
*/
public function getCertificateId()
{
return $this->certificateId;
}
/**
* @param string
*/
public function setPendingManagedCertificateId($pendingManagedCertificateId)
{
$this->pendingManagedCertificateId = $pendingManagedCertificateId;
}
/**
* @return string
*/
public function getPendingManagedCertificateId()
{
return $this->pendingManagedCertificateId;
}
/**
* @param string
*/
public function setSslManagementType($sslManagementType)
{
$this->sslManagementType = $sslManagementType;
}
/**
* @return string
*/
public function getSslManagementType()
{
return $this->sslManagementType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SslSettings::class, 'Google_Service_Appengine_SslSettings');

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\Appengine;
class StandardSchedulerSettings extends \Google\Model
{
/**
* @var int
*/
public $maxInstances;
/**
* @var int
*/
public $minInstances;
public $targetCpuUtilization;
public $targetThroughputUtilization;
/**
* @param int
*/
public function setMaxInstances($maxInstances)
{
$this->maxInstances = $maxInstances;
}
/**
* @return int
*/
public function getMaxInstances()
{
return $this->maxInstances;
}
/**
* @param int
*/
public function setMinInstances($minInstances)
{
$this->minInstances = $minInstances;
}
/**
* @return int
*/
public function getMinInstances()
{
return $this->minInstances;
}
public function setTargetCpuUtilization($targetCpuUtilization)
{
$this->targetCpuUtilization = $targetCpuUtilization;
}
public function getTargetCpuUtilization()
{
return $this->targetCpuUtilization;
}
public function setTargetThroughputUtilization($targetThroughputUtilization)
{
$this->targetThroughputUtilization = $targetThroughputUtilization;
}
public function getTargetThroughputUtilization()
{
return $this->targetThroughputUtilization;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StandardSchedulerSettings::class, 'Google_Service_Appengine_StandardSchedulerSettings');

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\Appengine;
class StaticFilesHandler extends \Google\Model
{
/**
* @var bool
*/
public $applicationReadable;
/**
* @var string
*/
public $expiration;
/**
* @var string[]
*/
public $httpHeaders;
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $path;
/**
* @var bool
*/
public $requireMatchingFile;
/**
* @var string
*/
public $uploadPathRegex;
/**
* @param bool
*/
public function setApplicationReadable($applicationReadable)
{
$this->applicationReadable = $applicationReadable;
}
/**
* @return bool
*/
public function getApplicationReadable()
{
return $this->applicationReadable;
}
/**
* @param string
*/
public function setExpiration($expiration)
{
$this->expiration = $expiration;
}
/**
* @return string
*/
public function getExpiration()
{
return $this->expiration;
}
/**
* @param string[]
*/
public function setHttpHeaders($httpHeaders)
{
$this->httpHeaders = $httpHeaders;
}
/**
* @return string[]
*/
public function getHttpHeaders()
{
return $this->httpHeaders;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param bool
*/
public function setRequireMatchingFile($requireMatchingFile)
{
$this->requireMatchingFile = $requireMatchingFile;
}
/**
* @return bool
*/
public function getRequireMatchingFile()
{
return $this->requireMatchingFile;
}
/**
* @param string
*/
public function setUploadPathRegex($uploadPathRegex)
{
$this->uploadPathRegex = $uploadPathRegex;
}
/**
* @return string
*/
public function getUploadPathRegex()
{
return $this->uploadPathRegex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StaticFilesHandler::class, 'Google_Service_Appengine_StaticFilesHandler');

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\Appengine;
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_Appengine_Status');

View File

@@ -0,0 +1,53 @@
<?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\Appengine;
class TrafficSplit extends \Google\Model
{
public $allocations;
/**
* @var string
*/
public $shardBy;
public function setAllocations($allocations)
{
$this->allocations = $allocations;
}
public function getAllocations()
{
return $this->allocations;
}
/**
* @param string
*/
public function setShardBy($shardBy)
{
$this->shardBy = $shardBy;
}
/**
* @return string
*/
public function getShardBy()
{
return $this->shardBy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TrafficSplit::class, 'Google_Service_Appengine_TrafficSplit');

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\Appengine;
class UrlDispatchRule extends \Google\Model
{
/**
* @var string
*/
public $domain;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $service;
/**
* @param string
*/
public function setDomain($domain)
{
$this->domain = $domain;
}
/**
* @return string
*/
public function getDomain()
{
return $this->domain;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlDispatchRule::class, 'Google_Service_Appengine_UrlDispatchRule');

View File

@@ -0,0 +1,164 @@
<?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\Appengine;
class UrlMap extends \Google\Model
{
protected $apiEndpointType = ApiEndpointHandler::class;
protected $apiEndpointDataType = '';
/**
* @var string
*/
public $authFailAction;
/**
* @var string
*/
public $login;
/**
* @var string
*/
public $redirectHttpResponseCode;
protected $scriptType = ScriptHandler::class;
protected $scriptDataType = '';
/**
* @var string
*/
public $securityLevel;
protected $staticFilesType = StaticFilesHandler::class;
protected $staticFilesDataType = '';
/**
* @var string
*/
public $urlRegex;
/**
* @param ApiEndpointHandler
*/
public function setApiEndpoint(ApiEndpointHandler $apiEndpoint)
{
$this->apiEndpoint = $apiEndpoint;
}
/**
* @return ApiEndpointHandler
*/
public function getApiEndpoint()
{
return $this->apiEndpoint;
}
/**
* @param string
*/
public function setAuthFailAction($authFailAction)
{
$this->authFailAction = $authFailAction;
}
/**
* @return string
*/
public function getAuthFailAction()
{
return $this->authFailAction;
}
/**
* @param string
*/
public function setLogin($login)
{
$this->login = $login;
}
/**
* @return string
*/
public function getLogin()
{
return $this->login;
}
/**
* @param string
*/
public function setRedirectHttpResponseCode($redirectHttpResponseCode)
{
$this->redirectHttpResponseCode = $redirectHttpResponseCode;
}
/**
* @return string
*/
public function getRedirectHttpResponseCode()
{
return $this->redirectHttpResponseCode;
}
/**
* @param ScriptHandler
*/
public function setScript(ScriptHandler $script)
{
$this->script = $script;
}
/**
* @return ScriptHandler
*/
public function getScript()
{
return $this->script;
}
/**
* @param string
*/
public function setSecurityLevel($securityLevel)
{
$this->securityLevel = $securityLevel;
}
/**
* @return string
*/
public function getSecurityLevel()
{
return $this->securityLevel;
}
/**
* @param StaticFilesHandler
*/
public function setStaticFiles(StaticFilesHandler $staticFiles)
{
$this->staticFiles = $staticFiles;
}
/**
* @return StaticFilesHandler
*/
public function getStaticFiles()
{
return $this->staticFiles;
}
/**
* @param string
*/
public function setUrlRegex($urlRegex)
{
$this->urlRegex = $urlRegex;
}
/**
* @return string
*/
public function getUrlRegex()
{
return $this->urlRegex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UrlMap::class, 'Google_Service_Appengine_UrlMap');

View File

@@ -0,0 +1,749 @@
<?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\Appengine;
class Version extends \Google\Collection
{
protected $collection_key = 'zones';
protected $apiConfigType = ApiConfigHandler::class;
protected $apiConfigDataType = '';
/**
* @var bool
*/
public $appEngineApis;
protected $automaticScalingType = AutomaticScaling::class;
protected $automaticScalingDataType = '';
protected $basicScalingType = BasicScaling::class;
protected $basicScalingDataType = '';
/**
* @var string[]
*/
public $betaSettings;
/**
* @var string[]
*/
public $buildEnvVariables;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $createdBy;
/**
* @var string
*/
public $defaultExpiration;
protected $deploymentType = Deployment::class;
protected $deploymentDataType = '';
/**
* @var string
*/
public $diskUsageBytes;
protected $endpointsApiServiceType = EndpointsApiService::class;
protected $endpointsApiServiceDataType = '';
protected $entrypointType = Entrypoint::class;
protected $entrypointDataType = '';
/**
* @var string
*/
public $env;
/**
* @var string[]
*/
public $envVariables;
protected $errorHandlersType = ErrorHandler::class;
protected $errorHandlersDataType = 'array';
protected $flexibleRuntimeSettingsType = FlexibleRuntimeSettings::class;
protected $flexibleRuntimeSettingsDataType = '';
/**
* @var array[]
*/
public $generatedCustomerMetadata;
protected $handlersType = UrlMap::class;
protected $handlersDataType = 'array';
protected $healthCheckType = HealthCheck::class;
protected $healthCheckDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string[]
*/
public $inboundServices;
/**
* @var string
*/
public $instanceClass;
protected $librariesType = Library::class;
protected $librariesDataType = 'array';
protected $livenessCheckType = LivenessCheck::class;
protected $livenessCheckDataType = '';
protected $manualScalingType = ManualScaling::class;
protected $manualScalingDataType = '';
/**
* @var string
*/
public $name;
protected $networkType = Network::class;
protected $networkDataType = '';
/**
* @var string
*/
public $nobuildFilesRegex;
protected $readinessCheckType = ReadinessCheck::class;
protected $readinessCheckDataType = '';
protected $resourcesType = Resources::class;
protected $resourcesDataType = '';
/**
* @var string
*/
public $runtime;
/**
* @var string
*/
public $runtimeApiVersion;
/**
* @var string
*/
public $runtimeChannel;
/**
* @var string
*/
public $runtimeMainExecutablePath;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $servingStatus;
/**
* @var bool
*/
public $threadsafe;
/**
* @var string
*/
public $versionUrl;
/**
* @var bool
*/
public $vm;
protected $vpcAccessConnectorType = VpcAccessConnector::class;
protected $vpcAccessConnectorDataType = '';
/**
* @var string[]
*/
public $zones;
/**
* @param ApiConfigHandler
*/
public function setApiConfig(ApiConfigHandler $apiConfig)
{
$this->apiConfig = $apiConfig;
}
/**
* @return ApiConfigHandler
*/
public function getApiConfig()
{
return $this->apiConfig;
}
/**
* @param bool
*/
public function setAppEngineApis($appEngineApis)
{
$this->appEngineApis = $appEngineApis;
}
/**
* @return bool
*/
public function getAppEngineApis()
{
return $this->appEngineApis;
}
/**
* @param AutomaticScaling
*/
public function setAutomaticScaling(AutomaticScaling $automaticScaling)
{
$this->automaticScaling = $automaticScaling;
}
/**
* @return AutomaticScaling
*/
public function getAutomaticScaling()
{
return $this->automaticScaling;
}
/**
* @param BasicScaling
*/
public function setBasicScaling(BasicScaling $basicScaling)
{
$this->basicScaling = $basicScaling;
}
/**
* @return BasicScaling
*/
public function getBasicScaling()
{
return $this->basicScaling;
}
/**
* @param string[]
*/
public function setBetaSettings($betaSettings)
{
$this->betaSettings = $betaSettings;
}
/**
* @return string[]
*/
public function getBetaSettings()
{
return $this->betaSettings;
}
/**
* @param string[]
*/
public function setBuildEnvVariables($buildEnvVariables)
{
$this->buildEnvVariables = $buildEnvVariables;
}
/**
* @return string[]
*/
public function getBuildEnvVariables()
{
return $this->buildEnvVariables;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
}
/**
* @return string
*/
public function getCreatedBy()
{
return $this->createdBy;
}
/**
* @param string
*/
public function setDefaultExpiration($defaultExpiration)
{
$this->defaultExpiration = $defaultExpiration;
}
/**
* @return string
*/
public function getDefaultExpiration()
{
return $this->defaultExpiration;
}
/**
* @param Deployment
*/
public function setDeployment(Deployment $deployment)
{
$this->deployment = $deployment;
}
/**
* @return Deployment
*/
public function getDeployment()
{
return $this->deployment;
}
/**
* @param string
*/
public function setDiskUsageBytes($diskUsageBytes)
{
$this->diskUsageBytes = $diskUsageBytes;
}
/**
* @return string
*/
public function getDiskUsageBytes()
{
return $this->diskUsageBytes;
}
/**
* @param EndpointsApiService
*/
public function setEndpointsApiService(EndpointsApiService $endpointsApiService)
{
$this->endpointsApiService = $endpointsApiService;
}
/**
* @return EndpointsApiService
*/
public function getEndpointsApiService()
{
return $this->endpointsApiService;
}
/**
* @param Entrypoint
*/
public function setEntrypoint(Entrypoint $entrypoint)
{
$this->entrypoint = $entrypoint;
}
/**
* @return Entrypoint
*/
public function getEntrypoint()
{
return $this->entrypoint;
}
/**
* @param string
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return string
*/
public function getEnv()
{
return $this->env;
}
/**
* @param string[]
*/
public function setEnvVariables($envVariables)
{
$this->envVariables = $envVariables;
}
/**
* @return string[]
*/
public function getEnvVariables()
{
return $this->envVariables;
}
/**
* @param ErrorHandler[]
*/
public function setErrorHandlers($errorHandlers)
{
$this->errorHandlers = $errorHandlers;
}
/**
* @return ErrorHandler[]
*/
public function getErrorHandlers()
{
return $this->errorHandlers;
}
/**
* @param FlexibleRuntimeSettings
*/
public function setFlexibleRuntimeSettings(FlexibleRuntimeSettings $flexibleRuntimeSettings)
{
$this->flexibleRuntimeSettings = $flexibleRuntimeSettings;
}
/**
* @return FlexibleRuntimeSettings
*/
public function getFlexibleRuntimeSettings()
{
return $this->flexibleRuntimeSettings;
}
/**
* @param array[]
*/
public function setGeneratedCustomerMetadata($generatedCustomerMetadata)
{
$this->generatedCustomerMetadata = $generatedCustomerMetadata;
}
/**
* @return array[]
*/
public function getGeneratedCustomerMetadata()
{
return $this->generatedCustomerMetadata;
}
/**
* @param UrlMap[]
*/
public function setHandlers($handlers)
{
$this->handlers = $handlers;
}
/**
* @return UrlMap[]
*/
public function getHandlers()
{
return $this->handlers;
}
/**
* @param HealthCheck
*/
public function setHealthCheck(HealthCheck $healthCheck)
{
$this->healthCheck = $healthCheck;
}
/**
* @return HealthCheck
*/
public function getHealthCheck()
{
return $this->healthCheck;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string[]
*/
public function setInboundServices($inboundServices)
{
$this->inboundServices = $inboundServices;
}
/**
* @return string[]
*/
public function getInboundServices()
{
return $this->inboundServices;
}
/**
* @param string
*/
public function setInstanceClass($instanceClass)
{
$this->instanceClass = $instanceClass;
}
/**
* @return string
*/
public function getInstanceClass()
{
return $this->instanceClass;
}
/**
* @param Library[]
*/
public function setLibraries($libraries)
{
$this->libraries = $libraries;
}
/**
* @return Library[]
*/
public function getLibraries()
{
return $this->libraries;
}
/**
* @param LivenessCheck
*/
public function setLivenessCheck(LivenessCheck $livenessCheck)
{
$this->livenessCheck = $livenessCheck;
}
/**
* @return LivenessCheck
*/
public function getLivenessCheck()
{
return $this->livenessCheck;
}
/**
* @param ManualScaling
*/
public function setManualScaling(ManualScaling $manualScaling)
{
$this->manualScaling = $manualScaling;
}
/**
* @return ManualScaling
*/
public function getManualScaling()
{
return $this->manualScaling;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param Network
*/
public function setNetwork(Network $network)
{
$this->network = $network;
}
/**
* @return Network
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNobuildFilesRegex($nobuildFilesRegex)
{
$this->nobuildFilesRegex = $nobuildFilesRegex;
}
/**
* @return string
*/
public function getNobuildFilesRegex()
{
return $this->nobuildFilesRegex;
}
/**
* @param ReadinessCheck
*/
public function setReadinessCheck(ReadinessCheck $readinessCheck)
{
$this->readinessCheck = $readinessCheck;
}
/**
* @return ReadinessCheck
*/
public function getReadinessCheck()
{
return $this->readinessCheck;
}
/**
* @param Resources
*/
public function setResources(Resources $resources)
{
$this->resources = $resources;
}
/**
* @return Resources
*/
public function getResources()
{
return $this->resources;
}
/**
* @param string
*/
public function setRuntime($runtime)
{
$this->runtime = $runtime;
}
/**
* @return string
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* @param string
*/
public function setRuntimeApiVersion($runtimeApiVersion)
{
$this->runtimeApiVersion = $runtimeApiVersion;
}
/**
* @return string
*/
public function getRuntimeApiVersion()
{
return $this->runtimeApiVersion;
}
/**
* @param string
*/
public function setRuntimeChannel($runtimeChannel)
{
$this->runtimeChannel = $runtimeChannel;
}
/**
* @return string
*/
public function getRuntimeChannel()
{
return $this->runtimeChannel;
}
/**
* @param string
*/
public function setRuntimeMainExecutablePath($runtimeMainExecutablePath)
{
$this->runtimeMainExecutablePath = $runtimeMainExecutablePath;
}
/**
* @return string
*/
public function getRuntimeMainExecutablePath()
{
return $this->runtimeMainExecutablePath;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setServingStatus($servingStatus)
{
$this->servingStatus = $servingStatus;
}
/**
* @return string
*/
public function getServingStatus()
{
return $this->servingStatus;
}
/**
* @param bool
*/
public function setThreadsafe($threadsafe)
{
$this->threadsafe = $threadsafe;
}
/**
* @return bool
*/
public function getThreadsafe()
{
return $this->threadsafe;
}
/**
* @param string
*/
public function setVersionUrl($versionUrl)
{
$this->versionUrl = $versionUrl;
}
/**
* @return string
*/
public function getVersionUrl()
{
return $this->versionUrl;
}
/**
* @param bool
*/
public function setVm($vm)
{
$this->vm = $vm;
}
/**
* @return bool
*/
public function getVm()
{
return $this->vm;
}
/**
* @param VpcAccessConnector
*/
public function setVpcAccessConnector(VpcAccessConnector $vpcAccessConnector)
{
$this->vpcAccessConnector = $vpcAccessConnector;
}
/**
* @return VpcAccessConnector
*/
public function getVpcAccessConnector()
{
return $this->vpcAccessConnector;
}
/**
* @param string[]
*/
public function setZones($zones)
{
$this->zones = $zones;
}
/**
* @return string[]
*/
public function getZones()
{
return $this->zones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Version::class, 'Google_Service_Appengine_Version');

View File

@@ -0,0 +1,71 @@
<?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\Appengine;
class Volume extends \Google\Model
{
/**
* @var string
*/
public $name;
public $sizeGb;
/**
* @var string
*/
public $volumeType;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
public function setSizeGb($sizeGb)
{
$this->sizeGb = $sizeGb;
}
public function getSizeGb()
{
return $this->sizeGb;
}
/**
* @param string
*/
public function setVolumeType($volumeType)
{
$this->volumeType = $volumeType;
}
/**
* @return string
*/
public function getVolumeType()
{
return $this->volumeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Volume::class, 'Google_Service_Appengine_Volume');

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\Appengine;
class VpcAccessConnector extends \Google\Model
{
/**
* @var string
*/
public $egressSetting;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setEgressSetting($egressSetting)
{
$this->egressSetting = $egressSetting;
}
/**
* @return string
*/
public function getEgressSetting()
{
return $this->egressSetting;
}
/**
* @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(VpcAccessConnector::class, 'Google_Service_Appengine_VpcAccessConnector');

Some files were not shown because too many files have changed in this diff Show More