📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Backupdr
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AbandonBackupRequest.php
▶ Open 📄 View Source
🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccessConfig.php
▶ Open 📄 View Source
🐘 AdvancedMachineFeatures.php
▶ Open 📄 View Source
🐘 AliasIpRange.php
▶ Open 📄 View Source
🐘 AllocationAffinity.php
▶ Open 📄 View Source
🐘 AlloyDBClusterBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 AlloyDBClusterDataSourceProperties.php
▶ Open 📄 View Source
🐘 AlloyDBClusterDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 AlloyDbClusterBackupProperties.php
▶ Open 📄 View Source
🐘 AlloyDbPitrWindow.php
▶ Open 📄 View Source
🐘 AssetLocation.php
▶ Open 📄 View Source
🐘 AttachedDisk.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 BackupApplianceBackupConfig.php
▶ Open 📄 View Source
🐘 BackupApplianceBackupProperties.php
▶ Open 📄 View Source
🐘 BackupApplianceLockInfo.php
▶ Open 📄 View Source
🐘 BackupConfigDetails.php
▶ Open 📄 View Source
🐘 BackupConfigInfo.php
▶ Open 📄 View Source
🐘 BackupDrPlanConfig.php
▶ Open 📄 View Source
🐘 BackupDrPlanRule.php
▶ Open 📄 View Source
🐘 BackupDrTemplateConfig.php
▶ Open 📄 View Source
🐘 BackupGcpResource.php
▶ Open 📄 View Source
🐘 BackupLocation.php
▶ Open 📄 View Source
🐘 BackupLock.php
▶ Open 📄 View Source
🐘 BackupPlan.php
▶ Open 📄 View Source
🐘 BackupPlanAssociation.php
▶ Open 📄 View Source
🐘 BackupPlanRevision.php
▶ Open 📄 View Source
🐘 BackupRule.php
▶ Open 📄 View Source
🐘 BackupVault.php
▶ Open 📄 View Source
🐘 BackupWindow.php
▶ Open 📄 View Source
🐘 BackupdrEmpty.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 BlobstoreLocation.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CloudAsset.php
▶ Open 📄 View Source
🐘 CloudAssetComposition.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 CloudSqlInstanceInitializationConfig.php
▶ Open 📄 View Source
🐘 ComputeInstanceBackupPlanProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceRestoreProperties.php
▶ Open 📄 View Source
🐘 ComputeInstanceTargetEnvironment.php
▶ Open 📄 View Source
🐘 ConfidentialInstanceConfig.php
▶ Open 📄 View Source
🐘 CustomerEncryptionKey.php
▶ Open 📄 View Source
🐘 DataSource.php
▶ Open 📄 View Source
🐘 DataSourceBackupApplianceApplication.php
▶ Open 📄 View Source
🐘 DataSourceBackupConfigInfo.php
▶ Open 📄 View Source
🐘 DataSourceGcpResource.php
▶ Open 📄 View Source
🐘 DataSourceGcpResourceInfo.php
▶ Open 📄 View Source
🐘 DataSourceReference.php
▶ Open 📄 View Source
🐘 DirectLocationAssignment.php
▶ Open 📄 View Source
🐘 DiskBackupPlanProperties.php
▶ Open 📄 View Source
🐘 DiskBackupProperties.php
▶ Open 📄 View Source
🐘 DiskDataSourceProperties.php
▶ Open 📄 View Source
🐘 DiskRestoreProperties.php
▶ Open 📄 View Source
🐘 DiskTargetEnvironment.php
▶ Open 📄 View Source
🐘 DisplayDevice.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EndTrialRequest.php
▶ Open 📄 View Source
🐘 Entry.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 ExtraParameter.php
▶ Open 📄 View Source
🐘 FetchAccessTokenRequest.php
▶ Open 📄 View Source
🐘 FetchAccessTokenResponse.php
▶ Open 📄 View Source
🐘 FetchBackupPlanAssociationsForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchBackupsForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchDataSourceReferencesForResourceTypeResponse.php
▶ Open 📄 View Source
🐘 FetchMsComplianceMetadataRequest.php
▶ Open 📄 View Source
🐘 FetchMsComplianceMetadataResponse.php
▶ Open 📄 View Source
🐘 FetchUsableBackupVaultsResponse.php
▶ Open 📄 View Source
🐘 FilestoreInstanceBackupPlanAssociationProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceBackupProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceDataSourceProperties.php
▶ Open 📄 View Source
🐘 FilestoreInstanceDataSourceReferenceProperties.php
▶ Open 📄 View Source
🐘 FinalizeBackupRequest.php
▶ Open 📄 View Source
🐘 GCPBackupPlanInfo.php
▶ Open 📄 View Source
🐘 GcpBackupConfig.php
▶ Open 📄 View Source
🐘 GcpResource.php
▶ Open 📄 View Source
🐘 GoogleCloudBackupdrV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GuestOsFeature.php
▶ Open 📄 View Source
🐘 InitializeParams.php
▶ Open 📄 View Source
🐘 InitializeServiceRequest.php
▶ Open 📄 View Source
🐘 InitiateBackupRequest.php
▶ Open 📄 View Source
🐘 InitiateBackupResponse.php
▶ Open 📄 View Source
🐘 InstanceParams.php
▶ Open 📄 View Source
🐘 IsolationExpectations.php
▶ Open 📄 View Source
🐘 ListBackupPlanAssociationsResponse.php
▶ Open 📄 View Source
🐘 ListBackupPlanRevisionsResponse.php
▶ Open 📄 View Source
🐘 ListBackupPlansResponse.php
▶ Open 📄 View Source
🐘 ListBackupVaultsResponse.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListDataSourceReferencesResponse.php
▶ Open 📄 View Source
🐘 ListDataSourcesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListManagementServersResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListResourceBackupConfigsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationAssignment.php
▶ Open 📄 View Source
🐘 LocationData.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 ManagementServer.php
▶ Open 📄 View Source
🐘 ManagementURI.php
▶ Open 📄 View Source
🐘 Metadata.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkInterface.php
▶ Open 📄 View Source
🐘 NetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 NodeAffinity.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PitrSettings.php
▶ Open 📄 View Source
🐘 PlacerLocation.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 RegionDiskTargetEnvironment.php
▶ Open 📄 View Source
🐘 RegionalMigDistributionPolicy.php
▶ Open 📄 View Source
🐘 RemoveDataSourceRequest.php
▶ Open 📄 View Source
🐘 RequirementOverride.php
▶ Open 📄 View Source
🐘 ResourceBackupConfig.php
▶ Open 📄 View Source
🐘 RestoreBackupRequest.php
▶ Open 📄 View Source
🐘 RestoreBackupResponse.php
▶ Open 📄 View Source
🐘 RuleConfigInfo.php
▶ Open 📄 View Source
🐘 Scheduling.php
▶ Open 📄 View Source
🐘 SchedulingDuration.php
▶ Open 📄 View Source
🐘 ServiceAccount.php
▶ Open 📄 View Source
🐘 ServiceLockInfo.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SetInternalStatusRequest.php
▶ Open 📄 View Source
🐘 SetInternalStatusResponse.php
▶ Open 📄 View Source
🐘 SpannerLocation.php
▶ Open 📄 View Source
🐘 StandardSchedule.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 SubscribeTrialRequest.php
▶ Open 📄 View Source
🐘 Tags.php
▶ Open 📄 View Source
🐘 TargetResource.php
▶ Open 📄 View Source
🐘 TenantProjectProxy.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 Trial.php
▶ Open 📄 View Source
🐘 TriggerBackupRequest.php
▶ Open 📄 View Source
🐘 WeekDayOfMonth.php
▶ Open 📄 View Source
🐘 WorkforceIdentityBasedManagementURI.php
▶ Open 📄 View Source
🐘 WorkforceIdentityBasedOAuth2ClientID.php
▶ Open 📄 View Source
🐘 ZoneConfiguration.php
▶ Open 📄 View Source

