Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions
@@ -0,0 +1,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\Backupdr;
class AbandonBackupRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AbandonBackupRequest::class, 'Google_Service_Backupdr_AbandonBackupRequest');
@@ -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\Backupdr;
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_Backupdr_AcceleratorConfig');
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class AccessConfig extends \Google\Model
{
/**
* @var string
*/
public $externalIpv6;
/**
* @var int
*/
public $externalIpv6PrefixLength;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $natIP;
/**
* @var string
*/
public $networkTier;
/**
* @var string
*/
public $publicPtrDomainName;
/**
* @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 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 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_Backupdr_AccessConfig');
@@ -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\Backupdr;
class AdvancedMachineFeatures extends \Google\Model
{
/**
* @var bool
*/
public $enableNestedVirtualization;
/**
* @var bool
*/
public $enableUefiNetworking;
/**
* @var int
*/
public $threadsPerCore;
/**
* @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 int
*/
public function setThreadsPerCore($threadsPerCore)
{
$this->threadsPerCore = $threadsPerCore;
}
/**
* @return int
*/
public function getThreadsPerCore()
{
return $this->threadsPerCore;
}
/**
* @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_Backupdr_AdvancedMachineFeatures');
@@ -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\Backupdr;
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_Backupdr_AliasIpRange');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class AllocationAffinity extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $consumeReservationType;
/**
* @var string
*/
public $key;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setConsumeReservationType($consumeReservationType)
{
$this->consumeReservationType = $consumeReservationType;
}
/**
* @return string
*/
public function getConsumeReservationType()
{
return $this->consumeReservationType;
}
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AllocationAffinity::class, 'Google_Service_Backupdr_AllocationAffinity');
@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class AssetLocation extends \Google\Collection
{
protected $collection_key = 'parentAsset';
/**
* @var string
*/
public $ccfeRmsPath;
protected $expectedType = IsolationExpectations::class;
protected $expectedDataType = '';
protected $extraParametersType = ExtraParameter::class;
protected $extraParametersDataType = 'array';
protected $locationDataType = LocationData::class;
protected $locationDataDataType = 'array';
protected $parentAssetType = CloudAsset::class;
protected $parentAssetDataType = 'array';
/**
* @param string
*/
public function setCcfeRmsPath($ccfeRmsPath)
{
$this->ccfeRmsPath = $ccfeRmsPath;
}
/**
* @return string
*/
public function getCcfeRmsPath()
{
return $this->ccfeRmsPath;
}
/**
* @param IsolationExpectations
*/
public function setExpected(IsolationExpectations $expected)
{
$this->expected = $expected;
}
/**
* @return IsolationExpectations
*/
public function getExpected()
{
return $this->expected;
}
/**
* @param ExtraParameter[]
*/
public function setExtraParameters($extraParameters)
{
$this->extraParameters = $extraParameters;
}
/**
* @return ExtraParameter[]
*/
public function getExtraParameters()
{
return $this->extraParameters;
}
/**
* @param LocationData[]
*/
public function setLocationData($locationData)
{
$this->locationData = $locationData;
}
/**
* @return LocationData[]
*/
public function getLocationData()
{
return $this->locationData;
}
/**
* @param CloudAsset[]
*/
public function setParentAsset($parentAsset)
{
$this->parentAsset = $parentAsset;
}
/**
* @return CloudAsset[]
*/
public function getParentAsset()
{
return $this->parentAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AssetLocation::class, 'Google_Service_Backupdr_AssetLocation');
@@ -0,0 +1,327 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class AttachedDisk extends \Google\Collection
{
protected $collection_key = 'license';
/**
* @var bool
*/
public $autoDelete;
/**
* @var bool
*/
public $boot;
/**
* @var string
*/
public $deviceName;
protected $diskEncryptionKeyType = CustomerEncryptionKey::class;
protected $diskEncryptionKeyDataType = '';
/**
* @var string
*/
public $diskInterface;
/**
* @var string
*/
public $diskSizeGb;
/**
* @var string
*/
public $diskType;
/**
* @var string
*/
public $diskTypeDeprecated;
protected $guestOsFeatureType = GuestOsFeature::class;
protected $guestOsFeatureDataType = 'array';
/**
* @var string
*/
public $index;
protected $initializeParamsType = InitializeParams::class;
protected $initializeParamsDataType = '';
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $license;
/**
* @var string
*/
public $mode;
/**
* @var string
*/
public $savedState;
/**
* @var string
*/
public $source;
/**
* @var string
*/
public $type;
/**
* @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 setDiskInterface($diskInterface)
{
$this->diskInterface = $diskInterface;
}
/**
* @return string
*/
public function getDiskInterface()
{
return $this->diskInterface;
}
/**
* @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 string
*/
public function setDiskTypeDeprecated($diskTypeDeprecated)
{
$this->diskTypeDeprecated = $diskTypeDeprecated;
}
/**
* @return string
*/
public function getDiskTypeDeprecated()
{
return $this->diskTypeDeprecated;
}
/**
* @param GuestOsFeature[]
*/
public function setGuestOsFeature($guestOsFeature)
{
$this->guestOsFeature = $guestOsFeature;
}
/**
* @return GuestOsFeature[]
*/
public function getGuestOsFeature()
{
return $this->guestOsFeature;
}
/**
* @param string
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return string
*/
public function getIndex()
{
return $this->index;
}
/**
* @param InitializeParams
*/
public function setInitializeParams(InitializeParams $initializeParams)
{
$this->initializeParams = $initializeParams;
}
/**
* @return InitializeParams
*/
public function getInitializeParams()
{
return $this->initializeParams;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setLicense($license)
{
$this->license = $license;
}
/**
* @return string[]
*/
public function getLicense()
{
return $this->license;
}
/**
* @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 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_Backupdr_AttachedDisk');
@@ -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\Backupdr;
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_Backupdr_AuditConfig');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
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_Backupdr_AuditLogConfig');
@@ -0,0 +1,359 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class Backup extends \Google\Collection
{
protected $collection_key = 'serviceLocks';
protected $backupApplianceBackupPropertiesType = BackupApplianceBackupProperties::class;
protected $backupApplianceBackupPropertiesDataType = '';
protected $backupApplianceLocksType = BackupLock::class;
protected $backupApplianceLocksDataType = 'array';
/**
* @var string
*/
public $backupType;
protected $computeInstanceBackupPropertiesType = ComputeInstanceBackupProperties::class;
protected $computeInstanceBackupPropertiesDataType = '';
/**
* @var string
*/
public $consistencyTime;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $enforcedRetentionEndTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $expireTime;
protected $gcpBackupPlanInfoType = GCPBackupPlanInfo::class;
protected $gcpBackupPlanInfoDataType = '';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resourceSizeBytes;
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
protected $serviceLocksType = BackupLock::class;
protected $serviceLocksDataType = 'array';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param BackupApplianceBackupProperties
*/
public function setBackupApplianceBackupProperties(BackupApplianceBackupProperties $backupApplianceBackupProperties)
{
$this->backupApplianceBackupProperties = $backupApplianceBackupProperties;
}
/**
* @return BackupApplianceBackupProperties
*/
public function getBackupApplianceBackupProperties()
{
return $this->backupApplianceBackupProperties;
}
/**
* @param BackupLock[]
*/
public function setBackupApplianceLocks($backupApplianceLocks)
{
$this->backupApplianceLocks = $backupApplianceLocks;
}
/**
* @return BackupLock[]
*/
public function getBackupApplianceLocks()
{
return $this->backupApplianceLocks;
}
/**
* @param string
*/
public function setBackupType($backupType)
{
$this->backupType = $backupType;
}
/**
* @return string
*/
public function getBackupType()
{
return $this->backupType;
}
/**
* @param ComputeInstanceBackupProperties
*/
public function setComputeInstanceBackupProperties(ComputeInstanceBackupProperties $computeInstanceBackupProperties)
{
$this->computeInstanceBackupProperties = $computeInstanceBackupProperties;
}
/**
* @return ComputeInstanceBackupProperties
*/
public function getComputeInstanceBackupProperties()
{
return $this->computeInstanceBackupProperties;
}
/**
* @param string
*/
public function setConsistencyTime($consistencyTime)
{
$this->consistencyTime = $consistencyTime;
}
/**
* @return string
*/
public function getConsistencyTime()
{
return $this->consistencyTime;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEnforcedRetentionEndTime($enforcedRetentionEndTime)
{
$this->enforcedRetentionEndTime = $enforcedRetentionEndTime;
}
/**
* @return string
*/
public function getEnforcedRetentionEndTime()
{
return $this->enforcedRetentionEndTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param GCPBackupPlanInfo
*/
public function setGcpBackupPlanInfo(GCPBackupPlanInfo $gcpBackupPlanInfo)
{
$this->gcpBackupPlanInfo = $gcpBackupPlanInfo;
}
/**
* @return GCPBackupPlanInfo
*/
public function getGcpBackupPlanInfo()
{
return $this->gcpBackupPlanInfo;
}
/**
* @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 setResourceSizeBytes($resourceSizeBytes)
{
$this->resourceSizeBytes = $resourceSizeBytes;
}
/**
* @return string
*/
public function getResourceSizeBytes()
{
return $this->resourceSizeBytes;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param BackupLock[]
*/
public function setServiceLocks($serviceLocks)
{
$this->serviceLocks = $serviceLocks;
}
/**
* @return BackupLock[]
*/
public function getServiceLocks()
{
return $this->serviceLocks;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Backup::class, 'Google_Service_Backupdr_Backup');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupApplianceBackupConfig extends \Google\Model
{
/**
* @var string
*/
public $applicationName;
/**
* @var string
*/
public $backupApplianceId;
/**
* @var string
*/
public $backupApplianceName;
/**
* @var string
*/
public $hostName;
/**
* @var string
*/
public $slaId;
/**
* @var string
*/
public $slpName;
/**
* @var string
*/
public $sltName;
/**
* @param string
*/
public function setApplicationName($applicationName)
{
$this->applicationName = $applicationName;
}
/**
* @return string
*/
public function getApplicationName()
{
return $this->applicationName;
}
/**
* @param string
*/
public function setBackupApplianceId($backupApplianceId)
{
$this->backupApplianceId = $backupApplianceId;
}
/**
* @return string
*/
public function getBackupApplianceId()
{
return $this->backupApplianceId;
}
/**
* @param string
*/
public function setBackupApplianceName($backupApplianceName)
{
$this->backupApplianceName = $backupApplianceName;
}
/**
* @return string
*/
public function getBackupApplianceName()
{
return $this->backupApplianceName;
}
/**
* @param string
*/
public function setHostName($hostName)
{
$this->hostName = $hostName;
}
/**
* @return string
*/
public function getHostName()
{
return $this->hostName;
}
/**
* @param string
*/
public function setSlaId($slaId)
{
$this->slaId = $slaId;
}
/**
* @return string
*/
public function getSlaId()
{
return $this->slaId;
}
/**
* @param string
*/
public function setSlpName($slpName)
{
$this->slpName = $slpName;
}
/**
* @return string
*/
public function getSlpName()
{
return $this->slpName;
}
/**
* @param string
*/
public function setSltName($sltName)
{
$this->sltName = $sltName;
}
/**
* @return string
*/
public function getSltName()
{
return $this->sltName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupApplianceBackupConfig::class, 'Google_Service_Backupdr_BackupApplianceBackupConfig');
@@ -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\Backupdr;
class BackupApplianceBackupProperties extends \Google\Model
{
/**
* @var string
*/
public $finalizeTime;
/**
* @var int
*/
public $generationId;
/**
* @var string
*/
public $recoveryRangeEndTime;
/**
* @var string
*/
public $recoveryRangeStartTime;
/**
* @param string
*/
public function setFinalizeTime($finalizeTime)
{
$this->finalizeTime = $finalizeTime;
}
/**
* @return string
*/
public function getFinalizeTime()
{
return $this->finalizeTime;
}
/**
* @param int
*/
public function setGenerationId($generationId)
{
$this->generationId = $generationId;
}
/**
* @return int
*/
public function getGenerationId()
{
return $this->generationId;
}
/**
* @param string
*/
public function setRecoveryRangeEndTime($recoveryRangeEndTime)
{
$this->recoveryRangeEndTime = $recoveryRangeEndTime;
}
/**
* @return string
*/
public function getRecoveryRangeEndTime()
{
return $this->recoveryRangeEndTime;
}
/**
* @param string
*/
public function setRecoveryRangeStartTime($recoveryRangeStartTime)
{
$this->recoveryRangeStartTime = $recoveryRangeStartTime;
}
/**
* @return string
*/
public function getRecoveryRangeStartTime()
{
return $this->recoveryRangeStartTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupApplianceBackupProperties::class, 'Google_Service_Backupdr_BackupApplianceBackupProperties');
@@ -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\Backupdr;
class BackupApplianceLockInfo extends \Google\Model
{
/**
* @var string
*/
public $backupApplianceId;
/**
* @var string
*/
public $backupApplianceName;
/**
* @var string
*/
public $backupImage;
/**
* @var string
*/
public $jobName;
/**
* @var string
*/
public $lockReason;
/**
* @var string
*/
public $slaId;
/**
* @param string
*/
public function setBackupApplianceId($backupApplianceId)
{
$this->backupApplianceId = $backupApplianceId;
}
/**
* @return string
*/
public function getBackupApplianceId()
{
return $this->backupApplianceId;
}
/**
* @param string
*/
public function setBackupApplianceName($backupApplianceName)
{
$this->backupApplianceName = $backupApplianceName;
}
/**
* @return string
*/
public function getBackupApplianceName()
{
return $this->backupApplianceName;
}
/**
* @param string
*/
public function setBackupImage($backupImage)
{
$this->backupImage = $backupImage;
}
/**
* @return string
*/
public function getBackupImage()
{
return $this->backupImage;
}
/**
* @param string
*/
public function setJobName($jobName)
{
$this->jobName = $jobName;
}
/**
* @return string
*/
public function getJobName()
{
return $this->jobName;
}
/**
* @param string
*/
public function setLockReason($lockReason)
{
$this->lockReason = $lockReason;
}
/**
* @return string
*/
public function getLockReason()
{
return $this->lockReason;
}
/**
* @param string
*/
public function setSlaId($slaId)
{
$this->slaId = $slaId;
}
/**
* @return string
*/
public function getSlaId()
{
return $this->slaId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupApplianceLockInfo::class, 'Google_Service_Backupdr_BackupApplianceLockInfo');
@@ -0,0 +1,110 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupConfigInfo extends \Google\Model
{
protected $backupApplianceBackupConfigType = BackupApplianceBackupConfig::class;
protected $backupApplianceBackupConfigDataType = '';
protected $gcpBackupConfigType = GcpBackupConfig::class;
protected $gcpBackupConfigDataType = '';
protected $lastBackupErrorType = Status::class;
protected $lastBackupErrorDataType = '';
/**
* @var string
*/
public $lastBackupState;
/**
* @var string
*/
public $lastSuccessfulBackupConsistencyTime;
/**
* @param BackupApplianceBackupConfig
*/
public function setBackupApplianceBackupConfig(BackupApplianceBackupConfig $backupApplianceBackupConfig)
{
$this->backupApplianceBackupConfig = $backupApplianceBackupConfig;
}
/**
* @return BackupApplianceBackupConfig
*/
public function getBackupApplianceBackupConfig()
{
return $this->backupApplianceBackupConfig;
}
/**
* @param GcpBackupConfig
*/
public function setGcpBackupConfig(GcpBackupConfig $gcpBackupConfig)
{
$this->gcpBackupConfig = $gcpBackupConfig;
}
/**
* @return GcpBackupConfig
*/
public function getGcpBackupConfig()
{
return $this->gcpBackupConfig;
}
/**
* @param Status
*/
public function setLastBackupError(Status $lastBackupError)
{
$this->lastBackupError = $lastBackupError;
}
/**
* @return Status
*/
public function getLastBackupError()
{
return $this->lastBackupError;
}
/**
* @param string
*/
public function setLastBackupState($lastBackupState)
{
$this->lastBackupState = $lastBackupState;
}
/**
* @return string
*/
public function getLastBackupState()
{
return $this->lastBackupState;
}
/**
* @param string
*/
public function setLastSuccessfulBackupConsistencyTime($lastSuccessfulBackupConsistencyTime)
{
$this->lastSuccessfulBackupConsistencyTime = $lastSuccessfulBackupConsistencyTime;
}
/**
* @return string
*/
public function getLastSuccessfulBackupConsistencyTime()
{
return $this->lastSuccessfulBackupConsistencyTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupConfigInfo::class, 'Google_Service_Backupdr_BackupConfigInfo');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupLock extends \Google\Model
{
protected $backupApplianceLockInfoType = BackupApplianceLockInfo::class;
protected $backupApplianceLockInfoDataType = '';
/**
* @var string
*/
public $lockUntilTime;
protected $serviceLockInfoType = ServiceLockInfo::class;
protected $serviceLockInfoDataType = '';
/**
* @param BackupApplianceLockInfo
*/
public function setBackupApplianceLockInfo(BackupApplianceLockInfo $backupApplianceLockInfo)
{
$this->backupApplianceLockInfo = $backupApplianceLockInfo;
}
/**
* @return BackupApplianceLockInfo
*/
public function getBackupApplianceLockInfo()
{
return $this->backupApplianceLockInfo;
}
/**
* @param string
*/
public function setLockUntilTime($lockUntilTime)
{
$this->lockUntilTime = $lockUntilTime;
}
/**
* @return string
*/
public function getLockUntilTime()
{
return $this->lockUntilTime;
}
/**
* @param ServiceLockInfo
*/
public function setServiceLockInfo(ServiceLockInfo $serviceLockInfo)
{
$this->serviceLockInfo = $serviceLockInfo;
}
/**
* @return ServiceLockInfo
*/
public function getServiceLockInfo()
{
return $this->serviceLockInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupLock::class, 'Google_Service_Backupdr_BackupLock');
@@ -0,0 +1,223 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupPlan extends \Google\Collection
{
protected $collection_key = 'backupRules';
protected $backupRulesType = BackupRule::class;
protected $backupRulesDataType = 'array';
/**
* @var string
*/
public $backupVault;
/**
* @var string
*/
public $backupVaultServiceAccount;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param BackupRule[]
*/
public function setBackupRules($backupRules)
{
$this->backupRules = $backupRules;
}
/**
* @return BackupRule[]
*/
public function getBackupRules()
{
return $this->backupRules;
}
/**
* @param string
*/
public function setBackupVault($backupVault)
{
$this->backupVault = $backupVault;
}
/**
* @return string
*/
public function getBackupVault()
{
return $this->backupVault;
}
/**
* @param string
*/
public function setBackupVaultServiceAccount($backupVaultServiceAccount)
{
$this->backupVaultServiceAccount = $backupVaultServiceAccount;
}
/**
* @return string
*/
public function getBackupVaultServiceAccount()
{
return $this->backupVaultServiceAccount;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupPlan::class, 'Google_Service_Backupdr_BackupPlan');
@@ -0,0 +1,187 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupPlanAssociation extends \Google\Collection
{
protected $collection_key = 'rulesConfigInfo';
/**
* @var string
*/
public $backupPlan;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataSource;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $resource;
/**
* @var string
*/
public $resourceType;
protected $rulesConfigInfoType = RuleConfigInfo::class;
protected $rulesConfigInfoDataType = 'array';
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setBackupPlan($backupPlan)
{
$this->backupPlan = $backupPlan;
}
/**
* @return string
*/
public function getBackupPlan()
{
return $this->backupPlan;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataSource($dataSource)
{
$this->dataSource = $dataSource;
}
/**
* @return string
*/
public function getDataSource()
{
return $this->dataSource;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param RuleConfigInfo[]
*/
public function setRulesConfigInfo($rulesConfigInfo)
{
$this->rulesConfigInfo = $rulesConfigInfo;
}
/**
* @return RuleConfigInfo[]
*/
public function getRulesConfigInfo()
{
return $this->rulesConfigInfo;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupPlanAssociation::class, 'Google_Service_Backupdr_BackupPlanAssociation');
@@ -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\Backupdr;
class BackupRule extends \Google\Model
{
/**
* @var int
*/
public $backupRetentionDays;
/**
* @var string
*/
public $ruleId;
protected $standardScheduleType = StandardSchedule::class;
protected $standardScheduleDataType = '';
/**
* @param int
*/
public function setBackupRetentionDays($backupRetentionDays)
{
$this->backupRetentionDays = $backupRetentionDays;
}
/**
* @return int
*/
public function getBackupRetentionDays()
{
return $this->backupRetentionDays;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
/**
* @param StandardSchedule
*/
public function setStandardSchedule(StandardSchedule $standardSchedule)
{
$this->standardSchedule = $standardSchedule;
}
/**
* @return StandardSchedule
*/
public function getStandardSchedule()
{
return $this->standardSchedule;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupRule::class, 'Google_Service_Backupdr_BackupRule');
@@ -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\Backupdr;
class BackupVault extends \Google\Model
{
/**
* @var string
*/
public $accessRestriction;
/**
* @var string[]
*/
public $annotations;
/**
* @var string
*/
public $backupCount;
/**
* @var string
*/
public $backupMinimumEnforcedRetentionDuration;
/**
* @var string
*/
public $createTime;
/**
* @var bool
*/
public $deletable;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $effectiveTime;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $serviceAccount;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $totalStoredBytes;
/**
* @var string
*/
public $uid;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setAccessRestriction($accessRestriction)
{
$this->accessRestriction = $accessRestriction;
}
/**
* @return string
*/
public function getAccessRestriction()
{
return $this->accessRestriction;
}
/**
* @param string[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return string[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param string
*/
public function setBackupCount($backupCount)
{
$this->backupCount = $backupCount;
}
/**
* @return string
*/
public function getBackupCount()
{
return $this->backupCount;
}
/**
* @param string
*/
public function setBackupMinimumEnforcedRetentionDuration($backupMinimumEnforcedRetentionDuration)
{
$this->backupMinimumEnforcedRetentionDuration = $backupMinimumEnforcedRetentionDuration;
}
/**
* @return string
*/
public function getBackupMinimumEnforcedRetentionDuration()
{
return $this->backupMinimumEnforcedRetentionDuration;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param bool
*/
public function setDeletable($deletable)
{
$this->deletable = $deletable;
}
/**
* @return bool
*/
public function getDeletable()
{
return $this->deletable;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEffectiveTime($effectiveTime)
{
$this->effectiveTime = $effectiveTime;
}
/**
* @return string
*/
public function getEffectiveTime()
{
return $this->effectiveTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTotalStoredBytes($totalStoredBytes)
{
$this->totalStoredBytes = $totalStoredBytes;
}
/**
* @return string
*/
public function getTotalStoredBytes()
{
return $this->totalStoredBytes;
}
/**
* @param string
*/
public function setUid($uid)
{
$this->uid = $uid;
}
/**
* @return string
*/
public function getUid()
{
return $this->uid;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupVault::class, 'Google_Service_Backupdr_BackupVault');
@@ -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\Backupdr;
class BackupWindow extends \Google\Model
{
/**
* @var int
*/
public $endHourOfDay;
/**
* @var int
*/
public $startHourOfDay;
/**
* @param int
*/
public function setEndHourOfDay($endHourOfDay)
{
$this->endHourOfDay = $endHourOfDay;
}
/**
* @return int
*/
public function getEndHourOfDay()
{
return $this->endHourOfDay;
}
/**
* @param int
*/
public function setStartHourOfDay($startHourOfDay)
{
$this->startHourOfDay = $startHourOfDay;
}
/**
* @return int
*/
public function getStartHourOfDay()
{
return $this->startHourOfDay;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupWindow::class, 'Google_Service_Backupdr_BackupWindow');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BackupdrEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BackupdrEmpty::class, 'Google_Service_Backupdr_BackupdrEmpty');
@@ -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\Backupdr;
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_Backupdr_Binding');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class BlobstoreLocation extends \Google\Collection
{
protected $collection_key = 'policyId';
/**
* @var string[]
*/
public $policyId;
/**
* @param string[]
*/
public function setPolicyId($policyId)
{
$this->policyId = $policyId;
}
/**
* @return string[]
*/
public function getPolicyId()
{
return $this->policyId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BlobstoreLocation::class, 'Google_Service_Backupdr_BlobstoreLocation');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Backupdr_CancelOperationRequest');
@@ -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\Backupdr;
class CloudAsset extends \Google\Model
{
/**
* @var string
*/
public $assetName;
/**
* @var string
*/
public $assetType;
/**
* @param string
*/
public function setAssetName($assetName)
{
$this->assetName = $assetName;
}
/**
* @return string
*/
public function getAssetName()
{
return $this->assetName;
}
/**
* @param string
*/
public function setAssetType($assetType)
{
$this->assetType = $assetType;
}
/**
* @return string
*/
public function getAssetType()
{
return $this->assetType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAsset::class, 'Google_Service_Backupdr_CloudAsset');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class CloudAssetComposition extends \Google\Collection
{
protected $collection_key = 'childAsset';
protected $childAssetType = CloudAsset::class;
protected $childAssetDataType = 'array';
/**
* @param CloudAsset[]
*/
public function setChildAsset($childAsset)
{
$this->childAsset = $childAsset;
}
/**
* @return CloudAsset[]
*/
public function getChildAsset()
{
return $this->childAsset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAssetComposition::class, 'Google_Service_Backupdr_CloudAssetComposition');
@@ -0,0 +1,265 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class ComputeInstanceBackupProperties extends \Google\Collection
{
protected $collection_key = 'serviceAccount';
/**
* @var bool
*/
public $canIpForward;
/**
* @var string
*/
public $description;
protected $diskType = AttachedDisk::class;
protected $diskDataType = 'array';
protected $guestAcceleratorType = AcceleratorConfig::class;
protected $guestAcceleratorDataType = 'array';
/**
* @var string
*/
public $keyRevocationActionType;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $machineType;
protected $metadataType = Metadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $minCpuPlatform;
protected $networkInterfaceType = NetworkInterface::class;
protected $networkInterfaceDataType = 'array';
protected $schedulingType = Scheduling::class;
protected $schedulingDataType = '';
protected $serviceAccountType = ServiceAccount::class;
protected $serviceAccountDataType = 'array';
/**
* @var string
*/
public $sourceInstance;
protected $tagsType = Tags::class;
protected $tagsDataType = '';
/**
* @param bool
*/
public function setCanIpForward($canIpForward)
{
$this->canIpForward = $canIpForward;
}
/**
* @return bool
*/
public function getCanIpForward()
{
return $this->canIpForward;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param AttachedDisk[]
*/
public function setDisk($disk)
{
$this->disk = $disk;
}
/**
* @return AttachedDisk[]
*/
public function getDisk()
{
return $this->disk;
}
/**
* @param AcceleratorConfig[]
*/
public function setGuestAccelerator($guestAccelerator)
{
$this->guestAccelerator = $guestAccelerator;
}
/**
* @return AcceleratorConfig[]
*/
public function getGuestAccelerator()
{
return $this->guestAccelerator;
}
/**
* @param string
*/
public function setKeyRevocationActionType($keyRevocationActionType)
{
$this->keyRevocationActionType = $keyRevocationActionType;
}
/**
* @return string
*/
public function getKeyRevocationActionType()
{
return $this->keyRevocationActionType;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param Metadata
*/
public function setMetadata(Metadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Metadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterface($networkInterface)
{
$this->networkInterface = $networkInterface;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterface()
{
return $this->networkInterface;
}
/**
* @param Scheduling
*/
public function setScheduling(Scheduling $scheduling)
{
$this->scheduling = $scheduling;
}
/**
* @return Scheduling
*/
public function getScheduling()
{
return $this->scheduling;
}
/**
* @param ServiceAccount[]
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return ServiceAccount[]
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* @param string
*/
public function setSourceInstance($sourceInstance)
{
$this->sourceInstance = $sourceInstance;
}
/**
* @return string
*/
public function getSourceInstance()
{
return $this->sourceInstance;
}
/**
* @param Tags
*/
public function setTags(Tags $tags)
{
$this->tags = $tags;
}
/**
* @return Tags
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeInstanceBackupProperties::class, 'Google_Service_Backupdr_ComputeInstanceBackupProperties');
@@ -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\Backupdr;
class ComputeInstanceDataSourceProperties extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $machineType;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $totalDiskCount;
/**
* @var string
*/
public $totalDiskSizeGb;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTotalDiskCount($totalDiskCount)
{
$this->totalDiskCount = $totalDiskCount;
}
/**
* @return string
*/
public function getTotalDiskCount()
{
return $this->totalDiskCount;
}
/**
* @param string
*/
public function setTotalDiskSizeGb($totalDiskSizeGb)
{
$this->totalDiskSizeGb = $totalDiskSizeGb;
}
/**
* @return string
*/
public function getTotalDiskSizeGb()
{
return $this->totalDiskSizeGb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeInstanceDataSourceProperties::class, 'Google_Service_Backupdr_ComputeInstanceDataSourceProperties');
@@ -0,0 +1,449 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class ComputeInstanceRestoreProperties extends \Google\Collection
{
protected $collection_key = 'serviceAccounts';
protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
protected $advancedMachineFeaturesDataType = '';
/**
* @var bool
*/
public $canIpForward;
protected $confidentialInstanceConfigType = ConfidentialInstanceConfig::class;
protected $confidentialInstanceConfigDataType = '';
/**
* @var bool
*/
public $deletionProtection;
/**
* @var string
*/
public $description;
protected $disksType = AttachedDisk::class;
protected $disksDataType = 'array';
protected $displayDeviceType = DisplayDevice::class;
protected $displayDeviceDataType = '';
protected $guestAcceleratorsType = AcceleratorConfig::class;
protected $guestAcceleratorsDataType = 'array';
/**
* @var string
*/
public $hostname;
protected $instanceEncryptionKeyType = CustomerEncryptionKey::class;
protected $instanceEncryptionKeyDataType = '';
/**
* @var string
*/
public $keyRevocationActionType;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $machineType;
protected $metadataType = Metadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $minCpuPlatform;
/**
* @var string
*/
public $name;
protected $networkInterfacesType = NetworkInterface::class;
protected $networkInterfacesDataType = 'array';
protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
protected $networkPerformanceConfigDataType = '';
protected $paramsType = InstanceParams::class;
protected $paramsDataType = '';
/**
* @var string
*/
public $privateIpv6GoogleAccess;
protected $reservationAffinityType = AllocationAffinity::class;
protected $reservationAffinityDataType = '';
/**
* @var string[]
*/
public $resourcePolicies;
protected $schedulingType = Scheduling::class;
protected $schedulingDataType = '';
protected $serviceAccountsType = ServiceAccount::class;
protected $serviceAccountsDataType = 'array';
protected $tagsType = Tags::class;
protected $tagsDataType = '';
/**
* @param AdvancedMachineFeatures
*/
public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
{
$this->advancedMachineFeatures = $advancedMachineFeatures;
}
/**
* @return AdvancedMachineFeatures
*/
public function getAdvancedMachineFeatures()
{
return $this->advancedMachineFeatures;
}
/**
* @param bool
*/
public function setCanIpForward($canIpForward)
{
$this->canIpForward = $canIpForward;
}
/**
* @return bool
*/
public function getCanIpForward()
{
return $this->canIpForward;
}
/**
* @param ConfidentialInstanceConfig
*/
public function setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)
{
$this->confidentialInstanceConfig = $confidentialInstanceConfig;
}
/**
* @return ConfidentialInstanceConfig
*/
public function getConfidentialInstanceConfig()
{
return $this->confidentialInstanceConfig;
}
/**
* @param bool
*/
public function setDeletionProtection($deletionProtection)
{
$this->deletionProtection = $deletionProtection;
}
/**
* @return bool
*/
public function getDeletionProtection()
{
return $this->deletionProtection;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param AttachedDisk[]
*/
public function setDisks($disks)
{
$this->disks = $disks;
}
/**
* @return AttachedDisk[]
*/
public function getDisks()
{
return $this->disks;
}
/**
* @param DisplayDevice
*/
public function setDisplayDevice(DisplayDevice $displayDevice)
{
$this->displayDevice = $displayDevice;
}
/**
* @return DisplayDevice
*/
public function getDisplayDevice()
{
return $this->displayDevice;
}
/**
* @param AcceleratorConfig[]
*/
public function setGuestAccelerators($guestAccelerators)
{
$this->guestAccelerators = $guestAccelerators;
}
/**
* @return AcceleratorConfig[]
*/
public function getGuestAccelerators()
{
return $this->guestAccelerators;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @param CustomerEncryptionKey
*/
public function setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)
{
$this->instanceEncryptionKey = $instanceEncryptionKey;
}
/**
* @return CustomerEncryptionKey
*/
public function getInstanceEncryptionKey()
{
return $this->instanceEncryptionKey;
}
/**
* @param string
*/
public function setKeyRevocationActionType($keyRevocationActionType)
{
$this->keyRevocationActionType = $keyRevocationActionType;
}
/**
* @return string
*/
public function getKeyRevocationActionType()
{
return $this->keyRevocationActionType;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setMachineType($machineType)
{
$this->machineType = $machineType;
}
/**
* @return string
*/
public function getMachineType()
{
return $this->machineType;
}
/**
* @param Metadata
*/
public function setMetadata(Metadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Metadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setMinCpuPlatform($minCpuPlatform)
{
$this->minCpuPlatform = $minCpuPlatform;
}
/**
* @return string
*/
public function getMinCpuPlatform()
{
return $this->minCpuPlatform;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkInterface[]
*/
public function setNetworkInterfaces($networkInterfaces)
{
$this->networkInterfaces = $networkInterfaces;
}
/**
* @return NetworkInterface[]
*/
public function getNetworkInterfaces()
{
return $this->networkInterfaces;
}
/**
* @param NetworkPerformanceConfig
*/
public function setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)
{
$this->networkPerformanceConfig = $networkPerformanceConfig;
}
/**
* @return NetworkPerformanceConfig
*/
public function getNetworkPerformanceConfig()
{
return $this->networkPerformanceConfig;
}
/**
* @param InstanceParams
*/
public function setParams(InstanceParams $params)
{
$this->params = $params;
}
/**
* @return InstanceParams
*/
public function getParams()
{
return $this->params;
}
/**
* @param string
*/
public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
{
$this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
}
/**
* @return string
*/
public function getPrivateIpv6GoogleAccess()
{
return $this->privateIpv6GoogleAccess;
}
/**
* @param AllocationAffinity
*/
public function setReservationAffinity(AllocationAffinity $reservationAffinity)
{
$this->reservationAffinity = $reservationAffinity;
}
/**
* @return AllocationAffinity
*/
public function getReservationAffinity()
{
return $this->reservationAffinity;
}
/**
* @param string[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return string[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
/**
* @param Scheduling
*/
public function setScheduling(Scheduling $scheduling)
{
$this->scheduling = $scheduling;
}
/**
* @return Scheduling
*/
public function getScheduling()
{
return $this->scheduling;
}
/**
* @param ServiceAccount[]
*/
public function setServiceAccounts($serviceAccounts)
{
$this->serviceAccounts = $serviceAccounts;
}
/**
* @return ServiceAccount[]
*/
public function getServiceAccounts()
{
return $this->serviceAccounts;
}
/**
* @param Tags
*/
public function setTags(Tags $tags)
{
$this->tags = $tags;
}
/**
* @return Tags
*/
public function getTags()
{
return $this->tags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ComputeInstanceRestoreProperties::class, 'Google_Service_Backupdr_ComputeInstanceRestoreProperties');
@@ -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\Backupdr;
class ComputeInstanceTargetEnvironment extends \Google\Model
{
/**
* @var string
*/
public $project;
/**
* @var string
*/
public $zone;
/**
* @param string
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* @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(ComputeInstanceTargetEnvironment::class, 'Google_Service_Backupdr_ComputeInstanceTargetEnvironment');
@@ -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\Backupdr;
class ConfidentialInstanceConfig extends \Google\Model
{
/**
* @var bool
*/
public $enableConfidentialCompute;
/**
* @param bool
*/
public function setEnableConfidentialCompute($enableConfidentialCompute)
{
$this->enableConfidentialCompute = $enableConfidentialCompute;
}
/**
* @return bool
*/
public function getEnableConfidentialCompute()
{
return $this->enableConfidentialCompute;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ConfidentialInstanceConfig::class, 'Google_Service_Backupdr_ConfidentialInstanceConfig');
@@ -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\Backupdr;
class CustomerEncryptionKey extends \Google\Model
{
/**
* @var string
*/
public $kmsKeyName;
/**
* @var string
*/
public $kmsKeyServiceAccount;
/**
* @var string
*/
public $rawKey;
/**
* @var string
*/
public $rsaEncryptedKey;
/**
* @param string
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* @param string
*/
public function setKmsKeyServiceAccount($kmsKeyServiceAccount)
{
$this->kmsKeyServiceAccount = $kmsKeyServiceAccount;
}
/**
* @return string
*/
public function getKmsKeyServiceAccount()
{
return $this->kmsKeyServiceAccount;
}
/**
* @param string
*/
public function setRawKey($rawKey)
{
$this->rawKey = $rawKey;
}
/**
* @return string
*/
public function getRawKey()
{
return $this->rawKey;
}
/**
* @param string
*/
public function setRsaEncryptedKey($rsaEncryptedKey)
{
$this->rsaEncryptedKey = $rsaEncryptedKey;
}
/**
* @return string
*/
public function getRsaEncryptedKey()
{
return $this->rsaEncryptedKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerEncryptionKey::class, 'Google_Service_Backupdr_CustomerEncryptionKey');
@@ -0,0 +1,236 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class DataSource extends \Google\Model
{
protected $backupConfigInfoType = BackupConfigInfo::class;
protected $backupConfigInfoDataType = '';
/**
* @var string
*/
public $backupCount;
/**
* @var string
*/
public $configState;
/**
* @var string
*/
public $createTime;
protected $dataSourceBackupApplianceApplicationType = DataSourceBackupApplianceApplication::class;
protected $dataSourceBackupApplianceApplicationDataType = '';
protected $dataSourceGcpResourceType = DataSourceGcpResource::class;
protected $dataSourceGcpResourceDataType = '';
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $totalStoredBytes;
/**
* @var string
*/
public $updateTime;
/**
* @param BackupConfigInfo
*/
public function setBackupConfigInfo(BackupConfigInfo $backupConfigInfo)
{
$this->backupConfigInfo = $backupConfigInfo;
}
/**
* @return BackupConfigInfo
*/
public function getBackupConfigInfo()
{
return $this->backupConfigInfo;
}
/**
* @param string
*/
public function setBackupCount($backupCount)
{
$this->backupCount = $backupCount;
}
/**
* @return string
*/
public function getBackupCount()
{
return $this->backupCount;
}
/**
* @param string
*/
public function setConfigState($configState)
{
$this->configState = $configState;
}
/**
* @return string
*/
public function getConfigState()
{
return $this->configState;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param DataSourceBackupApplianceApplication
*/
public function setDataSourceBackupApplianceApplication(DataSourceBackupApplianceApplication $dataSourceBackupApplianceApplication)
{
$this->dataSourceBackupApplianceApplication = $dataSourceBackupApplianceApplication;
}
/**
* @return DataSourceBackupApplianceApplication
*/
public function getDataSourceBackupApplianceApplication()
{
return $this->dataSourceBackupApplianceApplication;
}
/**
* @param DataSourceGcpResource
*/
public function setDataSourceGcpResource(DataSourceGcpResource $dataSourceGcpResource)
{
$this->dataSourceGcpResource = $dataSourceGcpResource;
}
/**
* @return DataSourceGcpResource
*/
public function getDataSourceGcpResource()
{
return $this->dataSourceGcpResource;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @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 setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTotalStoredBytes($totalStoredBytes)
{
$this->totalStoredBytes = $totalStoredBytes;
}
/**
* @return string
*/
public function getTotalStoredBytes()
{
return $this->totalStoredBytes;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DataSource::class, 'Google_Service_Backupdr_DataSource');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class DataSourceBackupApplianceApplication extends \Google\Model
{
/**
* @var string
*/
public $applianceId;
/**
* @var string
*/
public $applicationId;
/**
* @var string
*/
public $applicationName;
/**
* @var string
*/
public $backupAppliance;
/**
* @var string
*/
public $hostId;
/**
* @var string
*/
public $hostname;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setApplianceId($applianceId)
{
$this->applianceId = $applianceId;
}
/**
* @return string
*/
public function getApplianceId()
{
return $this->applianceId;
}
/**
* @param string
*/
public function setApplicationId($applicationId)
{
$this->applicationId = $applicationId;
}
/**
* @return string
*/
public function getApplicationId()
{
return $this->applicationId;
}
/**
* @param string
*/
public function setApplicationName($applicationName)
{
$this->applicationName = $applicationName;
}
/**
* @return string
*/
public function getApplicationName()
{
return $this->applicationName;
}
/**
* @param string
*/
public function setBackupAppliance($backupAppliance)
{
$this->backupAppliance = $backupAppliance;
}
/**
* @return string
*/
public function getBackupAppliance()
{
return $this->backupAppliance;
}
/**
* @param string
*/
public function setHostId($hostId)
{
$this->hostId = $hostId;
}
/**
* @return string
*/
public function getHostId()
{
return $this->hostId;
}
/**
* @param string
*/
public function setHostname($hostname)
{
$this->hostname = $hostname;
}
/**
* @return string
*/
public function getHostname()
{
return $this->hostname;
}
/**
* @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(DataSourceBackupApplianceApplication::class, 'Google_Service_Backupdr_DataSourceBackupApplianceApplication');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class DataSourceGcpResource extends \Google\Model
{
protected $computeInstanceDatasourcePropertiesType = ComputeInstanceDataSourceProperties::class;
protected $computeInstanceDatasourcePropertiesDataType = '';
/**
* @var string
*/
public $gcpResourcename;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $type;
/**
* @param ComputeInstanceDataSourceProperties
*/
public function setComputeInstanceDatasourceProperties(ComputeInstanceDataSourceProperties $computeInstanceDatasourceProperties)
{
$this->computeInstanceDatasourceProperties = $computeInstanceDatasourceProperties;
}
/**
* @return ComputeInstanceDataSourceProperties
*/
public function getComputeInstanceDatasourceProperties()
{
return $this->computeInstanceDatasourceProperties;
}
/**
* @param string
*/
public function setGcpResourcename($gcpResourcename)
{
$this->gcpResourcename = $gcpResourcename;
}
/**
* @return string
*/
public function getGcpResourcename()
{
return $this->gcpResourcename;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(DataSourceGcpResource::class, 'Google_Service_Backupdr_DataSourceGcpResource');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class DirectLocationAssignment extends \Google\Collection
{
protected $collection_key = 'location';
protected $locationType = LocationAssignment::class;
protected $locationDataType = 'array';
/**
* @param LocationAssignment[]
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return LocationAssignment[]
*/
public function getLocation()
{
return $this->location;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectLocationAssignment::class, 'Google_Service_Backupdr_DirectLocationAssignment');
@@ -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\Backupdr;
class DisplayDevice extends \Google\Model
{
/**
* @var bool
*/
public $enableDisplay;
/**
* @param bool
*/
public function setEnableDisplay($enableDisplay)
{
$this->enableDisplay = $enableDisplay;
}
/**
* @return bool
*/
public function getEnableDisplay()
{
return $this->enableDisplay;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DisplayDevice::class, 'Google_Service_Backupdr_DisplayDevice');
@@ -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\Backupdr;
class Entry 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(Entry::class, 'Google_Service_Backupdr_Entry');
@@ -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\Backupdr;
class Expr extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $expression;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $title;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setExpression($expression)
{
$this->expression = $expression;
}
/**
* @return string
*/
public function getExpression()
{
return $this->expression;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Expr::class, 'Google_Service_Backupdr_Expr');
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class ExtraParameter extends \Google\Model
{
protected $regionalMigDistributionPolicyType = RegionalMigDistributionPolicy::class;
protected $regionalMigDistributionPolicyDataType = '';
/**
* @param RegionalMigDistributionPolicy
*/
public function setRegionalMigDistributionPolicy(RegionalMigDistributionPolicy $regionalMigDistributionPolicy)
{
$this->regionalMigDistributionPolicy = $regionalMigDistributionPolicy;
}
/**
* @return RegionalMigDistributionPolicy
*/
public function getRegionalMigDistributionPolicy()
{
return $this->regionalMigDistributionPolicy;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ExtraParameter::class, 'Google_Service_Backupdr_ExtraParameter');
@@ -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\Backupdr;
class FetchAccessTokenRequest extends \Google\Model
{
/**
* @var int
*/
public $generationId;
/**
* @param int
*/
public function setGenerationId($generationId)
{
$this->generationId = $generationId;
}
/**
* @return int
*/
public function getGenerationId()
{
return $this->generationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchAccessTokenRequest::class, 'Google_Service_Backupdr_FetchAccessTokenRequest');
@@ -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\Backupdr;
class FetchAccessTokenResponse extends \Google\Model
{
/**
* @var string
*/
public $expireTime;
/**
* @var string
*/
public $readLocation;
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $writeLocation;
/**
* @param string
*/
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
/**
* @return string
*/
public function getExpireTime()
{
return $this->expireTime;
}
/**
* @param string
*/
public function setReadLocation($readLocation)
{
$this->readLocation = $readLocation;
}
/**
* @return string
*/
public function getReadLocation()
{
return $this->readLocation;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setWriteLocation($writeLocation)
{
$this->writeLocation = $writeLocation;
}
/**
* @return string
*/
public function getWriteLocation()
{
return $this->writeLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchAccessTokenResponse::class, 'Google_Service_Backupdr_FetchAccessTokenResponse');
@@ -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\Backupdr;
class FetchUsableBackupVaultsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupVaultsType = BackupVault::class;
protected $backupVaultsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param BackupVault[]
*/
public function setBackupVaults($backupVaults)
{
$this->backupVaults = $backupVaults;
}
/**
* @return BackupVault[]
*/
public function getBackupVaults()
{
return $this->backupVaults;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FetchUsableBackupVaultsResponse::class, 'Google_Service_Backupdr_FetchUsableBackupVaultsResponse');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class FinalizeBackupRequest extends \Google\Model
{
/**
* @var string
*/
public $backupId;
/**
* @var string
*/
public $consistencyTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $recoveryRangeEndTime;
/**
* @var string
*/
public $recoveryRangeStartTime;
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $retentionDuration;
/**
* @param string
*/
public function setBackupId($backupId)
{
$this->backupId = $backupId;
}
/**
* @return string
*/
public function getBackupId()
{
return $this->backupId;
}
/**
* @param string
*/
public function setConsistencyTime($consistencyTime)
{
$this->consistencyTime = $consistencyTime;
}
/**
* @return string
*/
public function getConsistencyTime()
{
return $this->consistencyTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setRecoveryRangeEndTime($recoveryRangeEndTime)
{
$this->recoveryRangeEndTime = $recoveryRangeEndTime;
}
/**
* @return string
*/
public function getRecoveryRangeEndTime()
{
return $this->recoveryRangeEndTime;
}
/**
* @param string
*/
public function setRecoveryRangeStartTime($recoveryRangeStartTime)
{
$this->recoveryRangeStartTime = $recoveryRangeStartTime;
}
/**
* @return string
*/
public function getRecoveryRangeStartTime()
{
return $this->recoveryRangeStartTime;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param string
*/
public function setRetentionDuration($retentionDuration)
{
$this->retentionDuration = $retentionDuration;
}
/**
* @return string
*/
public function getRetentionDuration()
{
return $this->retentionDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FinalizeBackupRequest::class, 'Google_Service_Backupdr_FinalizeBackupRequest');
@@ -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\Backupdr;
class GCPBackupPlanInfo extends \Google\Model
{
/**
* @var string
*/
public $backupPlan;
/**
* @var string
*/
public $backupPlanRuleId;
/**
* @param string
*/
public function setBackupPlan($backupPlan)
{
$this->backupPlan = $backupPlan;
}
/**
* @return string
*/
public function getBackupPlan()
{
return $this->backupPlan;
}
/**
* @param string
*/
public function setBackupPlanRuleId($backupPlanRuleId)
{
$this->backupPlanRuleId = $backupPlanRuleId;
}
/**
* @return string
*/
public function getBackupPlanRuleId()
{
return $this->backupPlanRuleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GCPBackupPlanInfo::class, 'Google_Service_Backupdr_GCPBackupPlanInfo');
@@ -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\Backupdr;
class GcpBackupConfig extends \Google\Collection
{
protected $collection_key = 'backupPlanRules';
/**
* @var string
*/
public $backupPlan;
/**
* @var string
*/
public $backupPlanAssociation;
/**
* @var string
*/
public $backupPlanDescription;
/**
* @var string[]
*/
public $backupPlanRules;
/**
* @param string
*/
public function setBackupPlan($backupPlan)
{
$this->backupPlan = $backupPlan;
}
/**
* @return string
*/
public function getBackupPlan()
{
return $this->backupPlan;
}
/**
* @param string
*/
public function setBackupPlanAssociation($backupPlanAssociation)
{
$this->backupPlanAssociation = $backupPlanAssociation;
}
/**
* @return string
*/
public function getBackupPlanAssociation()
{
return $this->backupPlanAssociation;
}
/**
* @param string
*/
public function setBackupPlanDescription($backupPlanDescription)
{
$this->backupPlanDescription = $backupPlanDescription;
}
/**
* @return string
*/
public function getBackupPlanDescription()
{
return $this->backupPlanDescription;
}
/**
* @param string[]
*/
public function setBackupPlanRules($backupPlanRules)
{
$this->backupPlanRules = $backupPlanRules;
}
/**
* @return string[]
*/
public function getBackupPlanRules()
{
return $this->backupPlanRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcpBackupConfig::class, 'Google_Service_Backupdr_GcpBackupConfig');
@@ -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\Backupdr;
class GcpResource extends \Google\Model
{
/**
* @var string
*/
public $gcpResourcename;
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setGcpResourcename($gcpResourcename)
{
$this->gcpResourcename = $gcpResourcename;
}
/**
* @return string
*/
public function getGcpResourcename()
{
return $this->gcpResourcename;
}
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @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(GcpResource::class, 'Google_Service_Backupdr_GcpResource');
@@ -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\Backupdr;
class GuestOsFeature extends \Google\Model
{
/**
* @var string
*/
public $type;
/**
* @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(GuestOsFeature::class, 'Google_Service_Backupdr_GuestOsFeature');
@@ -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\Backupdr;
class InitializeParams extends \Google\Collection
{
protected $collection_key = 'replicaZones';
/**
* @var string
*/
public $diskName;
/**
* @var string[]
*/
public $replicaZones;
/**
* @param string
*/
public function setDiskName($diskName)
{
$this->diskName = $diskName;
}
/**
* @return string
*/
public function getDiskName()
{
return $this->diskName;
}
/**
* @param string[]
*/
public function setReplicaZones($replicaZones)
{
$this->replicaZones = $replicaZones;
}
/**
* @return string[]
*/
public function getReplicaZones()
{
return $this->replicaZones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitializeParams::class, 'Google_Service_Backupdr_InitializeParams');
@@ -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\Backupdr;
class InitializeServiceRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $resourceType;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitializeServiceRequest::class, 'Google_Service_Backupdr_InitializeServiceRequest');
@@ -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\Backupdr;
class InitiateBackupRequest extends \Google\Model
{
/**
* @var string
*/
public $backupId;
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setBackupId($backupId)
{
$this->backupId = $backupId;
}
/**
* @return string
*/
public function getBackupId()
{
return $this->backupId;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitiateBackupRequest::class, 'Google_Service_Backupdr_InitiateBackupRequest');
@@ -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\Backupdr;
class InitiateBackupResponse extends \Google\Model
{
/**
* @var string
*/
public $backup;
/**
* @var int
*/
public $baseBackupGenerationId;
/**
* @var int
*/
public $newBackupGenerationId;
/**
* @param string
*/
public function setBackup($backup)
{
$this->backup = $backup;
}
/**
* @return string
*/
public function getBackup()
{
return $this->backup;
}
/**
* @param int
*/
public function setBaseBackupGenerationId($baseBackupGenerationId)
{
$this->baseBackupGenerationId = $baseBackupGenerationId;
}
/**
* @return int
*/
public function getBaseBackupGenerationId()
{
return $this->baseBackupGenerationId;
}
/**
* @param int
*/
public function setNewBackupGenerationId($newBackupGenerationId)
{
$this->newBackupGenerationId = $newBackupGenerationId;
}
/**
* @return int
*/
public function getNewBackupGenerationId()
{
return $this->newBackupGenerationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InitiateBackupResponse::class, 'Google_Service_Backupdr_InitiateBackupResponse');
@@ -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\Backupdr;
class InstanceParams extends \Google\Model
{
/**
* @var string[]
*/
public $resourceManagerTags;
/**
* @param string[]
*/
public function setResourceManagerTags($resourceManagerTags)
{
$this->resourceManagerTags = $resourceManagerTags;
}
/**
* @return string[]
*/
public function getResourceManagerTags()
{
return $this->resourceManagerTags;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(InstanceParams::class, 'Google_Service_Backupdr_InstanceParams');
@@ -0,0 +1,168 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class IsolationExpectations extends \Google\Model
{
protected $requirementOverrideType = RequirementOverride::class;
protected $requirementOverrideDataType = '';
/**
* @var string
*/
public $ziOrgPolicy;
/**
* @var string
*/
public $ziRegionPolicy;
/**
* @var string
*/
public $ziRegionState;
/**
* @var string
*/
public $zoneIsolation;
/**
* @var string
*/
public $zoneSeparation;
/**
* @var string
*/
public $zsOrgPolicy;
/**
* @var string
*/
public $zsRegionState;
/**
* @param RequirementOverride
*/
public function setRequirementOverride(RequirementOverride $requirementOverride)
{
$this->requirementOverride = $requirementOverride;
}
/**
* @return RequirementOverride
*/
public function getRequirementOverride()
{
return $this->requirementOverride;
}
/**
* @param string
*/
public function setZiOrgPolicy($ziOrgPolicy)
{
$this->ziOrgPolicy = $ziOrgPolicy;
}
/**
* @return string
*/
public function getZiOrgPolicy()
{
return $this->ziOrgPolicy;
}
/**
* @param string
*/
public function setZiRegionPolicy($ziRegionPolicy)
{
$this->ziRegionPolicy = $ziRegionPolicy;
}
/**
* @return string
*/
public function getZiRegionPolicy()
{
return $this->ziRegionPolicy;
}
/**
* @param string
*/
public function setZiRegionState($ziRegionState)
{
$this->ziRegionState = $ziRegionState;
}
/**
* @return string
*/
public function getZiRegionState()
{
return $this->ziRegionState;
}
/**
* @param string
*/
public function setZoneIsolation($zoneIsolation)
{
$this->zoneIsolation = $zoneIsolation;
}
/**
* @return string
*/
public function getZoneIsolation()
{
return $this->zoneIsolation;
}
/**
* @param string
*/
public function setZoneSeparation($zoneSeparation)
{
$this->zoneSeparation = $zoneSeparation;
}
/**
* @return string
*/
public function getZoneSeparation()
{
return $this->zoneSeparation;
}
/**
* @param string
*/
public function setZsOrgPolicy($zsOrgPolicy)
{
$this->zsOrgPolicy = $zsOrgPolicy;
}
/**
* @return string
*/
public function getZsOrgPolicy()
{
return $this->zsOrgPolicy;
}
/**
* @param string
*/
public function setZsRegionState($zsRegionState)
{
$this->zsRegionState = $zsRegionState;
}
/**
* @return string
*/
public function getZsRegionState()
{
return $this->zsRegionState;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IsolationExpectations::class, 'Google_Service_Backupdr_IsolationExpectations');
@@ -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\Backupdr;
class ListBackupPlanAssociationsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupPlanAssociationsType = BackupPlanAssociation::class;
protected $backupPlanAssociationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param BackupPlanAssociation[]
*/
public function setBackupPlanAssociations($backupPlanAssociations)
{
$this->backupPlanAssociations = $backupPlanAssociations;
}
/**
* @return BackupPlanAssociation[]
*/
public function getBackupPlanAssociations()
{
return $this->backupPlanAssociations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBackupPlanAssociationsResponse::class, 'Google_Service_Backupdr_ListBackupPlanAssociationsResponse');
@@ -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\Backupdr;
class ListBackupPlansResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupPlansType = BackupPlan::class;
protected $backupPlansDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param BackupPlan[]
*/
public function setBackupPlans($backupPlans)
{
$this->backupPlans = $backupPlans;
}
/**
* @return BackupPlan[]
*/
public function getBackupPlans()
{
return $this->backupPlans;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBackupPlansResponse::class, 'Google_Service_Backupdr_ListBackupPlansResponse');
@@ -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\Backupdr;
class ListBackupVaultsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupVaultsType = BackupVault::class;
protected $backupVaultsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param BackupVault[]
*/
public function setBackupVaults($backupVaults)
{
$this->backupVaults = $backupVaults;
}
/**
* @return BackupVault[]
*/
public function getBackupVaults()
{
return $this->backupVaults;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBackupVaultsResponse::class, 'Google_Service_Backupdr_ListBackupVaultsResponse');
@@ -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\Backupdr;
class ListBackupsResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $backupsType = Backup::class;
protected $backupsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param Backup[]
*/
public function setBackups($backups)
{
$this->backups = $backups;
}
/**
* @return Backup[]
*/
public function getBackups()
{
return $this->backups;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListBackupsResponse::class, 'Google_Service_Backupdr_ListBackupsResponse');
@@ -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\Backupdr;
class ListDataSourcesResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $dataSourcesType = DataSource::class;
protected $dataSourcesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param DataSource[]
*/
public function setDataSources($dataSources)
{
$this->dataSources = $dataSources;
}
/**
* @return DataSource[]
*/
public function getDataSources()
{
return $this->dataSources;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListDataSourcesResponse::class, 'Google_Service_Backupdr_ListDataSourcesResponse');
@@ -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\Backupdr;
class ListLocationsResponse extends \Google\Collection
{
protected $collection_key = 'locations';
protected $locationsType = Location::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param Location[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Location[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListLocationsResponse::class, 'Google_Service_Backupdr_ListLocationsResponse');
@@ -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\Backupdr;
class ListManagementServersResponse extends \Google\Collection
{
protected $collection_key = 'unreachable';
protected $managementServersType = ManagementServer::class;
protected $managementServersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @var string[]
*/
public $unreachable;
/**
* @param ManagementServer[]
*/
public function setManagementServers($managementServers)
{
$this->managementServers = $managementServers;
}
/**
* @return ManagementServer[]
*/
public function getManagementServers()
{
return $this->managementServers;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param string[]
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListManagementServersResponse::class, 'Google_Service_Backupdr_ListManagementServersResponse');
@@ -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\Backupdr;
class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
/**
* @var string
*/
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Operation[]
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Operation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListOperationsResponse::class, 'Google_Service_Backupdr_ListOperationsResponse');
@@ -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\Backupdr;
class Location extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $locationId;
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Location::class, 'Google_Service_Backupdr_Location');
@@ -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\Backupdr;
class LocationAssignment extends \Google\Model
{
/**
* @var string
*/
public $location;
/**
* @var string
*/
public $locationType;
/**
* @param string
*/
public function setLocation($location)
{
$this->location = $location;
}
/**
* @return string
*/
public function getLocation()
{
return $this->location;
}
/**
* @param string
*/
public function setLocationType($locationType)
{
$this->locationType = $locationType;
}
/**
* @return string
*/
public function getLocationType()
{
return $this->locationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationAssignment::class, 'Google_Service_Backupdr_LocationAssignment');
@@ -0,0 +1,122 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class LocationData extends \Google\Model
{
protected $blobstoreLocationType = BlobstoreLocation::class;
protected $blobstoreLocationDataType = '';
protected $childAssetLocationType = CloudAssetComposition::class;
protected $childAssetLocationDataType = '';
protected $directLocationType = DirectLocationAssignment::class;
protected $directLocationDataType = '';
protected $gcpProjectProxyType = TenantProjectProxy::class;
protected $gcpProjectProxyDataType = '';
protected $placerLocationType = PlacerLocation::class;
protected $placerLocationDataType = '';
protected $spannerLocationType = SpannerLocation::class;
protected $spannerLocationDataType = '';
/**
* @param BlobstoreLocation
*/
public function setBlobstoreLocation(BlobstoreLocation $blobstoreLocation)
{
$this->blobstoreLocation = $blobstoreLocation;
}
/**
* @return BlobstoreLocation
*/
public function getBlobstoreLocation()
{
return $this->blobstoreLocation;
}
/**
* @param CloudAssetComposition
*/
public function setChildAssetLocation(CloudAssetComposition $childAssetLocation)
{
$this->childAssetLocation = $childAssetLocation;
}
/**
* @return CloudAssetComposition
*/
public function getChildAssetLocation()
{
return $this->childAssetLocation;
}
/**
* @param DirectLocationAssignment
*/
public function setDirectLocation(DirectLocationAssignment $directLocation)
{
$this->directLocation = $directLocation;
}
/**
* @return DirectLocationAssignment
*/
public function getDirectLocation()
{
return $this->directLocation;
}
/**
* @param TenantProjectProxy
*/
public function setGcpProjectProxy(TenantProjectProxy $gcpProjectProxy)
{
$this->gcpProjectProxy = $gcpProjectProxy;
}
/**
* @return TenantProjectProxy
*/
public function getGcpProjectProxy()
{
return $this->gcpProjectProxy;
}
/**
* @param PlacerLocation
*/
public function setPlacerLocation(PlacerLocation $placerLocation)
{
$this->placerLocation = $placerLocation;
}
/**
* @return PlacerLocation
*/
public function getPlacerLocation()
{
return $this->placerLocation;
}
/**
* @param SpannerLocation
*/
public function setSpannerLocation(SpannerLocation $spannerLocation)
{
$this->spannerLocation = $spannerLocation;
}
/**
* @return SpannerLocation
*/
public function getSpannerLocation()
{
return $this->spannerLocation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LocationData::class, 'Google_Service_Backupdr_LocationData');
@@ -0,0 +1,307 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class ManagementServer extends \Google\Collection
{
protected $collection_key = 'networks';
/**
* @var string[]
*/
public $baProxyUri;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string[]
*/
public $labels;
protected $managementUriType = ManagementURI::class;
protected $managementUriDataType = '';
/**
* @var string
*/
public $name;
protected $networksType = NetworkConfig::class;
protected $networksDataType = 'array';
/**
* @var string
*/
public $oauth2ClientId;
/**
* @var bool
*/
public $satisfiesPzi;
/**
* @var bool
*/
public $satisfiesPzs;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @var string
*/
public $updateTime;
protected $workforceIdentityBasedManagementUriType = WorkforceIdentityBasedManagementURI::class;
protected $workforceIdentityBasedManagementUriDataType = '';
protected $workforceIdentityBasedOauth2ClientIdType = WorkforceIdentityBasedOAuth2ClientID::class;
protected $workforceIdentityBasedOauth2ClientIdDataType = '';
/**
* @param string[]
*/
public function setBaProxyUri($baProxyUri)
{
$this->baProxyUri = $baProxyUri;
}
/**
* @return string[]
*/
public function getBaProxyUri()
{
return $this->baProxyUri;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param ManagementURI
*/
public function setManagementUri(ManagementURI $managementUri)
{
$this->managementUri = $managementUri;
}
/**
* @return ManagementURI
*/
public function getManagementUri()
{
return $this->managementUri;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param NetworkConfig[]
*/
public function setNetworks($networks)
{
$this->networks = $networks;
}
/**
* @return NetworkConfig[]
*/
public function getNetworks()
{
return $this->networks;
}
/**
* @param string
*/
public function setOauth2ClientId($oauth2ClientId)
{
$this->oauth2ClientId = $oauth2ClientId;
}
/**
* @return string
*/
public function getOauth2ClientId()
{
return $this->oauth2ClientId;
}
/**
* @param bool
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* @param bool
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* @param WorkforceIdentityBasedManagementURI
*/
public function setWorkforceIdentityBasedManagementUri(WorkforceIdentityBasedManagementURI $workforceIdentityBasedManagementUri)
{
$this->workforceIdentityBasedManagementUri = $workforceIdentityBasedManagementUri;
}
/**
* @return WorkforceIdentityBasedManagementURI
*/
public function getWorkforceIdentityBasedManagementUri()
{
return $this->workforceIdentityBasedManagementUri;
}
/**
* @param WorkforceIdentityBasedOAuth2ClientID
*/
public function setWorkforceIdentityBasedOauth2ClientId(WorkforceIdentityBasedOAuth2ClientID $workforceIdentityBasedOauth2ClientId)
{
$this->workforceIdentityBasedOauth2ClientId = $workforceIdentityBasedOauth2ClientId;
}
/**
* @return WorkforceIdentityBasedOAuth2ClientID
*/
public function getWorkforceIdentityBasedOauth2ClientId()
{
return $this->workforceIdentityBasedOauth2ClientId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementServer::class, 'Google_Service_Backupdr_ManagementServer');
@@ -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\Backupdr;
class ManagementURI extends \Google\Model
{
/**
* @var string
*/
public $api;
/**
* @var string
*/
public $webUi;
/**
* @param string
*/
public function setApi($api)
{
$this->api = $api;
}
/**
* @return string
*/
public function getApi()
{
return $this->api;
}
/**
* @param string
*/
public function setWebUi($webUi)
{
$this->webUi = $webUi;
}
/**
* @return string
*/
public function getWebUi()
{
return $this->webUi;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagementURI::class, 'Google_Service_Backupdr_ManagementURI');
@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class Metadata extends \Google\Collection
{
protected $collection_key = 'items';
protected $itemsType = Entry::class;
protected $itemsDataType = 'array';
/**
* @param Entry[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Entry[]
*/
public function getItems()
{
return $this->items;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Metadata::class, 'Google_Service_Backupdr_Metadata');
@@ -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\Backupdr;
class NetworkConfig extends \Google\Model
{
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $peeringMode;
/**
* @param string
*/
public function setNetwork($network)
{
$this->network = $network;
}
/**
* @return string
*/
public function getNetwork()
{
return $this->network;
}
/**
* @param string
*/
public function setPeeringMode($peeringMode)
{
$this->peeringMode = $peeringMode;
}
/**
* @return string
*/
public function getPeeringMode()
{
return $this->peeringMode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkConfig::class, 'Google_Service_Backupdr_NetworkConfig');
@@ -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\Backupdr;
class NetworkInterface extends \Google\Collection
{
protected $collection_key = 'ipv6AccessConfigs';
protected $accessConfigsType = AccessConfig::class;
protected $accessConfigsDataType = 'array';
protected $aliasIpRangesType = AliasIpRange::class;
protected $aliasIpRangesDataType = 'array';
/**
* @var int
*/
public $internalIpv6PrefixLength;
protected $ipv6AccessConfigsType = AccessConfig::class;
protected $ipv6AccessConfigsDataType = 'array';
/**
* @var string
*/
public $ipv6AccessType;
/**
* @var string
*/
public $ipv6Address;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $network;
/**
* @var string
*/
public $networkAttachment;
/**
* @var string
*/
public $networkIP;
/**
* @var string
*/
public $nicType;
/**
* @var int
*/
public $queueCount;
/**
* @var string
*/
public $stackType;
/**
* @var string
*/
public $subnetwork;
/**
* @param AccessConfig[]
*/
public function setAccessConfigs($accessConfigs)
{
$this->accessConfigs = $accessConfigs;
}
/**
* @return AccessConfig[]
*/
public function getAccessConfigs()
{
return $this->accessConfigs;
}
/**
* @param AliasIpRange[]
*/
public function setAliasIpRanges($aliasIpRanges)
{
$this->aliasIpRanges = $aliasIpRanges;
}
/**
* @return AliasIpRange[]
*/
public function getAliasIpRanges()
{
return $this->aliasIpRanges;
}
/**
* @param int
*/
public function setInternalIpv6PrefixLength($internalIpv6PrefixLength)
{
$this->internalIpv6PrefixLength = $internalIpv6PrefixLength;
}
/**
* @return int
*/
public function getInternalIpv6PrefixLength()
{
return $this->internalIpv6PrefixLength;
}
/**
* @param AccessConfig[]
*/
public function setIpv6AccessConfigs($ipv6AccessConfigs)
{
$this->ipv6AccessConfigs = $ipv6AccessConfigs;
}
/**
* @return AccessConfig[]
*/
public function getIpv6AccessConfigs()
{
return $this->ipv6AccessConfigs;
}
/**
* @param string
*/
public function setIpv6AccessType($ipv6AccessType)
{
$this->ipv6AccessType = $ipv6AccessType;
}
/**
* @return string
*/
public function getIpv6AccessType()
{
return $this->ipv6AccessType;
}
/**
* @param string
*/
public function setIpv6Address($ipv6Address)
{
$this->ipv6Address = $ipv6Address;
}
/**
* @return string
*/
public function getIpv6Address()
{
return $this->ipv6Address;
}
/**
* @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 setNetworkAttachment($networkAttachment)
{
$this->networkAttachment = $networkAttachment;
}
/**
* @return string
*/
public function getNetworkAttachment()
{
return $this->networkAttachment;
}
/**
* @param string
*/
public function setNetworkIP($networkIP)
{
$this->networkIP = $networkIP;
}
/**
* @return string
*/
public function getNetworkIP()
{
return $this->networkIP;
}
/**
* @param string
*/
public function setNicType($nicType)
{
$this->nicType = $nicType;
}
/**
* @return string
*/
public function getNicType()
{
return $this->nicType;
}
/**
* @param int
*/
public function setQueueCount($queueCount)
{
$this->queueCount = $queueCount;
}
/**
* @return int
*/
public function getQueueCount()
{
return $this->queueCount;
}
/**
* @param string
*/
public function setStackType($stackType)
{
$this->stackType = $stackType;
}
/**
* @return string
*/
public function getStackType()
{
return $this->stackType;
}
/**
* @param string
*/
public function setSubnetwork($subnetwork)
{
$this->subnetwork = $subnetwork;
}
/**
* @return string
*/
public function getSubnetwork()
{
return $this->subnetwork;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkInterface::class, 'Google_Service_Backupdr_NetworkInterface');
@@ -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\Backupdr;
class NetworkPerformanceConfig extends \Google\Model
{
/**
* @var string
*/
public $totalEgressBandwidthTier;
/**
* @param string
*/
public function setTotalEgressBandwidthTier($totalEgressBandwidthTier)
{
$this->totalEgressBandwidthTier = $totalEgressBandwidthTier;
}
/**
* @return string
*/
public function getTotalEgressBandwidthTier()
{
return $this->totalEgressBandwidthTier;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NetworkPerformanceConfig::class, 'Google_Service_Backupdr_NetworkPerformanceConfig');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class NodeAffinity extends \Google\Collection
{
protected $collection_key = 'values';
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $operator;
/**
* @var string[]
*/
public $values;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setOperator($operator)
{
$this->operator = $operator;
}
/**
* @return string
*/
public function getOperator()
{
return $this->operator;
}
/**
* @param string[]
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NodeAffinity::class, 'Google_Service_Backupdr_NodeAffinity');
@@ -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\Backupdr;
class Operation extends \Google\Model
{
/**
* @var bool
*/
public $done;
protected $errorType = Status::class;
protected $errorDataType = '';
/**
* @var array[]
*/
public $metadata;
/**
* @var string
*/
public $name;
/**
* @var array[]
*/
public $response;
/**
* @param bool
*/
public function setDone($done)
{
$this->done = $done;
}
/**
* @return bool
*/
public function getDone()
{
return $this->done;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param array[]
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param array[]
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return array[]
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Operation::class, 'Google_Service_Backupdr_Operation');
@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class OperationMetadata extends \Google\Model
{
/**
* @var string[]
*/
public $additionalInfo;
/**
* @var string
*/
public $apiVersion;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $endTime;
/**
* @var bool
*/
public $requestedCancellation;
/**
* @var string
*/
public $statusMessage;
/**
* @var string
*/
public $target;
/**
* @var string
*/
public $verb;
/**
* @param string[]
*/
public function setAdditionalInfo($additionalInfo)
{
$this->additionalInfo = $additionalInfo;
}
/**
* @return string[]
*/
public function getAdditionalInfo()
{
return $this->additionalInfo;
}
/**
* @param string
*/
public function setApiVersion($apiVersion)
{
$this->apiVersion = $apiVersion;
}
/**
* @return string
*/
public function getApiVersion()
{
return $this->apiVersion;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param bool
*/
public function setRequestedCancellation($requestedCancellation)
{
$this->requestedCancellation = $requestedCancellation;
}
/**
* @return bool
*/
public function getRequestedCancellation()
{
return $this->requestedCancellation;
}
/**
* @param string
*/
public function setStatusMessage($statusMessage)
{
$this->statusMessage = $statusMessage;
}
/**
* @return string
*/
public function getStatusMessage()
{
return $this->statusMessage;
}
/**
* @param string
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return string
*/
public function getTarget()
{
return $this->target;
}
/**
* @param string
*/
public function setVerb($verb)
{
$this->verb = $verb;
}
/**
* @return string
*/
public function getVerb()
{
return $this->verb;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OperationMetadata::class, 'Google_Service_Backupdr_OperationMetadata');
@@ -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\Backupdr;
class PlacerLocation extends \Google\Model
{
/**
* @var string
*/
public $placerConfig;
/**
* @param string
*/
public function setPlacerConfig($placerConfig)
{
$this->placerConfig = $placerConfig;
}
/**
* @return string
*/
public function getPlacerConfig()
{
return $this->placerConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PlacerLocation::class, 'Google_Service_Backupdr_PlacerLocation');
@@ -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\Backupdr;
class Policy extends \Google\Collection
{
protected $collection_key = 'bindings';
protected $auditConfigsType = AuditConfig::class;
protected $auditConfigsDataType = 'array';
protected $bindingsType = Binding::class;
protected $bindingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var int
*/
public $version;
/**
* @param AuditConfig[]
*/
public function setAuditConfigs($auditConfigs)
{
$this->auditConfigs = $auditConfigs;
}
/**
* @return AuditConfig[]
*/
public function getAuditConfigs()
{
return $this->auditConfigs;
}
/**
* @param Binding[]
*/
public function setBindings($bindings)
{
$this->bindings = $bindings;
}
/**
* @return Binding[]
*/
public function getBindings()
{
return $this->bindings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param int
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Policy::class, 'Google_Service_Backupdr_Policy');
@@ -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\Backupdr;
class RegionalMigDistributionPolicy extends \Google\Collection
{
protected $collection_key = 'zones';
/**
* @var int
*/
public $targetShape;
protected $zonesType = ZoneConfiguration::class;
protected $zonesDataType = 'array';
/**
* @param int
*/
public function setTargetShape($targetShape)
{
$this->targetShape = $targetShape;
}
/**
* @return int
*/
public function getTargetShape()
{
return $this->targetShape;
}
/**
* @param ZoneConfiguration[]
*/
public function setZones($zones)
{
$this->zones = $zones;
}
/**
* @return ZoneConfiguration[]
*/
public function getZones()
{
return $this->zones;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RegionalMigDistributionPolicy::class, 'Google_Service_Backupdr_RegionalMigDistributionPolicy');
@@ -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\Backupdr;
class RemoveDataSourceRequest extends \Google\Model
{
/**
* @var string
*/
public $requestId;
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RemoveDataSourceRequest::class, 'Google_Service_Backupdr_RemoveDataSourceRequest');
@@ -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\Backupdr;
class RequirementOverride extends \Google\Model
{
/**
* @var string
*/
public $ziOverride;
/**
* @var string
*/
public $zsOverride;
/**
* @param string
*/
public function setZiOverride($ziOverride)
{
$this->ziOverride = $ziOverride;
}
/**
* @return string
*/
public function getZiOverride()
{
return $this->ziOverride;
}
/**
* @param string
*/
public function setZsOverride($zsOverride)
{
$this->zsOverride = $zsOverride;
}
/**
* @return string
*/
public function getZsOverride()
{
return $this->zsOverride;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RequirementOverride::class, 'Google_Service_Backupdr_RequirementOverride');
@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $projects = $backupdrService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Backupdr_Resource_Projects');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\ListLocationsResponse;
use Google\Service\Backupdr\Location;
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $locations = $backupdrService->projects_locations;
* </code>
*/
class ProjectsLocations extends \Google\Service\Resource
{
/**
* Gets information about a location. (locations.get)
*
* @param string $name Resource name for the location.
* @param array $optParams Optional parameters.
* @return Location
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
* @opt_param int pageSize The maximum number of results to return. If not set,
* the service selects a default.
* @opt_param string pageToken A page token received from the `next_page_token`
* field in the response. Send that page token to receive the subsequent page.
* @return ListLocationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListLocationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocations::class, 'Google_Service_Backupdr_Resource_ProjectsLocations');
@@ -0,0 +1,157 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\BackupPlanAssociation;
use Google\Service\Backupdr\ListBackupPlanAssociationsResponse;
use Google\Service\Backupdr\Operation;
use Google\Service\Backupdr\TriggerBackupRequest;
/**
* The "backupPlanAssociations" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $backupPlanAssociations = $backupdrService->projects_locations_backupPlanAssociations;
* </code>
*/
class ProjectsLocationsBackupPlanAssociations extends \Google\Service\Resource
{
/**
* Create a BackupPlanAssociation (backupPlanAssociations.create)
*
* @param string $parent Required. The backup plan association project and
* location in the format `projects/{project_id}/locations/{location}`. In Cloud
* BackupDR locations map to GCP regions, for example **us-central1**.
* @param BackupPlanAssociation $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string backupPlanAssociationId Required. The name of the backup
* plan association to create. The name must be unique for the specified project
* and location.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and t he request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, BackupPlanAssociation $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single BackupPlanAssociation. (backupPlanAssociations.delete)
*
* @param string $name Required. Name of the backup plan association resource,
* in the format `projects/{project}/locations/{location}/backupPlanAssociations
* /{backupPlanAssociationId}`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single BackupPlanAssociation. (backupPlanAssociations.get)
*
* @param string $name Required. Name of the backup plan association resource,
* in the format `projects/{project}/locations/{location}/backupPlanAssociations
* /{backupPlanAssociationId}`
* @param array $optParams Optional parameters.
* @return BackupPlanAssociation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BackupPlanAssociation::class);
}
/**
* Lists BackupPlanAssociations in a given project and location.
* (backupPlanAssociations.listProjectsLocationsBackupPlanAssociations)
*
* @param string $parent Required. The project and location for which to
* retrieve backup Plan Associations information, in the format
* `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations
* map to GCP regions, for example **us-central1**. To retrieve backup plan
* associations for all locations, use "-" for the `{location}` value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @return ListBackupPlanAssociationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackupPlanAssociations($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupPlanAssociationsResponse::class);
}
/**
* Triggers a new Backup. (backupPlanAssociations.triggerBackup)
*
* @param string $name Required. Name of the backup plan association resource,
* in the format `projects/{project}/locations/{location}/backupPlanAssociations
* /{backupPlanAssociationId}`
* @param TriggerBackupRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function triggerBackup($name, TriggerBackupRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('triggerBackup', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackupPlanAssociations::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsBackupPlanAssociations');
@@ -0,0 +1,147 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\BackupPlan;
use Google\Service\Backupdr\ListBackupPlansResponse;
use Google\Service\Backupdr\Operation;
/**
* The "backupPlans" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $backupPlans = $backupdrService->projects_locations_backupPlans;
* </code>
*/
class ProjectsLocationsBackupPlans extends \Google\Service\Resource
{
/**
* Create a BackupPlan (backupPlans.create)
*
* @param string $parent Required. The `BackupPlan` project and location in the
* format `projects/{project}/locations/{location}`. In Cloud BackupDR locations
* map to GCP regions, for example **us-central1**.
* @param BackupPlan $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string backupPlanId Required. The name of the `BackupPlan` to
* create. The name must be unique for the specified project and location.The
* name must start with a lowercase letter followed by up to 62 lowercase
* letters, numbers, or hyphens. Pattern, /a-z{,62}/.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and t he request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, BackupPlan $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single BackupPlan. (backupPlans.delete)
*
* @param string $name Required. The resource name of the `BackupPlan` to
* delete. Format:
* `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single BackupPlan. (backupPlans.get)
*
* @param string $name Required. The resource name of the `BackupPlan` to
* retrieve. Format:
* `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
* @param array $optParams Optional parameters.
* @return BackupPlan
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BackupPlan::class);
}
/**
* Lists BackupPlans in a given project and location.
* (backupPlans.listProjectsLocationsBackupPlans)
*
* @param string $parent Required. The project and location for which to
* retrieve `BackupPlans` information. Format:
* `projects/{project}/locations/{location}`. In Cloud BackupDR, locations map
* to GCP regions, for e.g. **us-central1**. To retrieve backup plans for all
* locations, use "-" for the `{location}` value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Field match expression used to filter the
* results.
* @opt_param string orderBy Optional. Field by which to sort the results.
* @opt_param int pageSize Optional. The maximum number of `BackupPlans` to
* return in a single response. If not specified, a default value will be chosen
* by the service. Note that the response may include a partial list and a
* caller should only rely on the response's next_page_token to determine if
* there are more instances left to be queried.
* @opt_param string pageToken Optional. The value of next_page_token received
* from a previous `ListBackupPlans` call. Provide this to retrieve the
* subsequent page in a multi-page list of results. When paginating, all other
* parameters provided to `ListBackupPlans` must match the call that provided
* the page token.
* @return ListBackupPlansResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackupPlans($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupPlansResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackupPlans::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsBackupPlans');
@@ -0,0 +1,249 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\BackupVault;
use Google\Service\Backupdr\FetchUsableBackupVaultsResponse;
use Google\Service\Backupdr\ListBackupVaultsResponse;
use Google\Service\Backupdr\Operation;
use Google\Service\Backupdr\TestIamPermissionsRequest;
use Google\Service\Backupdr\TestIamPermissionsResponse;
/**
* The "backupVaults" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $backupVaults = $backupdrService->projects_locations_backupVaults;
* </code>
*/
class ProjectsLocationsBackupVaults extends \Google\Service\Resource
{
/**
* Creates a new BackupVault in a given project and location.
* (backupVaults.create)
*
* @param string $parent Required. Value for parent.
* @param BackupVault $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string backupVaultId Required. ID of the requesting object If
* auto-generating ID server-side, remove this field and backup_vault_id from
* the method_signature of Create RPC
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. Only validate the request, but do not
* perform mutations. The default is 'false'.
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, BackupVault $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a BackupVault. (backupVaults.delete)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. If true and the BackupVault is not
* found, the request will succeed but no action will be taken.
* @opt_param string etag The current etag of the backup vault. If an etag is
* provided and does not match the current etag of the connection, deletion will
* be blocked.
* @opt_param bool force Optional. If set to true, any data source from this
* backup vault will also be deleted.
* @opt_param bool ignoreBackupPlanReferences Optional. If set to true,
* backupvault deletion will proceed even if there are backup plans referencing
* the backupvault. The default is 'false'.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param bool validateOnly Optional. Only validate the request, but do not
* perform mutations. The default is 'false'.
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* FetchUsableBackupVaults lists usable BackupVaults in a given project and
* location. Usable BackupVault are the ones that user has
* backupdr.backupVaults.get permission. (backupVaults.fetchUsable)
*
* @param string $parent Required. The project and location for which to
* retrieve backupvault stores information, in the format
* 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
* locations map to Google Cloud regions, for example **us-central1**. To
* retrieve backupvault stores for all locations, use "-" for the '{location}'
* value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @return FetchUsableBackupVaultsResponse
* @throws \Google\Service\Exception
*/
public function fetchUsable($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('fetchUsable', [$params], FetchUsableBackupVaultsResponse::class);
}
/**
* Gets details of a BackupVault. (backupVaults.get)
*
* @param string $name Required. Name of the backupvault store resource name, in
* the format
* 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'
* @param array $optParams Optional parameters.
*
* @opt_param string view Optional. Reserved for future use to provide a BASIC &
* FULL view of Backup Vault
* @return BackupVault
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], BackupVault::class);
}
/**
* Lists BackupVaults in a given project and location.
* (backupVaults.listProjectsLocationsBackupVaults)
*
* @param string $parent Required. The project and location for which to
* retrieve backupvault stores information, in the format
* 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
* locations map to Google Cloud regions, for example **us-central1**. To
* retrieve backupvault stores for all locations, use "-" for the '{location}'
* value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @opt_param string view Optional. Reserved for future use to provide a BASIC &
* FULL view of Backup Vault.
* @return ListBackupVaultsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackupVaults($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupVaultsResponse::class);
}
/**
* Updates the settings of a BackupVault. (backupVaults.patch)
*
* @param string $name Output only. Identifier. Name of the backup vault to
* create. It must have the
* format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
* `{backupvault}` cannot be changed after creation. It must be between 3-63
* characters long and must be unique within the project and location.
* @param BackupVault $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool force Optional. If set to true, will not check plan duration
* against backup vault enforcement duration.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the BackupVault resource by the update. The
* fields specified in the update_mask are relative to the resource, not the
* full request. A field will be overwritten if it is in the mask. If the user
* does not provide a mask then the request will fail.
* @opt_param bool validateOnly Optional. Only validate the request, but do not
* perform mutations. The default is 'false'.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, BackupVault $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Returns the caller's permissions on a BackupVault resource. A caller is not
* required to have Google IAM permission to make this request.
* (backupVaults.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackupVaults::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsBackupVaults');
@@ -0,0 +1,225 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\AbandonBackupRequest;
use Google\Service\Backupdr\DataSource;
use Google\Service\Backupdr\FetchAccessTokenRequest;
use Google\Service\Backupdr\FetchAccessTokenResponse;
use Google\Service\Backupdr\FinalizeBackupRequest;
use Google\Service\Backupdr\InitiateBackupRequest;
use Google\Service\Backupdr\InitiateBackupResponse;
use Google\Service\Backupdr\ListDataSourcesResponse;
use Google\Service\Backupdr\Operation;
use Google\Service\Backupdr\RemoveDataSourceRequest;
use Google\Service\Backupdr\SetInternalStatusRequest;
/**
* The "dataSources" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $dataSources = $backupdrService->projects_locations_backupVaults_dataSources;
* </code>
*/
class ProjectsLocationsBackupVaultsDataSources extends \Google\Service\Resource
{
/**
* Internal only. Abandons a backup. (dataSources.abandonBackup)
*
* @param string $dataSource Required. The resource name of the instance, in the
* format 'projects/locations/backupVaults/dataSources/'.
* @param AbandonBackupRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function abandonBackup($dataSource, AbandonBackupRequest $postBody, $optParams = [])
{
$params = ['dataSource' => $dataSource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('abandonBackup', [$params], Operation::class);
}
/**
* Internal only. Fetch access token for a given data source.
* (dataSources.fetchAccessToken)
*
* @param string $name Required. The resource name for the location for which
* static IPs should be returned. Must be in the format
* 'projects/locations/backupVaults/dataSources'.
* @param FetchAccessTokenRequest $postBody
* @param array $optParams Optional parameters.
* @return FetchAccessTokenResponse
* @throws \Google\Service\Exception
*/
public function fetchAccessToken($name, FetchAccessTokenRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('fetchAccessToken', [$params], FetchAccessTokenResponse::class);
}
/**
* Internal only. Finalize a backup that was started by a call to
* InitiateBackup. (dataSources.finalizeBackup)
*
* @param string $dataSource Required. The resource name of the instance, in the
* format 'projects/locations/backupVaults/dataSources/'.
* @param FinalizeBackupRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function finalizeBackup($dataSource, FinalizeBackupRequest $postBody, $optParams = [])
{
$params = ['dataSource' => $dataSource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('finalizeBackup', [$params], Operation::class);
}
/**
* Gets details of a DataSource. (dataSources.get)
*
* @param string $name Required. Name of the data source resource name, in the
* format 'projects/{project_id}/locations/{location}/backupVaults/{resource_nam
* e}/dataSource/{resource_name}'
* @param array $optParams Optional parameters.
* @return DataSource
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DataSource::class);
}
/**
* Internal only. Initiates a backup. (dataSources.initiateBackup)
*
* @param string $dataSource Required. The resource name of the instance, in the
* format 'projects/locations/backupVaults/dataSources/'.
* @param InitiateBackupRequest $postBody
* @param array $optParams Optional parameters.
* @return InitiateBackupResponse
* @throws \Google\Service\Exception
*/
public function initiateBackup($dataSource, InitiateBackupRequest $postBody, $optParams = [])
{
$params = ['dataSource' => $dataSource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('initiateBackup', [$params], InitiateBackupResponse::class);
}
/**
* Lists DataSources in a given project and location.
* (dataSources.listProjectsLocationsBackupVaultsDataSources)
*
* @param string $parent Required. The project and location for which to
* retrieve data sources information, in the format
* 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
* locations map to Google Cloud regions, for example **us-central1**. To
* retrieve data sources for all locations, use "-" for the '{location}' value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @return ListDataSourcesResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackupVaultsDataSources($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListDataSourcesResponse::class);
}
/**
* Updates the settings of a DataSource. (dataSources.patch)
*
* @param string $name Output only. Identifier. Name of the datasource to
* create. It must have the format`"projects/{project}/locations/{location}/back
* upVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}` cannot be
* changed after creation. It must be between 3-63 characters long and must be
* unique within the backup vault.
* @param DataSource $postBody
* @param array $optParams Optional parameters.
*
* @opt_param bool allowMissing Optional. Enable upsert.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the DataSource resource by the update. The fields
* specified in the update_mask are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then the request will fail.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, DataSource $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Deletes a DataSource. This is a custom method instead of a standard delete
* method because external clients will not delete DataSources except for
* BackupDR backup appliances. (dataSources.remove)
*
* @param string $name Required. Name of the resource.
* @param RemoveDataSourceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function remove($name, RemoveDataSourceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('remove', [$params], Operation::class);
}
/**
* Sets the internal status of a DataSource. (dataSources.setInternalStatus)
*
* @param string $dataSource Required. The resource name of the instance, in the
* format 'projects/locations/backupVaults/dataSources/'.
* @param SetInternalStatusRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function setInternalStatus($dataSource, SetInternalStatusRequest $postBody, $optParams = [])
{
$params = ['dataSource' => $dataSource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setInternalStatus', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackupVaultsDataSources::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsBackupVaultsDataSources');
@@ -0,0 +1,163 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\Backup;
use Google\Service\Backupdr\ListBackupsResponse;
use Google\Service\Backupdr\Operation;
use Google\Service\Backupdr\RestoreBackupRequest;
/**
* The "backups" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $backups = $backupdrService->projects_locations_backupVaults_dataSources_backups;
* </code>
*/
class ProjectsLocationsBackupVaultsDataSourcesBackups extends \Google\Service\Resource
{
/**
* Deletes a Backup. (backups.delete)
*
* @param string $name Required. Name of the resource.
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a Backup. (backups.get)
*
* @param string $name Required. Name of the data source resource name, in the
* format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}
* /dataSources/{datasource}/backups/{backup}'
* @param array $optParams Optional parameters.
*
* @opt_param string view Optional. Reserved for future use to provide a BASIC &
* FULL view of Backup resource.
* @return Backup
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Backup::class);
}
/**
* Lists Backups in a given project and location.
* (backups.listProjectsLocationsBackupVaultsDataSourcesBackups)
*
* @param string $parent Required. The project and location for which to
* retrieve backup information, in the format
* 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
* locations map to Google Cloud regions, for example **us-central1**. To
* retrieve data sources for all locations, use "-" for the '{location}' value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @opt_param string view Optional. Reserved for future use to provide a BASIC &
* FULL view of Backup resource.
* @return ListBackupsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsBackupVaultsDataSourcesBackups($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListBackupsResponse::class);
}
/**
* Updates the settings of a Backup. (backups.patch)
*
* @param string $name Output only. Identifier. Name of the backup to create. It
* must have the format`"projects//locations//backupVaults//dataSources/{datasou
* rce}/backups/{backup}"`. `{backup}` cannot be changed after creation. It must
* be between 3-63 characters long and must be unique within the datasource.
* @param Backup $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @opt_param string updateMask Required. Field mask is used to specify the
* fields to be overwritten in the Backup resource by the update. The fields
* specified in the update_mask are relative to the resource, not the full
* request. A field will be overwritten if it is in the mask. If the user does
* not provide a mask then the request will fail.
* @return Operation
* @throws \Google\Service\Exception
*/
public function patch($name, Backup $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Operation::class);
}
/**
* Restore from a Backup (backups.restore)
*
* @param string $name Required. The resource name of the Backup instance, in
* the format 'projects/locations/backupVaults/dataSources/backups/'.
* @param RestoreBackupRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function restore($name, RestoreBackupRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('restore', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsBackupVaultsDataSourcesBackups::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsBackupVaultsDataSourcesBackups');
@@ -0,0 +1,218 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\ListManagementServersResponse;
use Google\Service\Backupdr\ManagementServer;
use Google\Service\Backupdr\Operation;
use Google\Service\Backupdr\Policy;
use Google\Service\Backupdr\SetIamPolicyRequest;
use Google\Service\Backupdr\TestIamPermissionsRequest;
use Google\Service\Backupdr\TestIamPermissionsResponse;
/**
* The "managementServers" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $managementServers = $backupdrService->projects_locations_managementServers;
* </code>
*/
class ProjectsLocationsManagementServers extends \Google\Service\Resource
{
/**
* Creates a new ManagementServer in a given project and location.
* (managementServers.create)
*
* @param string $parent Required. The management server project and location in
* the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and
* DR locations map to Google Cloud regions, for example **us-central1**.
* @param ManagementServer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string managementServerId Required. The name of the management
* server to create. The name must be unique for the specified project and
* location.
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes since the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function create($parent, ManagementServer $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
/**
* Deletes a single ManagementServer. (managementServers.delete)
*
* @param string $name Required. Name of the resource
* @param array $optParams Optional parameters.
*
* @opt_param string requestId Optional. An optional request ID to identify
* requests. Specify a unique request ID so that if you must retry your request,
* the server will know to ignore the request if it has already been completed.
* The server will guarantee that for at least 60 minutes after the first
* request. For example, consider a situation where you make an initial request
* and the request times out. If you make the request again with the same
* request ID, the server can check if original operation with the same request
* ID was received, and if so, will ignore the second request. This prevents
* clients from accidentally creating duplicate commitments. The request ID must
* be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
* @return Operation
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], Operation::class);
}
/**
* Gets details of a single ManagementServer. (managementServers.get)
*
* @param string $name Required. Name of the management server resource name, in
* the format 'projects/{project_id}/locations/{location}/managementServers/{res
* ource_name}'
* @param array $optParams Optional parameters.
* @return ManagementServer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ManagementServer::class);
}
/**
* Gets the access control policy for a resource. Returns an empty policy if the
* resource exists and does not have a policy set.
* (managementServers.getIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param array $optParams Optional parameters.
*
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
* version that will be used to format the policy. Valid values are 0, 1, and 3.
* Requests specifying an invalid value will be rejected. Requests for policies
* with any conditional role bindings must specify version 3. Policies with no
* conditional role bindings may specify any valid value or leave the field
* unset. The policy in the response might use the policy version that you
* specified, or it might use a lower policy version. For example, if you
* specify version 3, but the policy has no conditional role bindings, the
* response uses version 1. To learn which resources support conditions in their
* IAM policies, see the [IAM
* documentation](https://cloud.google.com/iam/help/conditions/resource-
* policies).
* @return Policy
* @throws \Google\Service\Exception
*/
public function getIamPolicy($resource, $optParams = [])
{
$params = ['resource' => $resource];
$params = array_merge($params, $optParams);
return $this->call('getIamPolicy', [$params], Policy::class);
}
/**
* Lists ManagementServers in a given project and location.
* (managementServers.listProjectsLocationsManagementServers)
*
* @param string $parent Required. The project and location for which to
* retrieve management servers information, in the format
* 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations
* map to Google Cloud regions, for example **us-central1**. To retrieve
* management servers for all locations, use "-" for the '{location}' value.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filtering results.
* @opt_param string orderBy Optional. Hint for how to order the results.
* @opt_param int pageSize Optional. Requested page size. Server may return
* fewer items than requested. If unspecified, server will pick an appropriate
* default.
* @opt_param string pageToken Optional. A token identifying a page of results
* the server should return.
* @return ListManagementServersResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsManagementServers($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListManagementServersResponse::class);
}
/**
* Sets the access control policy on the specified resource. Replaces any
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
* `PERMISSION_DENIED` errors. (managementServers.setIamPolicy)
*
* @param string $resource REQUIRED: The resource for which the policy is being
* specified. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param SetIamPolicyRequest $postBody
* @param array $optParams Optional parameters.
* @return Policy
* @throws \Google\Service\Exception
*/
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('setIamPolicy', [$params], Policy::class);
}
/**
* Returns permissions that a caller has on the specified resource. If the
* resource does not exist, this will return an empty set of permissions, not a
* `NOT_FOUND` error. Note: This operation is designed to be used for building
* permission-aware UIs and command-line tools, not for authorization checking.
* This operation may "fail open" without warning.
* (managementServers.testIamPermissions)
*
* @param string $resource REQUIRED: The resource for which the policy detail is
* being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the
* appropriate value for this field.
* @param TestIamPermissionsRequest $postBody
* @param array $optParams Optional parameters.
* @return TestIamPermissionsResponse
* @throws \Google\Service\Exception
*/
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
{
$params = ['resource' => $resource, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsManagementServers::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsManagementServers');
@@ -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\Backupdr\Resource;
use Google\Service\Backupdr\BackupdrEmpty;
use Google\Service\Backupdr\CancelOperationRequest;
use Google\Service\Backupdr\ListOperationsResponse;
use Google\Service\Backupdr\Operation;
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $operations = $backupdrService->projects_locations_operations;
* </code>
*/
class ProjectsLocationsOperations extends \Google\Service\Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return BackupdrEmpty
* @throws \Google\Service\Exception
*/
public function cancel($name, CancelOperationRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('cancel', [$params], BackupdrEmpty::class);
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return BackupdrEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], BackupdrEmpty::class);
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Operation::class);
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
* (operations.listProjectsLocationsOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsOperations($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListOperationsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsOperations::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsOperations');
@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr\Resource;
use Google\Service\Backupdr\InitializeServiceRequest;
use Google\Service\Backupdr\Operation;
/**
* The "serviceConfig" collection of methods.
* Typical usage is:
* <code>
* $backupdrService = new Google\Service\Backupdr(...);
* $serviceConfig = $backupdrService->projects_locations_serviceConfig;
* </code>
*/
class ProjectsLocationsServiceConfig extends \Google\Service\Resource
{
/**
* Initializes the service related config for a project.
* (serviceConfig.initialize)
*
* @param string $name Required. The resource name of the serviceConfig used to
* initialize the service. Format:
* `projects/{project_id}/locations/{location}/serviceConfig`.
* @param InitializeServiceRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
* @throws \Google\Service\Exception
*/
public function initialize($name, InitializeServiceRequest $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('initialize', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsServiceConfig::class, 'Google_Service_Backupdr_Resource_ProjectsLocationsServiceConfig');
@@ -0,0 +1,76 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class RestoreBackupRequest extends \Google\Model
{
protected $computeInstanceRestorePropertiesType = ComputeInstanceRestoreProperties::class;
protected $computeInstanceRestorePropertiesDataType = '';
protected $computeInstanceTargetEnvironmentType = ComputeInstanceTargetEnvironment::class;
protected $computeInstanceTargetEnvironmentDataType = '';
/**
* @var string
*/
public $requestId;
/**
* @param ComputeInstanceRestoreProperties
*/
public function setComputeInstanceRestoreProperties(ComputeInstanceRestoreProperties $computeInstanceRestoreProperties)
{
$this->computeInstanceRestoreProperties = $computeInstanceRestoreProperties;
}
/**
* @return ComputeInstanceRestoreProperties
*/
public function getComputeInstanceRestoreProperties()
{
return $this->computeInstanceRestoreProperties;
}
/**
* @param ComputeInstanceTargetEnvironment
*/
public function setComputeInstanceTargetEnvironment(ComputeInstanceTargetEnvironment $computeInstanceTargetEnvironment)
{
$this->computeInstanceTargetEnvironment = $computeInstanceTargetEnvironment;
}
/**
* @return ComputeInstanceTargetEnvironment
*/
public function getComputeInstanceTargetEnvironment()
{
return $this->computeInstanceTargetEnvironment;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestoreBackupRequest::class, 'Google_Service_Backupdr_RestoreBackupRequest');
@@ -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\Backupdr;
class RestoreBackupResponse extends \Google\Model
{
protected $targetResourceType = TargetResource::class;
protected $targetResourceDataType = '';
/**
* @param TargetResource
*/
public function setTargetResource(TargetResource $targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return TargetResource
*/
public function getTargetResource()
{
return $this->targetResource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RestoreBackupResponse::class, 'Google_Service_Backupdr_RestoreBackupResponse');
@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class RuleConfigInfo extends \Google\Model
{
protected $lastBackupErrorType = Status::class;
protected $lastBackupErrorDataType = '';
/**
* @var string
*/
public $lastBackupState;
/**
* @var string
*/
public $lastSuccessfulBackupConsistencyTime;
/**
* @var string
*/
public $ruleId;
/**
* @param Status
*/
public function setLastBackupError(Status $lastBackupError)
{
$this->lastBackupError = $lastBackupError;
}
/**
* @return Status
*/
public function getLastBackupError()
{
return $this->lastBackupError;
}
/**
* @param string
*/
public function setLastBackupState($lastBackupState)
{
$this->lastBackupState = $lastBackupState;
}
/**
* @return string
*/
public function getLastBackupState()
{
return $this->lastBackupState;
}
/**
* @param string
*/
public function setLastSuccessfulBackupConsistencyTime($lastSuccessfulBackupConsistencyTime)
{
$this->lastSuccessfulBackupConsistencyTime = $lastSuccessfulBackupConsistencyTime;
}
/**
* @return string
*/
public function getLastSuccessfulBackupConsistencyTime()
{
return $this->lastSuccessfulBackupConsistencyTime;
}
/**
* @param string
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RuleConfigInfo::class, 'Google_Service_Backupdr_RuleConfigInfo');
@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class Scheduling extends \Google\Collection
{
protected $collection_key = 'nodeAffinities';
/**
* @var bool
*/
public $automaticRestart;
/**
* @var string
*/
public $instanceTerminationAction;
protected $localSsdRecoveryTimeoutType = SchedulingDuration::class;
protected $localSsdRecoveryTimeoutDataType = '';
/**
* @var int
*/
public $minNodeCpus;
protected $nodeAffinitiesType = NodeAffinity::class;
protected $nodeAffinitiesDataType = 'array';
/**
* @var string
*/
public $onHostMaintenance;
/**
* @var bool
*/
public $preemptible;
/**
* @var string
*/
public $provisioningModel;
/**
* @param bool
*/
public function setAutomaticRestart($automaticRestart)
{
$this->automaticRestart = $automaticRestart;
}
/**
* @return bool
*/
public function getAutomaticRestart()
{
return $this->automaticRestart;
}
/**
* @param string
*/
public function setInstanceTerminationAction($instanceTerminationAction)
{
$this->instanceTerminationAction = $instanceTerminationAction;
}
/**
* @return string
*/
public function getInstanceTerminationAction()
{
return $this->instanceTerminationAction;
}
/**
* @param SchedulingDuration
*/
public function setLocalSsdRecoveryTimeout(SchedulingDuration $localSsdRecoveryTimeout)
{
$this->localSsdRecoveryTimeout = $localSsdRecoveryTimeout;
}
/**
* @return SchedulingDuration
*/
public function getLocalSsdRecoveryTimeout()
{
return $this->localSsdRecoveryTimeout;
}
/**
* @param int
*/
public function setMinNodeCpus($minNodeCpus)
{
$this->minNodeCpus = $minNodeCpus;
}
/**
* @return int
*/
public function getMinNodeCpus()
{
return $this->minNodeCpus;
}
/**
* @param NodeAffinity[]
*/
public function setNodeAffinities($nodeAffinities)
{
$this->nodeAffinities = $nodeAffinities;
}
/**
* @return NodeAffinity[]
*/
public function getNodeAffinities()
{
return $this->nodeAffinities;
}
/**
* @param string
*/
public function setOnHostMaintenance($onHostMaintenance)
{
$this->onHostMaintenance = $onHostMaintenance;
}
/**
* @return string
*/
public function getOnHostMaintenance()
{
return $this->onHostMaintenance;
}
/**
* @param bool
*/
public function setPreemptible($preemptible)
{
$this->preemptible = $preemptible;
}
/**
* @return bool
*/
public function getPreemptible()
{
return $this->preemptible;
}
/**
* @param string
*/
public function setProvisioningModel($provisioningModel)
{
$this->provisioningModel = $provisioningModel;
}
/**
* @return string
*/
public function getProvisioningModel()
{
return $this->provisioningModel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Scheduling::class, 'Google_Service_Backupdr_Scheduling');
@@ -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\Backupdr;
class SchedulingDuration extends \Google\Model
{
/**
* @var int
*/
public $nanos;
/**
* @var string
*/
public $seconds;
/**
* @param int
*/
public function setNanos($nanos)
{
$this->nanos = $nanos;
}
/**
* @return int
*/
public function getNanos()
{
return $this->nanos;
}
/**
* @param string
*/
public function setSeconds($seconds)
{
$this->seconds = $seconds;
}
/**
* @return string
*/
public function getSeconds()
{
return $this->seconds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SchedulingDuration::class, 'Google_Service_Backupdr_SchedulingDuration');
@@ -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\Backupdr;
class ServiceAccount extends \Google\Collection
{
protected $collection_key = 'scopes';
/**
* @var string
*/
public $email;
/**
* @var string[]
*/
public $scopes;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string[]
*/
public function setScopes($scopes)
{
$this->scopes = $scopes;
}
/**
* @return string[]
*/
public function getScopes()
{
return $this->scopes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceAccount::class, 'Google_Service_Backupdr_ServiceAccount');
@@ -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\Backupdr;
class ServiceLockInfo extends \Google\Model
{
/**
* @var string
*/
public $operation;
/**
* @param string
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ServiceLockInfo::class, 'Google_Service_Backupdr_ServiceLockInfo');
@@ -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\Backupdr;
class SetIamPolicyRequest extends \Google\Model
{
protected $policyType = Policy::class;
protected $policyDataType = '';
/**
* @var string
*/
public $updateMask;
/**
* @param Policy
*/
public function setPolicy(Policy $policy)
{
$this->policy = $policy;
}
/**
* @return Policy
*/
public function getPolicy()
{
return $this->policy;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetIamPolicyRequest::class, 'Google_Service_Backupdr_SetIamPolicyRequest');
@@ -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\Backupdr;
class SetInternalStatusRequest extends \Google\Model
{
/**
* @var string
*/
public $backupConfigState;
/**
* @var string
*/
public $requestId;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setBackupConfigState($backupConfigState)
{
$this->backupConfigState = $backupConfigState;
}
/**
* @return string
*/
public function getBackupConfigState()
{
return $this->backupConfigState;
}
/**
* @param string
*/
public function setRequestId($requestId)
{
$this->requestId = $requestId;
}
/**
* @return string
*/
public function getRequestId()
{
return $this->requestId;
}
/**
* @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(SetInternalStatusRequest::class, 'Google_Service_Backupdr_SetInternalStatusRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Backupdr;
class SetInternalStatusResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SetInternalStatusResponse::class, 'Google_Service_Backupdr_SetInternalStatusResponse');

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