Initial commit

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

View File

@@ -0,0 +1,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\CloudRun;
class Addressable extends \Google\Model
{
/**
* @var string
*/
public $url;
/**
* @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(Addressable::class, 'Google_Service_CloudRun_Addressable');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
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_CloudRun_AuditConfig');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
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_CloudRun_AuditLogConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class AuthorizedDomain extends \Google\Model
{
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizedDomain::class, 'Google_Service_CloudRun_AuthorizedDomain');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
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_CloudRun_Binding');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class ConfigMapEnvSource extends \Google\Model
{
protected $localObjectReferenceType = LocalObjectReference::class;
protected $localObjectReferenceDataType = '';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $optional;
/**
* @param LocalObjectReference
*/
public function setLocalObjectReference(LocalObjectReference $localObjectReference)
{
$this->localObjectReference = $localObjectReference;
}
/**
* @return LocalObjectReference
*/
public function getLocalObjectReference()
{
return $this->localObjectReference;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setOptional($optional)
{
$this->optional = $optional;
}
/**
* @return bool
*/
public function getOptional()
{
return $this->optional;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigMapEnvSource::class, 'Google_Service_CloudRun_ConfigMapEnvSource');

View File

@@ -0,0 +1,96 @@
<?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\CloudRun;
class ConfigMapKeySelector extends \Google\Model
{
/**
* @var string
*/
public $key;
protected $localObjectReferenceType = LocalObjectReference::class;
protected $localObjectReferenceDataType = '';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $optional;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param LocalObjectReference
*/
public function setLocalObjectReference(LocalObjectReference $localObjectReference)
{
$this->localObjectReference = $localObjectReference;
}
/**
* @return LocalObjectReference
*/
public function getLocalObjectReference()
{
return $this->localObjectReference;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setOptional($optional)
{
$this->optional = $optional;
}
/**
* @return bool
*/
public function getOptional()
{
return $this->optional;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigMapKeySelector::class, 'Google_Service_CloudRun_ConfigMapKeySelector');

View File

@@ -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\CloudRun;
class ConfigMapVolumeSource extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var int
*/
public $defaultMode;
protected $itemsType = KeyToPath::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @var bool
*/
public $optional;
/**
* @param int
*/
public function setDefaultMode($defaultMode)
{
$this->defaultMode = $defaultMode;
}
/**
* @return int
*/
public function getDefaultMode()
{
return $this->defaultMode;
}
/**
* @param KeyToPath[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return KeyToPath[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param bool
*/
public function setOptional($optional)
{
$this->optional = $optional;
}
/**
* @return bool
*/
public function getOptional()
{
return $this->optional;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigMapVolumeSource::class, 'Google_Service_CloudRun_ConfigMapVolumeSource');

View File

@@ -0,0 +1,110 @@
<?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\CloudRun;
class Configuration extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $kind;
protected $metadataType = ObjectMeta::class;
protected $metadataDataType = '';
protected $specType = ConfigurationSpec::class;
protected $specDataType = '';
protected $statusType = ConfigurationStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ObjectMeta
*/
public function setMetadata(ObjectMeta $metadata)
{
$this->metadata = $metadata;
}
/**
* @return ObjectMeta
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param ConfigurationSpec
*/
public function setSpec(ConfigurationSpec $spec)
{
$this->spec = $spec;
}
/**
* @return ConfigurationSpec
*/
public function getSpec()
{
return $this->spec;
}
/**
* @param ConfigurationStatus
*/
public function setStatus(ConfigurationStatus $status)
{
$this->status = $status;
}
/**
* @return ConfigurationStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Configuration::class, 'Google_Service_CloudRun_Configuration');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class ConfigurationSpec extends \Google\Model
{
protected $templateType = RevisionTemplate::class;
protected $templateDataType = '';
/**
* @param RevisionTemplate
*/
public function setTemplate(RevisionTemplate $template)
{
$this->template = $template;
}
/**
* @return RevisionTemplate
*/
public function getTemplate()
{
return $this->template;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigurationSpec::class, 'Google_Service_CloudRun_ConfigurationSpec');

View File

@@ -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\CloudRun;
class ConfigurationStatus extends \Google\Collection
{
protected $collection_key = 'conditions';
protected $conditionsType = GoogleCloudRunV1Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $latestCreatedRevisionName;
/**
* @var string
*/
public $latestReadyRevisionName;
/**
* @var int
*/
public $observedGeneration;
/**
* @param GoogleCloudRunV1Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV1Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setLatestCreatedRevisionName($latestCreatedRevisionName)
{
$this->latestCreatedRevisionName = $latestCreatedRevisionName;
}
/**
* @return string
*/
public function getLatestCreatedRevisionName()
{
return $this->latestCreatedRevisionName;
}
/**
* @param string
*/
public function setLatestReadyRevisionName($latestReadyRevisionName)
{
$this->latestReadyRevisionName = $latestReadyRevisionName;
}
/**
* @return string
*/
public function getLatestReadyRevisionName()
{
return $this->latestReadyRevisionName;
}
/**
* @param int
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return int
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfigurationStatus::class, 'Google_Service_CloudRun_ConfigurationStatus');

View File

@@ -0,0 +1,315 @@
<?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\CloudRun;
class Container extends \Google\Collection
{
protected $collection_key = 'volumeMounts';
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $command;
protected $envType = EnvVar::class;
protected $envDataType = 'array';
protected $envFromType = EnvFromSource::class;
protected $envFromDataType = 'array';
/**
* @var string
*/
public $image;
/**
* @var string
*/
public $imagePullPolicy;
protected $livenessProbeType = Probe::class;
protected $livenessProbeDataType = '';
/**
* @var string
*/
public $name;
protected $portsType = ContainerPort::class;
protected $portsDataType = 'array';
protected $readinessProbeType = Probe::class;
protected $readinessProbeDataType = '';
protected $resourcesType = ResourceRequirements::class;
protected $resourcesDataType = '';
protected $securityContextType = SecurityContext::class;
protected $securityContextDataType = '';
protected $startupProbeType = Probe::class;
protected $startupProbeDataType = '';
/**
* @var string
*/
public $terminationMessagePath;
/**
* @var string
*/
public $terminationMessagePolicy;
protected $volumeMountsType = VolumeMount::class;
protected $volumeMountsDataType = 'array';
/**
* @var string
*/
public $workingDir;
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
/**
* @param EnvVar[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return EnvVar[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param EnvFromSource[]
*/
public function setEnvFrom($envFrom)
{
$this->envFrom = $envFrom;
}
/**
* @return EnvFromSource[]
*/
public function getEnvFrom()
{
return $this->envFrom;
}
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param string
*/
public function setImagePullPolicy($imagePullPolicy)
{
$this->imagePullPolicy = $imagePullPolicy;
}
/**
* @return string
*/
public function getImagePullPolicy()
{
return $this->imagePullPolicy;
}
/**
* @param Probe
*/
public function setLivenessProbe(Probe $livenessProbe)
{
$this->livenessProbe = $livenessProbe;
}
/**
* @return Probe
*/
public function getLivenessProbe()
{
return $this->livenessProbe;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param ContainerPort[]
*/
public function setPorts($ports)
{
$this->ports = $ports;
}
/**
* @return ContainerPort[]
*/
public function getPorts()
{
return $this->ports;
}
/**
* @param Probe
*/
public function setReadinessProbe(Probe $readinessProbe)
{
$this->readinessProbe = $readinessProbe;
}
/**
* @return Probe
*/
public function getReadinessProbe()
{
return $this->readinessProbe;
}
/**
* @param ResourceRequirements
*/
public function setResources(ResourceRequirements $resources)
{
$this->resources = $resources;
}
/**
* @return ResourceRequirements
*/
public function getResources()
{
return $this->resources;
}
/**
* @param SecurityContext
*/
public function setSecurityContext(SecurityContext $securityContext)
{
$this->securityContext = $securityContext;
}
/**
* @return SecurityContext
*/
public function getSecurityContext()
{
return $this->securityContext;
}
/**
* @param Probe
*/
public function setStartupProbe(Probe $startupProbe)
{
$this->startupProbe = $startupProbe;
}
/**
* @return Probe
*/
public function getStartupProbe()
{
return $this->startupProbe;
}
/**
* @param string
*/
public function setTerminationMessagePath($terminationMessagePath)
{
$this->terminationMessagePath = $terminationMessagePath;
}
/**
* @return string
*/
public function getTerminationMessagePath()
{
return $this->terminationMessagePath;
}
/**
* @param string
*/
public function setTerminationMessagePolicy($terminationMessagePolicy)
{
$this->terminationMessagePolicy = $terminationMessagePolicy;
}
/**
* @return string
*/
public function getTerminationMessagePolicy()
{
return $this->terminationMessagePolicy;
}
/**
* @param VolumeMount[]
*/
public function setVolumeMounts($volumeMounts)
{
$this->volumeMounts = $volumeMounts;
}
/**
* @return VolumeMount[]
*/
public function getVolumeMounts()
{
return $this->volumeMounts;
}
/**
* @param string
*/
public function setWorkingDir($workingDir)
{
$this->workingDir = $workingDir;
}
/**
* @return string
*/
public function getWorkingDir()
{
return $this->workingDir;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Container::class, 'Google_Service_CloudRun_Container');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class ContainerPort extends \Google\Model
{
/**
* @var int
*/
public $containerPort;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $protocol;
/**
* @param int
*/
public function setContainerPort($containerPort)
{
$this->containerPort = $containerPort;
}
/**
* @return int
*/
public function getContainerPort()
{
return $this->containerPort;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ContainerPort::class, 'Google_Service_CloudRun_ContainerPort');

View File

@@ -0,0 +1,110 @@
<?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\CloudRun;
class DomainMapping extends \Google\Model
{
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $kind;
protected $metadataType = ObjectMeta::class;
protected $metadataDataType = '';
protected $specType = DomainMappingSpec::class;
protected $specDataType = '';
protected $statusType = DomainMappingStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param ObjectMeta
*/
public function setMetadata(ObjectMeta $metadata)
{
$this->metadata = $metadata;
}
/**
* @return ObjectMeta
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param DomainMappingSpec
*/
public function setSpec(DomainMappingSpec $spec)
{
$this->spec = $spec;
}
/**
* @return DomainMappingSpec
*/
public function getSpec()
{
return $this->spec;
}
/**
* @param DomainMappingStatus
*/
public function setStatus(DomainMappingStatus $status)
{
$this->status = $status;
}
/**
* @return DomainMappingStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainMapping::class, 'Google_Service_CloudRun_DomainMapping');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class DomainMappingSpec extends \Google\Model
{
/**
* @var string
*/
public $certificateMode;
/**
* @var bool
*/
public $forceOverride;
/**
* @var string
*/
public $routeName;
/**
* @param string
*/
public function setCertificateMode($certificateMode)
{
$this->certificateMode = $certificateMode;
}
/**
* @return string
*/
public function getCertificateMode()
{
return $this->certificateMode;
}
/**
* @param bool
*/
public function setForceOverride($forceOverride)
{
$this->forceOverride = $forceOverride;
}
/**
* @return bool
*/
public function getForceOverride()
{
return $this->forceOverride;
}
/**
* @param string
*/
public function setRouteName($routeName)
{
$this->routeName = $routeName;
}
/**
* @return string
*/
public function getRouteName()
{
return $this->routeName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainMappingSpec::class, 'Google_Service_CloudRun_DomainMappingSpec');

View File

@@ -0,0 +1,113 @@
<?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\CloudRun;
class DomainMappingStatus extends \Google\Collection
{
protected $collection_key = 'resourceRecords';
protected $conditionsType = GoogleCloudRunV1Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $mappedRouteName;
/**
* @var int
*/
public $observedGeneration;
protected $resourceRecordsType = ResourceRecord::class;
protected $resourceRecordsDataType = 'array';
/**
* @var string
*/
public $url;
/**
* @param GoogleCloudRunV1Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV1Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setMappedRouteName($mappedRouteName)
{
$this->mappedRouteName = $mappedRouteName;
}
/**
* @return string
*/
public function getMappedRouteName()
{
return $this->mappedRouteName;
}
/**
* @param int
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return int
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param ResourceRecord[]
*/
public function setResourceRecords($resourceRecords)
{
$this->resourceRecords = $resourceRecords;
}
/**
* @return ResourceRecord[]
*/
public function getResourceRecords()
{
return $this->resourceRecords;
}
/**
* @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(DomainMappingStatus::class, 'Google_Service_CloudRun_DomainMappingStatus');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class EnvFromSource extends \Google\Model
{
protected $configMapRefType = ConfigMapEnvSource::class;
protected $configMapRefDataType = '';
/**
* @var string
*/
public $prefix;
protected $secretRefType = SecretEnvSource::class;
protected $secretRefDataType = '';
/**
* @param ConfigMapEnvSource
*/
public function setConfigMapRef(ConfigMapEnvSource $configMapRef)
{
$this->configMapRef = $configMapRef;
}
/**
* @return ConfigMapEnvSource
*/
public function getConfigMapRef()
{
return $this->configMapRef;
}
/**
* @param string
*/
public function setPrefix($prefix)
{
$this->prefix = $prefix;
}
/**
* @return string
*/
public function getPrefix()
{
return $this->prefix;
}
/**
* @param SecretEnvSource
*/
public function setSecretRef(SecretEnvSource $secretRef)
{
$this->secretRef = $secretRef;
}
/**
* @return SecretEnvSource
*/
public function getSecretRef()
{
return $this->secretRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvFromSource::class, 'Google_Service_CloudRun_EnvFromSource');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class EnvVar extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
protected $valueFromType = EnvVarSource::class;
protected $valueFromDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* @param EnvVarSource
*/
public function setValueFrom(EnvVarSource $valueFrom)
{
$this->valueFrom = $valueFrom;
}
/**
* @return EnvVarSource
*/
public function getValueFrom()
{
return $this->valueFrom;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvVar::class, 'Google_Service_CloudRun_EnvVar');

View File

@@ -0,0 +1,58 @@
<?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\CloudRun;
class EnvVarSource extends \Google\Model
{
protected $configMapKeyRefType = ConfigMapKeySelector::class;
protected $configMapKeyRefDataType = '';
protected $secretKeyRefType = SecretKeySelector::class;
protected $secretKeyRefDataType = '';
/**
* @param ConfigMapKeySelector
*/
public function setConfigMapKeyRef(ConfigMapKeySelector $configMapKeyRef)
{
$this->configMapKeyRef = $configMapKeyRef;
}
/**
* @return ConfigMapKeySelector
*/
public function getConfigMapKeyRef()
{
return $this->configMapKeyRef;
}
/**
* @param SecretKeySelector
*/
public function setSecretKeyRef(SecretKeySelector $secretKeyRef)
{
$this->secretKeyRef = $secretKeyRef;
}
/**
* @return SecretKeySelector
*/
public function getSecretKeyRef()
{
return $this->secretKeyRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EnvVarSource::class, 'Google_Service_CloudRun_EnvVarSource');

View File

@@ -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\CloudRun;
class ExecAction extends \Google\Collection
{
protected $collection_key = 'command';
/**
* @var string[]
*/
public $command;
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExecAction::class, 'Google_Service_CloudRun_ExecAction');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
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_CloudRun_Expr');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2BinaryAuthorization extends \Google\Model
{
/**
* @var string
*/
public $breakglassJustification;
/**
* @var bool
*/
public $useDefault;
/**
* @param string
*/
public function setBreakglassJustification($breakglassJustification)
{
$this->breakglassJustification = $breakglassJustification;
}
/**
* @return string
*/
public function getBreakglassJustification()
{
return $this->breakglassJustification;
}
/**
* @param bool
*/
public function setUseDefault($useDefault)
{
$this->useDefault = $useDefault;
}
/**
* @return bool
*/
public function getUseDefault()
{
return $this->useDefault;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2BinaryAuthorization::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2BinaryAuthorization');

View File

@@ -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\CloudRun;
class GoogleCloudRunOpV2CloudSqlInstance extends \Google\Collection
{
protected $collection_key = 'connections';
/**
* @var string[]
*/
public $connections;
/**
* @param string[]
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return string[]
*/
public function getConnections()
{
return $this->connections;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2CloudSqlInstance::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2CloudSqlInstance');

View File

@@ -0,0 +1,206 @@
<?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\CloudRun;
class GoogleCloudRunOpV2Condition extends \Google\Model
{
/**
* @var string
*/
public $domainMappingReason;
/**
* @var string
*/
public $executionReason;
/**
* @var string
*/
public $internalReason;
/**
* @var string
*/
public $lastTransitionTime;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @var string
*/
public $revisionReason;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDomainMappingReason($domainMappingReason)
{
$this->domainMappingReason = $domainMappingReason;
}
/**
* @return string
*/
public function getDomainMappingReason()
{
return $this->domainMappingReason;
}
/**
* @param string
*/
public function setExecutionReason($executionReason)
{
$this->executionReason = $executionReason;
}
/**
* @return string
*/
public function getExecutionReason()
{
return $this->executionReason;
}
/**
* @param string
*/
public function setInternalReason($internalReason)
{
$this->internalReason = $internalReason;
}
/**
* @return string
*/
public function getInternalReason()
{
return $this->internalReason;
}
/**
* @param string
*/
public function setLastTransitionTime($lastTransitionTime)
{
$this->lastTransitionTime = $lastTransitionTime;
}
/**
* @return string
*/
public function getLastTransitionTime()
{
return $this->lastTransitionTime;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param string
*/
public function setRevisionReason($revisionReason)
{
$this->revisionReason = $revisionReason;
}
/**
* @return string
*/
public function getRevisionReason()
{
return $this->revisionReason;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(GoogleCloudRunOpV2Condition::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Condition');

View File

@@ -0,0 +1,163 @@
<?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\CloudRun;
class GoogleCloudRunOpV2Container extends \Google\Collection
{
protected $collection_key = 'volumeMounts';
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $command;
protected $envType = GoogleCloudRunOpV2EnvVar::class;
protected $envDataType = 'array';
/**
* @var string
*/
public $image;
/**
* @var string
*/
public $name;
protected $portsType = GoogleCloudRunOpV2ContainerPort::class;
protected $portsDataType = 'array';
protected $resourcesType = GoogleCloudRunOpV2ResourceRequirements::class;
protected $resourcesDataType = '';
protected $volumeMountsType = GoogleCloudRunOpV2VolumeMount::class;
protected $volumeMountsDataType = 'array';
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
/**
* @param GoogleCloudRunOpV2EnvVar[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return GoogleCloudRunOpV2EnvVar[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRunOpV2ContainerPort[]
*/
public function setPorts($ports)
{
$this->ports = $ports;
}
/**
* @return GoogleCloudRunOpV2ContainerPort[]
*/
public function getPorts()
{
return $this->ports;
}
/**
* @param GoogleCloudRunOpV2ResourceRequirements
*/
public function setResources(GoogleCloudRunOpV2ResourceRequirements $resources)
{
$this->resources = $resources;
}
/**
* @return GoogleCloudRunOpV2ResourceRequirements
*/
public function getResources()
{
return $this->resources;
}
/**
* @param GoogleCloudRunOpV2VolumeMount[]
*/
public function setVolumeMounts($volumeMounts)
{
$this->volumeMounts = $volumeMounts;
}
/**
* @return GoogleCloudRunOpV2VolumeMount[]
*/
public function getVolumeMounts()
{
return $this->volumeMounts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2Container::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Container');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2ContainerPort extends \Google\Model
{
/**
* @var int
*/
public $containerPort;
/**
* @var string
*/
public $name;
/**
* @param int
*/
public function setContainerPort($containerPort)
{
$this->containerPort = $containerPort;
}
/**
* @return int
*/
public function getContainerPort()
{
return $this->containerPort;
}
/**
* @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(GoogleCloudRunOpV2ContainerPort::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2ContainerPort');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2EnvVar extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
protected $valueSourceType = GoogleCloudRunOpV2EnvVarSource::class;
protected $valueSourceDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* @param GoogleCloudRunOpV2EnvVarSource
*/
public function setValueSource(GoogleCloudRunOpV2EnvVarSource $valueSource)
{
$this->valueSource = $valueSource;
}
/**
* @return GoogleCloudRunOpV2EnvVarSource
*/
public function getValueSource()
{
return $this->valueSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2EnvVar::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2EnvVar');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2EnvVarSource extends \Google\Model
{
protected $secretKeyRefType = GoogleCloudRunOpV2SecretKeySelector::class;
protected $secretKeyRefDataType = '';
/**
* @param GoogleCloudRunOpV2SecretKeySelector
*/
public function setSecretKeyRef(GoogleCloudRunOpV2SecretKeySelector $secretKeyRef)
{
$this->secretKeyRef = $secretKeyRef;
}
/**
* @return GoogleCloudRunOpV2SecretKeySelector
*/
public function getSecretKeyRef()
{
return $this->secretKeyRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2EnvVarSource::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2EnvVarSource');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2ListRevisionsResponse extends \Google\Collection
{
protected $collection_key = 'revisions';
/**
* @var string
*/
public $nextPageToken;
protected $revisionsType = GoogleCloudRunOpV2Revision::class;
protected $revisionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRunOpV2Revision[]
*/
public function setRevisions($revisions)
{
$this->revisions = $revisions;
}
/**
* @return GoogleCloudRunOpV2Revision[]
*/
public function getRevisions()
{
return $this->revisions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2ListRevisionsResponse::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2ListRevisionsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = GoogleCloudRunOpV2Service::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRunOpV2Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleCloudRunOpV2Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2ListServicesResponse::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2ListServicesResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2ResourceRequirements extends \Google\Model
{
/**
* @var bool
*/
public $cpuIdle;
/**
* @var string[]
*/
public $limits;
/**
* @param bool
*/
public function setCpuIdle($cpuIdle)
{
$this->cpuIdle = $cpuIdle;
}
/**
* @return bool
*/
public function getCpuIdle()
{
return $this->cpuIdle;
}
/**
* @param string[]
*/
public function setLimits($limits)
{
$this->limits = $limits;
}
/**
* @return string[]
*/
public function getLimits()
{
return $this->limits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2ResourceRequirements::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2ResourceRequirements');

View File

@@ -0,0 +1,485 @@
<?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\CloudRun;
class GoogleCloudRunOpV2Revision extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string[]
*/
public $annotations;
protected $conditionsType = GoogleCloudRunOpV2Condition::class;
protected $conditionsDataType = 'array';
/**
* @var bool
*/
public $confidential;
/**
* @var int
*/
public $containerConcurrency;
protected $containersType = GoogleCloudRunOpV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $logUri;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
protected $scalingType = GoogleCloudRunOpV2RevisionScaling::class;
protected $scalingDataType = '';
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $timeout;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
protected $volumesType = GoogleCloudRunOpV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunOpV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunOpV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunOpV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param bool
*/
public function setConfidential($confidential)
{
$this->confidential = $confidential;
}
/**
* @return bool
*/
public function getConfidential()
{
return $this->confidential;
}
/**
* @param int
*/
public function setContainerConcurrency($containerConcurrency)
{
$this->containerConcurrency = $containerConcurrency;
}
/**
* @return int
*/
public function getContainerConcurrency()
{
return $this->containerConcurrency;
}
/**
* @param GoogleCloudRunOpV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunOpV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setLogUri($logUri)
{
$this->logUri = $logUri;
}
/**
* @return string
*/
public function getLogUri()
{
return $this->logUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param GoogleCloudRunOpV2RevisionScaling
*/
public function setScaling(GoogleCloudRunOpV2RevisionScaling $scaling)
{
$this->scaling = $scaling;
}
/**
* @return GoogleCloudRunOpV2RevisionScaling
*/
public function getScaling()
{
return $this->scaling;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleCloudRunOpV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunOpV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunOpV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunOpV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunOpV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2Revision::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Revision');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2RevisionScaling extends \Google\Model
{
/**
* @var int
*/
public $maxInstanceCount;
/**
* @var int
*/
public $minInstanceCount;
/**
* @param int
*/
public function setMaxInstanceCount($maxInstanceCount)
{
$this->maxInstanceCount = $maxInstanceCount;
}
/**
* @return int
*/
public function getMaxInstanceCount()
{
return $this->maxInstanceCount;
}
/**
* @param int
*/
public function setMinInstanceCount($minInstanceCount)
{
$this->minInstanceCount = $minInstanceCount;
}
/**
* @return int
*/
public function getMinInstanceCount()
{
return $this->minInstanceCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2RevisionScaling::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2RevisionScaling');

View File

@@ -0,0 +1,253 @@
<?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\CloudRun;
class GoogleCloudRunOpV2RevisionTemplate extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string[]
*/
public $annotations;
/**
* @var bool
*/
public $confidential;
/**
* @var int
*/
public $containerConcurrency;
protected $containersType = GoogleCloudRunOpV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $revision;
protected $scalingType = GoogleCloudRunOpV2RevisionScaling::class;
protected $scalingDataType = '';
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $timeout;
protected $volumesType = GoogleCloudRunOpV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunOpV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param bool
*/
public function setConfidential($confidential)
{
$this->confidential = $confidential;
}
/**
* @return bool
*/
public function getConfidential()
{
return $this->confidential;
}
/**
* @param int
*/
public function setContainerConcurrency($containerConcurrency)
{
$this->containerConcurrency = $containerConcurrency;
}
/**
* @return int
*/
public function getContainerConcurrency()
{
return $this->containerConcurrency;
}
/**
* @param GoogleCloudRunOpV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunOpV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param GoogleCloudRunOpV2RevisionScaling
*/
public function setScaling(GoogleCloudRunOpV2RevisionScaling $scaling)
{
$this->scaling = $scaling;
}
/**
* @return GoogleCloudRunOpV2RevisionScaling
*/
public function getScaling()
{
return $this->scaling;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param GoogleCloudRunOpV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunOpV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunOpV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunOpV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunOpV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2RevisionTemplate::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2RevisionTemplate');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2SecretKeySelector extends \Google\Model
{
/**
* @var string
*/
public $secret;
/**
* @var string
*/
public $version;
/**
* @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(GoogleCloudRunOpV2SecretKeySelector::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2SecretKeySelector');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2SecretVolumeSource extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var int
*/
public $defaultMode;
protected $itemsType = GoogleCloudRunOpV2VersionToPath::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $secret;
/**
* @param int
*/
public function setDefaultMode($defaultMode)
{
$this->defaultMode = $defaultMode;
}
/**
* @return int
*/
public function getDefaultMode()
{
return $this->defaultMode;
}
/**
* @param GoogleCloudRunOpV2VersionToPath[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return GoogleCloudRunOpV2VersionToPath[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2SecretVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2SecretVolumeSource');

View File

@@ -0,0 +1,519 @@
<?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\CloudRun;
class GoogleCloudRunOpV2Service extends \Google\Collection
{
protected $collection_key = 'trafficStatuses';
/**
* @var string[]
*/
public $annotations;
protected $binaryAuthorizationType = GoogleCloudRunOpV2BinaryAuthorization::class;
protected $binaryAuthorizationDataType = '';
/**
* @var string
*/
public $client;
/**
* @var string
*/
public $clientVersion;
protected $conditionsType = GoogleCloudRunOpV2Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $creator;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $ingress;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lastModifier;
/**
* @var string
*/
public $latestCreatedRevision;
/**
* @var string
*/
public $latestReadyRevision;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
protected $templateType = GoogleCloudRunOpV2RevisionTemplate::class;
protected $templateDataType = '';
protected $terminalConditionType = GoogleCloudRunOpV2Condition::class;
protected $terminalConditionDataType = '';
protected $trafficType = GoogleCloudRunOpV2TrafficTarget::class;
protected $trafficDataType = 'array';
protected $trafficStatusesType = GoogleCloudRunOpV2TrafficTargetStatus::class;
protected $trafficStatusesDataType = 'array';
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $uri;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunOpV2BinaryAuthorization
*/
public function setBinaryAuthorization(GoogleCloudRunOpV2BinaryAuthorization $binaryAuthorization)
{
$this->binaryAuthorization = $binaryAuthorization;
}
/**
* @return GoogleCloudRunOpV2BinaryAuthorization
*/
public function getBinaryAuthorization()
{
return $this->binaryAuthorization;
}
/**
* @param string
*/
public function setClient($client)
{
$this->client = $client;
}
/**
* @return string
*/
public function getClient()
{
return $this->client;
}
/**
* @param string
*/
public function setClientVersion($clientVersion)
{
$this->clientVersion = $clientVersion;
}
/**
* @return string
*/
public function getClientVersion()
{
return $this->clientVersion;
}
/**
* @param GoogleCloudRunOpV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunOpV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string
*/
public function setIngress($ingress)
{
$this->ingress = $ingress;
}
/**
* @return string
*/
public function getIngress()
{
return $this->ingress;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLastModifier($lastModifier)
{
$this->lastModifier = $lastModifier;
}
/**
* @return string
*/
public function getLastModifier()
{
return $this->lastModifier;
}
/**
* @param string
*/
public function setLatestCreatedRevision($latestCreatedRevision)
{
$this->latestCreatedRevision = $latestCreatedRevision;
}
/**
* @return string
*/
public function getLatestCreatedRevision()
{
return $this->latestCreatedRevision;
}
/**
* @param string
*/
public function setLatestReadyRevision($latestReadyRevision)
{
$this->latestReadyRevision = $latestReadyRevision;
}
/**
* @return string
*/
public function getLatestReadyRevision()
{
return $this->latestReadyRevision;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param GoogleCloudRunOpV2RevisionTemplate
*/
public function setTemplate(GoogleCloudRunOpV2RevisionTemplate $template)
{
$this->template = $template;
}
/**
* @return GoogleCloudRunOpV2RevisionTemplate
*/
public function getTemplate()
{
return $this->template;
}
/**
* @param GoogleCloudRunOpV2Condition
*/
public function setTerminalCondition(GoogleCloudRunOpV2Condition $terminalCondition)
{
$this->terminalCondition = $terminalCondition;
}
/**
* @return GoogleCloudRunOpV2Condition
*/
public function getTerminalCondition()
{
return $this->terminalCondition;
}
/**
* @param GoogleCloudRunOpV2TrafficTarget[]
*/
public function setTraffic($traffic)
{
$this->traffic = $traffic;
}
/**
* @return GoogleCloudRunOpV2TrafficTarget[]
*/
public function getTraffic()
{
return $this->traffic;
}
/**
* @param GoogleCloudRunOpV2TrafficTargetStatus[]
*/
public function setTrafficStatuses($trafficStatuses)
{
$this->trafficStatuses = $trafficStatuses;
}
/**
* @return GoogleCloudRunOpV2TrafficTargetStatus[]
*/
public function getTrafficStatuses()
{
return $this->trafficStatuses;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2Service::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Service');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2TrafficTarget extends \Google\Model
{
/**
* @var int
*/
public $percent;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $tag;
/**
* @var string
*/
public $type;
/**
* @param int
*/
public function setPercent($percent)
{
$this->percent = $percent;
}
/**
* @return int
*/
public function getPercent()
{
return $this->percent;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* @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(GoogleCloudRunOpV2TrafficTarget::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2TrafficTarget');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2TrafficTargetStatus extends \Google\Model
{
/**
* @var int
*/
public $percent;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $tag;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
/**
* @param int
*/
public function setPercent($percent)
{
$this->percent = $percent;
}
/**
* @return int
*/
public function getPercent()
{
return $this->percent;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2TrafficTargetStatus::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2TrafficTargetStatus');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2VersionToPath extends \Google\Model
{
/**
* @var int
*/
public $mode;
/**
* @var string
*/
public $path;
/**
* @var string
*/
public $version;
/**
* @param int
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return int
*/
public function getMode()
{
return $this->mode;
}
/**
* @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(GoogleCloudRunOpV2VersionToPath::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2VersionToPath');

View File

@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2Volume extends \Google\Model
{
protected $cloudSqlInstanceType = GoogleCloudRunOpV2CloudSqlInstance::class;
protected $cloudSqlInstanceDataType = '';
/**
* @var string
*/
public $name;
protected $secretType = GoogleCloudRunOpV2SecretVolumeSource::class;
protected $secretDataType = '';
/**
* @param GoogleCloudRunOpV2CloudSqlInstance
*/
public function setCloudSqlInstance(GoogleCloudRunOpV2CloudSqlInstance $cloudSqlInstance)
{
$this->cloudSqlInstance = $cloudSqlInstance;
}
/**
* @return GoogleCloudRunOpV2CloudSqlInstance
*/
public function getCloudSqlInstance()
{
return $this->cloudSqlInstance;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRunOpV2SecretVolumeSource
*/
public function setSecret(GoogleCloudRunOpV2SecretVolumeSource $secret)
{
$this->secret = $secret;
}
/**
* @return GoogleCloudRunOpV2SecretVolumeSource
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2Volume::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2Volume');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2VolumeMount extends \Google\Model
{
/**
* @var string
*/
public $mountPath;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setMountPath($mountPath)
{
$this->mountPath = $mountPath;
}
/**
* @return string
*/
public function getMountPath()
{
return $this->mountPath;
}
/**
* @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(GoogleCloudRunOpV2VolumeMount::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2VolumeMount');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunOpV2VpcAccess extends \Google\Model
{
/**
* @var string
*/
public $connector;
/**
* @var string
*/
public $egress;
/**
* @param string
*/
public function setConnector($connector)
{
$this->connector = $connector;
}
/**
* @return string
*/
public function getConnector()
{
return $this->connector;
}
/**
* @param string
*/
public function setEgress($egress)
{
$this->egress = $egress;
}
/**
* @return string
*/
public function getEgress()
{
return $this->egress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunOpV2VpcAccess::class, 'Google_Service_CloudRun_GoogleCloudRunOpV2VpcAccess');

View File

@@ -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\CloudRun;
class GoogleCloudRunV1Condition extends \Google\Model
{
/**
* @var string
*/
public $lastTransitionTime;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setLastTransitionTime($lastTransitionTime)
{
$this->lastTransitionTime = $lastTransitionTime;
}
/**
* @return string
*/
public function getLastTransitionTime()
{
return $this->lastTransitionTime;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @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(GoogleCloudRunV1Condition::class, 'Google_Service_CloudRun_GoogleCloudRunV1Condition');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2BinaryAuthorization extends \Google\Model
{
/**
* @var string
*/
public $breakglassJustification;
/**
* @var string
*/
public $policy;
/**
* @var bool
*/
public $useDefault;
/**
* @param string
*/
public function setBreakglassJustification($breakglassJustification)
{
$this->breakglassJustification = $breakglassJustification;
}
/**
* @return string
*/
public function getBreakglassJustification()
{
return $this->breakglassJustification;
}
/**
* @param string
*/
public function setPolicy($policy)
{
$this->policy = $policy;
}
/**
* @return string
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param bool
*/
public function setUseDefault($useDefault)
{
$this->useDefault = $useDefault;
}
/**
* @return bool
*/
public function getUseDefault()
{
return $this->useDefault;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2BinaryAuthorization::class, 'Google_Service_CloudRun_GoogleCloudRunV2BinaryAuthorization');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2BuildpacksBuild extends \Google\Model
{
/**
* @var string
*/
public $baseImage;
/**
* @var string
*/
public $cacheImageUri;
/**
* @var bool
*/
public $enableAutomaticUpdates;
/**
* @var string[]
*/
public $environmentVariables;
/**
* @var string
*/
public $functionTarget;
/**
* @var string
*/
public $projectDescriptor;
/**
* @var string
*/
public $runtime;
/**
* @param string
*/
public function setBaseImage($baseImage)
{
$this->baseImage = $baseImage;
}
/**
* @return string
*/
public function getBaseImage()
{
return $this->baseImage;
}
/**
* @param string
*/
public function setCacheImageUri($cacheImageUri)
{
$this->cacheImageUri = $cacheImageUri;
}
/**
* @return string
*/
public function getCacheImageUri()
{
return $this->cacheImageUri;
}
/**
* @param bool
*/
public function setEnableAutomaticUpdates($enableAutomaticUpdates)
{
$this->enableAutomaticUpdates = $enableAutomaticUpdates;
}
/**
* @return bool
*/
public function getEnableAutomaticUpdates()
{
return $this->enableAutomaticUpdates;
}
/**
* @param string[]
*/
public function setEnvironmentVariables($environmentVariables)
{
$this->environmentVariables = $environmentVariables;
}
/**
* @return string[]
*/
public function getEnvironmentVariables()
{
return $this->environmentVariables;
}
/**
* @param string
*/
public function setFunctionTarget($functionTarget)
{
$this->functionTarget = $functionTarget;
}
/**
* @return string
*/
public function getFunctionTarget()
{
return $this->functionTarget;
}
/**
* @param string
*/
public function setProjectDescriptor($projectDescriptor)
{
$this->projectDescriptor = $projectDescriptor;
}
/**
* @return string
*/
public function getProjectDescriptor()
{
return $this->projectDescriptor;
}
/**
* @param string
*/
public function setRuntime($runtime)
{
$this->runtime = $runtime;
}
/**
* @return string
*/
public function getRuntime()
{
return $this->runtime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2BuildpacksBuild::class, 'Google_Service_CloudRun_GoogleCloudRunV2BuildpacksBuild');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2CancelExecutionRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2CancelExecutionRequest::class, 'Google_Service_CloudRun_GoogleCloudRunV2CancelExecutionRequest');

View File

@@ -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\CloudRun;
class GoogleCloudRunV2CloudSqlInstance extends \Google\Collection
{
protected $collection_key = 'instances';
/**
* @var string[]
*/
public $instances;
/**
* @param string[]
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return string[]
*/
public function getInstances()
{
return $this->instances;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2CloudSqlInstance::class, 'Google_Service_CloudRun_GoogleCloudRunV2CloudSqlInstance');

View File

@@ -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\CloudRun;
class GoogleCloudRunV2Condition extends \Google\Model
{
/**
* @var string
*/
public $executionReason;
/**
* @var string
*/
public $lastTransitionTime;
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $reason;
/**
* @var string
*/
public $revisionReason;
/**
* @var string
*/
public $severity;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setExecutionReason($executionReason)
{
$this->executionReason = $executionReason;
}
/**
* @return string
*/
public function getExecutionReason()
{
return $this->executionReason;
}
/**
* @param string
*/
public function setLastTransitionTime($lastTransitionTime)
{
$this->lastTransitionTime = $lastTransitionTime;
}
/**
* @return string
*/
public function getLastTransitionTime()
{
return $this->lastTransitionTime;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function setReason($reason)
{
$this->reason = $reason;
}
/**
* @return string
*/
public function getReason()
{
return $this->reason;
}
/**
* @param string
*/
public function setRevisionReason($revisionReason)
{
$this->revisionReason = $revisionReason;
}
/**
* @return string
*/
public function getRevisionReason()
{
return $this->revisionReason;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(GoogleCloudRunV2Condition::class, 'Google_Service_CloudRun_GoogleCloudRunV2Condition');

View File

@@ -0,0 +1,231 @@
<?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\CloudRun;
class GoogleCloudRunV2Container extends \Google\Collection
{
protected $collection_key = 'volumeMounts';
/**
* @var string[]
*/
public $args;
/**
* @var string[]
*/
public $command;
/**
* @var string[]
*/
public $dependsOn;
protected $envType = GoogleCloudRunV2EnvVar::class;
protected $envDataType = 'array';
/**
* @var string
*/
public $image;
protected $livenessProbeType = GoogleCloudRunV2Probe::class;
protected $livenessProbeDataType = '';
/**
* @var string
*/
public $name;
protected $portsType = GoogleCloudRunV2ContainerPort::class;
protected $portsDataType = 'array';
protected $resourcesType = GoogleCloudRunV2ResourceRequirements::class;
protected $resourcesDataType = '';
protected $startupProbeType = GoogleCloudRunV2Probe::class;
protected $startupProbeDataType = '';
protected $volumeMountsType = GoogleCloudRunV2VolumeMount::class;
protected $volumeMountsDataType = 'array';
/**
* @var string
*/
public $workingDir;
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param string[]
*/
public function setCommand($command)
{
$this->command = $command;
}
/**
* @return string[]
*/
public function getCommand()
{
return $this->command;
}
/**
* @param string[]
*/
public function setDependsOn($dependsOn)
{
$this->dependsOn = $dependsOn;
}
/**
* @return string[]
*/
public function getDependsOn()
{
return $this->dependsOn;
}
/**
* @param GoogleCloudRunV2EnvVar[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return GoogleCloudRunV2EnvVar[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param GoogleCloudRunV2Probe
*/
public function setLivenessProbe(GoogleCloudRunV2Probe $livenessProbe)
{
$this->livenessProbe = $livenessProbe;
}
/**
* @return GoogleCloudRunV2Probe
*/
public function getLivenessProbe()
{
return $this->livenessProbe;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRunV2ContainerPort[]
*/
public function setPorts($ports)
{
$this->ports = $ports;
}
/**
* @return GoogleCloudRunV2ContainerPort[]
*/
public function getPorts()
{
return $this->ports;
}
/**
* @param GoogleCloudRunV2ResourceRequirements
*/
public function setResources(GoogleCloudRunV2ResourceRequirements $resources)
{
$this->resources = $resources;
}
/**
* @return GoogleCloudRunV2ResourceRequirements
*/
public function getResources()
{
return $this->resources;
}
/**
* @param GoogleCloudRunV2Probe
*/
public function setStartupProbe(GoogleCloudRunV2Probe $startupProbe)
{
$this->startupProbe = $startupProbe;
}
/**
* @return GoogleCloudRunV2Probe
*/
public function getStartupProbe()
{
return $this->startupProbe;
}
/**
* @param GoogleCloudRunV2VolumeMount[]
*/
public function setVolumeMounts($volumeMounts)
{
$this->volumeMounts = $volumeMounts;
}
/**
* @return GoogleCloudRunV2VolumeMount[]
*/
public function getVolumeMounts()
{
return $this->volumeMounts;
}
/**
* @param string
*/
public function setWorkingDir($workingDir)
{
$this->workingDir = $workingDir;
}
/**
* @return string
*/
public function getWorkingDir()
{
return $this->workingDir;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Container::class, 'Google_Service_CloudRun_GoogleCloudRunV2Container');

View File

@@ -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\CloudRun;
class GoogleCloudRunV2ContainerOverride extends \Google\Collection
{
protected $collection_key = 'env';
/**
* @var string[]
*/
public $args;
/**
* @var bool
*/
public $clearArgs;
protected $envType = GoogleCloudRunV2EnvVar::class;
protected $envDataType = 'array';
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setArgs($args)
{
$this->args = $args;
}
/**
* @return string[]
*/
public function getArgs()
{
return $this->args;
}
/**
* @param bool
*/
public function setClearArgs($clearArgs)
{
$this->clearArgs = $clearArgs;
}
/**
* @return bool
*/
public function getClearArgs()
{
return $this->clearArgs;
}
/**
* @param GoogleCloudRunV2EnvVar[]
*/
public function setEnv($env)
{
$this->env = $env;
}
/**
* @return GoogleCloudRunV2EnvVar[]
*/
public function getEnv()
{
return $this->env;
}
/**
* @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(GoogleCloudRunV2ContainerOverride::class, 'Google_Service_CloudRun_GoogleCloudRunV2ContainerOverride');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ContainerPort extends \Google\Model
{
/**
* @var int
*/
public $containerPort;
/**
* @var string
*/
public $name;
/**
* @param int
*/
public function setContainerPort($containerPort)
{
$this->containerPort = $containerPort;
}
/**
* @return int
*/
public function getContainerPort()
{
return $this->containerPort;
}
/**
* @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(GoogleCloudRunV2ContainerPort::class, 'Google_Service_CloudRun_GoogleCloudRunV2ContainerPort');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ContainerStatus extends \Google\Model
{
/**
* @var string
*/
public $imageDigest;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setImageDigest($imageDigest)
{
$this->imageDigest = $imageDigest;
}
/**
* @return string
*/
public function getImageDigest()
{
return $this->imageDigest;
}
/**
* @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(GoogleCloudRunV2ContainerStatus::class, 'Google_Service_CloudRun_GoogleCloudRunV2ContainerStatus');

View File

@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2DockerBuild extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2DockerBuild::class, 'Google_Service_CloudRun_GoogleCloudRunV2DockerBuild');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2EmptyDirVolumeSource extends \Google\Model
{
/**
* @var string
*/
public $medium;
/**
* @var string
*/
public $sizeLimit;
/**
* @param string
*/
public function setMedium($medium)
{
$this->medium = $medium;
}
/**
* @return string
*/
public function getMedium()
{
return $this->medium;
}
/**
* @param string
*/
public function setSizeLimit($sizeLimit)
{
$this->sizeLimit = $sizeLimit;
}
/**
* @return string
*/
public function getSizeLimit()
{
return $this->sizeLimit;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2EmptyDirVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2EmptyDirVolumeSource');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2EnvVar extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
protected $valueSourceType = GoogleCloudRunV2EnvVarSource::class;
protected $valueSourceDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* @param GoogleCloudRunV2EnvVarSource
*/
public function setValueSource(GoogleCloudRunV2EnvVarSource $valueSource)
{
$this->valueSource = $valueSource;
}
/**
* @return GoogleCloudRunV2EnvVarSource
*/
public function getValueSource()
{
return $this->valueSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2EnvVar::class, 'Google_Service_CloudRun_GoogleCloudRunV2EnvVar');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2EnvVarSource extends \Google\Model
{
protected $secretKeyRefType = GoogleCloudRunV2SecretKeySelector::class;
protected $secretKeyRefDataType = '';
/**
* @param GoogleCloudRunV2SecretKeySelector
*/
public function setSecretKeyRef(GoogleCloudRunV2SecretKeySelector $secretKeyRef)
{
$this->secretKeyRef = $secretKeyRef;
}
/**
* @return GoogleCloudRunV2SecretKeySelector
*/
public function getSecretKeyRef()
{
return $this->secretKeyRef;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2EnvVarSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2EnvVarSource');

View File

@@ -0,0 +1,509 @@
<?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\CloudRun;
class GoogleCloudRunV2Execution extends \Google\Collection
{
protected $collection_key = 'conditions';
/**
* @var string[]
*/
public $annotations;
/**
* @var int
*/
public $cancelledCount;
/**
* @var string
*/
public $completionTime;
protected $conditionsType = GoogleCloudRunV2Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var int
*/
public $failedCount;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $job;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $logUri;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var int
*/
public $parallelism;
/**
* @var bool
*/
public $reconciling;
/**
* @var int
*/
public $retriedCount;
/**
* @var int
*/
public $runningCount;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $startTime;
/**
* @var int
*/
public $succeededCount;
/**
* @var int
*/
public $taskCount;
protected $templateType = GoogleCloudRunV2TaskTemplate::class;
protected $templateDataType = '';
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param int
*/
public function setCancelledCount($cancelledCount)
{
$this->cancelledCount = $cancelledCount;
}
/**
* @return int
*/
public function getCancelledCount()
{
return $this->cancelledCount;
}
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param GoogleCloudRunV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param int
*/
public function setFailedCount($failedCount)
{
$this->failedCount = $failedCount;
}
/**
* @return int
*/
public function getFailedCount()
{
return $this->failedCount;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string
*/
public function setJob($job)
{
$this->job = $job;
}
/**
* @return string
*/
public function getJob()
{
return $this->job;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setLogUri($logUri)
{
$this->logUri = $logUri;
}
/**
* @return string
*/
public function getLogUri()
{
return $this->logUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param int
*/
public function setParallelism($parallelism)
{
$this->parallelism = $parallelism;
}
/**
* @return int
*/
public function getParallelism()
{
return $this->parallelism;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param int
*/
public function setRetriedCount($retriedCount)
{
$this->retriedCount = $retriedCount;
}
/**
* @return int
*/
public function getRetriedCount()
{
return $this->retriedCount;
}
/**
* @param int
*/
public function setRunningCount($runningCount)
{
$this->runningCount = $runningCount;
}
/**
* @return int
*/
public function getRunningCount()
{
return $this->runningCount;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param int
*/
public function setSucceededCount($succeededCount)
{
$this->succeededCount = $succeededCount;
}
/**
* @return int
*/
public function getSucceededCount()
{
return $this->succeededCount;
}
/**
* @param int
*/
public function setTaskCount($taskCount)
{
$this->taskCount = $taskCount;
}
/**
* @return int
*/
public function getTaskCount()
{
return $this->taskCount;
}
/**
* @param GoogleCloudRunV2TaskTemplate
*/
public function setTemplate(GoogleCloudRunV2TaskTemplate $template)
{
$this->template = $template;
}
/**
* @return GoogleCloudRunV2TaskTemplate
*/
public function getTemplate()
{
return $this->template;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Execution::class, 'Google_Service_CloudRun_GoogleCloudRunV2Execution');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ExecutionReference extends \Google\Model
{
/**
* @var string
*/
public $completionStatus;
/**
* @var string
*/
public $completionTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setCompletionStatus($completionStatus)
{
$this->completionStatus = $completionStatus;
}
/**
* @return string
*/
public function getCompletionStatus()
{
return $this->completionStatus;
}
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @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(GoogleCloudRunV2ExecutionReference::class, 'Google_Service_CloudRun_GoogleCloudRunV2ExecutionReference');

View File

@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ExecutionTemplate extends \Google\Model
{
/**
* @var string[]
*/
public $annotations;
/**
* @var string[]
*/
public $labels;
/**
* @var int
*/
public $parallelism;
/**
* @var int
*/
public $taskCount;
protected $templateType = GoogleCloudRunV2TaskTemplate::class;
protected $templateDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param int
*/
public function setParallelism($parallelism)
{
$this->parallelism = $parallelism;
}
/**
* @return int
*/
public function getParallelism()
{
return $this->parallelism;
}
/**
* @param int
*/
public function setTaskCount($taskCount)
{
$this->taskCount = $taskCount;
}
/**
* @return int
*/
public function getTaskCount()
{
return $this->taskCount;
}
/**
* @param GoogleCloudRunV2TaskTemplate
*/
public function setTemplate(GoogleCloudRunV2TaskTemplate $template)
{
$this->template = $template;
}
/**
* @return GoogleCloudRunV2TaskTemplate
*/
public function getTemplate()
{
return $this->template;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ExecutionTemplate::class, 'Google_Service_CloudRun_GoogleCloudRunV2ExecutionTemplate');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ExportImageRequest extends \Google\Model
{
/**
* @var string
*/
public $destinationRepo;
/**
* @param string
*/
public function setDestinationRepo($destinationRepo)
{
$this->destinationRepo = $destinationRepo;
}
/**
* @return string
*/
public function getDestinationRepo()
{
return $this->destinationRepo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ExportImageRequest::class, 'Google_Service_CloudRun_GoogleCloudRunV2ExportImageRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ExportImageResponse extends \Google\Model
{
/**
* @var string
*/
public $operationId;
/**
* @param string
*/
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
/**
* @return string
*/
public function getOperationId()
{
return $this->operationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ExportImageResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ExportImageResponse');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ExportStatusResponse extends \Google\Collection
{
protected $collection_key = 'imageExportStatuses';
protected $imageExportStatusesType = GoogleCloudRunV2ImageExportStatus::class;
protected $imageExportStatusesDataType = 'array';
/**
* @var string
*/
public $operationId;
/**
* @var string
*/
public $operationState;
/**
* @param GoogleCloudRunV2ImageExportStatus[]
*/
public function setImageExportStatuses($imageExportStatuses)
{
$this->imageExportStatuses = $imageExportStatuses;
}
/**
* @return GoogleCloudRunV2ImageExportStatus[]
*/
public function getImageExportStatuses()
{
return $this->imageExportStatuses;
}
/**
* @param string
*/
public function setOperationId($operationId)
{
$this->operationId = $operationId;
}
/**
* @return string
*/
public function getOperationId()
{
return $this->operationId;
}
/**
* @param string
*/
public function setOperationState($operationState)
{
$this->operationState = $operationState;
}
/**
* @return string
*/
public function getOperationState()
{
return $this->operationState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ExportStatusResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ExportStatusResponse');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2GCSVolumeSource extends \Google\Collection
{
protected $collection_key = 'mountOptions';
/**
* @var string
*/
public $bucket;
/**
* @var string[]
*/
public $mountOptions;
/**
* @var bool
*/
public $readOnly;
/**
* @param string
*/
public function setBucket($bucket)
{
$this->bucket = $bucket;
}
/**
* @return string
*/
public function getBucket()
{
return $this->bucket;
}
/**
* @param string[]
*/
public function setMountOptions($mountOptions)
{
$this->mountOptions = $mountOptions;
}
/**
* @return string[]
*/
public function getMountOptions()
{
return $this->mountOptions;
}
/**
* @param bool
*/
public function setReadOnly($readOnly)
{
$this->readOnly = $readOnly;
}
/**
* @return bool
*/
public function getReadOnly()
{
return $this->readOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2GCSVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2GCSVolumeSource');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2GRPCAction extends \Google\Model
{
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $service;
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @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(GoogleCloudRunV2GRPCAction::class, 'Google_Service_CloudRun_GoogleCloudRunV2GRPCAction');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2HTTPGetAction extends \Google\Collection
{
protected $collection_key = 'httpHeaders';
protected $httpHeadersType = GoogleCloudRunV2HTTPHeader::class;
protected $httpHeadersDataType = 'array';
/**
* @var string
*/
public $path;
/**
* @var int
*/
public $port;
/**
* @param GoogleCloudRunV2HTTPHeader[]
*/
public function setHttpHeaders($httpHeaders)
{
$this->httpHeaders = $httpHeaders;
}
/**
* @return GoogleCloudRunV2HTTPHeader[]
*/
public function getHttpHeaders()
{
return $this->httpHeaders;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2HTTPGetAction::class, 'Google_Service_CloudRun_GoogleCloudRunV2HTTPGetAction');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2HTTPHeader extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @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(GoogleCloudRunV2HTTPHeader::class, 'Google_Service_CloudRun_GoogleCloudRunV2HTTPHeader');

View File

@@ -0,0 +1,96 @@
<?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\CloudRun;
class GoogleCloudRunV2ImageExportStatus extends \Google\Model
{
/**
* @var string
*/
public $exportJobState;
/**
* @var string
*/
public $exportedImageDigest;
protected $statusType = UtilStatusProto::class;
protected $statusDataType = '';
/**
* @var string
*/
public $tag;
/**
* @param string
*/
public function setExportJobState($exportJobState)
{
$this->exportJobState = $exportJobState;
}
/**
* @return string
*/
public function getExportJobState()
{
return $this->exportJobState;
}
/**
* @param string
*/
public function setExportedImageDigest($exportedImageDigest)
{
$this->exportedImageDigest = $exportedImageDigest;
}
/**
* @return string
*/
public function getExportedImageDigest()
{
return $this->exportedImageDigest;
}
/**
* @param UtilStatusProto
*/
public function setStatus(UtilStatusProto $status)
{
$this->status = $status;
}
/**
* @return UtilStatusProto
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ImageExportStatus::class, 'Google_Service_CloudRun_GoogleCloudRunV2ImageExportStatus');

View File

@@ -0,0 +1,485 @@
<?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\CloudRun;
class GoogleCloudRunV2Job extends \Google\Collection
{
protected $collection_key = 'conditions';
/**
* @var string[]
*/
public $annotations;
protected $binaryAuthorizationType = GoogleCloudRunV2BinaryAuthorization::class;
protected $binaryAuthorizationDataType = '';
/**
* @var string
*/
public $client;
/**
* @var string
*/
public $clientVersion;
protected $conditionsType = GoogleCloudRunV2Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $creator;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $executionCount;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lastModifier;
protected $latestCreatedExecutionType = GoogleCloudRunV2ExecutionReference::class;
protected $latestCreatedExecutionDataType = '';
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
/**
* @var string
*/
public $runExecutionToken;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $startExecutionToken;
protected $templateType = GoogleCloudRunV2ExecutionTemplate::class;
protected $templateDataType = '';
protected $terminalConditionType = GoogleCloudRunV2Condition::class;
protected $terminalConditionDataType = '';
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunV2BinaryAuthorization
*/
public function setBinaryAuthorization(GoogleCloudRunV2BinaryAuthorization $binaryAuthorization)
{
$this->binaryAuthorization = $binaryAuthorization;
}
/**
* @return GoogleCloudRunV2BinaryAuthorization
*/
public function getBinaryAuthorization()
{
return $this->binaryAuthorization;
}
/**
* @param string
*/
public function setClient($client)
{
$this->client = $client;
}
/**
* @return string
*/
public function getClient()
{
return $this->client;
}
/**
* @param string
*/
public function setClientVersion($clientVersion)
{
$this->clientVersion = $clientVersion;
}
/**
* @return string
*/
public function getClientVersion()
{
return $this->clientVersion;
}
/**
* @param GoogleCloudRunV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setExecutionCount($executionCount)
{
$this->executionCount = $executionCount;
}
/**
* @return int
*/
public function getExecutionCount()
{
return $this->executionCount;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLastModifier($lastModifier)
{
$this->lastModifier = $lastModifier;
}
/**
* @return string
*/
public function getLastModifier()
{
return $this->lastModifier;
}
/**
* @param GoogleCloudRunV2ExecutionReference
*/
public function setLatestCreatedExecution(GoogleCloudRunV2ExecutionReference $latestCreatedExecution)
{
$this->latestCreatedExecution = $latestCreatedExecution;
}
/**
* @return GoogleCloudRunV2ExecutionReference
*/
public function getLatestCreatedExecution()
{
return $this->latestCreatedExecution;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param string
*/
public function setRunExecutionToken($runExecutionToken)
{
$this->runExecutionToken = $runExecutionToken;
}
/**
* @return string
*/
public function getRunExecutionToken()
{
return $this->runExecutionToken;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setStartExecutionToken($startExecutionToken)
{
$this->startExecutionToken = $startExecutionToken;
}
/**
* @return string
*/
public function getStartExecutionToken()
{
return $this->startExecutionToken;
}
/**
* @param GoogleCloudRunV2ExecutionTemplate
*/
public function setTemplate(GoogleCloudRunV2ExecutionTemplate $template)
{
$this->template = $template;
}
/**
* @return GoogleCloudRunV2ExecutionTemplate
*/
public function getTemplate()
{
return $this->template;
}
/**
* @param GoogleCloudRunV2Condition
*/
public function setTerminalCondition(GoogleCloudRunV2Condition $terminalCondition)
{
$this->terminalCondition = $terminalCondition;
}
/**
* @return GoogleCloudRunV2Condition
*/
public function getTerminalCondition()
{
return $this->terminalCondition;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Job::class, 'Google_Service_CloudRun_GoogleCloudRunV2Job');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ListExecutionsResponse extends \Google\Collection
{
protected $collection_key = 'executions';
protected $executionsType = GoogleCloudRunV2Execution::class;
protected $executionsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRunV2Execution[]
*/
public function setExecutions($executions)
{
$this->executions = $executions;
}
/**
* @return GoogleCloudRunV2Execution[]
*/
public function getExecutions()
{
return $this->executions;
}
/**
* @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(GoogleCloudRunV2ListExecutionsResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ListExecutionsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ListJobsResponse extends \Google\Collection
{
protected $collection_key = 'jobs';
protected $jobsType = GoogleCloudRunV2Job::class;
protected $jobsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudRunV2Job[]
*/
public function setJobs($jobs)
{
$this->jobs = $jobs;
}
/**
* @return GoogleCloudRunV2Job[]
*/
public function getJobs()
{
return $this->jobs;
}
/**
* @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(GoogleCloudRunV2ListJobsResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ListJobsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ListRevisionsResponse extends \Google\Collection
{
protected $collection_key = 'revisions';
/**
* @var string
*/
public $nextPageToken;
protected $revisionsType = GoogleCloudRunV2Revision::class;
protected $revisionsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRunV2Revision[]
*/
public function setRevisions($revisions)
{
$this->revisions = $revisions;
}
/**
* @return GoogleCloudRunV2Revision[]
*/
public function getRevisions()
{
return $this->revisions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ListRevisionsResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ListRevisionsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ListServicesResponse extends \Google\Collection
{
protected $collection_key = 'services';
/**
* @var string
*/
public $nextPageToken;
protected $servicesType = GoogleCloudRunV2Service::class;
protected $servicesDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRunV2Service[]
*/
public function setServices($services)
{
$this->services = $services;
}
/**
* @return GoogleCloudRunV2Service[]
*/
public function getServices()
{
return $this->services;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ListServicesResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ListServicesResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ListTasksResponse extends \Google\Collection
{
protected $collection_key = 'tasks';
/**
* @var string
*/
public $nextPageToken;
protected $tasksType = GoogleCloudRunV2Task::class;
protected $tasksDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleCloudRunV2Task[]
*/
public function setTasks($tasks)
{
$this->tasks = $tasks;
}
/**
* @return GoogleCloudRunV2Task[]
*/
public function getTasks()
{
return $this->tasks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ListTasksResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2ListTasksResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2Metadata extends \Google\Model
{
/**
* @var string
*/
public $metadata;
/**
* @param string
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return string
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Metadata::class, 'Google_Service_CloudRun_GoogleCloudRunV2Metadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2NFSVolumeSource extends \Google\Model
{
/**
* @var string
*/
public $path;
/**
* @var bool
*/
public $readOnly;
/**
* @var string
*/
public $server;
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param bool
*/
public function setReadOnly($readOnly)
{
$this->readOnly = $readOnly;
}
/**
* @return bool
*/
public function getReadOnly()
{
return $this->readOnly;
}
/**
* @param string
*/
public function setServer($server)
{
$this->server = $server;
}
/**
* @return string
*/
public function getServer()
{
return $this->server;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2NFSVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2NFSVolumeSource');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2NetworkInterface extends \Google\Collection
{
protected $collection_key = 'tags';
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $subnetwork;
/**
* @var string[]
*/
public $tags;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2NetworkInterface::class, 'Google_Service_CloudRun_GoogleCloudRunV2NetworkInterface');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2NodeSelector extends \Google\Model
{
/**
* @var string
*/
public $accelerator;
/**
* @param string
*/
public function setAccelerator($accelerator)
{
$this->accelerator = $accelerator;
}
/**
* @return string
*/
public function getAccelerator()
{
return $this->accelerator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2NodeSelector::class, 'Google_Service_CloudRun_GoogleCloudRunV2NodeSelector');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2Overrides extends \Google\Collection
{
protected $collection_key = 'containerOverrides';
protected $containerOverridesType = GoogleCloudRunV2ContainerOverride::class;
protected $containerOverridesDataType = 'array';
/**
* @var int
*/
public $taskCount;
/**
* @var string
*/
public $timeout;
/**
* @param GoogleCloudRunV2ContainerOverride[]
*/
public function setContainerOverrides($containerOverrides)
{
$this->containerOverrides = $containerOverrides;
}
/**
* @return GoogleCloudRunV2ContainerOverride[]
*/
public function getContainerOverrides()
{
return $this->containerOverrides;
}
/**
* @param int
*/
public function setTaskCount($taskCount)
{
$this->taskCount = $taskCount;
}
/**
* @return int
*/
public function getTaskCount()
{
return $this->taskCount;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Overrides::class, 'Google_Service_CloudRun_GoogleCloudRunV2Overrides');

View File

@@ -0,0 +1,146 @@
<?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\CloudRun;
class GoogleCloudRunV2Probe extends \Google\Model
{
/**
* @var int
*/
public $failureThreshold;
protected $grpcType = GoogleCloudRunV2GRPCAction::class;
protected $grpcDataType = '';
protected $httpGetType = GoogleCloudRunV2HTTPGetAction::class;
protected $httpGetDataType = '';
/**
* @var int
*/
public $initialDelaySeconds;
/**
* @var int
*/
public $periodSeconds;
protected $tcpSocketType = GoogleCloudRunV2TCPSocketAction::class;
protected $tcpSocketDataType = '';
/**
* @var int
*/
public $timeoutSeconds;
/**
* @param int
*/
public function setFailureThreshold($failureThreshold)
{
$this->failureThreshold = $failureThreshold;
}
/**
* @return int
*/
public function getFailureThreshold()
{
return $this->failureThreshold;
}
/**
* @param GoogleCloudRunV2GRPCAction
*/
public function setGrpc(GoogleCloudRunV2GRPCAction $grpc)
{
$this->grpc = $grpc;
}
/**
* @return GoogleCloudRunV2GRPCAction
*/
public function getGrpc()
{
return $this->grpc;
}
/**
* @param GoogleCloudRunV2HTTPGetAction
*/
public function setHttpGet(GoogleCloudRunV2HTTPGetAction $httpGet)
{
$this->httpGet = $httpGet;
}
/**
* @return GoogleCloudRunV2HTTPGetAction
*/
public function getHttpGet()
{
return $this->httpGet;
}
/**
* @param int
*/
public function setInitialDelaySeconds($initialDelaySeconds)
{
$this->initialDelaySeconds = $initialDelaySeconds;
}
/**
* @return int
*/
public function getInitialDelaySeconds()
{
return $this->initialDelaySeconds;
}
/**
* @param int
*/
public function setPeriodSeconds($periodSeconds)
{
$this->periodSeconds = $periodSeconds;
}
/**
* @return int
*/
public function getPeriodSeconds()
{
return $this->periodSeconds;
}
/**
* @param GoogleCloudRunV2TCPSocketAction
*/
public function setTcpSocket(GoogleCloudRunV2TCPSocketAction $tcpSocket)
{
$this->tcpSocket = $tcpSocket;
}
/**
* @return GoogleCloudRunV2TCPSocketAction
*/
public function getTcpSocket()
{
return $this->tcpSocket;
}
/**
* @param int
*/
public function setTimeoutSeconds($timeoutSeconds)
{
$this->timeoutSeconds = $timeoutSeconds;
}
/**
* @return int
*/
public function getTimeoutSeconds()
{
return $this->timeoutSeconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Probe::class, 'Google_Service_CloudRun_GoogleCloudRunV2Probe');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ResourceRequirements extends \Google\Model
{
/**
* @var bool
*/
public $cpuIdle;
/**
* @var string[]
*/
public $limits;
/**
* @var bool
*/
public $startupCpuBoost;
/**
* @param bool
*/
public function setCpuIdle($cpuIdle)
{
$this->cpuIdle = $cpuIdle;
}
/**
* @return bool
*/
public function getCpuIdle()
{
return $this->cpuIdle;
}
/**
* @param string[]
*/
public function setLimits($limits)
{
$this->limits = $limits;
}
/**
* @return string[]
*/
public function getLimits()
{
return $this->limits;
}
/**
* @param bool
*/
public function setStartupCpuBoost($startupCpuBoost)
{
$this->startupCpuBoost = $startupCpuBoost;
}
/**
* @return bool
*/
public function getStartupCpuBoost()
{
return $this->startupCpuBoost;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ResourceRequirements::class, 'Google_Service_CloudRun_GoogleCloudRunV2ResourceRequirements');

View File

@@ -0,0 +1,587 @@
<?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\CloudRun;
class GoogleCloudRunV2Revision extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string[]
*/
public $annotations;
protected $conditionsType = GoogleCloudRunV2Condition::class;
protected $conditionsDataType = 'array';
protected $containersType = GoogleCloudRunV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $encryptionKeyRevocationAction;
/**
* @var string
*/
public $encryptionKeyShutdownDuration;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $logUri;
/**
* @var int
*/
public $maxInstanceRequestConcurrency;
/**
* @var string
*/
public $name;
protected $nodeSelectorType = GoogleCloudRunV2NodeSelector::class;
protected $nodeSelectorDataType = '';
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
/**
* @var bool
*/
public $satisfiesPzs;
protected $scalingType = GoogleCloudRunV2RevisionScaling::class;
protected $scalingDataType = '';
protected $scalingStatusType = GoogleCloudRunV2RevisionScalingStatus::class;
protected $scalingStatusDataType = '';
/**
* @var string
*/
public $service;
/**
* @var string
*/
public $serviceAccount;
protected $serviceMeshType = GoogleCloudRunV2ServiceMesh::class;
protected $serviceMeshDataType = '';
/**
* @var bool
*/
public $sessionAffinity;
/**
* @var string
*/
public $timeout;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
protected $volumesType = GoogleCloudRunV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param GoogleCloudRunV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setEncryptionKeyRevocationAction($encryptionKeyRevocationAction)
{
$this->encryptionKeyRevocationAction = $encryptionKeyRevocationAction;
}
/**
* @return string
*/
public function getEncryptionKeyRevocationAction()
{
return $this->encryptionKeyRevocationAction;
}
/**
* @param string
*/
public function setEncryptionKeyShutdownDuration($encryptionKeyShutdownDuration)
{
$this->encryptionKeyShutdownDuration = $encryptionKeyShutdownDuration;
}
/**
* @return string
*/
public function getEncryptionKeyShutdownDuration()
{
return $this->encryptionKeyShutdownDuration;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setLogUri($logUri)
{
$this->logUri = $logUri;
}
/**
* @return string
*/
public function getLogUri()
{
return $this->logUri;
}
/**
* @param int
*/
public function setMaxInstanceRequestConcurrency($maxInstanceRequestConcurrency)
{
$this->maxInstanceRequestConcurrency = $maxInstanceRequestConcurrency;
}
/**
* @return int
*/
public function getMaxInstanceRequestConcurrency()
{
return $this->maxInstanceRequestConcurrency;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudRunV2NodeSelector
*/
public function setNodeSelector(GoogleCloudRunV2NodeSelector $nodeSelector)
{
$this->nodeSelector = $nodeSelector;
}
/**
* @return GoogleCloudRunV2NodeSelector
*/
public function getNodeSelector()
{
return $this->nodeSelector;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param GoogleCloudRunV2RevisionScaling
*/
public function setScaling(GoogleCloudRunV2RevisionScaling $scaling)
{
$this->scaling = $scaling;
}
/**
* @return GoogleCloudRunV2RevisionScaling
*/
public function getScaling()
{
return $this->scaling;
}
/**
* @param GoogleCloudRunV2RevisionScalingStatus
*/
public function setScalingStatus(GoogleCloudRunV2RevisionScalingStatus $scalingStatus)
{
$this->scalingStatus = $scalingStatus;
}
/**
* @return GoogleCloudRunV2RevisionScalingStatus
*/
public function getScalingStatus()
{
return $this->scalingStatus;
}
/**
* @param string
*/
public function setService($service)
{
$this->service = $service;
}
/**
* @return string
*/
public function getService()
{
return $this->service;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param GoogleCloudRunV2ServiceMesh
*/
public function setServiceMesh(GoogleCloudRunV2ServiceMesh $serviceMesh)
{
$this->serviceMesh = $serviceMesh;
}
/**
* @return GoogleCloudRunV2ServiceMesh
*/
public function getServiceMesh()
{
return $this->serviceMesh;
}
/**
* @param bool
*/
public function setSessionAffinity($sessionAffinity)
{
$this->sessionAffinity = $sessionAffinity;
}
/**
* @return bool
*/
public function getSessionAffinity()
{
return $this->sessionAffinity;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleCloudRunV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Revision::class, 'Google_Service_CloudRun_GoogleCloudRunV2Revision');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2RevisionScaling extends \Google\Model
{
/**
* @var int
*/
public $maxInstanceCount;
/**
* @var int
*/
public $minInstanceCount;
/**
* @param int
*/
public function setMaxInstanceCount($maxInstanceCount)
{
$this->maxInstanceCount = $maxInstanceCount;
}
/**
* @return int
*/
public function getMaxInstanceCount()
{
return $this->maxInstanceCount;
}
/**
* @param int
*/
public function setMinInstanceCount($minInstanceCount)
{
$this->minInstanceCount = $minInstanceCount;
}
/**
* @return int
*/
public function getMinInstanceCount()
{
return $this->minInstanceCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2RevisionScaling::class, 'Google_Service_CloudRun_GoogleCloudRunV2RevisionScaling');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2RevisionScalingStatus extends \Google\Model
{
/**
* @var int
*/
public $desiredMinInstanceCount;
/**
* @param int
*/
public function setDesiredMinInstanceCount($desiredMinInstanceCount)
{
$this->desiredMinInstanceCount = $desiredMinInstanceCount;
}
/**
* @return int
*/
public function getDesiredMinInstanceCount()
{
return $this->desiredMinInstanceCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2RevisionScalingStatus::class, 'Google_Service_CloudRun_GoogleCloudRunV2RevisionScalingStatus');

View File

@@ -0,0 +1,339 @@
<?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\CloudRun;
class GoogleCloudRunV2RevisionTemplate extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string[]
*/
public $annotations;
protected $containersType = GoogleCloudRunV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $encryptionKeyRevocationAction;
/**
* @var string
*/
public $encryptionKeyShutdownDuration;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var bool
*/
public $healthCheckDisabled;
/**
* @var string[]
*/
public $labels;
/**
* @var int
*/
public $maxInstanceRequestConcurrency;
protected $nodeSelectorType = GoogleCloudRunV2NodeSelector::class;
protected $nodeSelectorDataType = '';
/**
* @var string
*/
public $revision;
protected $scalingType = GoogleCloudRunV2RevisionScaling::class;
protected $scalingDataType = '';
/**
* @var string
*/
public $serviceAccount;
protected $serviceMeshType = GoogleCloudRunV2ServiceMesh::class;
protected $serviceMeshDataType = '';
/**
* @var bool
*/
public $sessionAffinity;
/**
* @var string
*/
public $timeout;
protected $volumesType = GoogleCloudRunV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setEncryptionKeyRevocationAction($encryptionKeyRevocationAction)
{
$this->encryptionKeyRevocationAction = $encryptionKeyRevocationAction;
}
/**
* @return string
*/
public function getEncryptionKeyRevocationAction()
{
return $this->encryptionKeyRevocationAction;
}
/**
* @param string
*/
public function setEncryptionKeyShutdownDuration($encryptionKeyShutdownDuration)
{
$this->encryptionKeyShutdownDuration = $encryptionKeyShutdownDuration;
}
/**
* @return string
*/
public function getEncryptionKeyShutdownDuration()
{
return $this->encryptionKeyShutdownDuration;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param bool
*/
public function setHealthCheckDisabled($healthCheckDisabled)
{
$this->healthCheckDisabled = $healthCheckDisabled;
}
/**
* @return bool
*/
public function getHealthCheckDisabled()
{
return $this->healthCheckDisabled;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param int
*/
public function setMaxInstanceRequestConcurrency($maxInstanceRequestConcurrency)
{
$this->maxInstanceRequestConcurrency = $maxInstanceRequestConcurrency;
}
/**
* @return int
*/
public function getMaxInstanceRequestConcurrency()
{
return $this->maxInstanceRequestConcurrency;
}
/**
* @param GoogleCloudRunV2NodeSelector
*/
public function setNodeSelector(GoogleCloudRunV2NodeSelector $nodeSelector)
{
$this->nodeSelector = $nodeSelector;
}
/**
* @return GoogleCloudRunV2NodeSelector
*/
public function getNodeSelector()
{
return $this->nodeSelector;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param GoogleCloudRunV2RevisionScaling
*/
public function setScaling(GoogleCloudRunV2RevisionScaling $scaling)
{
$this->scaling = $scaling;
}
/**
* @return GoogleCloudRunV2RevisionScaling
*/
public function getScaling()
{
return $this->scaling;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param GoogleCloudRunV2ServiceMesh
*/
public function setServiceMesh(GoogleCloudRunV2ServiceMesh $serviceMesh)
{
$this->serviceMesh = $serviceMesh;
}
/**
* @return GoogleCloudRunV2ServiceMesh
*/
public function getServiceMesh()
{
return $this->serviceMesh;
}
/**
* @param bool
*/
public function setSessionAffinity($sessionAffinity)
{
$this->sessionAffinity = $sessionAffinity;
}
/**
* @return bool
*/
public function getSessionAffinity()
{
return $this->sessionAffinity;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param GoogleCloudRunV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2RevisionTemplate::class, 'Google_Service_CloudRun_GoogleCloudRunV2RevisionTemplate');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2RunJobRequest extends \Google\Model
{
/**
* @var string
*/
public $etag;
protected $overridesType = GoogleCloudRunV2Overrides::class;
protected $overridesDataType = '';
/**
* @var bool
*/
public $validateOnly;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param GoogleCloudRunV2Overrides
*/
public function setOverrides(GoogleCloudRunV2Overrides $overrides)
{
$this->overrides = $overrides;
}
/**
* @return GoogleCloudRunV2Overrides
*/
public function getOverrides()
{
return $this->overrides;
}
/**
* @param bool
*/
public function setValidateOnly($validateOnly)
{
$this->validateOnly = $validateOnly;
}
/**
* @return bool
*/
public function getValidateOnly()
{
return $this->validateOnly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2RunJobRequest::class, 'Google_Service_CloudRun_GoogleCloudRunV2RunJobRequest');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2SecretKeySelector extends \Google\Model
{
/**
* @var string
*/
public $secret;
/**
* @var string
*/
public $version;
/**
* @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(GoogleCloudRunV2SecretKeySelector::class, 'Google_Service_CloudRun_GoogleCloudRunV2SecretKeySelector');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2SecretVolumeSource extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var int
*/
public $defaultMode;
protected $itemsType = GoogleCloudRunV2VersionToPath::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $secret;
/**
* @param int
*/
public function setDefaultMode($defaultMode)
{
$this->defaultMode = $defaultMode;
}
/**
* @return int
*/
public function getDefaultMode()
{
return $this->defaultMode;
}
/**
* @param GoogleCloudRunV2VersionToPath[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return GoogleCloudRunV2VersionToPath[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setSecret($secret)
{
$this->secret = $secret;
}
/**
* @return string
*/
public function getSecret()
{
return $this->secret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2SecretVolumeSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2SecretVolumeSource');

View File

@@ -0,0 +1,625 @@
<?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\CloudRun;
class GoogleCloudRunV2Service extends \Google\Collection
{
protected $collection_key = 'urls';
/**
* @var string[]
*/
public $annotations;
protected $binaryAuthorizationType = GoogleCloudRunV2BinaryAuthorization::class;
protected $binaryAuthorizationDataType = '';
/**
* @var string
*/
public $client;
/**
* @var string
*/
public $clientVersion;
protected $conditionsType = GoogleCloudRunV2Condition::class;
protected $conditionsDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $creator;
/**
* @var string[]
*/
public $customAudiences;
/**
* @var bool
*/
public $defaultUriDisabled;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $ingress;
/**
* @var bool
*/
public $invokerIamDisabled;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $lastModifier;
/**
* @var string
*/
public $latestCreatedRevision;
/**
* @var string
*/
public $latestReadyRevision;
/**
* @var string
*/
public $launchStage;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
/**
* @var bool
*/
public $satisfiesPzs;
protected $scalingType = GoogleCloudRunV2ServiceScaling::class;
protected $scalingDataType = '';
protected $templateType = GoogleCloudRunV2RevisionTemplate::class;
protected $templateDataType = '';
protected $terminalConditionType = GoogleCloudRunV2Condition::class;
protected $terminalConditionDataType = '';
protected $trafficType = GoogleCloudRunV2TrafficTarget::class;
protected $trafficDataType = 'array';
protected $trafficStatusesType = GoogleCloudRunV2TrafficTargetStatus::class;
protected $trafficStatusesDataType = 'array';
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @var string
*/
public $uri;
/**
* @var string[]
*/
public $urls;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudRunV2BinaryAuthorization
*/
public function setBinaryAuthorization(GoogleCloudRunV2BinaryAuthorization $binaryAuthorization)
{
$this->binaryAuthorization = $binaryAuthorization;
}
/**
* @return GoogleCloudRunV2BinaryAuthorization
*/
public function getBinaryAuthorization()
{
return $this->binaryAuthorization;
}
/**
* @param string
*/
public function setClient($client)
{
$this->client = $client;
}
/**
* @return string
*/
public function getClient()
{
return $this->client;
}
/**
* @param string
*/
public function setClientVersion($clientVersion)
{
$this->clientVersion = $clientVersion;
}
/**
* @return string
*/
public function getClientVersion()
{
return $this->clientVersion;
}
/**
* @param GoogleCloudRunV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setCreator($creator)
{
$this->creator = $creator;
}
/**
* @return string
*/
public function getCreator()
{
return $this->creator;
}
/**
* @param string[]
*/
public function setCustomAudiences($customAudiences)
{
$this->customAudiences = $customAudiences;
}
/**
* @return string[]
*/
public function getCustomAudiences()
{
return $this->customAudiences;
}
/**
* @param bool
*/
public function setDefaultUriDisabled($defaultUriDisabled)
{
$this->defaultUriDisabled = $defaultUriDisabled;
}
/**
* @return bool
*/
public function getDefaultUriDisabled()
{
return $this->defaultUriDisabled;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param string
*/
public function setIngress($ingress)
{
$this->ingress = $ingress;
}
/**
* @return string
*/
public function getIngress()
{
return $this->ingress;
}
/**
* @param bool
*/
public function setInvokerIamDisabled($invokerIamDisabled)
{
$this->invokerIamDisabled = $invokerIamDisabled;
}
/**
* @return bool
*/
public function getInvokerIamDisabled()
{
return $this->invokerIamDisabled;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLastModifier($lastModifier)
{
$this->lastModifier = $lastModifier;
}
/**
* @return string
*/
public function getLastModifier()
{
return $this->lastModifier;
}
/**
* @param string
*/
public function setLatestCreatedRevision($latestCreatedRevision)
{
$this->latestCreatedRevision = $latestCreatedRevision;
}
/**
* @return string
*/
public function getLatestCreatedRevision()
{
return $this->latestCreatedRevision;
}
/**
* @param string
*/
public function setLatestReadyRevision($latestReadyRevision)
{
$this->latestReadyRevision = $latestReadyRevision;
}
/**
* @return string
*/
public function getLatestReadyRevision()
{
return $this->latestReadyRevision;
}
/**
* @param string
*/
public function setLaunchStage($launchStage)
{
$this->launchStage = $launchStage;
}
/**
* @return string
*/
public function getLaunchStage()
{
return $this->launchStage;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param GoogleCloudRunV2ServiceScaling
*/
public function setScaling(GoogleCloudRunV2ServiceScaling $scaling)
{
$this->scaling = $scaling;
}
/**
* @return GoogleCloudRunV2ServiceScaling
*/
public function getScaling()
{
return $this->scaling;
}
/**
* @param GoogleCloudRunV2RevisionTemplate
*/
public function setTemplate(GoogleCloudRunV2RevisionTemplate $template)
{
$this->template = $template;
}
/**
* @return GoogleCloudRunV2RevisionTemplate
*/
public function getTemplate()
{
return $this->template;
}
/**
* @param GoogleCloudRunV2Condition
*/
public function setTerminalCondition(GoogleCloudRunV2Condition $terminalCondition)
{
$this->terminalCondition = $terminalCondition;
}
/**
* @return GoogleCloudRunV2Condition
*/
public function getTerminalCondition()
{
return $this->terminalCondition;
}
/**
* @param GoogleCloudRunV2TrafficTarget[]
*/
public function setTraffic($traffic)
{
$this->traffic = $traffic;
}
/**
* @return GoogleCloudRunV2TrafficTarget[]
*/
public function getTraffic()
{
return $this->traffic;
}
/**
* @param GoogleCloudRunV2TrafficTargetStatus[]
*/
public function setTrafficStatuses($trafficStatuses)
{
$this->trafficStatuses = $trafficStatuses;
}
/**
* @return GoogleCloudRunV2TrafficTargetStatus[]
*/
public function getTrafficStatuses()
{
return $this->trafficStatuses;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param string[]
*/
public function setUrls($urls)
{
$this->urls = $urls;
}
/**
* @return string[]
*/
public function getUrls()
{
return $this->urls;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Service::class, 'Google_Service_CloudRun_GoogleCloudRunV2Service');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ServiceMesh extends \Google\Model
{
/**
* @var string
*/
public $mesh;
/**
* @param string
*/
public function setMesh($mesh)
{
$this->mesh = $mesh;
}
/**
* @return string
*/
public function getMesh()
{
return $this->mesh;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ServiceMesh::class, 'Google_Service_CloudRun_GoogleCloudRunV2ServiceMesh');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2ServiceScaling extends \Google\Model
{
/**
* @var int
*/
public $manualInstanceCount;
/**
* @var int
*/
public $minInstanceCount;
/**
* @var string
*/
public $scalingMode;
/**
* @param int
*/
public function setManualInstanceCount($manualInstanceCount)
{
$this->manualInstanceCount = $manualInstanceCount;
}
/**
* @return int
*/
public function getManualInstanceCount()
{
return $this->manualInstanceCount;
}
/**
* @param int
*/
public function setMinInstanceCount($minInstanceCount)
{
$this->minInstanceCount = $minInstanceCount;
}
/**
* @return int
*/
public function getMinInstanceCount()
{
return $this->minInstanceCount;
}
/**
* @param string
*/
public function setScalingMode($scalingMode)
{
$this->scalingMode = $scalingMode;
}
/**
* @return string
*/
public function getScalingMode()
{
return $this->scalingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2ServiceScaling::class, 'Google_Service_CloudRun_GoogleCloudRunV2ServiceScaling');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2StorageSource extends \Google\Model
{
/**
* @var string
*/
public $bucket;
/**
* @var string
*/
public $generation;
/**
* @var string
*/
public $object;
/**
* @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;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2StorageSource::class, 'Google_Service_CloudRun_GoogleCloudRunV2StorageSource');

View File

@@ -0,0 +1,147 @@
<?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\CloudRun;
class GoogleCloudRunV2SubmitBuildRequest extends \Google\Collection
{
protected $collection_key = 'tags';
protected $buildpackBuildType = GoogleCloudRunV2BuildpacksBuild::class;
protected $buildpackBuildDataType = '';
protected $dockerBuildType = GoogleCloudRunV2DockerBuild::class;
protected $dockerBuildDataType = '';
/**
* @var string
*/
public $imageUri;
/**
* @var string
*/
public $serviceAccount;
protected $storageSourceType = GoogleCloudRunV2StorageSource::class;
protected $storageSourceDataType = '';
/**
* @var string[]
*/
public $tags;
/**
* @var string
*/
public $workerPool;
/**
* @param GoogleCloudRunV2BuildpacksBuild
*/
public function setBuildpackBuild(GoogleCloudRunV2BuildpacksBuild $buildpackBuild)
{
$this->buildpackBuild = $buildpackBuild;
}
/**
* @return GoogleCloudRunV2BuildpacksBuild
*/
public function getBuildpackBuild()
{
return $this->buildpackBuild;
}
/**
* @param GoogleCloudRunV2DockerBuild
*/
public function setDockerBuild(GoogleCloudRunV2DockerBuild $dockerBuild)
{
$this->dockerBuild = $dockerBuild;
}
/**
* @return GoogleCloudRunV2DockerBuild
*/
public function getDockerBuild()
{
return $this->dockerBuild;
}
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param GoogleCloudRunV2StorageSource
*/
public function setStorageSource(GoogleCloudRunV2StorageSource $storageSource)
{
$this->storageSource = $storageSource;
}
/**
* @return GoogleCloudRunV2StorageSource
*/
public function getStorageSource()
{
return $this->storageSource;
}
/**
* @param string[]
*/
public function setTags($tags)
{
$this->tags = $tags;
}
/**
* @return string[]
*/
public function getTags()
{
return $this->tags;
}
/**
* @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(GoogleCloudRunV2SubmitBuildRequest::class, 'Google_Service_CloudRun_GoogleCloudRunV2SubmitBuildRequest');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2SubmitBuildResponse extends \Google\Model
{
/**
* @var string
*/
public $baseImageUri;
/**
* @var string
*/
public $baseImageWarning;
protected $buildOperationType = GoogleLongrunningOperation::class;
protected $buildOperationDataType = '';
/**
* @param string
*/
public function setBaseImageUri($baseImageUri)
{
$this->baseImageUri = $baseImageUri;
}
/**
* @return string
*/
public function getBaseImageUri()
{
return $this->baseImageUri;
}
/**
* @param string
*/
public function setBaseImageWarning($baseImageWarning)
{
$this->baseImageWarning = $baseImageWarning;
}
/**
* @return string
*/
public function getBaseImageWarning()
{
return $this->baseImageWarning;
}
/**
* @param GoogleLongrunningOperation
*/
public function setBuildOperation(GoogleLongrunningOperation $buildOperation)
{
$this->buildOperation = $buildOperation;
}
/**
* @return GoogleLongrunningOperation
*/
public function getBuildOperation()
{
return $this->buildOperation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2SubmitBuildResponse::class, 'Google_Service_CloudRun_GoogleCloudRunV2SubmitBuildResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2TCPSocketAction extends \Google\Model
{
/**
* @var int
*/
public $port;
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2TCPSocketAction::class, 'Google_Service_CloudRun_GoogleCloudRunV2TCPSocketAction');

View File

@@ -0,0 +1,575 @@
<?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\CloudRun;
class GoogleCloudRunV2Task extends \Google\Collection
{
protected $collection_key = 'volumes';
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $completionTime;
protected $conditionsType = GoogleCloudRunV2Condition::class;
protected $conditionsDataType = 'array';
protected $containersType = GoogleCloudRunV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $deleteTime;
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $execution;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $generation;
/**
* @var int
*/
public $index;
/**
* @var string
*/
public $job;
/**
* @var string[]
*/
public $labels;
protected $lastAttemptResultType = GoogleCloudRunV2TaskAttemptResult::class;
protected $lastAttemptResultDataType = '';
/**
* @var string
*/
public $logUri;
/**
* @var int
*/
public $maxRetries;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $observedGeneration;
/**
* @var bool
*/
public $reconciling;
/**
* @var int
*/
public $retried;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $scheduledTime;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $timeout;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
protected $volumesType = GoogleCloudRunV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setCompletionTime($completionTime)
{
$this->completionTime = $completionTime;
}
/**
* @return string
*/
public function getCompletionTime()
{
return $this->completionTime;
}
/**
* @param GoogleCloudRunV2Condition[]
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return GoogleCloudRunV2Condition[]
*/
public function getConditions()
{
return $this->conditions;
}
/**
* @param GoogleCloudRunV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDeleteTime($deleteTime)
{
$this->deleteTime = $deleteTime;
}
/**
* @return string
*/
public function getDeleteTime()
{
return $this->deleteTime;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExecution($execution)
{
$this->execution = $execution;
}
/**
* @return string
*/
public function getExecution()
{
return $this->execution;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setGeneration($generation)
{
$this->generation = $generation;
}
/**
* @return string
*/
public function getGeneration()
{
return $this->generation;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* @param string
*/
public function setJob($job)
{
$this->job = $job;
}
/**
* @return string
*/
public function getJob()
{
return $this->job;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param GoogleCloudRunV2TaskAttemptResult
*/
public function setLastAttemptResult(GoogleCloudRunV2TaskAttemptResult $lastAttemptResult)
{
$this->lastAttemptResult = $lastAttemptResult;
}
/**
* @return GoogleCloudRunV2TaskAttemptResult
*/
public function getLastAttemptResult()
{
return $this->lastAttemptResult;
}
/**
* @param string
*/
public function setLogUri($logUri)
{
$this->logUri = $logUri;
}
/**
* @return string
*/
public function getLogUri()
{
return $this->logUri;
}
/**
* @param int
*/
public function setMaxRetries($maxRetries)
{
$this->maxRetries = $maxRetries;
}
/**
* @return int
*/
public function getMaxRetries()
{
return $this->maxRetries;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setObservedGeneration($observedGeneration)
{
$this->observedGeneration = $observedGeneration;
}
/**
* @return string
*/
public function getObservedGeneration()
{
return $this->observedGeneration;
}
/**
* @param bool
*/
public function setReconciling($reconciling)
{
$this->reconciling = $reconciling;
}
/**
* @return bool
*/
public function getReconciling()
{
return $this->reconciling;
}
/**
* @param int
*/
public function setRetried($retried)
{
$this->retried = $retried;
}
/**
* @return int
*/
public function getRetried()
{
return $this->retried;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setScheduledTime($scheduledTime)
{
$this->scheduledTime = $scheduledTime;
}
/**
* @return string
*/
public function getScheduledTime()
{
return $this->scheduledTime;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param GoogleCloudRunV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2Task::class, 'Google_Service_CloudRun_GoogleCloudRunV2Task');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2TaskAttemptResult extends \Google\Model
{
/**
* @var int
*/
public $exitCode;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param int
*/
public function setExitCode($exitCode)
{
$this->exitCode = $exitCode;
}
/**
* @return int
*/
public function getExitCode()
{
return $this->exitCode;
}
/**
* @param GoogleRpcStatus
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2TaskAttemptResult::class, 'Google_Service_CloudRun_GoogleCloudRunV2TaskAttemptResult');

View File

@@ -0,0 +1,165 @@
<?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\CloudRun;
class GoogleCloudRunV2TaskTemplate extends \Google\Collection
{
protected $collection_key = 'volumes';
protected $containersType = GoogleCloudRunV2Container::class;
protected $containersDataType = 'array';
/**
* @var string
*/
public $encryptionKey;
/**
* @var string
*/
public $executionEnvironment;
/**
* @var int
*/
public $maxRetries;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $timeout;
protected $volumesType = GoogleCloudRunV2Volume::class;
protected $volumesDataType = 'array';
protected $vpcAccessType = GoogleCloudRunV2VpcAccess::class;
protected $vpcAccessDataType = '';
/**
* @param GoogleCloudRunV2Container[]
*/
public function setContainers($containers)
{
$this->containers = $containers;
}
/**
* @return GoogleCloudRunV2Container[]
*/
public function getContainers()
{
return $this->containers;
}
/**
* @param string
*/
public function setEncryptionKey($encryptionKey)
{
$this->encryptionKey = $encryptionKey;
}
/**
* @return string
*/
public function getEncryptionKey()
{
return $this->encryptionKey;
}
/**
* @param string
*/
public function setExecutionEnvironment($executionEnvironment)
{
$this->executionEnvironment = $executionEnvironment;
}
/**
* @return string
*/
public function getExecutionEnvironment()
{
return $this->executionEnvironment;
}
/**
* @param int
*/
public function setMaxRetries($maxRetries)
{
$this->maxRetries = $maxRetries;
}
/**
* @return int
*/
public function getMaxRetries()
{
return $this->maxRetries;
}
/**
* @param string
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setTimeout($timeout)
{
$this->timeout = $timeout;
}
/**
* @return string
*/
public function getTimeout()
{
return $this->timeout;
}
/**
* @param GoogleCloudRunV2Volume[]
*/
public function setVolumes($volumes)
{
$this->volumes = $volumes;
}
/**
* @return GoogleCloudRunV2Volume[]
*/
public function getVolumes()
{
return $this->volumes;
}
/**
* @param GoogleCloudRunV2VpcAccess
*/
public function setVpcAccess(GoogleCloudRunV2VpcAccess $vpcAccess)
{
$this->vpcAccess = $vpcAccess;
}
/**
* @return GoogleCloudRunV2VpcAccess
*/
public function getVpcAccess()
{
return $this->vpcAccess;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2TaskTemplate::class, 'Google_Service_CloudRun_GoogleCloudRunV2TaskTemplate');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2TrafficTarget extends \Google\Model
{
/**
* @var int
*/
public $percent;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $tag;
/**
* @var string
*/
public $type;
/**
* @param int
*/
public function setPercent($percent)
{
$this->percent = $percent;
}
/**
* @return int
*/
public function getPercent()
{
return $this->percent;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* @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(GoogleCloudRunV2TrafficTarget::class, 'Google_Service_CloudRun_GoogleCloudRunV2TrafficTarget');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRun;
class GoogleCloudRunV2TrafficTargetStatus extends \Google\Model
{
/**
* @var int
*/
public $percent;
/**
* @var string
*/
public $revision;
/**
* @var string
*/
public $tag;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $uri;
/**
* @param int
*/
public function setPercent($percent)
{
$this->percent = $percent;
}
/**
* @return int
*/
public function getPercent()
{
return $this->percent;
}
/**
* @param string
*/
public function setRevision($revision)
{
$this->revision = $revision;
}
/**
* @return string
*/
public function getRevision()
{
return $this->revision;
}
/**
* @param string
*/
public function setTag($tag)
{
$this->tag = $tag;
}
/**
* @return string
*/
public function getTag()
{
return $this->tag;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudRunV2TrafficTargetStatus::class, 'Google_Service_CloudRun_GoogleCloudRunV2TrafficTargetStatus');

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