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,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\Compute;
class AWSV4Signature extends \Google\Model
{
/**
* @var string
*/
public $accessKey;
/**
* @var string
*/
public $accessKeyId;
/**
* @var string
*/
public $accessKeyVersion;
/**
* @var string
*/
public $originRegion;
/**
* @param string
*/
public function setAccessKey($accessKey)
{
$this->accessKey = $accessKey;
}
/**
* @return string
*/
public function getAccessKey()
{
return $this->accessKey;
}
/**
* @param string
*/
public function setAccessKeyId($accessKeyId)
{
$this->accessKeyId = $accessKeyId;
}
/**
* @return string
*/
public function getAccessKeyId()
{
return $this->accessKeyId;
}
/**
* @param string
*/
public function setAccessKeyVersion($accessKeyVersion)
{
$this->accessKeyVersion = $accessKeyVersion;
}
/**
* @return string
*/
public function getAccessKeyVersion()
{
return $this->accessKeyVersion;
}
/**
* @param string
*/
public function setOriginRegion($originRegion)
{
$this->originRegion = $originRegion;
}
/**
* @return string
*/
public function getOriginRegion()
{
return $this->originRegion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AWSV4Signature::class, 'Google_Service_Compute_AWSV4Signature');

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\Compute;
class AcceleratorConfig extends \Google\Model
{
/**
* @var int
*/
public $acceleratorCount;
/**
* @var string
*/
public $acceleratorType;
/**
* @param int
*/
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
/**
* @return int
*/
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
/**
* @param string
*/
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
/**
* @return string
*/
public function getAcceleratorType()
{
return $this->acceleratorType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorConfig::class, 'Google_Service_Compute_AcceleratorConfig');

View File

@@ -0,0 +1,186 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AcceleratorType extends \Google\Model
{
/**
* @var string
*/
public $creationTimestamp;
protected $deprecatedType = DeprecationStatus::class;
protected $deprecatedDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var int
*/
public $maximumCardsPerInstance;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param DeprecationStatus
*/
public function setDeprecated(DeprecationStatus $deprecated)
{
$this->deprecated = $deprecated;
}
/**
* @return DeprecationStatus
*/
public function getDeprecated()
{
return $this->deprecated;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param int
*/
public function setMaximumCardsPerInstance($maximumCardsPerInstance)
{
$this->maximumCardsPerInstance = $maximumCardsPerInstance;
}
/**
* @return int
*/
public function getMaximumCardsPerInstance()
{
return $this->maximumCardsPerInstance;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorType::class, 'Google_Service_Compute_AcceleratorType');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AcceleratorTypeAggregatedList extends \Google\Collection
{
protected $collection_key = 'unreachables';
/**
* @var string
*/
public $id;
protected $itemsType = AcceleratorTypesScopedList::class;
protected $itemsDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
/**
* @var string[]
*/
public $unreachables;
protected $warningType = AcceleratorTypeAggregatedListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param AcceleratorTypesScopedList[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AcceleratorTypesScopedList[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string[]
*/
public function setUnreachables($unreachables)
{
$this->unreachables = $unreachables;
}
/**
* @return string[]
*/
public function getUnreachables()
{
return $this->unreachables;
}
/**
* @param AcceleratorTypeAggregatedListWarning
*/
public function setWarning(AcceleratorTypeAggregatedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AcceleratorTypeAggregatedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypeAggregatedList::class, 'Google_Service_Compute_AcceleratorTypeAggregatedList');

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\Compute;
class AcceleratorTypeAggregatedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AcceleratorTypeAggregatedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AcceleratorTypeAggregatedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AcceleratorTypeAggregatedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypeAggregatedListWarning::class, 'Google_Service_Compute_AcceleratorTypeAggregatedListWarning');

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\Compute;
class AcceleratorTypeAggregatedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AcceleratorTypeAggregatedListWarningData::class, 'Google_Service_Compute_AcceleratorTypeAggregatedListWarningData');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AcceleratorTypeList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = AcceleratorType::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = AcceleratorTypeListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param AcceleratorType[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AcceleratorType[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param AcceleratorTypeListWarning
*/
public function setWarning(AcceleratorTypeListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AcceleratorTypeListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypeList::class, 'Google_Service_Compute_AcceleratorTypeList');

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\Compute;
class AcceleratorTypeListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AcceleratorTypeListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AcceleratorTypeListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AcceleratorTypeListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypeListWarning::class, 'Google_Service_Compute_AcceleratorTypeListWarning');

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\Compute;
class AcceleratorTypeListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AcceleratorTypeListWarningData::class, 'Google_Service_Compute_AcceleratorTypeListWarningData');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AcceleratorTypesScopedList extends \Google\Collection
{
protected $collection_key = 'acceleratorTypes';
protected $acceleratorTypesType = AcceleratorType::class;
protected $acceleratorTypesDataType = 'array';
protected $warningType = AcceleratorTypesScopedListWarning::class;
protected $warningDataType = '';
/**
* @param AcceleratorType[]
*/
public function setAcceleratorTypes($acceleratorTypes)
{
$this->acceleratorTypes = $acceleratorTypes;
}
/**
* @return AcceleratorType[]
*/
public function getAcceleratorTypes()
{
return $this->acceleratorTypes;
}
/**
* @param AcceleratorTypesScopedListWarning
*/
public function setWarning(AcceleratorTypesScopedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AcceleratorTypesScopedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypesScopedList::class, 'Google_Service_Compute_AcceleratorTypesScopedList');

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\Compute;
class AcceleratorTypesScopedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AcceleratorTypesScopedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AcceleratorTypesScopedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AcceleratorTypesScopedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AcceleratorTypesScopedListWarning::class, 'Google_Service_Compute_AcceleratorTypesScopedListWarning');

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\Compute;
class AcceleratorTypesScopedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AcceleratorTypesScopedListWarningData::class, 'Google_Service_Compute_AcceleratorTypesScopedListWarningData');

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\Compute;
class AccessConfig extends \Google\Model
{
/**
* @var string
*/
public $externalIpv6;
/**
* @var int
*/
public $externalIpv6PrefixLength;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $natIP;
/**
* @var string
*/
public $networkTier;
/**
* @var string
*/
public $publicPtrDomainName;
/**
* @var string
*/
public $securityPolicy;
/**
* @var bool
*/
public $setPublicPtr;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setExternalIpv6($externalIpv6)
{
$this->externalIpv6 = $externalIpv6;
}
/**
* @return string
*/
public function getExternalIpv6()
{
return $this->externalIpv6;
}
/**
* @param int
*/
public function setExternalIpv6PrefixLength($externalIpv6PrefixLength)
{
$this->externalIpv6PrefixLength = $externalIpv6PrefixLength;
}
/**
* @return int
*/
public function getExternalIpv6PrefixLength()
{
return $this->externalIpv6PrefixLength;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNatIP($natIP)
{
$this->natIP = $natIP;
}
/**
* @return string
*/
public function getNatIP()
{
return $this->natIP;
}
/**
* @param string
*/
public function setNetworkTier($networkTier)
{
$this->networkTier = $networkTier;
}
/**
* @return string
*/
public function getNetworkTier()
{
return $this->networkTier;
}
/**
* @param string
*/
public function setPublicPtrDomainName($publicPtrDomainName)
{
$this->publicPtrDomainName = $publicPtrDomainName;
}
/**
* @return string
*/
public function getPublicPtrDomainName()
{
return $this->publicPtrDomainName;
}
/**
* @param string
*/
public function setSecurityPolicy($securityPolicy)
{
$this->securityPolicy = $securityPolicy;
}
/**
* @return string
*/
public function getSecurityPolicy()
{
return $this->securityPolicy;
}
/**
* @param bool
*/
public function setSetPublicPtr($setPublicPtr)
{
$this->setPublicPtr = $setPublicPtr;
}
/**
* @return bool
*/
public function getSetPublicPtr()
{
return $this->setPublicPtr;
}
/**
* @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(AccessConfig::class, 'Google_Service_Compute_AccessConfig');

View File

@@ -0,0 +1,387 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class Address extends \Google\Collection
{
protected $collection_key = 'users';
/**
* @var string
*/
public $address;
/**
* @var string
*/
public $addressType;
/**
* @var string
*/
public $creationTimestamp;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $ipVersion;
/**
* @var string
*/
public $ipv6EndpointType;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $labelFingerprint;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $networkTier;
/**
* @var int
*/
public $prefixLength;
/**
* @var string
*/
public $purpose;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $subnetwork;
/**
* @var string[]
*/
public $users;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setAddressType($addressType)
{
$this->addressType = $addressType;
}
/**
* @return string
*/
public function getAddressType()
{
return $this->addressType;
}
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setIpVersion($ipVersion)
{
$this->ipVersion = $ipVersion;
}
/**
* @return string
*/
public function getIpVersion()
{
return $this->ipVersion;
}
/**
* @param string
*/
public function setIpv6EndpointType($ipv6EndpointType)
{
$this->ipv6EndpointType = $ipv6EndpointType;
}
/**
* @return string
*/
public function getIpv6EndpointType()
{
return $this->ipv6EndpointType;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLabelFingerprint($labelFingerprint)
{
$this->labelFingerprint = $labelFingerprint;
}
/**
* @return string
*/
public function getLabelFingerprint()
{
return $this->labelFingerprint;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setNetworkTier($networkTier)
{
$this->networkTier = $networkTier;
}
/**
* @return string
*/
public function getNetworkTier()
{
return $this->networkTier;
}
/**
* @param int
*/
public function setPrefixLength($prefixLength)
{
$this->prefixLength = $prefixLength;
}
/**
* @return int
*/
public function getPrefixLength()
{
return $this->prefixLength;
}
/**
* @param string
*/
public function setPurpose($purpose)
{
$this->purpose = $purpose;
}
/**
* @return string
*/
public function getPurpose()
{
return $this->purpose;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
/**
* @param string[]
*/
public function setUsers($users)
{
$this->users = $users;
}
/**
* @return string[]
*/
public function getUsers()
{
return $this->users;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Address::class, 'Google_Service_Compute_Address');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AddressAggregatedList extends \Google\Collection
{
protected $collection_key = 'unreachables';
/**
* @var string
*/
public $id;
protected $itemsType = AddressesScopedList::class;
protected $itemsDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
/**
* @var string[]
*/
public $unreachables;
protected $warningType = AddressAggregatedListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param AddressesScopedList[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AddressesScopedList[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string[]
*/
public function setUnreachables($unreachables)
{
$this->unreachables = $unreachables;
}
/**
* @return string[]
*/
public function getUnreachables()
{
return $this->unreachables;
}
/**
* @param AddressAggregatedListWarning
*/
public function setWarning(AddressAggregatedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AddressAggregatedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressAggregatedList::class, 'Google_Service_Compute_AddressAggregatedList');

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\Compute;
class AddressAggregatedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AddressAggregatedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AddressAggregatedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AddressAggregatedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressAggregatedListWarning::class, 'Google_Service_Compute_AddressAggregatedListWarning');

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\Compute;
class AddressAggregatedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AddressAggregatedListWarningData::class, 'Google_Service_Compute_AddressAggregatedListWarningData');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AddressList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = Address::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = AddressListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Address[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Address[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param AddressListWarning
*/
public function setWarning(AddressListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AddressListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressList::class, 'Google_Service_Compute_AddressList');

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\Compute;
class AddressListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AddressListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AddressListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AddressListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressListWarning::class, 'Google_Service_Compute_AddressListWarning');

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\Compute;
class AddressListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AddressListWarningData::class, 'Google_Service_Compute_AddressListWarningData');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AddressesScopedList extends \Google\Collection
{
protected $collection_key = 'addresses';
protected $addressesType = Address::class;
protected $addressesDataType = 'array';
protected $warningType = AddressesScopedListWarning::class;
protected $warningDataType = '';
/**
* @param Address[]
*/
public function setAddresses($addresses)
{
$this->addresses = $addresses;
}
/**
* @return Address[]
*/
public function getAddresses()
{
return $this->addresses;
}
/**
* @param AddressesScopedListWarning
*/
public function setWarning(AddressesScopedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AddressesScopedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressesScopedList::class, 'Google_Service_Compute_AddressesScopedList');

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\Compute;
class AddressesScopedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AddressesScopedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AddressesScopedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AddressesScopedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddressesScopedListWarning::class, 'Google_Service_Compute_AddressesScopedListWarning');

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\Compute;
class AddressesScopedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AddressesScopedListWarningData::class, 'Google_Service_Compute_AddressesScopedListWarningData');

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\Compute;
class AdvancedMachineFeatures extends \Google\Model
{
/**
* @var bool
*/
public $enableNestedVirtualization;
/**
* @var bool
*/
public $enableUefiNetworking;
/**
* @var string
*/
public $performanceMonitoringUnit;
/**
* @var int
*/
public $threadsPerCore;
/**
* @var string
*/
public $turboMode;
/**
* @var int
*/
public $visibleCoreCount;
/**
* @param bool
*/
public function setEnableNestedVirtualization($enableNestedVirtualization)
{
$this->enableNestedVirtualization = $enableNestedVirtualization;
}
/**
* @return bool
*/
public function getEnableNestedVirtualization()
{
return $this->enableNestedVirtualization;
}
/**
* @param bool
*/
public function setEnableUefiNetworking($enableUefiNetworking)
{
$this->enableUefiNetworking = $enableUefiNetworking;
}
/**
* @return bool
*/
public function getEnableUefiNetworking()
{
return $this->enableUefiNetworking;
}
/**
* @param string
*/
public function setPerformanceMonitoringUnit($performanceMonitoringUnit)
{
$this->performanceMonitoringUnit = $performanceMonitoringUnit;
}
/**
* @return string
*/
public function getPerformanceMonitoringUnit()
{
return $this->performanceMonitoringUnit;
}
/**
* @param int
*/
public function setThreadsPerCore($threadsPerCore)
{
$this->threadsPerCore = $threadsPerCore;
}
/**
* @return int
*/
public function getThreadsPerCore()
{
return $this->threadsPerCore;
}
/**
* @param string
*/
public function setTurboMode($turboMode)
{
$this->turboMode = $turboMode;
}
/**
* @return string
*/
public function getTurboMode()
{
return $this->turboMode;
}
/**
* @param int
*/
public function setVisibleCoreCount($visibleCoreCount)
{
$this->visibleCoreCount = $visibleCoreCount;
}
/**
* @return int
*/
public function getVisibleCoreCount()
{
return $this->visibleCoreCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdvancedMachineFeatures::class, 'Google_Service_Compute_AdvancedMachineFeatures');

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\Compute;
class AliasIpRange extends \Google\Model
{
/**
* @var string
*/
public $ipCidrRange;
/**
* @var string
*/
public $subnetworkRangeName;
/**
* @param string
*/
public function setIpCidrRange($ipCidrRange)
{
$this->ipCidrRange = $ipCidrRange;
}
/**
* @return string
*/
public function getIpCidrRange()
{
return $this->ipCidrRange;
}
/**
* @param string
*/
public function setSubnetworkRangeName($subnetworkRangeName)
{
$this->subnetworkRangeName = $subnetworkRangeName;
}
/**
* @return string
*/
public function getSubnetworkRangeName()
{
return $this->subnetworkRangeName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AliasIpRange::class, 'Google_Service_Compute_AliasIpRange');

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AllocationAggregateReservation extends \Google\Collection
{
protected $collection_key = 'reservedResources';
protected $inUseResourcesType = AllocationAggregateReservationReservedResourceInfo::class;
protected $inUseResourcesDataType = 'array';
protected $reservedResourcesType = AllocationAggregateReservationReservedResourceInfo::class;
protected $reservedResourcesDataType = 'array';
/**
* @var string
*/
public $vmFamily;
/**
* @var string
*/
public $workloadType;
/**
* @param AllocationAggregateReservationReservedResourceInfo[]
*/
public function setInUseResources($inUseResources)
{
$this->inUseResources = $inUseResources;
}
/**
* @return AllocationAggregateReservationReservedResourceInfo[]
*/
public function getInUseResources()
{
return $this->inUseResources;
}
/**
* @param AllocationAggregateReservationReservedResourceInfo[]
*/
public function setReservedResources($reservedResources)
{
$this->reservedResources = $reservedResources;
}
/**
* @return AllocationAggregateReservationReservedResourceInfo[]
*/
public function getReservedResources()
{
return $this->reservedResources;
}
/**
* @param string
*/
public function setVmFamily($vmFamily)
{
$this->vmFamily = $vmFamily;
}
/**
* @return string
*/
public function getVmFamily()
{
return $this->vmFamily;
}
/**
* @param string
*/
public function setWorkloadType($workloadType)
{
$this->workloadType = $workloadType;
}
/**
* @return string
*/
public function getWorkloadType()
{
return $this->workloadType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationAggregateReservation::class, 'Google_Service_Compute_AllocationAggregateReservation');

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\Compute;
class AllocationAggregateReservationReservedResourceInfo extends \Google\Model
{
protected $acceleratorType = AllocationAggregateReservationReservedResourceInfoAccelerator::class;
protected $acceleratorDataType = '';
/**
* @param AllocationAggregateReservationReservedResourceInfoAccelerator
*/
public function setAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator $accelerator)
{
$this->accelerator = $accelerator;
}
/**
* @return AllocationAggregateReservationReservedResourceInfoAccelerator
*/
public function getAccelerator()
{
return $this->accelerator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationAggregateReservationReservedResourceInfo::class, 'Google_Service_Compute_AllocationAggregateReservationReservedResourceInfo');

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\Compute;
class AllocationAggregateReservationReservedResourceInfoAccelerator extends \Google\Model
{
/**
* @var int
*/
public $acceleratorCount;
/**
* @var string
*/
public $acceleratorType;
/**
* @param int
*/
public function setAcceleratorCount($acceleratorCount)
{
$this->acceleratorCount = $acceleratorCount;
}
/**
* @return int
*/
public function getAcceleratorCount()
{
return $this->acceleratorCount;
}
/**
* @param string
*/
public function setAcceleratorType($acceleratorType)
{
$this->acceleratorType = $acceleratorType;
}
/**
* @return string
*/
public function getAcceleratorType()
{
return $this->acceleratorType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationAggregateReservationReservedResourceInfoAccelerator::class, 'Google_Service_Compute_AllocationAggregateReservationReservedResourceInfoAccelerator');

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\Compute;
class AllocationResourceStatus extends \Google\Model
{
protected $specificSkuAllocationType = AllocationResourceStatusSpecificSKUAllocation::class;
protected $specificSkuAllocationDataType = '';
/**
* @param AllocationResourceStatusSpecificSKUAllocation
*/
public function setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation $specificSkuAllocation)
{
$this->specificSkuAllocation = $specificSkuAllocation;
}
/**
* @return AllocationResourceStatusSpecificSKUAllocation
*/
public function getSpecificSkuAllocation()
{
return $this->specificSkuAllocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationResourceStatus::class, 'Google_Service_Compute_AllocationResourceStatus');

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\Compute;
class AllocationResourceStatusSpecificSKUAllocation extends \Google\Model
{
/**
* @var string
*/
public $sourceInstanceTemplateId;
/**
* @param string
*/
public function setSourceInstanceTemplateId($sourceInstanceTemplateId)
{
$this->sourceInstanceTemplateId = $sourceInstanceTemplateId;
}
/**
* @return string
*/
public function getSourceInstanceTemplateId()
{
return $this->sourceInstanceTemplateId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationResourceStatusSpecificSKUAllocation::class, 'Google_Service_Compute_AllocationResourceStatusSpecificSKUAllocation');

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\Compute;
class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk extends \Google\Model
{
/**
* @var string
*/
public $diskSizeGb;
/**
* @var string
*/
public $interface;
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param string
*/
public function setInterface($interface)
{
$this->interface = $interface;
}
/**
* @return string
*/
public function getInterface()
{
return $this->interface;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk::class, 'Google_Service_Compute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk');

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\Compute;
class AllocationSpecificSKUAllocationReservedInstanceProperties extends \Google\Collection
{
protected $collection_key = 'localSsds';
protected $guestAcceleratorsType = AcceleratorConfig::class;
protected $guestAcceleratorsDataType = 'array';
protected $localSsdsType = AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk::class;
protected $localSsdsDataType = 'array';
/**
* @var string
*/
public $locationHint;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $minCpuPlatform;
/**
* @param AcceleratorConfig[]
*/
public function setGuestAccelerators($guestAccelerators)
{
$this->guestAccelerators = $guestAccelerators;
}
/**
* @return AcceleratorConfig[]
*/
public function getGuestAccelerators()
{
return $this->guestAccelerators;
}
/**
* @param AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk[]
*/
public function setLocalSsds($localSsds)
{
$this->localSsds = $localSsds;
}
/**
* @return AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk[]
*/
public function getLocalSsds()
{
return $this->localSsds;
}
/**
* @param string
*/
public function setLocationHint($locationHint)
{
$this->locationHint = $locationHint;
}
/**
* @return string
*/
public function getLocationHint()
{
return $this->locationHint;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationSpecificSKUAllocationReservedInstanceProperties::class, 'Google_Service_Compute_AllocationSpecificSKUAllocationReservedInstanceProperties');

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\Compute;
class AllocationSpecificSKUReservation extends \Google\Model
{
/**
* @var string
*/
public $assuredCount;
/**
* @var string
*/
public $count;
/**
* @var string
*/
public $inUseCount;
protected $instancePropertiesType = AllocationSpecificSKUAllocationReservedInstanceProperties::class;
protected $instancePropertiesDataType = '';
/**
* @var string
*/
public $sourceInstanceTemplate;
/**
* @param string
*/
public function setAssuredCount($assuredCount)
{
$this->assuredCount = $assuredCount;
}
/**
* @return string
*/
public function getAssuredCount()
{
return $this->assuredCount;
}
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param string
*/
public function setInUseCount($inUseCount)
{
$this->inUseCount = $inUseCount;
}
/**
* @return string
*/
public function getInUseCount()
{
return $this->inUseCount;
}
/**
* @param AllocationSpecificSKUAllocationReservedInstanceProperties
*/
public function setInstanceProperties(AllocationSpecificSKUAllocationReservedInstanceProperties $instanceProperties)
{
$this->instanceProperties = $instanceProperties;
}
/**
* @return AllocationSpecificSKUAllocationReservedInstanceProperties
*/
public function getInstanceProperties()
{
return $this->instanceProperties;
}
/**
* @param string
*/
public function setSourceInstanceTemplate($sourceInstanceTemplate)
{
$this->sourceInstanceTemplate = $sourceInstanceTemplate;
}
/**
* @return string
*/
public function getSourceInstanceTemplate()
{
return $this->sourceInstanceTemplate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationSpecificSKUReservation::class, 'Google_Service_Compute_AllocationSpecificSKUReservation');

View File

@@ -0,0 +1,343 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AttachedDisk extends \Google\Collection
{
protected $collection_key = 'licenses';
/**
* @var string
*/
public $architecture;
/**
* @var bool
*/
public $autoDelete;
/**
* @var bool
*/
public $boot;
/**
* @var string
*/
public $deviceName;
protected $diskEncryptionKeyType = CustomerEncryptionKey::class;
protected $diskEncryptionKeyDataType = '';
/**
* @var string
*/
public $diskSizeGb;
/**
* @var bool
*/
public $forceAttach;
protected $guestOsFeaturesType = GuestOsFeature::class;
protected $guestOsFeaturesDataType = 'array';
/**
* @var int
*/
public $index;
protected $initializeParamsType = AttachedDiskInitializeParams::class;
protected $initializeParamsDataType = '';
/**
* @var string
*/
public $interface;
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $licenses;
/**
* @var string
*/
public $mode;
/**
* @var string
*/
public $savedState;
protected $shieldedInstanceInitialStateType = InitialStateConfig::class;
protected $shieldedInstanceInitialStateDataType = '';
/**
* @var string
*/
public $source;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param bool
*/
public function setAutoDelete($autoDelete)
{
$this->autoDelete = $autoDelete;
}
/**
* @return bool
*/
public function getAutoDelete()
{
return $this->autoDelete;
}
/**
* @param bool
*/
public function setBoot($boot)
{
$this->boot = $boot;
}
/**
* @return bool
*/
public function getBoot()
{
return $this->boot;
}
/**
* @param string
*/
public function setDeviceName($deviceName)
{
$this->deviceName = $deviceName;
}
/**
* @return string
*/
public function getDeviceName()
{
return $this->deviceName;
}
/**
* @param CustomerEncryptionKey
*/
public function setDiskEncryptionKey(CustomerEncryptionKey $diskEncryptionKey)
{
$this->diskEncryptionKey = $diskEncryptionKey;
}
/**
* @return CustomerEncryptionKey
*/
public function getDiskEncryptionKey()
{
return $this->diskEncryptionKey;
}
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param bool
*/
public function setForceAttach($forceAttach)
{
$this->forceAttach = $forceAttach;
}
/**
* @return bool
*/
public function getForceAttach()
{
return $this->forceAttach;
}
/**
* @param GuestOsFeature[]
*/
public function setGuestOsFeatures($guestOsFeatures)
{
$this->guestOsFeatures = $guestOsFeatures;
}
/**
* @return GuestOsFeature[]
*/
public function getGuestOsFeatures()
{
return $this->guestOsFeatures;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
/**
* @param AttachedDiskInitializeParams
*/
public function setInitializeParams(AttachedDiskInitializeParams $initializeParams)
{
$this->initializeParams = $initializeParams;
}
/**
* @return AttachedDiskInitializeParams
*/
public function getInitializeParams()
{
return $this->initializeParams;
}
/**
* @param string
*/
public function setInterface($interface)
{
$this->interface = $interface;
}
/**
* @return string
*/
public function getInterface()
{
return $this->interface;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setLicenses($licenses)
{
$this->licenses = $licenses;
}
/**
* @return string[]
*/
public function getLicenses()
{
return $this->licenses;
}
/**
* @param string
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return string
*/
public function getMode()
{
return $this->mode;
}
/**
* @param string
*/
public function setSavedState($savedState)
{
$this->savedState = $savedState;
}
/**
* @return string
*/
public function getSavedState()
{
return $this->savedState;
}
/**
* @param InitialStateConfig
*/
public function setShieldedInstanceInitialState(InitialStateConfig $shieldedInstanceInitialState)
{
$this->shieldedInstanceInitialState = $shieldedInstanceInitialState;
}
/**
* @return InitialStateConfig
*/
public function getShieldedInstanceInitialState()
{
return $this->shieldedInstanceInitialState;
}
/**
* @param string
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return string
*/
public function getSource()
{
return $this->source;
}
/**
* @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(AttachedDisk::class, 'Google_Service_Compute_AttachedDisk');

View File

@@ -0,0 +1,365 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AttachedDiskInitializeParams extends \Google\Collection
{
protected $collection_key = 'resourcePolicies';
/**
* @var string
*/
public $architecture;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $diskName;
/**
* @var string
*/
public $diskSizeGb;
/**
* @var string
*/
public $diskType;
/**
* @var bool
*/
public $enableConfidentialCompute;
/**
* @var string[]
*/
public $labels;
/**
* @var string[]
*/
public $licenses;
/**
* @var string
*/
public $onUpdateAction;
/**
* @var string
*/
public $provisionedIops;
/**
* @var string
*/
public $provisionedThroughput;
/**
* @var string[]
*/
public $replicaZones;
/**
* @var string[]
*/
public $resourceManagerTags;
/**
* @var string[]
*/
public $resourcePolicies;
/**
* @var string
*/
public $sourceImage;
protected $sourceImageEncryptionKeyType = CustomerEncryptionKey::class;
protected $sourceImageEncryptionKeyDataType = '';
/**
* @var string
*/
public $sourceSnapshot;
protected $sourceSnapshotEncryptionKeyType = CustomerEncryptionKey::class;
protected $sourceSnapshotEncryptionKeyDataType = '';
/**
* @var string
*/
public $storagePool;
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDiskName($diskName)
{
$this->diskName = $diskName;
}
/**
* @return string
*/
public function getDiskName()
{
return $this->diskName;
}
/**
* @param string
*/
public function setDiskSizeGb($diskSizeGb)
{
$this->diskSizeGb = $diskSizeGb;
}
/**
* @return string
*/
public function getDiskSizeGb()
{
return $this->diskSizeGb;
}
/**
* @param string
*/
public function setDiskType($diskType)
{
$this->diskType = $diskType;
}
/**
* @return string
*/
public function getDiskType()
{
return $this->diskType;
}
/**
* @param bool
*/
public function setEnableConfidentialCompute($enableConfidentialCompute)
{
$this->enableConfidentialCompute = $enableConfidentialCompute;
}
/**
* @return bool
*/
public function getEnableConfidentialCompute()
{
return $this->enableConfidentialCompute;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string[]
*/
public function setLicenses($licenses)
{
$this->licenses = $licenses;
}
/**
* @return string[]
*/
public function getLicenses()
{
return $this->licenses;
}
/**
* @param string
*/
public function setOnUpdateAction($onUpdateAction)
{
$this->onUpdateAction = $onUpdateAction;
}
/**
* @return string
*/
public function getOnUpdateAction()
{
return $this->onUpdateAction;
}
/**
* @param string
*/
public function setProvisionedIops($provisionedIops)
{
$this->provisionedIops = $provisionedIops;
}
/**
* @return string
*/
public function getProvisionedIops()
{
return $this->provisionedIops;
}
/**
* @param string
*/
public function setProvisionedThroughput($provisionedThroughput)
{
$this->provisionedThroughput = $provisionedThroughput;
}
/**
* @return string
*/
public function getProvisionedThroughput()
{
return $this->provisionedThroughput;
}
/**
* @param string[]
*/
public function setReplicaZones($replicaZones)
{
$this->replicaZones = $replicaZones;
}
/**
* @return string[]
*/
public function getReplicaZones()
{
return $this->replicaZones;
}
/**
* @param string[]
*/
public function setResourceManagerTags($resourceManagerTags)
{
$this->resourceManagerTags = $resourceManagerTags;
}
/**
* @return string[]
*/
public function getResourceManagerTags()
{
return $this->resourceManagerTags;
}
/**
* @param string[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return string[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
/**
* @param string
*/
public function setSourceImage($sourceImage)
{
$this->sourceImage = $sourceImage;
}
/**
* @return string
*/
public function getSourceImage()
{
return $this->sourceImage;
}
/**
* @param CustomerEncryptionKey
*/
public function setSourceImageEncryptionKey(CustomerEncryptionKey $sourceImageEncryptionKey)
{
$this->sourceImageEncryptionKey = $sourceImageEncryptionKey;
}
/**
* @return CustomerEncryptionKey
*/
public function getSourceImageEncryptionKey()
{
return $this->sourceImageEncryptionKey;
}
/**
* @param string
*/
public function setSourceSnapshot($sourceSnapshot)
{
$this->sourceSnapshot = $sourceSnapshot;
}
/**
* @return string
*/
public function getSourceSnapshot()
{
return $this->sourceSnapshot;
}
/**
* @param CustomerEncryptionKey
*/
public function setSourceSnapshotEncryptionKey(CustomerEncryptionKey $sourceSnapshotEncryptionKey)
{
$this->sourceSnapshotEncryptionKey = $sourceSnapshotEncryptionKey;
}
/**
* @return CustomerEncryptionKey
*/
public function getSourceSnapshotEncryptionKey()
{
return $this->sourceSnapshotEncryptionKey;
}
/**
* @param string
*/
public function setStoragePool($storagePool)
{
$this->storagePool = $storagePool;
}
/**
* @return string
*/
public function getStoragePool()
{
return $this->storagePool;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AttachedDiskInitializeParams::class, 'Google_Service_Compute_AttachedDiskInitializeParams');

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\Compute;
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_Compute_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\Compute;
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_Compute_AuditLogConfig');

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\Compute;
class AuthorizationLoggingOptions extends \Google\Model
{
/**
* @var string
*/
public $permissionType;
/**
* @param string
*/
public function setPermissionType($permissionType)
{
$this->permissionType = $permissionType;
}
/**
* @return string
*/
public function getPermissionType()
{
return $this->permissionType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuthorizationLoggingOptions::class, 'Google_Service_Compute_AuthorizationLoggingOptions');

View File

@@ -0,0 +1,273 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class Autoscaler extends \Google\Collection
{
protected $collection_key = 'statusDetails';
protected $autoscalingPolicyType = AutoscalingPolicy::class;
protected $autoscalingPolicyDataType = '';
/**
* @var string
*/
public $creationTimestamp;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var int
*/
public $recommendedSize;
/**
* @var string
*/
public $region;
protected $scalingScheduleStatusType = ScalingScheduleStatus::class;
protected $scalingScheduleStatusDataType = 'map';
/**
* @var string
*/
public $selfLink;
/**
* @var string
*/
public $status;
protected $statusDetailsType = AutoscalerStatusDetails::class;
protected $statusDetailsDataType = 'array';
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $zone;
/**
* @param AutoscalingPolicy
*/
public function setAutoscalingPolicy(AutoscalingPolicy $autoscalingPolicy)
{
$this->autoscalingPolicy = $autoscalingPolicy;
}
/**
* @return AutoscalingPolicy
*/
public function getAutoscalingPolicy()
{
return $this->autoscalingPolicy;
}
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param int
*/
public function setRecommendedSize($recommendedSize)
{
$this->recommendedSize = $recommendedSize;
}
/**
* @return int
*/
public function getRecommendedSize()
{
return $this->recommendedSize;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param ScalingScheduleStatus[]
*/
public function setScalingScheduleStatus($scalingScheduleStatus)
{
$this->scalingScheduleStatus = $scalingScheduleStatus;
}
/**
* @return ScalingScheduleStatus[]
*/
public function getScalingScheduleStatus()
{
return $this->scalingScheduleStatus;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param AutoscalerStatusDetails[]
*/
public function setStatusDetails($statusDetails)
{
$this->statusDetails = $statusDetails;
}
/**
* @return AutoscalerStatusDetails[]
*/
public function getStatusDetails()
{
return $this->statusDetails;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setZone($zone)
{
$this->zone = $zone;
}
/**
* @return string
*/
public function getZone()
{
return $this->zone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Autoscaler::class, 'Google_Service_Compute_Autoscaler');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AutoscalerAggregatedList extends \Google\Collection
{
protected $collection_key = 'unreachables';
/**
* @var string
*/
public $id;
protected $itemsType = AutoscalersScopedList::class;
protected $itemsDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
/**
* @var string[]
*/
public $unreachables;
protected $warningType = AutoscalerAggregatedListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param AutoscalersScopedList[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return AutoscalersScopedList[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string[]
*/
public function setUnreachables($unreachables)
{
$this->unreachables = $unreachables;
}
/**
* @return string[]
*/
public function getUnreachables()
{
return $this->unreachables;
}
/**
* @param AutoscalerAggregatedListWarning
*/
public function setWarning(AutoscalerAggregatedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AutoscalerAggregatedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalerAggregatedList::class, 'Google_Service_Compute_AutoscalerAggregatedList');

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\Compute;
class AutoscalerAggregatedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AutoscalerAggregatedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AutoscalerAggregatedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AutoscalerAggregatedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalerAggregatedListWarning::class, 'Google_Service_Compute_AutoscalerAggregatedListWarning');

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\Compute;
class AutoscalerAggregatedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AutoscalerAggregatedListWarningData::class, 'Google_Service_Compute_AutoscalerAggregatedListWarningData');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AutoscalerList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = Autoscaler::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = AutoscalerListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param Autoscaler[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Autoscaler[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param AutoscalerListWarning
*/
public function setWarning(AutoscalerListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AutoscalerListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalerList::class, 'Google_Service_Compute_AutoscalerList');

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\Compute;
class AutoscalerListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AutoscalerListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AutoscalerListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AutoscalerListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalerListWarning::class, 'Google_Service_Compute_AutoscalerListWarning');

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\Compute;
class AutoscalerListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AutoscalerListWarningData::class, 'Google_Service_Compute_AutoscalerListWarningData');

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\Compute;
class AutoscalerStatusDetails extends \Google\Model
{
/**
* @var string
*/
public $message;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
/**
* @param string
*/
public function 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(AutoscalerStatusDetails::class, 'Google_Service_Compute_AutoscalerStatusDetails');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AutoscalersScopedList extends \Google\Collection
{
protected $collection_key = 'autoscalers';
protected $autoscalersType = Autoscaler::class;
protected $autoscalersDataType = 'array';
protected $warningType = AutoscalersScopedListWarning::class;
protected $warningDataType = '';
/**
* @param Autoscaler[]
*/
public function setAutoscalers($autoscalers)
{
$this->autoscalers = $autoscalers;
}
/**
* @return Autoscaler[]
*/
public function getAutoscalers()
{
return $this->autoscalers;
}
/**
* @param AutoscalersScopedListWarning
*/
public function setWarning(AutoscalersScopedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return AutoscalersScopedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalersScopedList::class, 'Google_Service_Compute_AutoscalersScopedList');

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\Compute;
class AutoscalersScopedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = AutoscalersScopedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param AutoscalersScopedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return AutoscalersScopedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalersScopedListWarning::class, 'Google_Service_Compute_AutoscalersScopedListWarning');

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\Compute;
class AutoscalersScopedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(AutoscalersScopedListWarningData::class, 'Google_Service_Compute_AutoscalersScopedListWarningData');

View File

@@ -0,0 +1,179 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class AutoscalingPolicy extends \Google\Collection
{
protected $collection_key = 'customMetricUtilizations';
/**
* @var int
*/
public $coolDownPeriodSec;
protected $cpuUtilizationType = AutoscalingPolicyCpuUtilization::class;
protected $cpuUtilizationDataType = '';
protected $customMetricUtilizationsType = AutoscalingPolicyCustomMetricUtilization::class;
protected $customMetricUtilizationsDataType = 'array';
protected $loadBalancingUtilizationType = AutoscalingPolicyLoadBalancingUtilization::class;
protected $loadBalancingUtilizationDataType = '';
/**
* @var int
*/
public $maxNumReplicas;
/**
* @var int
*/
public $minNumReplicas;
/**
* @var string
*/
public $mode;
protected $scaleInControlType = AutoscalingPolicyScaleInControl::class;
protected $scaleInControlDataType = '';
protected $scalingSchedulesType = AutoscalingPolicyScalingSchedule::class;
protected $scalingSchedulesDataType = 'map';
/**
* @param int
*/
public function setCoolDownPeriodSec($coolDownPeriodSec)
{
$this->coolDownPeriodSec = $coolDownPeriodSec;
}
/**
* @return int
*/
public function getCoolDownPeriodSec()
{
return $this->coolDownPeriodSec;
}
/**
* @param AutoscalingPolicyCpuUtilization
*/
public function setCpuUtilization(AutoscalingPolicyCpuUtilization $cpuUtilization)
{
$this->cpuUtilization = $cpuUtilization;
}
/**
* @return AutoscalingPolicyCpuUtilization
*/
public function getCpuUtilization()
{
return $this->cpuUtilization;
}
/**
* @param AutoscalingPolicyCustomMetricUtilization[]
*/
public function setCustomMetricUtilizations($customMetricUtilizations)
{
$this->customMetricUtilizations = $customMetricUtilizations;
}
/**
* @return AutoscalingPolicyCustomMetricUtilization[]
*/
public function getCustomMetricUtilizations()
{
return $this->customMetricUtilizations;
}
/**
* @param AutoscalingPolicyLoadBalancingUtilization
*/
public function setLoadBalancingUtilization(AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
{
$this->loadBalancingUtilization = $loadBalancingUtilization;
}
/**
* @return AutoscalingPolicyLoadBalancingUtilization
*/
public function getLoadBalancingUtilization()
{
return $this->loadBalancingUtilization;
}
/**
* @param int
*/
public function setMaxNumReplicas($maxNumReplicas)
{
$this->maxNumReplicas = $maxNumReplicas;
}
/**
* @return int
*/
public function getMaxNumReplicas()
{
return $this->maxNumReplicas;
}
/**
* @param int
*/
public function setMinNumReplicas($minNumReplicas)
{
$this->minNumReplicas = $minNumReplicas;
}
/**
* @return int
*/
public function getMinNumReplicas()
{
return $this->minNumReplicas;
}
/**
* @param string
*/
public function setMode($mode)
{
$this->mode = $mode;
}
/**
* @return string
*/
public function getMode()
{
return $this->mode;
}
/**
* @param AutoscalingPolicyScaleInControl
*/
public function setScaleInControl(AutoscalingPolicyScaleInControl $scaleInControl)
{
$this->scaleInControl = $scaleInControl;
}
/**
* @return AutoscalingPolicyScaleInControl
*/
public function getScaleInControl()
{
return $this->scaleInControl;
}
/**
* @param AutoscalingPolicyScalingSchedule[]
*/
public function setScalingSchedules($scalingSchedules)
{
$this->scalingSchedules = $scalingSchedules;
}
/**
* @return AutoscalingPolicyScalingSchedule[]
*/
public function getScalingSchedules()
{
return $this->scalingSchedules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicy::class, 'Google_Service_Compute_AutoscalingPolicy');

View File

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

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\Compute;
class AutoscalingPolicyCustomMetricUtilization extends \Google\Model
{
/**
* @var string
*/
public $filter;
/**
* @var string
*/
public $metric;
public $singleInstanceAssignment;
public $utilizationTarget;
/**
* @var string
*/
public $utilizationTargetType;
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param string
*/
public function setMetric($metric)
{
$this->metric = $metric;
}
/**
* @return string
*/
public function getMetric()
{
return $this->metric;
}
public function setSingleInstanceAssignment($singleInstanceAssignment)
{
$this->singleInstanceAssignment = $singleInstanceAssignment;
}
public function getSingleInstanceAssignment()
{
return $this->singleInstanceAssignment;
}
public function setUtilizationTarget($utilizationTarget)
{
$this->utilizationTarget = $utilizationTarget;
}
public function getUtilizationTarget()
{
return $this->utilizationTarget;
}
/**
* @param string
*/
public function setUtilizationTargetType($utilizationTargetType)
{
$this->utilizationTargetType = $utilizationTargetType;
}
/**
* @return string
*/
public function getUtilizationTargetType()
{
return $this->utilizationTargetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicyCustomMetricUtilization::class, 'Google_Service_Compute_AutoscalingPolicyCustomMetricUtilization');

View File

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

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\Compute;
class AutoscalingPolicyScaleInControl extends \Google\Model
{
protected $maxScaledInReplicasType = FixedOrPercent::class;
protected $maxScaledInReplicasDataType = '';
/**
* @var int
*/
public $timeWindowSec;
/**
* @param FixedOrPercent
*/
public function setMaxScaledInReplicas(FixedOrPercent $maxScaledInReplicas)
{
$this->maxScaledInReplicas = $maxScaledInReplicas;
}
/**
* @return FixedOrPercent
*/
public function getMaxScaledInReplicas()
{
return $this->maxScaledInReplicas;
}
/**
* @param int
*/
public function setTimeWindowSec($timeWindowSec)
{
$this->timeWindowSec = $timeWindowSec;
}
/**
* @return int
*/
public function getTimeWindowSec()
{
return $this->timeWindowSec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicyScaleInControl::class, 'Google_Service_Compute_AutoscalingPolicyScaleInControl');

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\Compute;
class AutoscalingPolicyScalingSchedule extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $disabled;
/**
* @var int
*/
public $durationSec;
/**
* @var int
*/
public $minRequiredReplicas;
/**
* @var string
*/
public $schedule;
/**
* @var string
*/
public $timeZone;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param bool
*/
public function setDisabled($disabled)
{
$this->disabled = $disabled;
}
/**
* @return bool
*/
public function getDisabled()
{
return $this->disabled;
}
/**
* @param int
*/
public function setDurationSec($durationSec)
{
$this->durationSec = $durationSec;
}
/**
* @return int
*/
public function getDurationSec()
{
return $this->durationSec;
}
/**
* @param int
*/
public function setMinRequiredReplicas($minRequiredReplicas)
{
$this->minRequiredReplicas = $minRequiredReplicas;
}
/**
* @return int
*/
public function getMinRequiredReplicas()
{
return $this->minRequiredReplicas;
}
/**
* @param string
*/
public function setSchedule($schedule)
{
$this->schedule = $schedule;
}
/**
* @return string
*/
public function getSchedule()
{
return $this->schedule;
}
/**
* @param string
*/
public function setTimeZone($timeZone)
{
$this->timeZone = $timeZone;
}
/**
* @return string
*/
public function getTimeZone()
{
return $this->timeZone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AutoscalingPolicyScalingSchedule::class, 'Google_Service_Compute_AutoscalingPolicyScalingSchedule');

View File

@@ -0,0 +1,260 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class Backend extends \Google\Model
{
/**
* @var string
*/
public $balancingMode;
/**
* @var float
*/
public $capacityScaler;
/**
* @var string
*/
public $description;
/**
* @var bool
*/
public $failover;
/**
* @var string
*/
public $group;
/**
* @var int
*/
public $maxConnections;
/**
* @var int
*/
public $maxConnectionsPerEndpoint;
/**
* @var int
*/
public $maxConnectionsPerInstance;
/**
* @var int
*/
public $maxRate;
/**
* @var float
*/
public $maxRatePerEndpoint;
/**
* @var float
*/
public $maxRatePerInstance;
/**
* @var float
*/
public $maxUtilization;
/**
* @var string
*/
public $preference;
/**
* @param string
*/
public function setBalancingMode($balancingMode)
{
$this->balancingMode = $balancingMode;
}
/**
* @return string
*/
public function getBalancingMode()
{
return $this->balancingMode;
}
/**
* @param float
*/
public function setCapacityScaler($capacityScaler)
{
$this->capacityScaler = $capacityScaler;
}
/**
* @return float
*/
public function getCapacityScaler()
{
return $this->capacityScaler;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param bool
*/
public function setFailover($failover)
{
$this->failover = $failover;
}
/**
* @return bool
*/
public function getFailover()
{
return $this->failover;
}
/**
* @param string
*/
public function setGroup($group)
{
$this->group = $group;
}
/**
* @return string
*/
public function getGroup()
{
return $this->group;
}
/**
* @param int
*/
public function setMaxConnections($maxConnections)
{
$this->maxConnections = $maxConnections;
}
/**
* @return int
*/
public function getMaxConnections()
{
return $this->maxConnections;
}
/**
* @param int
*/
public function setMaxConnectionsPerEndpoint($maxConnectionsPerEndpoint)
{
$this->maxConnectionsPerEndpoint = $maxConnectionsPerEndpoint;
}
/**
* @return int
*/
public function getMaxConnectionsPerEndpoint()
{
return $this->maxConnectionsPerEndpoint;
}
/**
* @param int
*/
public function setMaxConnectionsPerInstance($maxConnectionsPerInstance)
{
$this->maxConnectionsPerInstance = $maxConnectionsPerInstance;
}
/**
* @return int
*/
public function getMaxConnectionsPerInstance()
{
return $this->maxConnectionsPerInstance;
}
/**
* @param int
*/
public function setMaxRate($maxRate)
{
$this->maxRate = $maxRate;
}
/**
* @return int
*/
public function getMaxRate()
{
return $this->maxRate;
}
/**
* @param float
*/
public function setMaxRatePerEndpoint($maxRatePerEndpoint)
{
$this->maxRatePerEndpoint = $maxRatePerEndpoint;
}
/**
* @return float
*/
public function getMaxRatePerEndpoint()
{
return $this->maxRatePerEndpoint;
}
/**
* @param float
*/
public function setMaxRatePerInstance($maxRatePerInstance)
{
$this->maxRatePerInstance = $maxRatePerInstance;
}
/**
* @return float
*/
public function getMaxRatePerInstance()
{
return $this->maxRatePerInstance;
}
/**
* @param float
*/
public function setMaxUtilization($maxUtilization)
{
$this->maxUtilization = $maxUtilization;
}
/**
* @return float
*/
public function getMaxUtilization()
{
return $this->maxUtilization;
}
/**
* @param string
*/
public function setPreference($preference)
{
$this->preference = $preference;
}
/**
* @return string
*/
public function getPreference()
{
return $this->preference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backend::class, 'Google_Service_Compute_Backend');

View File

@@ -0,0 +1,257 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendBucket extends \Google\Collection
{
protected $collection_key = 'usedBy';
/**
* @var string
*/
public $bucketName;
protected $cdnPolicyType = BackendBucketCdnPolicy::class;
protected $cdnPolicyDataType = '';
/**
* @var string
*/
public $compressionMode;
/**
* @var string
*/
public $creationTimestamp;
/**
* @var string[]
*/
public $customResponseHeaders;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $edgeSecurityPolicy;
/**
* @var bool
*/
public $enableCdn;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $selfLink;
protected $usedByType = BackendBucketUsedBy::class;
protected $usedByDataType = 'array';
/**
* @param string
*/
public function setBucketName($bucketName)
{
$this->bucketName = $bucketName;
}
/**
* @return string
*/
public function getBucketName()
{
return $this->bucketName;
}
/**
* @param BackendBucketCdnPolicy
*/
public function setCdnPolicy(BackendBucketCdnPolicy $cdnPolicy)
{
$this->cdnPolicy = $cdnPolicy;
}
/**
* @return BackendBucketCdnPolicy
*/
public function getCdnPolicy()
{
return $this->cdnPolicy;
}
/**
* @param string
*/
public function setCompressionMode($compressionMode)
{
$this->compressionMode = $compressionMode;
}
/**
* @return string
*/
public function getCompressionMode()
{
return $this->compressionMode;
}
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param string[]
*/
public function setCustomResponseHeaders($customResponseHeaders)
{
$this->customResponseHeaders = $customResponseHeaders;
}
/**
* @return string[]
*/
public function getCustomResponseHeaders()
{
return $this->customResponseHeaders;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEdgeSecurityPolicy($edgeSecurityPolicy)
{
$this->edgeSecurityPolicy = $edgeSecurityPolicy;
}
/**
* @return string
*/
public function getEdgeSecurityPolicy()
{
return $this->edgeSecurityPolicy;
}
/**
* @param bool
*/
public function setEnableCdn($enableCdn)
{
$this->enableCdn = $enableCdn;
}
/**
* @return bool
*/
public function getEnableCdn()
{
return $this->enableCdn;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param BackendBucketUsedBy[]
*/
public function setUsedBy($usedBy)
{
$this->usedBy = $usedBy;
}
/**
* @return BackendBucketUsedBy[]
*/
public function getUsedBy()
{
return $this->usedBy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucket::class, 'Google_Service_Compute_BackendBucket');

View File

@@ -0,0 +1,237 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendBucketCdnPolicy extends \Google\Collection
{
protected $collection_key = 'signedUrlKeyNames';
protected $bypassCacheOnRequestHeadersType = BackendBucketCdnPolicyBypassCacheOnRequestHeader::class;
protected $bypassCacheOnRequestHeadersDataType = 'array';
protected $cacheKeyPolicyType = BackendBucketCdnPolicyCacheKeyPolicy::class;
protected $cacheKeyPolicyDataType = '';
/**
* @var string
*/
public $cacheMode;
/**
* @var int
*/
public $clientTtl;
/**
* @var int
*/
public $defaultTtl;
/**
* @var int
*/
public $maxTtl;
/**
* @var bool
*/
public $negativeCaching;
protected $negativeCachingPolicyType = BackendBucketCdnPolicyNegativeCachingPolicy::class;
protected $negativeCachingPolicyDataType = 'array';
/**
* @var bool
*/
public $requestCoalescing;
/**
* @var int
*/
public $serveWhileStale;
/**
* @var string
*/
public $signedUrlCacheMaxAgeSec;
/**
* @var string[]
*/
public $signedUrlKeyNames;
/**
* @param BackendBucketCdnPolicyBypassCacheOnRequestHeader[]
*/
public function setBypassCacheOnRequestHeaders($bypassCacheOnRequestHeaders)
{
$this->bypassCacheOnRequestHeaders = $bypassCacheOnRequestHeaders;
}
/**
* @return BackendBucketCdnPolicyBypassCacheOnRequestHeader[]
*/
public function getBypassCacheOnRequestHeaders()
{
return $this->bypassCacheOnRequestHeaders;
}
/**
* @param BackendBucketCdnPolicyCacheKeyPolicy
*/
public function setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPolicy $cacheKeyPolicy)
{
$this->cacheKeyPolicy = $cacheKeyPolicy;
}
/**
* @return BackendBucketCdnPolicyCacheKeyPolicy
*/
public function getCacheKeyPolicy()
{
return $this->cacheKeyPolicy;
}
/**
* @param string
*/
public function setCacheMode($cacheMode)
{
$this->cacheMode = $cacheMode;
}
/**
* @return string
*/
public function getCacheMode()
{
return $this->cacheMode;
}
/**
* @param int
*/
public function setClientTtl($clientTtl)
{
$this->clientTtl = $clientTtl;
}
/**
* @return int
*/
public function getClientTtl()
{
return $this->clientTtl;
}
/**
* @param int
*/
public function setDefaultTtl($defaultTtl)
{
$this->defaultTtl = $defaultTtl;
}
/**
* @return int
*/
public function getDefaultTtl()
{
return $this->defaultTtl;
}
/**
* @param int
*/
public function setMaxTtl($maxTtl)
{
$this->maxTtl = $maxTtl;
}
/**
* @return int
*/
public function getMaxTtl()
{
return $this->maxTtl;
}
/**
* @param bool
*/
public function setNegativeCaching($negativeCaching)
{
$this->negativeCaching = $negativeCaching;
}
/**
* @return bool
*/
public function getNegativeCaching()
{
return $this->negativeCaching;
}
/**
* @param BackendBucketCdnPolicyNegativeCachingPolicy[]
*/
public function setNegativeCachingPolicy($negativeCachingPolicy)
{
$this->negativeCachingPolicy = $negativeCachingPolicy;
}
/**
* @return BackendBucketCdnPolicyNegativeCachingPolicy[]
*/
public function getNegativeCachingPolicy()
{
return $this->negativeCachingPolicy;
}
/**
* @param bool
*/
public function setRequestCoalescing($requestCoalescing)
{
$this->requestCoalescing = $requestCoalescing;
}
/**
* @return bool
*/
public function getRequestCoalescing()
{
return $this->requestCoalescing;
}
/**
* @param int
*/
public function setServeWhileStale($serveWhileStale)
{
$this->serveWhileStale = $serveWhileStale;
}
/**
* @return int
*/
public function getServeWhileStale()
{
return $this->serveWhileStale;
}
/**
* @param string
*/
public function setSignedUrlCacheMaxAgeSec($signedUrlCacheMaxAgeSec)
{
$this->signedUrlCacheMaxAgeSec = $signedUrlCacheMaxAgeSec;
}
/**
* @return string
*/
public function getSignedUrlCacheMaxAgeSec()
{
return $this->signedUrlCacheMaxAgeSec;
}
/**
* @param string[]
*/
public function setSignedUrlKeyNames($signedUrlKeyNames)
{
$this->signedUrlKeyNames = $signedUrlKeyNames;
}
/**
* @return string[]
*/
public function getSignedUrlKeyNames()
{
return $this->signedUrlKeyNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketCdnPolicy::class, 'Google_Service_Compute_BackendBucketCdnPolicy');

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\Compute;
class BackendBucketCdnPolicyBypassCacheOnRequestHeader extends \Google\Model
{
/**
* @var string
*/
public $headerName;
/**
* @param string
*/
public function setHeaderName($headerName)
{
$this->headerName = $headerName;
}
/**
* @return string
*/
public function getHeaderName()
{
return $this->headerName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketCdnPolicyBypassCacheOnRequestHeader::class, 'Google_Service_Compute_BackendBucketCdnPolicyBypassCacheOnRequestHeader');

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\Compute;
class BackendBucketCdnPolicyCacheKeyPolicy extends \Google\Collection
{
protected $collection_key = 'queryStringWhitelist';
/**
* @var string[]
*/
public $includeHttpHeaders;
/**
* @var string[]
*/
public $queryStringWhitelist;
/**
* @param string[]
*/
public function setIncludeHttpHeaders($includeHttpHeaders)
{
$this->includeHttpHeaders = $includeHttpHeaders;
}
/**
* @return string[]
*/
public function getIncludeHttpHeaders()
{
return $this->includeHttpHeaders;
}
/**
* @param string[]
*/
public function setQueryStringWhitelist($queryStringWhitelist)
{
$this->queryStringWhitelist = $queryStringWhitelist;
}
/**
* @return string[]
*/
public function getQueryStringWhitelist()
{
return $this->queryStringWhitelist;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketCdnPolicyCacheKeyPolicy::class, 'Google_Service_Compute_BackendBucketCdnPolicyCacheKeyPolicy');

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\Compute;
class BackendBucketCdnPolicyNegativeCachingPolicy extends \Google\Model
{
/**
* @var int
*/
public $code;
/**
* @var int
*/
public $ttl;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param int
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return int
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketCdnPolicyNegativeCachingPolicy::class, 'Google_Service_Compute_BackendBucketCdnPolicyNegativeCachingPolicy');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendBucketList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = BackendBucket::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = BackendBucketListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param BackendBucket[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return BackendBucket[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param BackendBucketListWarning
*/
public function setWarning(BackendBucketListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return BackendBucketListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketList::class, 'Google_Service_Compute_BackendBucketList');

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\Compute;
class BackendBucketListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = BackendBucketListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param BackendBucketListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return BackendBucketListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketListWarning::class, 'Google_Service_Compute_BackendBucketListWarning');

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\Compute;
class BackendBucketListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(BackendBucketListWarningData::class, 'Google_Service_Compute_BackendBucketListWarningData');

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\Compute;
class BackendBucketUsedBy extends \Google\Model
{
/**
* @var string
*/
public $reference;
/**
* @param string
*/
public function setReference($reference)
{
$this->reference = $reference;
}
/**
* @return string
*/
public function getReference()
{
return $this->reference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendBucketUsedBy::class, 'Google_Service_Compute_BackendBucketUsedBy');

View File

@@ -0,0 +1,787 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendService extends \Google\Collection
{
protected $collection_key = 'usedBy';
/**
* @var int
*/
public $affinityCookieTtlSec;
protected $backendsType = Backend::class;
protected $backendsDataType = 'array';
protected $cdnPolicyType = BackendServiceCdnPolicy::class;
protected $cdnPolicyDataType = '';
protected $circuitBreakersType = CircuitBreakers::class;
protected $circuitBreakersDataType = '';
/**
* @var string
*/
public $compressionMode;
protected $connectionDrainingType = ConnectionDraining::class;
protected $connectionDrainingDataType = '';
protected $connectionTrackingPolicyType = BackendServiceConnectionTrackingPolicy::class;
protected $connectionTrackingPolicyDataType = '';
protected $consistentHashType = ConsistentHashLoadBalancerSettings::class;
protected $consistentHashDataType = '';
/**
* @var string
*/
public $creationTimestamp;
/**
* @var string[]
*/
public $customRequestHeaders;
/**
* @var string[]
*/
public $customResponseHeaders;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $edgeSecurityPolicy;
/**
* @var bool
*/
public $enableCDN;
protected $failoverPolicyType = BackendServiceFailoverPolicy::class;
protected $failoverPolicyDataType = '';
/**
* @var string
*/
public $fingerprint;
/**
* @var string[]
*/
public $healthChecks;
protected $iapType = BackendServiceIAP::class;
protected $iapDataType = '';
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $ipAddressSelectionPolicy;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $loadBalancingScheme;
protected $localityLbPoliciesType = BackendServiceLocalityLoadBalancingPolicyConfig::class;
protected $localityLbPoliciesDataType = 'array';
/**
* @var string
*/
public $localityLbPolicy;
protected $logConfigType = BackendServiceLogConfig::class;
protected $logConfigDataType = '';
protected $maxStreamDurationType = Duration::class;
protected $maxStreamDurationDataType = '';
/**
* @var string[]
*/
public $metadatas;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $network;
protected $outlierDetectionType = OutlierDetection::class;
protected $outlierDetectionDataType = '';
/**
* @var int
*/
public $port;
/**
* @var string
*/
public $portName;
/**
* @var string
*/
public $protocol;
/**
* @var string
*/
public $region;
/**
* @var string
*/
public $securityPolicy;
protected $securitySettingsType = SecuritySettings::class;
protected $securitySettingsDataType = '';
/**
* @var string
*/
public $selfLink;
/**
* @var string[]
*/
public $serviceBindings;
/**
* @var string
*/
public $serviceLbPolicy;
/**
* @var string
*/
public $sessionAffinity;
protected $strongSessionAffinityCookieType = BackendServiceHttpCookie::class;
protected $strongSessionAffinityCookieDataType = '';
protected $subsettingType = Subsetting::class;
protected $subsettingDataType = '';
/**
* @var int
*/
public $timeoutSec;
protected $usedByType = BackendServiceUsedBy::class;
protected $usedByDataType = 'array';
/**
* @param int
*/
public function setAffinityCookieTtlSec($affinityCookieTtlSec)
{
$this->affinityCookieTtlSec = $affinityCookieTtlSec;
}
/**
* @return int
*/
public function getAffinityCookieTtlSec()
{
return $this->affinityCookieTtlSec;
}
/**
* @param Backend[]
*/
public function setBackends($backends)
{
$this->backends = $backends;
}
/**
* @return Backend[]
*/
public function getBackends()
{
return $this->backends;
}
/**
* @param BackendServiceCdnPolicy
*/
public function setCdnPolicy(BackendServiceCdnPolicy $cdnPolicy)
{
$this->cdnPolicy = $cdnPolicy;
}
/**
* @return BackendServiceCdnPolicy
*/
public function getCdnPolicy()
{
return $this->cdnPolicy;
}
/**
* @param CircuitBreakers
*/
public function setCircuitBreakers(CircuitBreakers $circuitBreakers)
{
$this->circuitBreakers = $circuitBreakers;
}
/**
* @return CircuitBreakers
*/
public function getCircuitBreakers()
{
return $this->circuitBreakers;
}
/**
* @param string
*/
public function setCompressionMode($compressionMode)
{
$this->compressionMode = $compressionMode;
}
/**
* @return string
*/
public function getCompressionMode()
{
return $this->compressionMode;
}
/**
* @param ConnectionDraining
*/
public function setConnectionDraining(ConnectionDraining $connectionDraining)
{
$this->connectionDraining = $connectionDraining;
}
/**
* @return ConnectionDraining
*/
public function getConnectionDraining()
{
return $this->connectionDraining;
}
/**
* @param BackendServiceConnectionTrackingPolicy
*/
public function setConnectionTrackingPolicy(BackendServiceConnectionTrackingPolicy $connectionTrackingPolicy)
{
$this->connectionTrackingPolicy = $connectionTrackingPolicy;
}
/**
* @return BackendServiceConnectionTrackingPolicy
*/
public function getConnectionTrackingPolicy()
{
return $this->connectionTrackingPolicy;
}
/**
* @param ConsistentHashLoadBalancerSettings
*/
public function setConsistentHash(ConsistentHashLoadBalancerSettings $consistentHash)
{
$this->consistentHash = $consistentHash;
}
/**
* @return ConsistentHashLoadBalancerSettings
*/
public function getConsistentHash()
{
return $this->consistentHash;
}
/**
* @param string
*/
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
}
/**
* @return string
*/
public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
/**
* @param string[]
*/
public function setCustomRequestHeaders($customRequestHeaders)
{
$this->customRequestHeaders = $customRequestHeaders;
}
/**
* @return string[]
*/
public function getCustomRequestHeaders()
{
return $this->customRequestHeaders;
}
/**
* @param string[]
*/
public function setCustomResponseHeaders($customResponseHeaders)
{
$this->customResponseHeaders = $customResponseHeaders;
}
/**
* @return string[]
*/
public function getCustomResponseHeaders()
{
return $this->customResponseHeaders;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEdgeSecurityPolicy($edgeSecurityPolicy)
{
$this->edgeSecurityPolicy = $edgeSecurityPolicy;
}
/**
* @return string
*/
public function getEdgeSecurityPolicy()
{
return $this->edgeSecurityPolicy;
}
/**
* @param bool
*/
public function setEnableCDN($enableCDN)
{
$this->enableCDN = $enableCDN;
}
/**
* @return bool
*/
public function getEnableCDN()
{
return $this->enableCDN;
}
/**
* @param BackendServiceFailoverPolicy
*/
public function setFailoverPolicy(BackendServiceFailoverPolicy $failoverPolicy)
{
$this->failoverPolicy = $failoverPolicy;
}
/**
* @return BackendServiceFailoverPolicy
*/
public function getFailoverPolicy()
{
return $this->failoverPolicy;
}
/**
* @param string
*/
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
/**
* @return string
*/
public function getFingerprint()
{
return $this->fingerprint;
}
/**
* @param string[]
*/
public function setHealthChecks($healthChecks)
{
$this->healthChecks = $healthChecks;
}
/**
* @return string[]
*/
public function getHealthChecks()
{
return $this->healthChecks;
}
/**
* @param BackendServiceIAP
*/
public function setIap(BackendServiceIAP $iap)
{
$this->iap = $iap;
}
/**
* @return BackendServiceIAP
*/
public function getIap()
{
return $this->iap;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setIpAddressSelectionPolicy($ipAddressSelectionPolicy)
{
$this->ipAddressSelectionPolicy = $ipAddressSelectionPolicy;
}
/**
* @return string
*/
public function getIpAddressSelectionPolicy()
{
return $this->ipAddressSelectionPolicy;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLoadBalancingScheme($loadBalancingScheme)
{
$this->loadBalancingScheme = $loadBalancingScheme;
}
/**
* @return string
*/
public function getLoadBalancingScheme()
{
return $this->loadBalancingScheme;
}
/**
* @param BackendServiceLocalityLoadBalancingPolicyConfig[]
*/
public function setLocalityLbPolicies($localityLbPolicies)
{
$this->localityLbPolicies = $localityLbPolicies;
}
/**
* @return BackendServiceLocalityLoadBalancingPolicyConfig[]
*/
public function getLocalityLbPolicies()
{
return $this->localityLbPolicies;
}
/**
* @param string
*/
public function setLocalityLbPolicy($localityLbPolicy)
{
$this->localityLbPolicy = $localityLbPolicy;
}
/**
* @return string
*/
public function getLocalityLbPolicy()
{
return $this->localityLbPolicy;
}
/**
* @param BackendServiceLogConfig
*/
public function setLogConfig(BackendServiceLogConfig $logConfig)
{
$this->logConfig = $logConfig;
}
/**
* @return BackendServiceLogConfig
*/
public function getLogConfig()
{
return $this->logConfig;
}
/**
* @param Duration
*/
public function setMaxStreamDuration(Duration $maxStreamDuration)
{
$this->maxStreamDuration = $maxStreamDuration;
}
/**
* @return Duration
*/
public function getMaxStreamDuration()
{
return $this->maxStreamDuration;
}
/**
* @param string[]
*/
public function setMetadatas($metadatas)
{
$this->metadatas = $metadatas;
}
/**
* @return string[]
*/
public function getMetadatas()
{
return $this->metadatas;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param OutlierDetection
*/
public function setOutlierDetection(OutlierDetection $outlierDetection)
{
$this->outlierDetection = $outlierDetection;
}
/**
* @return OutlierDetection
*/
public function getOutlierDetection()
{
return $this->outlierDetection;
}
/**
* @param int
*/
public function setPort($port)
{
$this->port = $port;
}
/**
* @return int
*/
public function getPort()
{
return $this->port;
}
/**
* @param string
*/
public function setPortName($portName)
{
$this->portName = $portName;
}
/**
* @return string
*/
public function getPortName()
{
return $this->portName;
}
/**
* @param string
*/
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
/**
* @return string
*/
public function getProtocol()
{
return $this->protocol;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
/**
* @param string
*/
public function setSecurityPolicy($securityPolicy)
{
$this->securityPolicy = $securityPolicy;
}
/**
* @return string
*/
public function getSecurityPolicy()
{
return $this->securityPolicy;
}
/**
* @param SecuritySettings
*/
public function setSecuritySettings(SecuritySettings $securitySettings)
{
$this->securitySettings = $securitySettings;
}
/**
* @return SecuritySettings
*/
public function getSecuritySettings()
{
return $this->securitySettings;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string[]
*/
public function setServiceBindings($serviceBindings)
{
$this->serviceBindings = $serviceBindings;
}
/**
* @return string[]
*/
public function getServiceBindings()
{
return $this->serviceBindings;
}
/**
* @param string
*/
public function setServiceLbPolicy($serviceLbPolicy)
{
$this->serviceLbPolicy = $serviceLbPolicy;
}
/**
* @return string
*/
public function getServiceLbPolicy()
{
return $this->serviceLbPolicy;
}
/**
* @param string
*/
public function setSessionAffinity($sessionAffinity)
{
$this->sessionAffinity = $sessionAffinity;
}
/**
* @return string
*/
public function getSessionAffinity()
{
return $this->sessionAffinity;
}
/**
* @param BackendServiceHttpCookie
*/
public function setStrongSessionAffinityCookie(BackendServiceHttpCookie $strongSessionAffinityCookie)
{
$this->strongSessionAffinityCookie = $strongSessionAffinityCookie;
}
/**
* @return BackendServiceHttpCookie
*/
public function getStrongSessionAffinityCookie()
{
return $this->strongSessionAffinityCookie;
}
/**
* @param Subsetting
*/
public function setSubsetting(Subsetting $subsetting)
{
$this->subsetting = $subsetting;
}
/**
* @return Subsetting
*/
public function getSubsetting()
{
return $this->subsetting;
}
/**
* @param int
*/
public function setTimeoutSec($timeoutSec)
{
$this->timeoutSec = $timeoutSec;
}
/**
* @return int
*/
public function getTimeoutSec()
{
return $this->timeoutSec;
}
/**
* @param BackendServiceUsedBy[]
*/
public function setUsedBy($usedBy)
{
$this->usedBy = $usedBy;
}
/**
* @return BackendServiceUsedBy[]
*/
public function getUsedBy()
{
return $this->usedBy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendService::class, 'Google_Service_Compute_BackendService');

View File

@@ -0,0 +1,149 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServiceAggregatedList extends \Google\Collection
{
protected $collection_key = 'unreachables';
/**
* @var string
*/
public $id;
protected $itemsType = BackendServicesScopedList::class;
protected $itemsDataType = 'map';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
/**
* @var string[]
*/
public $unreachables;
protected $warningType = BackendServiceAggregatedListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param BackendServicesScopedList[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return BackendServicesScopedList[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param string[]
*/
public function setUnreachables($unreachables)
{
$this->unreachables = $unreachables;
}
/**
* @return string[]
*/
public function getUnreachables()
{
return $this->unreachables;
}
/**
* @param BackendServiceAggregatedListWarning
*/
public function setWarning(BackendServiceAggregatedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return BackendServiceAggregatedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceAggregatedList::class, 'Google_Service_Compute_BackendServiceAggregatedList');

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\Compute;
class BackendServiceAggregatedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = BackendServiceAggregatedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param BackendServiceAggregatedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return BackendServiceAggregatedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceAggregatedListWarning::class, 'Google_Service_Compute_BackendServiceAggregatedListWarning');

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\Compute;
class BackendServiceAggregatedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(BackendServiceAggregatedListWarningData::class, 'Google_Service_Compute_BackendServiceAggregatedListWarningData');

View File

@@ -0,0 +1,237 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServiceCdnPolicy extends \Google\Collection
{
protected $collection_key = 'signedUrlKeyNames';
protected $bypassCacheOnRequestHeadersType = BackendServiceCdnPolicyBypassCacheOnRequestHeader::class;
protected $bypassCacheOnRequestHeadersDataType = 'array';
protected $cacheKeyPolicyType = CacheKeyPolicy::class;
protected $cacheKeyPolicyDataType = '';
/**
* @var string
*/
public $cacheMode;
/**
* @var int
*/
public $clientTtl;
/**
* @var int
*/
public $defaultTtl;
/**
* @var int
*/
public $maxTtl;
/**
* @var bool
*/
public $negativeCaching;
protected $negativeCachingPolicyType = BackendServiceCdnPolicyNegativeCachingPolicy::class;
protected $negativeCachingPolicyDataType = 'array';
/**
* @var bool
*/
public $requestCoalescing;
/**
* @var int
*/
public $serveWhileStale;
/**
* @var string
*/
public $signedUrlCacheMaxAgeSec;
/**
* @var string[]
*/
public $signedUrlKeyNames;
/**
* @param BackendServiceCdnPolicyBypassCacheOnRequestHeader[]
*/
public function setBypassCacheOnRequestHeaders($bypassCacheOnRequestHeaders)
{
$this->bypassCacheOnRequestHeaders = $bypassCacheOnRequestHeaders;
}
/**
* @return BackendServiceCdnPolicyBypassCacheOnRequestHeader[]
*/
public function getBypassCacheOnRequestHeaders()
{
return $this->bypassCacheOnRequestHeaders;
}
/**
* @param CacheKeyPolicy
*/
public function setCacheKeyPolicy(CacheKeyPolicy $cacheKeyPolicy)
{
$this->cacheKeyPolicy = $cacheKeyPolicy;
}
/**
* @return CacheKeyPolicy
*/
public function getCacheKeyPolicy()
{
return $this->cacheKeyPolicy;
}
/**
* @param string
*/
public function setCacheMode($cacheMode)
{
$this->cacheMode = $cacheMode;
}
/**
* @return string
*/
public function getCacheMode()
{
return $this->cacheMode;
}
/**
* @param int
*/
public function setClientTtl($clientTtl)
{
$this->clientTtl = $clientTtl;
}
/**
* @return int
*/
public function getClientTtl()
{
return $this->clientTtl;
}
/**
* @param int
*/
public function setDefaultTtl($defaultTtl)
{
$this->defaultTtl = $defaultTtl;
}
/**
* @return int
*/
public function getDefaultTtl()
{
return $this->defaultTtl;
}
/**
* @param int
*/
public function setMaxTtl($maxTtl)
{
$this->maxTtl = $maxTtl;
}
/**
* @return int
*/
public function getMaxTtl()
{
return $this->maxTtl;
}
/**
* @param bool
*/
public function setNegativeCaching($negativeCaching)
{
$this->negativeCaching = $negativeCaching;
}
/**
* @return bool
*/
public function getNegativeCaching()
{
return $this->negativeCaching;
}
/**
* @param BackendServiceCdnPolicyNegativeCachingPolicy[]
*/
public function setNegativeCachingPolicy($negativeCachingPolicy)
{
$this->negativeCachingPolicy = $negativeCachingPolicy;
}
/**
* @return BackendServiceCdnPolicyNegativeCachingPolicy[]
*/
public function getNegativeCachingPolicy()
{
return $this->negativeCachingPolicy;
}
/**
* @param bool
*/
public function setRequestCoalescing($requestCoalescing)
{
$this->requestCoalescing = $requestCoalescing;
}
/**
* @return bool
*/
public function getRequestCoalescing()
{
return $this->requestCoalescing;
}
/**
* @param int
*/
public function setServeWhileStale($serveWhileStale)
{
$this->serveWhileStale = $serveWhileStale;
}
/**
* @return int
*/
public function getServeWhileStale()
{
return $this->serveWhileStale;
}
/**
* @param string
*/
public function setSignedUrlCacheMaxAgeSec($signedUrlCacheMaxAgeSec)
{
$this->signedUrlCacheMaxAgeSec = $signedUrlCacheMaxAgeSec;
}
/**
* @return string
*/
public function getSignedUrlCacheMaxAgeSec()
{
return $this->signedUrlCacheMaxAgeSec;
}
/**
* @param string[]
*/
public function setSignedUrlKeyNames($signedUrlKeyNames)
{
$this->signedUrlKeyNames = $signedUrlKeyNames;
}
/**
* @return string[]
*/
public function getSignedUrlKeyNames()
{
return $this->signedUrlKeyNames;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceCdnPolicy::class, 'Google_Service_Compute_BackendServiceCdnPolicy');

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\Compute;
class BackendServiceCdnPolicyBypassCacheOnRequestHeader extends \Google\Model
{
/**
* @var string
*/
public $headerName;
/**
* @param string
*/
public function setHeaderName($headerName)
{
$this->headerName = $headerName;
}
/**
* @return string
*/
public function getHeaderName()
{
return $this->headerName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceCdnPolicyBypassCacheOnRequestHeader::class, 'Google_Service_Compute_BackendServiceCdnPolicyBypassCacheOnRequestHeader');

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\Compute;
class BackendServiceCdnPolicyNegativeCachingPolicy extends \Google\Model
{
/**
* @var int
*/
public $code;
/**
* @var int
*/
public $ttl;
/**
* @param int
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return int
*/
public function getCode()
{
return $this->code;
}
/**
* @param int
*/
public function setTtl($ttl)
{
$this->ttl = $ttl;
}
/**
* @return int
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceCdnPolicyNegativeCachingPolicy::class, 'Google_Service_Compute_BackendServiceCdnPolicyNegativeCachingPolicy');

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\Compute;
class BackendServiceConnectionTrackingPolicy extends \Google\Model
{
/**
* @var string
*/
public $connectionPersistenceOnUnhealthyBackends;
/**
* @var bool
*/
public $enableStrongAffinity;
/**
* @var int
*/
public $idleTimeoutSec;
/**
* @var string
*/
public $trackingMode;
/**
* @param string
*/
public function setConnectionPersistenceOnUnhealthyBackends($connectionPersistenceOnUnhealthyBackends)
{
$this->connectionPersistenceOnUnhealthyBackends = $connectionPersistenceOnUnhealthyBackends;
}
/**
* @return string
*/
public function getConnectionPersistenceOnUnhealthyBackends()
{
return $this->connectionPersistenceOnUnhealthyBackends;
}
/**
* @param bool
*/
public function setEnableStrongAffinity($enableStrongAffinity)
{
$this->enableStrongAffinity = $enableStrongAffinity;
}
/**
* @return bool
*/
public function getEnableStrongAffinity()
{
return $this->enableStrongAffinity;
}
/**
* @param int
*/
public function setIdleTimeoutSec($idleTimeoutSec)
{
$this->idleTimeoutSec = $idleTimeoutSec;
}
/**
* @return int
*/
public function getIdleTimeoutSec()
{
return $this->idleTimeoutSec;
}
/**
* @param string
*/
public function setTrackingMode($trackingMode)
{
$this->trackingMode = $trackingMode;
}
/**
* @return string
*/
public function getTrackingMode()
{
return $this->trackingMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceConnectionTrackingPolicy::class, 'Google_Service_Compute_BackendServiceConnectionTrackingPolicy');

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\Compute;
class BackendServiceFailoverPolicy extends \Google\Model
{
/**
* @var bool
*/
public $disableConnectionDrainOnFailover;
/**
* @var bool
*/
public $dropTrafficIfUnhealthy;
/**
* @var float
*/
public $failoverRatio;
/**
* @param bool
*/
public function setDisableConnectionDrainOnFailover($disableConnectionDrainOnFailover)
{
$this->disableConnectionDrainOnFailover = $disableConnectionDrainOnFailover;
}
/**
* @return bool
*/
public function getDisableConnectionDrainOnFailover()
{
return $this->disableConnectionDrainOnFailover;
}
/**
* @param bool
*/
public function setDropTrafficIfUnhealthy($dropTrafficIfUnhealthy)
{
$this->dropTrafficIfUnhealthy = $dropTrafficIfUnhealthy;
}
/**
* @return bool
*/
public function getDropTrafficIfUnhealthy()
{
return $this->dropTrafficIfUnhealthy;
}
/**
* @param float
*/
public function setFailoverRatio($failoverRatio)
{
$this->failoverRatio = $failoverRatio;
}
/**
* @return float
*/
public function getFailoverRatio()
{
return $this->failoverRatio;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceFailoverPolicy::class, 'Google_Service_Compute_BackendServiceFailoverPolicy');

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\Compute;
class BackendServiceGroupHealth extends \Google\Collection
{
protected $collection_key = 'healthStatus';
/**
* @var string[]
*/
public $annotations;
protected $healthStatusType = HealthStatus::class;
protected $healthStatusDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param HealthStatus[]
*/
public function setHealthStatus($healthStatus)
{
$this->healthStatus = $healthStatus;
}
/**
* @return HealthStatus[]
*/
public function getHealthStatus()
{
return $this->healthStatus;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceGroupHealth::class, 'Google_Service_Compute_BackendServiceGroupHealth');

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\Compute;
class BackendServiceHttpCookie extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $path;
protected $ttlType = Duration::class;
protected $ttlDataType = '';
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* @param Duration
*/
public function setTtl(Duration $ttl)
{
$this->ttl = $ttl;
}
/**
* @return Duration
*/
public function getTtl()
{
return $this->ttl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceHttpCookie::class, 'Google_Service_Compute_BackendServiceHttpCookie');

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

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServiceList extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = BackendService::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = BackendServiceListWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param BackendService[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return BackendService[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param BackendServiceListWarning
*/
public function setWarning(BackendServiceListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return BackendServiceListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceList::class, 'Google_Service_Compute_BackendServiceList');

View File

@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServiceListUsable extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $id;
protected $itemsType = BackendService::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @var string
*/
public $selfLink;
protected $warningType = BackendServiceListUsableWarning::class;
protected $warningDataType = '';
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param BackendService[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return BackendService[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string
*/
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
}
/**
* @return string
*/
public function getSelfLink()
{
return $this->selfLink;
}
/**
* @param BackendServiceListUsableWarning
*/
public function setWarning(BackendServiceListUsableWarning $warning)
{
$this->warning = $warning;
}
/**
* @return BackendServiceListUsableWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceListUsable::class, 'Google_Service_Compute_BackendServiceListUsable');

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\Compute;
class BackendServiceListUsableWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = BackendServiceListUsableWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param BackendServiceListUsableWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return BackendServiceListUsableWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceListUsableWarning::class, 'Google_Service_Compute_BackendServiceListUsableWarning');

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\Compute;
class BackendServiceListUsableWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(BackendServiceListUsableWarningData::class, 'Google_Service_Compute_BackendServiceListUsableWarningData');

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\Compute;
class BackendServiceListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = BackendServiceListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param BackendServiceListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return BackendServiceListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceListWarning::class, 'Google_Service_Compute_BackendServiceListWarning');

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\Compute;
class BackendServiceListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(BackendServiceListWarningData::class, 'Google_Service_Compute_BackendServiceListWarningData');

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\Compute;
class BackendServiceLocalityLoadBalancingPolicyConfig extends \Google\Model
{
protected $customPolicyType = BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::class;
protected $customPolicyDataType = '';
protected $policyType = BackendServiceLocalityLoadBalancingPolicyConfigPolicy::class;
protected $policyDataType = '';
/**
* @param BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
*/
public function setCustomPolicy(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy $customPolicy)
{
$this->customPolicy = $customPolicy;
}
/**
* @return BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
*/
public function getCustomPolicy()
{
return $this->customPolicy;
}
/**
* @param BackendServiceLocalityLoadBalancingPolicyConfigPolicy
*/
public function setPolicy(BackendServiceLocalityLoadBalancingPolicyConfigPolicy $policy)
{
$this->policy = $policy;
}
/**
* @return BackendServiceLocalityLoadBalancingPolicyConfigPolicy
*/
public function getPolicy()
{
return $this->policy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceLocalityLoadBalancingPolicyConfig::class, 'Google_Service_Compute_BackendServiceLocalityLoadBalancingPolicyConfig');

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\Compute;
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy extends \Google\Model
{
/**
* @var string
*/
public $data;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* @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(BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::class, 'Google_Service_Compute_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy');

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\Compute;
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @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(BackendServiceLocalityLoadBalancingPolicyConfigPolicy::class, 'Google_Service_Compute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy');

View File

@@ -0,0 +1,99 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServiceLogConfig extends \Google\Collection
{
protected $collection_key = 'optionalFields';
/**
* @var bool
*/
public $enable;
/**
* @var string[]
*/
public $optionalFields;
/**
* @var string
*/
public $optionalMode;
/**
* @var float
*/
public $sampleRate;
/**
* @param bool
*/
public function setEnable($enable)
{
$this->enable = $enable;
}
/**
* @return bool
*/
public function getEnable()
{
return $this->enable;
}
/**
* @param string[]
*/
public function setOptionalFields($optionalFields)
{
$this->optionalFields = $optionalFields;
}
/**
* @return string[]
*/
public function getOptionalFields()
{
return $this->optionalFields;
}
/**
* @param string
*/
public function setOptionalMode($optionalMode)
{
$this->optionalMode = $optionalMode;
}
/**
* @return string
*/
public function getOptionalMode()
{
return $this->optionalMode;
}
/**
* @param float
*/
public function setSampleRate($sampleRate)
{
$this->sampleRate = $sampleRate;
}
/**
* @return float
*/
public function getSampleRate()
{
return $this->sampleRate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceLogConfig::class, 'Google_Service_Compute_BackendServiceLogConfig');

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\Compute;
class BackendServiceReference extends \Google\Model
{
/**
* @var string
*/
public $backendService;
/**
* @param string
*/
public function setBackendService($backendService)
{
$this->backendService = $backendService;
}
/**
* @return string
*/
public function getBackendService()
{
return $this->backendService;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceReference::class, 'Google_Service_Compute_BackendServiceReference');

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\Compute;
class BackendServiceUsedBy extends \Google\Model
{
/**
* @var string
*/
public $reference;
/**
* @param string
*/
public function setReference($reference)
{
$this->reference = $reference;
}
/**
* @return string
*/
public function getReference()
{
return $this->reference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServiceUsedBy::class, 'Google_Service_Compute_BackendServiceUsedBy');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BackendServicesScopedList extends \Google\Collection
{
protected $collection_key = 'backendServices';
protected $backendServicesType = BackendService::class;
protected $backendServicesDataType = 'array';
protected $warningType = BackendServicesScopedListWarning::class;
protected $warningDataType = '';
/**
* @param BackendService[]
*/
public function setBackendServices($backendServices)
{
$this->backendServices = $backendServices;
}
/**
* @return BackendService[]
*/
public function getBackendServices()
{
return $this->backendServices;
}
/**
* @param BackendServicesScopedListWarning
*/
public function setWarning(BackendServicesScopedListWarning $warning)
{
$this->warning = $warning;
}
/**
* @return BackendServicesScopedListWarning
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServicesScopedList::class, 'Google_Service_Compute_BackendServicesScopedList');

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\Compute;
class BackendServicesScopedListWarning extends \Google\Collection
{
protected $collection_key = 'data';
/**
* @var string
*/
public $code;
protected $dataType = BackendServicesScopedListWarningData::class;
protected $dataDataType = 'array';
/**
* @var string
*/
public $message;
/**
* @param string
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param BackendServicesScopedListWarningData[]
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return BackendServicesScopedListWarningData[]
*/
public function getData()
{
return $this->data;
}
/**
* @param string
*/
public function setMessage($message)
{
$this->message = $message;
}
/**
* @return string
*/
public function getMessage()
{
return $this->message;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackendServicesScopedListWarning::class, 'Google_Service_Compute_BackendServicesScopedListWarning');

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\Compute;
class BackendServicesScopedListWarningData extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @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(BackendServicesScopedListWarningData::class, 'Google_Service_Compute_BackendServicesScopedListWarningData');

View File

@@ -0,0 +1,314 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BfdPacket extends \Google\Model
{
/**
* @var bool
*/
public $authenticationPresent;
/**
* @var bool
*/
public $controlPlaneIndependent;
/**
* @var bool
*/
public $demand;
/**
* @var string
*/
public $diagnostic;
/**
* @var bool
*/
public $final;
/**
* @var string
*/
public $length;
/**
* @var string
*/
public $minEchoRxIntervalMs;
/**
* @var string
*/
public $minRxIntervalMs;
/**
* @var string
*/
public $minTxIntervalMs;
/**
* @var string
*/
public $multiplier;
/**
* @var bool
*/
public $multipoint;
/**
* @var string
*/
public $myDiscriminator;
/**
* @var bool
*/
public $poll;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $version;
/**
* @var string
*/
public $yourDiscriminator;
/**
* @param bool
*/
public function setAuthenticationPresent($authenticationPresent)
{
$this->authenticationPresent = $authenticationPresent;
}
/**
* @return bool
*/
public function getAuthenticationPresent()
{
return $this->authenticationPresent;
}
/**
* @param bool
*/
public function setControlPlaneIndependent($controlPlaneIndependent)
{
$this->controlPlaneIndependent = $controlPlaneIndependent;
}
/**
* @return bool
*/
public function getControlPlaneIndependent()
{
return $this->controlPlaneIndependent;
}
/**
* @param bool
*/
public function setDemand($demand)
{
$this->demand = $demand;
}
/**
* @return bool
*/
public function getDemand()
{
return $this->demand;
}
/**
* @param string
*/
public function setDiagnostic($diagnostic)
{
$this->diagnostic = $diagnostic;
}
/**
* @return string
*/
public function getDiagnostic()
{
return $this->diagnostic;
}
/**
* @param bool
*/
public function setFinal($final)
{
$this->final = $final;
}
/**
* @return bool
*/
public function getFinal()
{
return $this->final;
}
/**
* @param string
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return string
*/
public function getLength()
{
return $this->length;
}
/**
* @param string
*/
public function setMinEchoRxIntervalMs($minEchoRxIntervalMs)
{
$this->minEchoRxIntervalMs = $minEchoRxIntervalMs;
}
/**
* @return string
*/
public function getMinEchoRxIntervalMs()
{
return $this->minEchoRxIntervalMs;
}
/**
* @param string
*/
public function setMinRxIntervalMs($minRxIntervalMs)
{
$this->minRxIntervalMs = $minRxIntervalMs;
}
/**
* @return string
*/
public function getMinRxIntervalMs()
{
return $this->minRxIntervalMs;
}
/**
* @param string
*/
public function setMinTxIntervalMs($minTxIntervalMs)
{
$this->minTxIntervalMs = $minTxIntervalMs;
}
/**
* @return string
*/
public function getMinTxIntervalMs()
{
return $this->minTxIntervalMs;
}
/**
* @param string
*/
public function setMultiplier($multiplier)
{
$this->multiplier = $multiplier;
}
/**
* @return string
*/
public function getMultiplier()
{
return $this->multiplier;
}
/**
* @param bool
*/
public function setMultipoint($multipoint)
{
$this->multipoint = $multipoint;
}
/**
* @return bool
*/
public function getMultipoint()
{
return $this->multipoint;
}
/**
* @param string
*/
public function setMyDiscriminator($myDiscriminator)
{
$this->myDiscriminator = $myDiscriminator;
}
/**
* @return string
*/
public function getMyDiscriminator()
{
return $this->myDiscriminator;
}
/**
* @param bool
*/
public function setPoll($poll)
{
$this->poll = $poll;
}
/**
* @return bool
*/
public function getPoll()
{
return $this->poll;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
/**
* @param string
*/
public function setYourDiscriminator($yourDiscriminator)
{
$this->yourDiscriminator = $yourDiscriminator;
}
/**
* @return string
*/
public function getYourDiscriminator()
{
return $this->yourDiscriminator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BfdPacket::class, 'Google_Service_Compute_BfdPacket');

View File

@@ -0,0 +1,199 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Compute;
class BfdStatus extends \Google\Collection
{
protected $collection_key = 'controlPacketIntervals';
/**
* @var string
*/
public $bfdSessionInitializationMode;
/**
* @var string
*/
public $configUpdateTimestampMicros;
protected $controlPacketCountsType = BfdStatusPacketCounts::class;
protected $controlPacketCountsDataType = '';
protected $controlPacketIntervalsType = PacketIntervals::class;
protected $controlPacketIntervalsDataType = 'array';
/**
* @var string
*/
public $localDiagnostic;
/**
* @var string
*/
public $localState;
/**
* @var string
*/
public $negotiatedLocalControlTxIntervalMs;
protected $rxPacketType = BfdPacket::class;
protected $rxPacketDataType = '';
protected $txPacketType = BfdPacket::class;
protected $txPacketDataType = '';
/**
* @var string
*/
public $uptimeMs;
/**
* @param string
*/
public function setBfdSessionInitializationMode($bfdSessionInitializationMode)
{
$this->bfdSessionInitializationMode = $bfdSessionInitializationMode;
}
/**
* @return string
*/
public function getBfdSessionInitializationMode()
{
return $this->bfdSessionInitializationMode;
}
/**
* @param string
*/
public function setConfigUpdateTimestampMicros($configUpdateTimestampMicros)
{
$this->configUpdateTimestampMicros = $configUpdateTimestampMicros;
}
/**
* @return string
*/
public function getConfigUpdateTimestampMicros()
{
return $this->configUpdateTimestampMicros;
}
/**
* @param BfdStatusPacketCounts
*/
public function setControlPacketCounts(BfdStatusPacketCounts $controlPacketCounts)
{
$this->controlPacketCounts = $controlPacketCounts;
}
/**
* @return BfdStatusPacketCounts
*/
public function getControlPacketCounts()
{
return $this->controlPacketCounts;
}
/**
* @param PacketIntervals[]
*/
public function setControlPacketIntervals($controlPacketIntervals)
{
$this->controlPacketIntervals = $controlPacketIntervals;
}
/**
* @return PacketIntervals[]
*/
public function getControlPacketIntervals()
{
return $this->controlPacketIntervals;
}
/**
* @param string
*/
public function setLocalDiagnostic($localDiagnostic)
{
$this->localDiagnostic = $localDiagnostic;
}
/**
* @return string
*/
public function getLocalDiagnostic()
{
return $this->localDiagnostic;
}
/**
* @param string
*/
public function setLocalState($localState)
{
$this->localState = $localState;
}
/**
* @return string
*/
public function getLocalState()
{
return $this->localState;
}
/**
* @param string
*/
public function setNegotiatedLocalControlTxIntervalMs($negotiatedLocalControlTxIntervalMs)
{
$this->negotiatedLocalControlTxIntervalMs = $negotiatedLocalControlTxIntervalMs;
}
/**
* @return string
*/
public function getNegotiatedLocalControlTxIntervalMs()
{
return $this->negotiatedLocalControlTxIntervalMs;
}
/**
* @param BfdPacket
*/
public function setRxPacket(BfdPacket $rxPacket)
{
$this->rxPacket = $rxPacket;
}
/**
* @return BfdPacket
*/
public function getRxPacket()
{
return $this->rxPacket;
}
/**
* @param BfdPacket
*/
public function setTxPacket(BfdPacket $txPacket)
{
$this->txPacket = $txPacket;
}
/**
* @return BfdPacket
*/
public function getTxPacket()
{
return $this->txPacket;
}
/**
* @param string
*/
public function setUptimeMs($uptimeMs)
{
$this->uptimeMs = $uptimeMs;
}
/**
* @return string
*/
public function getUptimeMs()
{
return $this->uptimeMs;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BfdStatus::class, 'Google_Service_Compute_BfdStatus');

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\Compute;
class BfdStatusPacketCounts extends \Google\Model
{
/**
* @var string
*/
public $numRx;
/**
* @var string
*/
public $numRxRejected;
/**
* @var string
*/
public $numRxSuccessful;
/**
* @var string
*/
public $numTx;
/**
* @param string
*/
public function setNumRx($numRx)
{
$this->numRx = $numRx;
}
/**
* @return string
*/
public function getNumRx()
{
return $this->numRx;
}
/**
* @param string
*/
public function setNumRxRejected($numRxRejected)
{
$this->numRxRejected = $numRxRejected;
}
/**
* @return string
*/
public function getNumRxRejected()
{
return $this->numRxRejected;
}
/**
* @param string
*/
public function setNumRxSuccessful($numRxSuccessful)
{
$this->numRxSuccessful = $numRxSuccessful;
}
/**
* @return string
*/
public function getNumRxSuccessful()
{
return $this->numRxSuccessful;
}
/**
* @param string
*/
public function setNumTx($numTx)
{
$this->numTx = $numTx;
}
/**
* @return string
*/
public function getNumTx()
{
return $this->numTx;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BfdStatusPacketCounts::class, 'Google_Service_Compute_BfdStatusPacketCounts');

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\Compute;
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_Compute_Binding');

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\Compute;
class BulkInsertDiskResource extends \Google\Model
{
/**
* @var string
*/
public $sourceConsistencyGroupPolicy;
/**
* @param string
*/
public function setSourceConsistencyGroupPolicy($sourceConsistencyGroupPolicy)
{
$this->sourceConsistencyGroupPolicy = $sourceConsistencyGroupPolicy;
}
/**
* @return string
*/
public function getSourceConsistencyGroupPolicy()
{
return $this->sourceConsistencyGroupPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BulkInsertDiskResource::class, 'Google_Service_Compute_BulkInsertDiskResource');

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\Compute;
class BulkInsertInstanceResource extends \Google\Model
{
/**
* @var string
*/
public $count;
protected $instancePropertiesType = InstanceProperties::class;
protected $instancePropertiesDataType = '';
protected $locationPolicyType = LocationPolicy::class;
protected $locationPolicyDataType = '';
/**
* @var string
*/
public $minCount;
/**
* @var string
*/
public $namePattern;
protected $perInstancePropertiesType = BulkInsertInstanceResourcePerInstanceProperties::class;
protected $perInstancePropertiesDataType = 'map';
/**
* @var string
*/
public $sourceInstanceTemplate;
/**
* @param string
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* @param InstanceProperties
*/
public function setInstanceProperties(InstanceProperties $instanceProperties)
{
$this->instanceProperties = $instanceProperties;
}
/**
* @return InstanceProperties
*/
public function getInstanceProperties()
{
return $this->instanceProperties;
}
/**
* @param LocationPolicy
*/
public function setLocationPolicy(LocationPolicy $locationPolicy)
{
$this->locationPolicy = $locationPolicy;
}
/**
* @return LocationPolicy
*/
public function getLocationPolicy()
{
return $this->locationPolicy;
}
/**
* @param string
*/
public function setMinCount($minCount)
{
$this->minCount = $minCount;
}
/**
* @return string
*/
public function getMinCount()
{
return $this->minCount;
}
/**
* @param string
*/
public function setNamePattern($namePattern)
{
$this->namePattern = $namePattern;
}
/**
* @return string
*/
public function getNamePattern()
{
return $this->namePattern;
}
/**
* @param BulkInsertInstanceResourcePerInstanceProperties[]
*/
public function setPerInstanceProperties($perInstanceProperties)
{
$this->perInstanceProperties = $perInstanceProperties;
}
/**
* @return BulkInsertInstanceResourcePerInstanceProperties[]
*/
public function getPerInstanceProperties()
{
return $this->perInstanceProperties;
}
/**
* @param string
*/
public function setSourceInstanceTemplate($sourceInstanceTemplate)
{
$this->sourceInstanceTemplate = $sourceInstanceTemplate;
}
/**
* @return string
*/
public function getSourceInstanceTemplate()
{
return $this->sourceInstanceTemplate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BulkInsertInstanceResource::class, 'Google_Service_Compute_BulkInsertInstanceResource');

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\Compute;
class BulkInsertInstanceResourcePerInstanceProperties extends \Google\Model
{
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @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(BulkInsertInstanceResourcePerInstanceProperties::class, 'Google_Service_Compute_BulkInsertInstanceResourcePerInstanceProperties');

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\Compute;
class BulkInsertOperationStatus extends \Google\Model
{
/**
* @var int
*/
public $createdVmCount;
/**
* @var int
*/
public $deletedVmCount;
/**
* @var int
*/
public $failedToCreateVmCount;
/**
* @var string
*/
public $status;
/**
* @var int
*/
public $targetVmCount;
/**
* @param int
*/
public function setCreatedVmCount($createdVmCount)
{
$this->createdVmCount = $createdVmCount;
}
/**
* @return int
*/
public function getCreatedVmCount()
{
return $this->createdVmCount;
}
/**
* @param int
*/
public function setDeletedVmCount($deletedVmCount)
{
$this->deletedVmCount = $deletedVmCount;
}
/**
* @return int
*/
public function getDeletedVmCount()
{
return $this->deletedVmCount;
}
/**
* @param int
*/
public function setFailedToCreateVmCount($failedToCreateVmCount)
{
$this->failedToCreateVmCount = $failedToCreateVmCount;
}
/**
* @return int
*/
public function getFailedToCreateVmCount()
{
return $this->failedToCreateVmCount;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param int
*/
public function setTargetVmCount($targetVmCount)
{
$this->targetVmCount = $targetVmCount;
}
/**
* @return int
*/
public function getTargetVmCount()
{
return $this->targetVmCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BulkInsertOperationStatus::class, 'Google_Service_Compute_BulkInsertOperationStatus');

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