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
@@ -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\CloudFunctions;
class AbortFunctionUpgradeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AbortFunctionUpgradeRequest::class, 'Google_Service_CloudFunctions_AbortFunctionUpgradeRequest');
@@ -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\CloudFunctions;
class AuditConfig extends \Google\Collection
{
protected $collection_key = 'auditLogConfigs';
protected $auditLogConfigsType = AuditLogConfig::class;
protected $auditLogConfigsDataType = 'array';
/**
* @var string
*/
public $service;
/**
* @param AuditLogConfig[]
*/
public function setAuditLogConfigs($auditLogConfigs)
{
$this->auditLogConfigs = $auditLogConfigs;
}
/**
* @return AuditLogConfig[]
*/
public function getAuditLogConfigs()
{
return $this->auditLogConfigs;
}
/**
* @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(AuditConfig::class, 'Google_Service_CloudFunctions_AuditConfig');
@@ -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\CloudFunctions;
class AuditLogConfig extends \Google\Collection
{
protected $collection_key = 'exemptedMembers';
/**
* @var string[]
*/
public $exemptedMembers;
/**
* @var string
*/
public $logType;
/**
* @param string[]
*/
public function setExemptedMembers($exemptedMembers)
{
$this->exemptedMembers = $exemptedMembers;
}
/**
* @return string[]
*/
public function getExemptedMembers()
{
return $this->exemptedMembers;
}
/**
* @param string
*/
public function setLogType($logType)
{
$this->logType = $logType;
}
/**
* @return string
*/
public function getLogType()
{
return $this->logType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuditLogConfig::class, 'Google_Service_CloudFunctions_AuditLogConfig');
@@ -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\CloudFunctions;
class AutomaticUpdatePolicy extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutomaticUpdatePolicy::class, 'Google_Service_CloudFunctions_AutomaticUpdatePolicy');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFunctions;
class Binding extends \Google\Collection
{
protected $collection_key = 'members';
protected $conditionType = Expr::class;
protected $conditionDataType = '';
/**
* @var string[]
*/
public $members;
/**
* @var string
*/
public $role;
/**
* @param Expr
*/
public function setCondition(Expr $condition)
{
$this->condition = $condition;
}
/**
* @return Expr
*/
public function getCondition()
{
return $this->condition;
}
/**
* @param string[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return string[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Binding::class, 'Google_Service_CloudFunctions_Binding');
@@ -0,0 +1,252 @@
<?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\CloudFunctions;
class BuildConfig extends \Google\Model
{
protected $automaticUpdatePolicyType = AutomaticUpdatePolicy::class;
protected $automaticUpdatePolicyDataType = '';
/**
* @var string
*/
public $build;
/**
* @var string
*/
public $dockerRegistry;
/**
* @var string
*/
public $dockerRepository;
/**
* @var string
*/
public $entryPoint;
/**
* @var string[]
*/
public $environmentVariables;
protected $onDeployUpdatePolicyType = OnDeployUpdatePolicy::class;
protected $onDeployUpdatePolicyDataType = '';
/**
* @var string
*/
public $runtime;
/**
* @var string
*/
public $serviceAccount;
protected $sourceType = Source::class;
protected $sourceDataType = '';
protected $sourceProvenanceType = SourceProvenance::class;
protected $sourceProvenanceDataType = '';
/**
* @var string
*/
public $sourceToken;
/**
* @var string
*/
public $workerPool;
/**
* @param AutomaticUpdatePolicy
*/
public function setAutomaticUpdatePolicy(AutomaticUpdatePolicy $automaticUpdatePolicy)
{
$this->automaticUpdatePolicy = $automaticUpdatePolicy;
}
/**
* @return AutomaticUpdatePolicy
*/
public function getAutomaticUpdatePolicy()
{
return $this->automaticUpdatePolicy;
}
/**
* @param string
*/
public function setBuild($build)
{
$this->build = $build;
}
/**
* @return string
*/
public function getBuild()
{
return $this->build;
}
/**
* @param string
*/
public function setDockerRegistry($dockerRegistry)
{
$this->dockerRegistry = $dockerRegistry;
}
/**
* @return string
*/
public function getDockerRegistry()
{
return $this->dockerRegistry;
}
/**
* @param string
*/
public function setDockerRepository($dockerRepository)
{
$this->dockerRepository = $dockerRepository;
}
/**
* @return string
*/
public function getDockerRepository()
{
return $this->dockerRepository;
}
/**
* @param string
*/
public function setEntryPoint($entryPoint)
{
$this->entryPoint = $entryPoint;
}
/**
* @return string
*/
public function getEntryPoint()
{
return $this->entryPoint;
}
/**
* @param string[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return string[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param OnDeployUpdatePolicy
*/
public function setOnDeployUpdatePolicy(OnDeployUpdatePolicy $onDeployUpdatePolicy)
{
$this->onDeployUpdatePolicy = $onDeployUpdatePolicy;
}
/**
* @return OnDeployUpdatePolicy
*/
public function getOnDeployUpdatePolicy()
{
return $this->onDeployUpdatePolicy;
}
/**
* @param string
*/
public function setRuntime($runtime)
{
$this->runtime = $runtime;
}
/**
* @return string
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param Source
*/
public function setSource(Source $source)
{
$this->source = $source;
}
/**
* @return Source
*/
public function getSource()
{
return $this->source;
}
/**
* @param SourceProvenance
*/
public function setSourceProvenance(SourceProvenance $sourceProvenance)
{
$this->sourceProvenance = $sourceProvenance;
}
/**
* @return SourceProvenance
*/
public function getSourceProvenance()
{
return $this->sourceProvenance;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param string
*/
public function setWorkerPool($workerPool)
{
$this->workerPool = $workerPool;
}
/**
* @return string
*/
public function getWorkerPool()
{
return $this->workerPool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildConfig::class, 'Google_Service_CloudFunctions_BuildConfig');
@@ -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\CloudFunctions;
class CallFunctionRequest extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CallFunctionRequest::class, 'Google_Service_CloudFunctions_CallFunctionRequest');
@@ -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\CloudFunctions;
class CallFunctionResponse extends \Google\Model
{
/**
* @var string
*/
public $error;
/**
* @var string
*/
public $executionId;
/**
* @var string
*/
public $result;
/**
* @param string
*/
public function setError($error)
{
$this->error = $error;
}
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string
*/
public function setExecutionId($executionId)
{
$this->executionId = $executionId;
}
/**
* @return string
*/
public function getExecutionId()
{
return $this->executionId;
}
/**
* @param string
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CallFunctionResponse::class, 'Google_Service_CloudFunctions_CallFunctionResponse');
@@ -0,0 +1,611 @@
<?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\CloudFunctions;
class CloudFunction extends \Google\Collection
{
protected $collection_key = 'secretVolumes';
/**
* @var int
*/
public $availableMemoryMb;
/**
* @var string[]
*/
public $buildEnvironmentVariables;
/**
* @var string
*/
public $buildId;
/**
* @var string
*/
public $buildName;
/**
* @var string
*/
public $buildWorkerPool;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $dockerRegistry;
/**
* @var string
*/
public $dockerRepository;
/**
* @var string
*/
public $entryPoint;
/**
* @var string[]
*/
public $environmentVariables;
protected $eventTriggerType = EventTrigger::class;
protected $eventTriggerDataType = '';
protected $httpsTriggerType = HttpsTrigger::class;
protected $httpsTriggerDataType = '';
/**
* @var string
*/
public $ingressSettings;
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string[]
*/
public $labels;
/**
* @var int
*/
public $maxInstances;
/**
* @var int
*/
public $minInstances;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $runtime;
protected $secretEnvironmentVariablesType = SecretEnvVar::class;
protected $secretEnvironmentVariablesDataType = 'array';
protected $secretVolumesType = SecretVolume::class;
protected $secretVolumesDataType = 'array';
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $sourceArchiveUrl;
protected $sourceRepositoryType = SourceRepository::class;
protected $sourceRepositoryDataType = '';
/**
* @var string
*/
public $sourceToken;
/**
* @var string
*/
public $sourceUploadUrl;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $timeout;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $versionId;
/**
* @var string
*/
public $vpcConnector;
/**
* @var string
*/
public $vpcConnectorEgressSettings;
/**
* @param int
*/
public function setAvailableMemoryMb($availableMemoryMb)
{
$this->availableMemoryMb = $availableMemoryMb;
}
/**
* @return int
*/
public function getAvailableMemoryMb()
{
return $this->availableMemoryMb;
}
/**
* @param string[]
*/
public function setBuildEnvironmentVariables($buildEnvironmentVariables)
{
$this->buildEnvironmentVariables = $buildEnvironmentVariables;
}
/**
* @return string[]
*/
public function getBuildEnvironmentVariables()
{
return $this->buildEnvironmentVariables;
}
/**
* @param string
*/
public function setBuildId($buildId)
{
$this->buildId = $buildId;
}
/**
* @return string
*/
public function getBuildId()
{
return $this->buildId;
}
/**
* @param string
*/
public function setBuildName($buildName)
{
$this->buildName = $buildName;
}
/**
* @return string
*/
public function getBuildName()
{
return $this->buildName;
}
/**
* @param string
*/
public function setBuildWorkerPool($buildWorkerPool)
{
$this->buildWorkerPool = $buildWorkerPool;
}
/**
* @return string
*/
public function getBuildWorkerPool()
{
return $this->buildWorkerPool;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDockerRegistry($dockerRegistry)
{
$this->dockerRegistry = $dockerRegistry;
}
/**
* @return string
*/
public function getDockerRegistry()
{
return $this->dockerRegistry;
}
/**
* @param string
*/
public function setDockerRepository($dockerRepository)
{
$this->dockerRepository = $dockerRepository;
}
/**
* @return string
*/
public function getDockerRepository()
{
return $this->dockerRepository;
}
/**
* @param string
*/
public function setEntryPoint($entryPoint)
{
$this->entryPoint = $entryPoint;
}
/**
* @return string
*/
public function getEntryPoint()
{
return $this->entryPoint;
}
/**
* @param string[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return string[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param EventTrigger
*/
public function setEventTrigger(EventTrigger $eventTrigger)
{
$this->eventTrigger = $eventTrigger;
}
/**
* @return EventTrigger
*/
public function getEventTrigger()
{
return $this->eventTrigger;
}
/**
* @param HttpsTrigger
*/
public function setHttpsTrigger(HttpsTrigger $httpsTrigger)
{
$this->httpsTrigger = $httpsTrigger;
}
/**
* @return HttpsTrigger
*/
public function getHttpsTrigger()
{
return $this->httpsTrigger;
}
/**
* @param string
*/
public function setIngressSettings($ingressSettings)
{
$this->ingressSettings = $ingressSettings;
}
/**
* @return string
*/
public function getIngressSettings()
{
return $this->ingressSettings;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @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;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setRuntime($runtime)
{
$this->runtime = $runtime;
}
/**
* @return string
*/
public function getRuntime()
{
return $this->runtime;
}
/**
* @param SecretEnvVar[]
*/
public function setSecretEnvironmentVariables($secretEnvironmentVariables)
{
$this->secretEnvironmentVariables = $secretEnvironmentVariables;
}
/**
* @return SecretEnvVar[]
*/
public function getSecretEnvironmentVariables()
{
return $this->secretEnvironmentVariables;
}
/**
* @param SecretVolume[]
*/
public function setSecretVolumes($secretVolumes)
{
$this->secretVolumes = $secretVolumes;
}
/**
* @return SecretVolume[]
*/
public function getSecretVolumes()
{
return $this->secretVolumes;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setSourceArchiveUrl($sourceArchiveUrl)
{
$this->sourceArchiveUrl = $sourceArchiveUrl;
}
/**
* @return string
*/
public function getSourceArchiveUrl()
{
return $this->sourceArchiveUrl;
}
/**
* @param SourceRepository
*/
public function setSourceRepository(SourceRepository $sourceRepository)
{
$this->sourceRepository = $sourceRepository;
}
/**
* @return SourceRepository
*/
public function getSourceRepository()
{
return $this->sourceRepository;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param string
*/
public function setSourceUploadUrl($sourceUploadUrl)
{
$this->sourceUploadUrl = $sourceUploadUrl;
}
/**
* @return string
*/
public function getSourceUploadUrl()
{
return $this->sourceUploadUrl;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
/**
* @param string
*/
public function setVpcConnector($vpcConnector)
{
$this->vpcConnector = $vpcConnector;
}
/**
* @return string
*/
public function getVpcConnector()
{
return $this->vpcConnector;
}
/**
* @param string
*/
public function setVpcConnectorEgressSettings($vpcConnectorEgressSettings)
{
$this->vpcConnectorEgressSettings = $vpcConnectorEgressSettings;
}
/**
* @return string
*/
public function getVpcConnectorEgressSettings()
{
return $this->vpcConnectorEgressSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudFunction::class, 'Google_Service_CloudFunctions_CloudFunction');
@@ -0,0 +1,287 @@
<?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\CloudFunctions;
class CloudfunctionsFunction extends \Google\Collection
{
protected $collection_key = 'stateMessages';
protected $buildConfigType = BuildConfig::class;
protected $buildConfigDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $environment;
protected $eventTriggerType = EventTrigger::class;
protected $eventTriggerDataType = '';
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $satisfiesPzs;
protected $serviceConfigType = ServiceConfig::class;
protected $serviceConfigDataType = '';
/**
* @var string
*/
public $state;
protected $stateMessagesType = GoogleCloudFunctionsV2StateMessage::class;
protected $stateMessagesDataType = 'array';
/**
* @var string
*/
public $updateTime;
protected $upgradeInfoType = UpgradeInfo::class;
protected $upgradeInfoDataType = '';
/**
* @var string
*/
public $url;
/**
* @param BuildConfig
*/
public function setBuildConfig(BuildConfig $buildConfig)
{
$this->buildConfig = $buildConfig;
}
/**
* @return BuildConfig
*/
public function getBuildConfig()
{
return $this->buildConfig;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param EventTrigger
*/
public function setEventTrigger(EventTrigger $eventTrigger)
{
$this->eventTrigger = $eventTrigger;
}
/**
* @return EventTrigger
*/
public function getEventTrigger()
{
return $this->eventTrigger;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @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 bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param ServiceConfig
*/
public function setServiceConfig(ServiceConfig $serviceConfig)
{
$this->serviceConfig = $serviceConfig;
}
/**
* @return ServiceConfig
*/
public function getServiceConfig()
{
return $this->serviceConfig;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudFunctionsV2StateMessage[]
*/
public function setStateMessages($stateMessages)
{
$this->stateMessages = $stateMessages;
}
/**
* @return GoogleCloudFunctionsV2StateMessage[]
*/
public function getStateMessages()
{
return $this->stateMessages;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param UpgradeInfo
*/
public function setUpgradeInfo(UpgradeInfo $upgradeInfo)
{
$this->upgradeInfo = $upgradeInfo;
}
/**
* @return UpgradeInfo
*/
public function getUpgradeInfo()
{
return $this->upgradeInfo;
}
/**
* @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(CloudfunctionsFunction::class, 'Google_Service_CloudFunctions_CloudfunctionsFunction');
@@ -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\CloudFunctions;
class CommitFunctionUpgradeRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CommitFunctionUpgradeRequest::class, 'Google_Service_CloudFunctions_CommitFunctionUpgradeRequest');
@@ -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\CloudFunctions;
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_CloudFunctions_Date');
@@ -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\CloudFunctions;
class EventFilter extends \Google\Model
{
/**
* @var string
*/
public $attribute;
/**
* @var string
*/
public $operator;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
/**
* @return string
*/
public function getAttribute()
{
return $this->attribute;
}
/**
* @param string
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return string
*/
public function getOperator()
{
return $this->operator;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventFilter::class, 'Google_Service_CloudFunctions_EventFilter');
@@ -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\CloudFunctions;
class EventTrigger extends \Google\Collection
{
protected $collection_key = 'eventFilters';
/**
* @var string
*/
public $channel;
protected $eventFiltersType = EventFilter::class;
protected $eventFiltersDataType = 'array';
/**
* @var string
*/
public $eventType;
/**
* @var string
*/
public $pubsubTopic;
/**
* @var string
*/
public $retryPolicy;
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var string
*/
public $trigger;
/**
* @var string
*/
public $triggerRegion;
/**
* @param string
*/
public function setChannel($channel)
{
$this->channel = $channel;
}
/**
* @return string
*/
public function getChannel()
{
return $this->channel;
}
/**
* @param EventFilter[]
*/
public function setEventFilters($eventFilters)
{
$this->eventFilters = $eventFilters;
}
/**
* @return EventFilter[]
*/
public function getEventFilters()
{
return $this->eventFilters;
}
/**
* @param string
*/
public function setEventType($eventType)
{
$this->eventType = $eventType;
}
/**
* @return string
*/
public function getEventType()
{
return $this->eventType;
}
/**
* @param string
*/
public function setPubsubTopic($pubsubTopic)
{
$this->pubsubTopic = $pubsubTopic;
}
/**
* @return string
*/
public function getPubsubTopic()
{
return $this->pubsubTopic;
}
/**
* @param string
*/
public function setRetryPolicy($retryPolicy)
{
$this->retryPolicy = $retryPolicy;
}
/**
* @return string
*/
public function getRetryPolicy()
{
return $this->retryPolicy;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param string
*/
public function setTrigger($trigger)
{
$this->trigger = $trigger;
}
/**
* @return string
*/
public function getTrigger()
{
return $this->trigger;
}
/**
* @param string
*/
public function setTriggerRegion($triggerRegion)
{
$this->triggerRegion = $triggerRegion;
}
/**
* @return string
*/
public function getTriggerRegion()
{
return $this->triggerRegion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EventTrigger::class, 'Google_Service_CloudFunctions_EventTrigger');
@@ -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\CloudFunctions;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_CloudFunctions_Expr');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFunctions;
class FailurePolicy extends \Google\Model
{
protected $retryType = Retry::class;
protected $retryDataType = '';
/**
* @param Retry
*/
public function setRetry(Retry $retry)
{
$this->retry = $retry;
}
/**
* @return Retry
*/
public function getRetry()
{
return $this->retry;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailurePolicy::class, 'Google_Service_CloudFunctions_FailurePolicy');
@@ -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\CloudFunctions;
class GenerateDownloadUrlRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateDownloadUrlRequest::class, 'Google_Service_CloudFunctions_GenerateDownloadUrlRequest');
@@ -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\CloudFunctions;
class GenerateDownloadUrlResponse extends \Google\Model
{
/**
* @var string
*/
public $downloadUrl;
/**
* @param string
*/
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
/**
* @return string
*/
public function getDownloadUrl()
{
return $this->downloadUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateDownloadUrlResponse::class, 'Google_Service_CloudFunctions_GenerateDownloadUrlResponse');
@@ -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\CloudFunctions;
class GenerateUploadUrlRequest extends \Google\Model
{
/**
* @var string
*/
public $environment;
/**
* @var string
*/
public $kmsKeyName;
/**
* @param string
*/
public function setEnvironment($environment)
{
$this->environment = $environment;
}
/**
* @return string
*/
public function getEnvironment()
{
return $this->environment;
}
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateUploadUrlRequest::class, 'Google_Service_CloudFunctions_GenerateUploadUrlRequest');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFunctions;
class GenerateUploadUrlResponse extends \Google\Model
{
protected $storageSourceType = StorageSource::class;
protected $storageSourceDataType = '';
/**
* @var string
*/
public $uploadUrl;
/**
* @param StorageSource
*/
public function setStorageSource(StorageSource $storageSource)
{
$this->storageSource = $storageSource;
}
/**
* @return StorageSource
*/
public function getStorageSource()
{
return $this->storageSource;
}
/**
* @param string
*/
public function setUploadUrl($uploadUrl)
{
$this->uploadUrl = $uploadUrl;
}
/**
* @return string
*/
public function getUploadUrl()
{
return $this->uploadUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateUploadUrlResponse::class, 'Google_Service_CloudFunctions_GenerateUploadUrlResponse');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2LocationMetadata extends \Google\Collection
{
protected $collection_key = 'environments';
/**
* @var string[]
*/
public $environments;
/**
* @param string[]
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return string[]
*/
public function getEnvironments()
{
return $this->environments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2LocationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2LocationMetadata');
@@ -0,0 +1,241 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2OperationMetadata extends \Google\Collection
{
protected $collection_key = 'stages';
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $buildName;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationType;
/**
* @var array[]
*/
public $requestResource;
/**
* @var string
*/
public $sourceToken;
protected $stagesType = GoogleCloudFunctionsV2Stage::class;
protected $stagesDataType = 'array';
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setBuildName($buildName)
{
$this->buildName = $buildName;
}
/**
* @return string
*/
public function getBuildName()
{
return $this->buildName;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param array[]
*/
public function setRequestResource($requestResource)
{
$this->requestResource = $requestResource;
}
/**
* @return array[]
*/
public function getRequestResource()
{
return $this->requestResource;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param GoogleCloudFunctionsV2Stage[]
*/
public function setStages($stages)
{
$this->stages = $stages;
}
/**
* @return GoogleCloudFunctionsV2Stage[]
*/
public function getStages()
{
return $this->stages;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2OperationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2OperationMetadata');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2Stage extends \Google\Collection
{
protected $collection_key = 'stateMessages';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $state;
protected $stateMessagesType = GoogleCloudFunctionsV2StateMessage::class;
protected $stateMessagesDataType = 'array';
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudFunctionsV2StateMessage[]
*/
public function setStateMessages($stateMessages)
{
$this->stateMessages = $stateMessages;
}
/**
* @return GoogleCloudFunctionsV2StateMessage[]
*/
public function getStateMessages()
{
return $this->stateMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2Stage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2Stage');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2StateMessage extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @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(GoogleCloudFunctionsV2StateMessage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2StateMessage');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2alphaLocationMetadata extends \Google\Collection
{
protected $collection_key = 'environments';
/**
* @var string[]
*/
public $environments;
/**
* @param string[]
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return string[]
*/
public function getEnvironments()
{
return $this->environments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2alphaLocationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2alphaLocationMetadata');
@@ -0,0 +1,241 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2alphaOperationMetadata extends \Google\Collection
{
protected $collection_key = 'stages';
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $buildName;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationType;
/**
* @var array[]
*/
public $requestResource;
/**
* @var string
*/
public $sourceToken;
protected $stagesType = GoogleCloudFunctionsV2alphaStage::class;
protected $stagesDataType = 'array';
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setBuildName($buildName)
{
$this->buildName = $buildName;
}
/**
* @return string
*/
public function getBuildName()
{
return $this->buildName;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param array[]
*/
public function setRequestResource($requestResource)
{
$this->requestResource = $requestResource;
}
/**
* @return array[]
*/
public function getRequestResource()
{
return $this->requestResource;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param GoogleCloudFunctionsV2alphaStage[]
*/
public function setStages($stages)
{
$this->stages = $stages;
}
/**
* @return GoogleCloudFunctionsV2alphaStage[]
*/
public function getStages()
{
return $this->stages;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2alphaOperationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2alphaOperationMetadata');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2alphaStage extends \Google\Collection
{
protected $collection_key = 'stateMessages';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $state;
protected $stateMessagesType = GoogleCloudFunctionsV2alphaStateMessage::class;
protected $stateMessagesDataType = 'array';
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudFunctionsV2alphaStateMessage[]
*/
public function setStateMessages($stateMessages)
{
$this->stateMessages = $stateMessages;
}
/**
* @return GoogleCloudFunctionsV2alphaStateMessage[]
*/
public function getStateMessages()
{
return $this->stateMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2alphaStage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2alphaStage');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2alphaStateMessage extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @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(GoogleCloudFunctionsV2alphaStateMessage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2alphaStateMessage');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2betaLocationMetadata extends \Google\Collection
{
protected $collection_key = 'environments';
/**
* @var string[]
*/
public $environments;
/**
* @param string[]
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return string[]
*/
public function getEnvironments()
{
return $this->environments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2betaLocationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2betaLocationMetadata');
@@ -0,0 +1,241 @@
<?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\CloudFunctions;
class GoogleCloudFunctionsV2betaOperationMetadata extends \Google\Collection
{
protected $collection_key = 'stages';
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $buildName;
/**
* @var bool
*/
public $cancelRequested;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $operationType;
/**
* @var array[]
*/
public $requestResource;
/**
* @var string
*/
public $sourceToken;
protected $stagesType = GoogleCloudFunctionsV2betaStage::class;
protected $stagesDataType = 'array';
/**
* @var string
*/
public $statusDetail;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setBuildName($buildName)
{
$this->buildName = $buildName;
}
/**
* @return string
*/
public function getBuildName()
{
return $this->buildName;
}
/**
* @param bool
*/
public function setCancelRequested($cancelRequested)
{
$this->cancelRequested = $cancelRequested;
}
/**
* @return bool
*/
public function getCancelRequested()
{
return $this->cancelRequested;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return string
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* @param array[]
*/
public function setRequestResource($requestResource)
{
$this->requestResource = $requestResource;
}
/**
* @return array[]
*/
public function getRequestResource()
{
return $this->requestResource;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param GoogleCloudFunctionsV2betaStage[]
*/
public function setStages($stages)
{
$this->stages = $stages;
}
/**
* @return GoogleCloudFunctionsV2betaStage[]
*/
public function getStages()
{
return $this->stages;
}
/**
* @param string
*/
public function setStatusDetail($statusDetail)
{
$this->statusDetail = $statusDetail;
}
/**
* @return string
*/
public function getStatusDetail()
{
return $this->statusDetail;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2betaOperationMetadata::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2betaOperationMetadata');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2betaStage extends \Google\Collection
{
protected $collection_key = 'stateMessages';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $state;
protected $stateMessagesType = GoogleCloudFunctionsV2betaStateMessage::class;
protected $stateMessagesDataType = 'array';
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudFunctionsV2betaStateMessage[]
*/
public function setStateMessages($stateMessages)
{
$this->stateMessages = $stateMessages;
}
/**
* @return GoogleCloudFunctionsV2betaStateMessage[]
*/
public function getStateMessages()
{
return $this->stateMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudFunctionsV2betaStage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2betaStage');
@@ -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\CloudFunctions;
class GoogleCloudFunctionsV2betaStateMessage extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @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(GoogleCloudFunctionsV2betaStateMessage::class, 'Google_Service_CloudFunctions_GoogleCloudFunctionsV2betaStateMessage');
@@ -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\CloudFunctions;
class HttpsTrigger extends \Google\Model
{
/**
* @var string
*/
public $securityLevel;
/**
* @var string
*/
public $url;
/**
* @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(HttpsTrigger::class, 'Google_Service_CloudFunctions_HttpsTrigger');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFunctions;
class ListFunctionsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $functionsType = CloudfunctionsFunction::class;
protected $functionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param CloudfunctionsFunction[]
*/
public function setFunctions($functions)
{
$this->functions = $functions;
}
/**
* @return CloudfunctionsFunction[]
*/
public function getFunctions()
{
return $this->functions;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListFunctionsResponse::class, 'Google_Service_CloudFunctions_ListFunctionsResponse');
@@ -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\CloudFunctions;
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_CloudFunctions_ListLocationsResponse');
@@ -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\CloudFunctions;
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_CloudFunctions_ListOperationsResponse');
@@ -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\CloudFunctions;
class ListRuntimesResponse extends \Google\Collection
{
protected $collection_key = 'runtimes';
protected $runtimesType = Runtime::class;
protected $runtimesDataType = 'array';
/**
* @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_CloudFunctions_ListRuntimesResponse');
@@ -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\CloudFunctions;
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_CloudFunctions_Location');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class LocationMetadata extends \Google\Collection
{
protected $collection_key = 'environments';
/**
* @var string[]
*/
public $environments;
/**
* @param string[]
*/
public function setEnvironments($environments)
{
$this->environments = $environments;
}
/**
* @return string[]
*/
public function getEnvironments()
{
return $this->environments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationMetadata::class, 'Google_Service_CloudFunctions_LocationMetadata');
@@ -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\CloudFunctions;
class OnDeployUpdatePolicy extends \Google\Model
{
/**
* @var string
*/
public $runtimeVersion;
/**
* @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(OnDeployUpdatePolicy::class, 'Google_Service_CloudFunctions_OnDeployUpdatePolicy');
@@ -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\CloudFunctions;
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_CloudFunctions_Operation');
@@ -0,0 +1,170 @@
<?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\CloudFunctions;
class OperationMetadataV1 extends \Google\Model
{
/**
* @var string
*/
public $buildId;
/**
* @var string
*/
public $buildName;
/**
* @var array[]
*/
public $request;
/**
* @var string
*/
public $sourceToken;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $versionId;
/**
* @param string
*/
public function setBuildId($buildId)
{
$this->buildId = $buildId;
}
/**
* @return string
*/
public function getBuildId()
{
return $this->buildId;
}
/**
* @param string
*/
public function setBuildName($buildName)
{
$this->buildName = $buildName;
}
/**
* @return string
*/
public function getBuildName()
{
return $this->buildName;
}
/**
* @param array[]
*/
public function setRequest($request)
{
$this->request = $request;
}
/**
* @return array[]
*/
public function getRequest()
{
return $this->request;
}
/**
* @param string
*/
public function setSourceToken($sourceToken)
{
$this->sourceToken = $sourceToken;
}
/**
* @return string
*/
public function getSourceToken()
{
return $this->sourceToken;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setVersionId($versionId)
{
$this->versionId = $versionId;
}
/**
* @return string
*/
public function getVersionId()
{
return $this->versionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadataV1::class, 'Google_Service_CloudFunctions_OperationMetadataV1');
@@ -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\CloudFunctions;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_CloudFunctions_Policy');
@@ -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\CloudFunctions;
class RedirectFunctionUpgradeTrafficRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RedirectFunctionUpgradeTrafficRequest::class, 'Google_Service_CloudFunctions_RedirectFunctionUpgradeTrafficRequest');
@@ -0,0 +1,134 @@
<?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\CloudFunctions;
class RepoSource extends \Google\Model
{
/**
* @var string
*/
public $branchName;
/**
* @var string
*/
public $commitSha;
/**
* @var string
*/
public $dir;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $repoName;
/**
* @var string
*/
public $tagName;
/**
* @param string
*/
public function setBranchName($branchName)
{
$this->branchName = $branchName;
}
/**
* @return string
*/
public function getBranchName()
{
return $this->branchName;
}
/**
* @param string
*/
public function setCommitSha($commitSha)
{
$this->commitSha = $commitSha;
}
/**
* @return string
*/
public function getCommitSha()
{
return $this->commitSha;
}
/**
* @param string
*/
public function setDir($dir)
{
$this->dir = $dir;
}
/**
* @return string
*/
public function getDir()
{
return $this->dir;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setRepoName($repoName)
{
$this->repoName = $repoName;
}
/**
* @return string
*/
public function getRepoName()
{
return $this->repoName;
}
/**
* @param string
*/
public function setTagName($tagName)
{
$this->tagName = $tagName;
}
/**
* @return string
*/
public function getTagName()
{
return $this->tagName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RepoSource::class, 'Google_Service_CloudFunctions_RepoSource');
@@ -0,0 +1,84 @@
<?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\CloudFunctions\Resource;
use Google\Service\CloudFunctions\ListOperationsResponse;
use Google\Service\CloudFunctions\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $operations = $cloudfunctionsService->operations;
* </code>
*/
class Operations 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 $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/operations`. To override the binding,
* API services can add a binding such as `"/v1/{name=users}/operations"` to
* their service configuration. For backwards compatibility, the default name
* includes the operations collection id, however overriding users must ensure
* the name binding is the parent resource, without the operations collection
* id. (operations.listOperations)
*
* @param array $optParams Optional parameters.
*
* @opt_param string filter Required. A filter for matching the requested
* operations. The supported formats of *filter* are: To query for a specific
* function: project:*,location:*,function:* To query for all of the latest
* operations for a project: project:*,latest:true
* @opt_param string name Must not be set.
* @opt_param int pageSize The maximum number of records that should be
* returned. Requested page size cannot exceed 100. If not set, the default page
* size is 100. Pagination is only supported when querying for a specific
* function.
* @opt_param string pageToken Token identifying which result to start with,
* which is returned by a previous list call. Pagination is only supported when
* querying for a specific function.
* @return ListOperationsResponse
*/
public function listOperations($optParams = [])
{
$params = [];
$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(Operations::class, 'Google_Service_CloudFunctions_Resource_Operations');
@@ -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\CloudFunctions\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $projects = $cloudfunctionsService->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_CloudFunctions_Resource_Projects');
@@ -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\CloudFunctions\Resource;
use Google\Service\CloudFunctions\ListLocationsResponse;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $locations = $cloudfunctionsService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_CloudFunctions_Resource_ProjectsLocations');
@@ -0,0 +1,383 @@
<?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\CloudFunctions\Resource;
use Google\Service\CloudFunctions\AbortFunctionUpgradeRequest;
use Google\Service\CloudFunctions\CloudfunctionsFunction;
use Google\Service\CloudFunctions\CommitFunctionUpgradeRequest;
use Google\Service\CloudFunctions\GenerateDownloadUrlRequest;
use Google\Service\CloudFunctions\GenerateDownloadUrlResponse;
use Google\Service\CloudFunctions\GenerateUploadUrlRequest;
use Google\Service\CloudFunctions\GenerateUploadUrlResponse;
use Google\Service\CloudFunctions\ListFunctionsResponse;
use Google\Service\CloudFunctions\Operation;
use Google\Service\CloudFunctions\Policy;
use Google\Service\CloudFunctions\RedirectFunctionUpgradeTrafficRequest;
use Google\Service\CloudFunctions\RollbackFunctionUpgradeTrafficRequest;
use Google\Service\CloudFunctions\SetIamPolicyRequest;
use Google\Service\CloudFunctions\SetupFunctionUpgradeConfigRequest;
use Google\Service\CloudFunctions\TestIamPermissionsRequest;
use Google\Service\CloudFunctions\TestIamPermissionsResponse;
/**
* The "functions" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $functions = $cloudfunctionsService->projects_locations_functions;
* </code>
*/
class ProjectsLocationsFunctions extends \Google\Service\Resource
{
/**
* Aborts generation upgrade process for a function with the given name from the
* specified project. Deletes all 2nd Gen copy related configuration and
* resources which were created during the upgrade process.
* (functions.abortFunctionUpgrade)
*
* @param string $name Required. The name of the function for which upgrade
* should be aborted.
* @param AbortFunctionUpgradeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function abortFunctionUpgrade($name, AbortFunctionUpgradeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('abortFunctionUpgrade', [$params], Operation::class);
}
/**
* Finalizes the upgrade after which function upgrade can not be rolled back.
* This is the last step of the multi step process to upgrade 1st Gen functions
* to 2nd Gen. Deletes all original 1st Gen related configuration and resources.
* (functions.commitFunctionUpgrade)
*
* @param string $name Required. The name of the function for which upgrade
* should be finalized.
* @param CommitFunctionUpgradeRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function commitFunctionUpgrade($name, CommitFunctionUpgradeRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('commitFunctionUpgrade', [$params], Operation::class);
}
/**
* Creates a new function. If a function with the given name already exists in
* the specified project, the long running operation will return
* `ALREADY_EXISTS` error. (functions.create)
*
* @param string $parent Required. The project and location in which the
* function should be created, specified in the format `projects/locations`
* @param CloudfunctionsFunction $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string functionId The ID to use for the function, which will
* become the final component of the function's resource name. This value should
* be 4-63 characters, and valid characters are /a-z-/.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, CloudfunctionsFunction $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a function with the given name from the specified project. If the
* given function is used by some trigger, the trigger will be updated to remove
* this function. (functions.delete)
*
* @param string $name Required. The name of the function which should be
* deleted.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Returns a signed URL for downloading deployed function source code. The URL
* is only valid for a limited period and should be used within 30 minutes of
* generation. For more information about the signed URL usage see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
* (functions.generateDownloadUrl)
*
* @param string $name Required. The name of function for which source code
* Google Cloud Storage signed URL should be generated.
* @param GenerateDownloadUrlRequest $postBody
* @param array $optParams Optional parameters.
* @return GenerateDownloadUrlResponse
* @throws \Google\Service\Exception
*/
public function generateDownloadUrl($name, GenerateDownloadUrlRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateDownloadUrl', [$params], GenerateDownloadUrlResponse::class);
}
/**
* Returns a signed URL for uploading a function source code. For more
* information about the signed URL usage see:
* https://cloud.google.com/storage/docs/access-control/signed-urls. Once the
* function source code upload is complete, the used signed URL should be
* provided in CreateFunction or UpdateFunction request as a reference to the
* function source code. When uploading source code to the generated signed URL,
* please follow these restrictions: * Source file type should be a zip file. *
* No credentials should be attached - the signed URLs provide access to the
* target bucket using internal service identity; if credentials were attached,
* the identity from the credentials would be used, but that identity does not
* have permissions to upload files to the URL. When making a HTTP PUT request,
* specify this header: * `content-type: application/zip` Do not specify this
* header: * `Authorization: Bearer YOUR_TOKEN` (functions.generateUploadUrl)
*
* @param string $parent Required. The project and location in which the Google
* Cloud Storage signed URL should be generated, specified in the format
* `projects/locations`.
* @param GenerateUploadUrlRequest $postBody
* @param array $optParams Optional parameters.
* @return GenerateUploadUrlResponse
* @throws \Google\Service\Exception
*/
public function generateUploadUrl($parent, GenerateUploadUrlRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('generateUploadUrl', [$params], GenerateUploadUrlResponse::class);
}
/**
* Returns a function with the given name from the requested project.
* (functions.get)
*
* @param string $name Required. The name of the function which details should
* be obtained.
* @param array $optParams Optional parameters.
*
* @opt_param string revision Optional. The optional version of the 1st gen
* function whose details should be obtained. The version of a 1st gen function
* is an integer that starts from 1 and gets incremented on redeployments. GCF
* may keep historical configs for old versions of 1st gen function. This field
* can be specified to fetch the historical configs. This field is valid only
* for GCF 1st gen function.
* @return CloudfunctionsFunction
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CloudfunctionsFunction::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set. (functions.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Returns a list of functions that belong to the requested project.
* (functions.listProjectsLocationsFunctions)
*
* @param string $parent Required. The project and location from which the
* function should be listed, specified in the format `projects/locations` If
* you want to list functions in all locations, use "-" in place of a location.
* When listing functions in all locations, if one or more location(s) are
* unreachable, the response will contain functions from all reachable locations
* along with the names of any unreachable locations.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter for Functions that match the filter
* expression, following the syntax outlined in https://google.aip.dev/160.
* @opt_param string orderBy The sorting order of the resources returned. Value
* should be a comma separated list of fields. The default sorting oder is
* ascending. See https://google.aip.dev/132#ordering.
* @opt_param int pageSize Maximum number of functions to return per call. The
* largest allowed page_size is 1,000, if the page_size is omitted or specified
* as greater than 1,000 then it will be replaced as 1,000. The size of the list
* response can be less than specified when used with filters.
* @opt_param string pageToken The value returned by the last
* `ListFunctionsResponse`; indicates that this is a continuation of a prior
* `ListFunctions` call, and that the system should return the next page of
* data.
* @return ListFunctionsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsFunctions($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListFunctionsResponse::class);
}
/**
* Updates existing function. (functions.patch)
*
* @param string $name A user-defined name of the function. Function names must
* be unique globally and match pattern `projects/locations/functions`
* @param CloudfunctionsFunction $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to be updated. If no field
* mask is provided, all fields will be updated.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, CloudfunctionsFunction $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Changes the traffic target of a function from the original 1st Gen function
* to the 2nd Gen copy. This is the second step of the multi step process to
* upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic
* will be served by 2nd Gen copy. (functions.redirectFunctionUpgradeTraffic)
*
* @param string $name Required. The name of the function for which traffic
* target should be changed to 2nd Gen from 1st Gen.
* @param RedirectFunctionUpgradeTrafficRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function redirectFunctionUpgradeTraffic($name, RedirectFunctionUpgradeTrafficRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('redirectFunctionUpgradeTraffic', [$params], Operation::class);
}
/**
* Reverts the traffic target of a function from the 2nd Gen copy to the
* original 1st Gen function. After this operation, all new traffic would be
* served by the 1st Gen. (functions.rollbackFunctionUpgradeTraffic)
*
* @param string $name Required. The name of the function for which traffic
* target should be changed back to 1st Gen from 2nd Gen.
* @param RollbackFunctionUpgradeTrafficRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function rollbackFunctionUpgradeTraffic($name, RollbackFunctionUpgradeTrafficRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('rollbackFunctionUpgradeTraffic', [$params], Operation::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (functions.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Creates a 2nd Gen copy of the function configuration based on the 1st Gen
* function with the given name. This is the first step of the multi step
* process to upgrade 1st Gen functions to 2nd Gen. Only 2nd Gen configuration
* is setup as part of this request and traffic continues to be served by 1st
* Gen. (functions.setupFunctionUpgradeConfig)
*
* @param string $name Required. The name of the function which should have
* configuration copied for upgrade.
* @param SetupFunctionUpgradeConfigRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function setupFunctionUpgradeConfig($name, SetupFunctionUpgradeConfigRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setupFunctionUpgradeConfig', [$params], Operation::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (functions.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsFunctions::class, 'Google_Service_CloudFunctions_Resource_ProjectsLocationsFunctions');
@@ -0,0 +1,72 @@
<?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\CloudFunctions\Resource;
use Google\Service\CloudFunctions\ListOperationsResponse;
use Google\Service\CloudFunctions\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $operations = $cloudfunctionsService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations 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 $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_CloudFunctions_Resource_ProjectsLocationsOperations');
@@ -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\CloudFunctions\Resource;
use Google\Service\CloudFunctions\ListRuntimesResponse;
/**
* The "runtimes" collection of methods.
* Typical usage is:
* <code>
* $cloudfunctionsService = new Google\Service\CloudFunctions(...);
* $runtimes = $cloudfunctionsService->projects_locations_runtimes;
* </code>
*/
class ProjectsLocationsRuntimes extends \Google\Service\Resource
{
/**
* Returns a list of runtimes that are supported for the requested project.
* (runtimes.listProjectsLocationsRuntimes)
*
* @param string $parent Required. The project and location from which the
* runtimes should be listed, specified in the format `projects/locations`
* @param array $optParams Optional parameters.
*
* @opt_param string filter The filter for Runtimes that match the filter
* expression, following the syntax outlined in https://google.aip.dev/160.
* @return ListRuntimesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRuntimes($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRuntimesResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRuntimes::class, 'Google_Service_CloudFunctions_Resource_ProjectsLocationsRuntimes');
@@ -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\CloudFunctions;
class Retry extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Retry::class, 'Google_Service_CloudFunctions_Retry');
@@ -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\CloudFunctions;
class RollbackFunctionUpgradeTrafficRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RollbackFunctionUpgradeTrafficRequest::class, 'Google_Service_CloudFunctions_RollbackFunctionUpgradeTrafficRequest');
@@ -0,0 +1,149 @@
<?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\CloudFunctions;
class Runtime extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $decommissionDateType = Date::class;
protected $decommissionDateDataType = '';
protected $deprecationDateType = Date::class;
protected $deprecationDateDataType = '';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $environment;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $stage;
/**
* @var string[]
*/
public $warnings;
/**
* @param Date
*/
public function setDecommissionDate(Date $decommissionDate)
{
$this->decommissionDate = $decommissionDate;
}
/**
* @return Date
*/
public function getDecommissionDate()
{
return $this->decommissionDate;
}
/**
* @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 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 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_CloudFunctions_Runtime');
@@ -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\CloudFunctions;
class SecretEnvVar extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $secret;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
/**
* @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(SecretEnvVar::class, 'Google_Service_CloudFunctions_SecretEnvVar');
@@ -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\CloudFunctions;
class SecretVersion extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @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(SecretVersion::class, 'Google_Service_CloudFunctions_SecretVersion');
@@ -0,0 +1,97 @@
<?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\CloudFunctions;
class SecretVolume extends \Google\Collection
{
protected $collection_key = 'versions';
/**
* @var string
*/
public $mountPath;
/**
* @var string
*/
public $projectId;
/**
* @var string
*/
public $secret;
protected $versionsType = SecretVersion::class;
protected $versionsDataType = 'array';
/**
* @param string
*/
public function setMountPath($mountPath)
{
$this->mountPath = $mountPath;
}
/**
* @return string
*/
public function getMountPath()
{
return $this->mountPath;
}
/**
* @param string
*/
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
/**
* @return string
*/
public function getProjectId()
{
return $this->projectId;
}
/**
* @param string
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
/**
* @param SecretVersion[]
*/
public function setVersions($versions)
{
$this->versions = $versions;
}
/**
* @return SecretVersion[]
*/
public function getVersions()
{
return $this->versions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SecretVolume::class, 'Google_Service_CloudFunctions_SecretVolume');
@@ -0,0 +1,365 @@
<?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\CloudFunctions;
class ServiceConfig extends \Google\Collection
{
protected $collection_key = 'secretVolumes';
/**
* @var bool
*/
public $allTrafficOnLatestRevision;
/**
* @var string
*/
public $availableCpu;
/**
* @var string
*/
public $availableMemory;
/**
* @var string
*/
public $binaryAuthorizationPolicy;
/**
* @var string[]
*/
public $environmentVariables;
/**
* @var string
*/
public $ingressSettings;
/**
* @var int
*/
public $maxInstanceCount;
/**
* @var int
*/
public $maxInstanceRequestConcurrency;
/**
* @var int
*/
public $minInstanceCount;
/**
* @var string
*/
public $revision;
protected $secretEnvironmentVariablesType = SecretEnvVar::class;
protected $secretEnvironmentVariablesDataType = 'array';
protected $secretVolumesType = SecretVolume::class;
protected $secretVolumesDataType = 'array';
/**
* @var string
*/
public $securityLevel;
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $serviceAccountEmail;
/**
* @var int
*/
public $timeoutSeconds;
/**
* @var string
*/
public $uri;
/**
* @var string
*/
public $vpcConnector;
/**
* @var string
*/
public $vpcConnectorEgressSettings;
/**
* @param bool
*/
public function setAllTrafficOnLatestRevision($allTrafficOnLatestRevision)
{
$this->allTrafficOnLatestRevision = $allTrafficOnLatestRevision;
}
/**
* @return bool
*/
public function getAllTrafficOnLatestRevision()
{
return $this->allTrafficOnLatestRevision;
}
/**
* @param string
*/
public function setAvailableCpu($availableCpu)
{
$this->availableCpu = $availableCpu;
}
/**
* @return string
*/
public function getAvailableCpu()
{
return $this->availableCpu;
}
/**
* @param string
*/
public function setAvailableMemory($availableMemory)
{
$this->availableMemory = $availableMemory;
}
/**
* @return string
*/
public function getAvailableMemory()
{
return $this->availableMemory;
}
/**
* @param string
*/
public function setBinaryAuthorizationPolicy($binaryAuthorizationPolicy)
{
$this->binaryAuthorizationPolicy = $binaryAuthorizationPolicy;
}
/**
* @return string
*/
public function getBinaryAuthorizationPolicy()
{
return $this->binaryAuthorizationPolicy;
}
/**
* @param string[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return string[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param string
*/
public function setIngressSettings($ingressSettings)
{
$this->ingressSettings = $ingressSettings;
}
/**
* @return string
*/
public function getIngressSettings()
{
return $this->ingressSettings;
}
/**
* @param int
*/
public function setMaxInstanceCount($maxInstanceCount)
{
$this->maxInstanceCount = $maxInstanceCount;
}
/**
* @return int
*/
public function getMaxInstanceCount()
{
return $this->maxInstanceCount;
}
/**
* @param int
*/
public function setMaxInstanceRequestConcurrency($maxInstanceRequestConcurrency)
{
$this->maxInstanceRequestConcurrency = $maxInstanceRequestConcurrency;
}
/**
* @return int
*/
public function getMaxInstanceRequestConcurrency()
{
return $this->maxInstanceRequestConcurrency;
}
/**
* @param int
*/
public function setMinInstanceCount($minInstanceCount)
{
$this->minInstanceCount = $minInstanceCount;
}
/**
* @return int
*/
public function getMinInstanceCount()
{
return $this->minInstanceCount;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param SecretEnvVar[]
*/
public function setSecretEnvironmentVariables($secretEnvironmentVariables)
{
$this->secretEnvironmentVariables = $secretEnvironmentVariables;
}
/**
* @return SecretEnvVar[]
*/
public function getSecretEnvironmentVariables()
{
return $this->secretEnvironmentVariables;
}
/**
* @param SecretVolume[]
*/
public function setSecretVolumes($secretVolumes)
{
$this->secretVolumes = $secretVolumes;
}
/**
* @return SecretVolume[]
*/
public function getSecretVolumes()
{
return $this->secretVolumes;
}
/**
* @param string
*/
public function setSecurityLevel($securityLevel)
{
$this->securityLevel = $securityLevel;
}
/**
* @return string
*/
public function getSecurityLevel()
{
return $this->securityLevel;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setServiceAccountEmail($serviceAccountEmail)
{
$this->serviceAccountEmail = $serviceAccountEmail;
}
/**
* @return string
*/
public function getServiceAccountEmail()
{
return $this->serviceAccountEmail;
}
/**
* @param int
*/
public function setTimeoutSeconds($timeoutSeconds)
{
$this->timeoutSeconds = $timeoutSeconds;
}
/**
* @return int
*/
public function getTimeoutSeconds()
{
return $this->timeoutSeconds;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string
*/
public function setVpcConnector($vpcConnector)
{
$this->vpcConnector = $vpcConnector;
}
/**
* @return string
*/
public function getVpcConnector()
{
return $this->vpcConnector;
}
/**
* @param string
*/
public function setVpcConnectorEgressSettings($vpcConnectorEgressSettings)
{
$this->vpcConnectorEgressSettings = $vpcConnectorEgressSettings;
}
/**
* @return string
*/
public function getVpcConnectorEgressSettings()
{
return $this->vpcConnectorEgressSettings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceConfig::class, 'Google_Service_CloudFunctions_ServiceConfig');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudFunctions;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_CloudFunctions_SetIamPolicyRequest');
@@ -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\CloudFunctions;
class SetupFunctionUpgradeConfigRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetupFunctionUpgradeConfigRequest::class, 'Google_Service_CloudFunctions_SetupFunctionUpgradeConfigRequest');
@@ -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\CloudFunctions;
class Source extends \Google\Model
{
/**
* @var string
*/
public $gitUri;
protected $repoSourceType = RepoSource::class;
protected $repoSourceDataType = '';
protected $storageSourceType = StorageSource::class;
protected $storageSourceDataType = '';
/**
* @param string
*/
public function setGitUri($gitUri)
{
$this->gitUri = $gitUri;
}
/**
* @return string
*/
public function getGitUri()
{
return $this->gitUri;
}
/**
* @param RepoSource
*/
public function setRepoSource(RepoSource $repoSource)
{
$this->repoSource = $repoSource;
}
/**
* @return RepoSource
*/
public function getRepoSource()
{
return $this->repoSource;
}
/**
* @param StorageSource
*/
public function setStorageSource(StorageSource $storageSource)
{
$this->storageSource = $storageSource;
}
/**
* @return StorageSource
*/
public function getStorageSource()
{
return $this->storageSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Source::class, 'Google_Service_CloudFunctions_Source');
@@ -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\CloudFunctions;
class SourceProvenance extends \Google\Model
{
/**
* @var string
*/
public $gitUri;
protected $resolvedRepoSourceType = RepoSource::class;
protected $resolvedRepoSourceDataType = '';
protected $resolvedStorageSourceType = StorageSource::class;
protected $resolvedStorageSourceDataType = '';
/**
* @param string
*/
public function setGitUri($gitUri)
{
$this->gitUri = $gitUri;
}
/**
* @return string
*/
public function getGitUri()
{
return $this->gitUri;
}
/**
* @param RepoSource
*/
public function setResolvedRepoSource(RepoSource $resolvedRepoSource)
{
$this->resolvedRepoSource = $resolvedRepoSource;
}
/**
* @return RepoSource
*/
public function getResolvedRepoSource()
{
return $this->resolvedRepoSource;
}
/**
* @param StorageSource
*/
public function setResolvedStorageSource(StorageSource $resolvedStorageSource)
{
$this->resolvedStorageSource = $resolvedStorageSource;
}
/**
* @return StorageSource
*/
public function getResolvedStorageSource()
{
return $this->resolvedStorageSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceProvenance::class, 'Google_Service_CloudFunctions_SourceProvenance');
@@ -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\CloudFunctions;
class SourceRepository extends \Google\Model
{
/**
* @var string
*/
public $deployedUrl;
/**
* @var string
*/
public $url;
/**
* @param string
*/
public function setDeployedUrl($deployedUrl)
{
$this->deployedUrl = $deployedUrl;
}
/**
* @return string
*/
public function getDeployedUrl()
{
return $this->deployedUrl;
}
/**
* @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(SourceRepository::class, 'Google_Service_CloudFunctions_SourceRepository');
@@ -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\CloudFunctions;
class Stage extends \Google\Collection
{
protected $collection_key = 'stateMessages';
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $state;
protected $stateMessagesType = GoogleCloudFunctionsV2alphaStateMessage::class;
protected $stateMessagesDataType = 'array';
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param GoogleCloudFunctionsV2alphaStateMessage[]
*/
public function setStateMessages($stateMessages)
{
$this->stateMessages = $stateMessages;
}
/**
* @return GoogleCloudFunctionsV2alphaStateMessage[]
*/
public function getStateMessages()
{
return $this->stateMessages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Stage::class, 'Google_Service_CloudFunctions_Stage');
@@ -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\CloudFunctions;
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_CloudFunctions_Status');
@@ -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\CloudFunctions;
class StorageSource extends \Google\Model
{
/**
* @var string
*/
public $bucket;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $object;
/**
* @var string
*/
public $sourceUploadUrl;
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string
*/
public function setObject($object)
{
$this->object = $object;
}
/**
* @return string
*/
public function getObject()
{
return $this->object;
}
/**
* @param string
*/
public function setSourceUploadUrl($sourceUploadUrl)
{
$this->sourceUploadUrl = $sourceUploadUrl;
}
/**
* @return string
*/
public function getSourceUploadUrl()
{
return $this->sourceUploadUrl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StorageSource::class, 'Google_Service_CloudFunctions_StorageSource');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class TestIamPermissionsRequest extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsRequest::class, 'Google_Service_CloudFunctions_TestIamPermissionsRequest');
@@ -0,0 +1,45 @@
<?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\CloudFunctions;
class TestIamPermissionsResponse extends \Google\Collection
{
protected $collection_key = 'permissions';
/**
* @var string[]
*/
public $permissions;
/**
* @param string[]
*/
public function setPermissions($permissions)
{
$this->permissions = $permissions;
}
/**
* @return string[]
*/
public function getPermissions()
{
return $this->permissions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TestIamPermissionsResponse::class, 'Google_Service_CloudFunctions_TestIamPermissionsResponse');
@@ -0,0 +1,92 @@
<?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\CloudFunctions;
class UpgradeInfo extends \Google\Model
{
protected $buildConfigType = BuildConfig::class;
protected $buildConfigDataType = '';
protected $eventTriggerType = EventTrigger::class;
protected $eventTriggerDataType = '';
protected $serviceConfigType = ServiceConfig::class;
protected $serviceConfigDataType = '';
/**
* @var string
*/
public $upgradeState;
/**
* @param BuildConfig
*/
public function setBuildConfig(BuildConfig $buildConfig)
{
$this->buildConfig = $buildConfig;
}
/**
* @return BuildConfig
*/
public function getBuildConfig()
{
return $this->buildConfig;
}
/**
* @param EventTrigger
*/
public function setEventTrigger(EventTrigger $eventTrigger)
{
$this->eventTrigger = $eventTrigger;
}
/**
* @return EventTrigger
*/
public function getEventTrigger()
{
return $this->eventTrigger;
}
/**
* @param ServiceConfig
*/
public function setServiceConfig(ServiceConfig $serviceConfig)
{
$this->serviceConfig = $serviceConfig;
}
/**
* @return ServiceConfig
*/
public function getServiceConfig()
{
return $this->serviceConfig;
}
/**
* @param string
*/
public function setUpgradeState($upgradeState)
{
$this->upgradeState = $upgradeState;
}
/**
* @return string
*/
public function getUpgradeState()
{
return $this->upgradeState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UpgradeInfo::class, 'Google_Service_CloudFunctions_UpgradeInfo');