📄 Source: ComputeInstanceRestoreProperties.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS 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
{
  /**
   * Default value. This value is unused.
   */
  public const KEY_REVOCATION_ACTION_TYPE_KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED = 'KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED';
  /**
   * Indicates user chose no operation.
   */
  public const KEY_REVOCATION_ACTION_TYPE_NONE = 'NONE';
  /**
   * Indicates user chose to opt for VM shutdown on key revocation.
   */
  public const KEY_REVOCATION_ACTION_TYPE_STOP = 'STOP';
  /**
   * Default value. This value is unused.
   */
  public const PRIVATE_IPV6_GOOGLE_ACCESS_INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 'INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED';
  /**
   * Each network interface inherits PrivateIpv6GoogleAccess from its
   * subnetwork.
   */
  public const PRIVATE_IPV6_GOOGLE_ACCESS_INHERIT_FROM_SUBNETWORK = 'INHERIT_FROM_SUBNETWORK';
  /**
   * Outbound private IPv6 access from VMs in this subnet to Google services. If
   * specified, the subnetwork who is attached to the instance's default network
   * interface will be assigned an internal IPv6 prefix if it doesn't have
   * before.
   */
  public const PRIVATE_IPV6_GOOGLE_ACCESS_ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 'ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE';
  /**
   * Bidirectional private IPv6 access to/from Google services. If specified,
   * the subnetwork who is attached to the instance's default network interface
   * will be assigned an internal IPv6 prefix if it doesn't have before.
   */
  public const PRIVATE_IPV6_GOOGLE_ACCESS_ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 'ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE';
  protected $collection_key = 'serviceAccounts';
  protected $advancedMachineFeaturesType = AdvancedMachineFeatures::class;
  protected $advancedMachineFeaturesDataType = '';
  /**
   * Optional. Allows this instance to send and receive packets with non-
   * matching destination or source IPs.
   *
   * @var bool
   */
  public $canIpForward;
  protected $confidentialInstanceConfigType = ConfidentialInstanceConfig::class;
  protected $confidentialInstanceConfigDataType = '';
  /**
   * Optional. Whether the resource should be protected against deletion.
   *
   * @var bool
   */
  public $deletionProtection;
  /**
   * Optional. An optional description of this resource. Provide this property
   * when you create the resource.
   *
   * @var string
   */
  public $description;
  protected $disksType = AttachedDisk::class;
  protected $disksDataType = 'array';
  protected $displayDeviceType = DisplayDevice::class;
  protected $displayDeviceDataType = '';
  protected $guestAcceleratorsType = AcceleratorConfig::class;
  protected $guestAcceleratorsDataType = 'array';
  /**
   * Optional. Specifies the hostname of the instance. The specified hostname
   * must be RFC1035 compliant. If hostname is not specified, the default
   * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
   * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
   * DNS.
   *
   * @var string
   */
  public $hostname;
  protected $instanceEncryptionKeyType = CustomerEncryptionKey::class;
  protected $instanceEncryptionKeyDataType = '';
  /**
   * Optional. KeyRevocationActionType of the instance.
   *
   * @var string
   */
  public $keyRevocationActionType;
  /**
   * Optional. Labels to apply to this instance.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Optional. Full or partial URL of the machine type resource to use for this
   * instance.
   *
   * @var string
   */
  public $machineType;
  protected $metadataType = Metadata::class;
  protected $metadataDataType = '';
  /**
   * Optional. Minimum CPU platform to use for this instance.
   *
   * @var string
   */
  public $minCpuPlatform;
  /**
   * Required. Name of the compute instance.
   *
   * @var string
   */
  public $name;
  protected $networkInterfacesType = NetworkInterface::class;
  protected $networkInterfacesDataType = 'array';
  protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
  protected $networkPerformanceConfigDataType = '';
  protected $paramsType = InstanceParams::class;
  protected $paramsDataType = '';
  /**
   * Optional. The private IPv6 google access type for the VM. If not specified,
   * use INHERIT_FROM_SUBNETWORK as default.
   *
   * @var string
   */
  public $privateIpv6GoogleAccess;
  protected $reservationAffinityType = AllocationAffinity::class;
  protected $reservationAffinityDataType = '';
  /**
   * Optional. Resource policies applied to this instance. By default, no
   * resource policies will be applied.
   *
   * @var string[]
   */
  public $resourcePolicies;
  protected $schedulingType = Scheduling::class;
  protected $schedulingDataType = '';
  protected $serviceAccountsType = ServiceAccount::class;
  protected $serviceAccountsDataType = 'array';
  protected $tagsType = Tags::class;
  protected $tagsDataType = '';

  /**
   * Optional. Controls for advanced machine-related behavior features.
   *
   * @param AdvancedMachineFeatures $advancedMachineFeatures
   */
  public function setAdvancedMachineFeatures(AdvancedMachineFeatures $advancedMachineFeatures)
  {
    $this->advancedMachineFeatures = $advancedMachineFeatures;
  }
  /**
   * @return AdvancedMachineFeatures
   */
  public function getAdvancedMachineFeatures()
  {
    return $this->advancedMachineFeatures;
  }
  /**
   * Optional. Allows this instance to send and receive packets with non-
   * matching destination or source IPs.
   *
   * @param bool $canIpForward
   */
  public function setCanIpForward($canIpForward)
  {
    $this->canIpForward = $canIpForward;
  }
  /**
   * @return bool
   */
  public function getCanIpForward()
  {
    return $this->canIpForward;
  }
  /**
   * Optional. Controls Confidential compute options on the instance
   *
   * @param ConfidentialInstanceConfig $confidentialInstanceConfig
   */
  public function setConfidentialInstanceConfig(ConfidentialInstanceConfig $confidentialInstanceConfig)
  {
    $this->confidentialInstanceConfig = $confidentialInstanceConfig;
  }
  /**
   * @return ConfidentialInstanceConfig
   */
  public function getConfidentialInstanceConfig()
  {
    return $this->confidentialInstanceConfig;
  }
  /**
   * Optional. Whether the resource should be protected against deletion.
   *
   * @param bool $deletionProtection
   */
  public function setDeletionProtection($deletionProtection)
  {
    $this->deletionProtection = $deletionProtection;
  }
  /**
   * @return bool
   */
  public function getDeletionProtection()
  {
    return $this->deletionProtection;
  }
  /**
   * Optional. An optional description of this resource. Provide this property
   * when you create the resource.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * Optional. Array of disks associated with this instance. Persistent disks
   * must be created before you can assign them. Source regional persistent
   * disks will be restored with default replica zones if not specified.
   *
   * @param AttachedDisk[] $disks
   */
  public function setDisks($disks)
  {
    $this->disks = $disks;
  }
  /**
   * @return AttachedDisk[]
   */
  public function getDisks()
  {
    return $this->disks;
  }
  /**
   * Optional. Enables display device for the instance.
   *
   * @param DisplayDevice $displayDevice
   */
  public function setDisplayDevice(DisplayDevice $displayDevice)
  {
    $this->displayDevice = $displayDevice;
  }
  /**
   * @return DisplayDevice
   */
  public function getDisplayDevice()
  {
    return $this->displayDevice;
  }
  /**
   * Optional. A list of the type and count of accelerator cards attached to the
   * instance.
   *
   * @param AcceleratorConfig[] $guestAccelerators
   */
  public function setGuestAccelerators($guestAccelerators)
  {
    $this->guestAccelerators = $guestAccelerators;
  }
  /**
   * @return AcceleratorConfig[]
   */
  public function getGuestAccelerators()
  {
    return $this->guestAccelerators;
  }
  /**
   * Optional. Specifies the hostname of the instance. The specified hostname
   * must be RFC1035 compliant. If hostname is not specified, the default
   * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
   * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
   * DNS.
   *
   * @param string $hostname
   */
  public function setHostname($hostname)
  {
    $this->hostname = $hostname;
  }
  /**
   * @return string
   */
  public function getHostname()
  {
    return $this->hostname;
  }
  /**
   * Optional. Encrypts suspended data for an instance with a customer-managed
   * encryption key.
   *
   * @param CustomerEncryptionKey $instanceEncryptionKey
   */
  public function setInstanceEncryptionKey(CustomerEncryptionKey $instanceEncryptionKey)
  {
    $this->instanceEncryptionKey = $instanceEncryptionKey;
  }
  /**
   * @return CustomerEncryptionKey
   */
  public function getInstanceEncryptionKey()
  {
    return $this->instanceEncryptionKey;
  }
  /**
   * Optional. KeyRevocationActionType of the instance.
   *
   * Accepted values: KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED, NONE, STOP
   *
   * @param self::KEY_REVOCATION_ACTION_TYPE_* $keyRevocationActionType
   */
  public function setKeyRevocationActionType($keyRevocationActionType)
  {
    $this->keyRevocationActionType = $keyRevocationActionType;
  }
  /**
   * @return self::KEY_REVOCATION_ACTION_TYPE_*
   */
  public function getKeyRevocationActionType()
  {
    return $this->keyRevocationActionType;
  }
  /**
   * Optional. Labels to apply to this instance.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Optional. Full or partial URL of the machine type resource to use for this
   * instance.
   *
   * @param string $machineType
   */
  public function setMachineType($machineType)
  {
    $this->machineType = $machineType;
  }
  /**
   * @return string
   */
  public function getMachineType()
  {
    return $this->machineType;
  }
  /**
   * Optional. This includes custom metadata and predefined keys.
   *
   * @param Metadata $metadata
   */
  public function setMetadata(Metadata $metadata)
  {
    $this->metadata = $metadata;
  }
  /**
   * @return Metadata
   */
  public function getMetadata()
  {
    return $this->metadata;
  }
  /**
   * Optional. Minimum CPU platform to use for this instance.
   *
   * @param string $minCpuPlatform
   */
  public function setMinCpuPlatform($minCpuPlatform)
  {
    $this->minCpuPlatform = $minCpuPlatform;
  }
  /**
   * @return string
   */
  public function getMinCpuPlatform()
  {
    return $this->minCpuPlatform;
  }
  /**
   * Required. Name of the compute instance.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. An array of network configurations for this instance. These
   * specify how interfaces are configured to interact with other network
   * services, such as connecting to the internet. Multiple interfaces are
   * supported per instance. Required to restore in different project or region.
   *
   * @param NetworkInterface[] $networkInterfaces
   */
  public function setNetworkInterfaces($networkInterfaces)
  {
    $this->networkInterfaces = $networkInterfaces;
  }
  /**
   * @return NetworkInterface[]
   */
  public function getNetworkInterfaces()
  {
    return $this->networkInterfaces;
  }
  /**
   * Optional. Configure network performance such as egress bandwidth tier.
   *
   * @param NetworkPerformanceConfig $networkPerformanceConfig
   */
  public function setNetworkPerformanceConfig(NetworkPerformanceConfig $networkPerformanceConfig)
  {
    $this->networkPerformanceConfig = $networkPerformanceConfig;
  }
  /**
   * @return NetworkPerformanceConfig
   */
  public function getNetworkPerformanceConfig()
  {
    return $this->networkPerformanceConfig;
  }
  /**
   * Input only. Additional params passed with the request, but not persisted as
   * part of resource payload.
   *
   * @param InstanceParams $params
   */
  public function setParams(InstanceParams $params)
  {
    $this->params = $params;
  }
  /**
   * @return InstanceParams
   */
  public function getParams()
  {
    return $this->params;
  }
  /**
   * Optional. The private IPv6 google access type for the VM. If not specified,
   * use INHERIT_FROM_SUBNETWORK as default.
   *
   * Accepted values: INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,
   * INHERIT_FROM_SUBNETWORK, ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE,
   * ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE
   *
   * @param self::PRIVATE_IPV6_GOOGLE_ACCESS_* $privateIpv6GoogleAccess
   */
  public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
  {
    $this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
  }
  /**
   * @return self::PRIVATE_IPV6_GOOGLE_ACCESS_*
   */
  public function getPrivateIpv6GoogleAccess()
  {
    return $this->privateIpv6GoogleAccess;
  }
  /**
   * Optional. Specifies the reservations that this instance can consume from.
   *
   * @param AllocationAffinity $reservationAffinity
   */
  public function setReservationAffinity(AllocationAffinity $reservationAffinity)
  {
    $this->reservationAffinity = $reservationAffinity;
  }
  /**
   * @return AllocationAffinity
   */
  public function getReservationAffinity()
  {
    return $this->reservationAffinity;
  }
  /**
   * Optional. Resource policies applied to this instance. By default, no
   * resource policies will be applied.
   *
   * @param string[] $resourcePolicies
   */
  public function setResourcePolicies($resourcePolicies)
  {
    $this->resourcePolicies = $resourcePolicies;
  }
  /**
   * @return string[]
   */
  public function getResourcePolicies()
  {
    return $this->resourcePolicies;
  }
  /**
   * Optional. Sets the scheduling options for this instance.
   *
   * @param Scheduling $scheduling
   */
  public function setScheduling(Scheduling $scheduling)
  {
    $this->scheduling = $scheduling;
  }
  /**
   * @return Scheduling
   */
  public function getScheduling()
  {
    return $this->scheduling;
  }
  /**
   * Optional. A list of service accounts, with their specified scopes,
   * authorized for this instance. Only one service account per VM instance is
   * supported.
   *
   * @param ServiceAccount[] $serviceAccounts
   */
  public function setServiceAccounts($serviceAccounts)
  {
    $this->serviceAccounts = $serviceAccounts;
  }
  /**
   * @return ServiceAccount[]
   */
  public function getServiceAccounts()
  {
    return $this->serviceAccounts;
  }
  /**
   * Optional. Tags to apply to this instance. Tags are used to identify valid
   * sources or targets for network firewalls and are specified by the client
   * during instance creation.
   *
   * @param Tags $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');
← Back