📂 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: NetworkInterface.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 NetworkInterface extends \Google\Collection
{
  /**
   * IPv6 access type not set. Means this network interface hasn't been turned
   * on IPv6 yet.
   */
  public const IPV6_ACCESS_TYPE_UNSPECIFIED_IPV6_ACCESS_TYPE = 'UNSPECIFIED_IPV6_ACCESS_TYPE';
  /**
   * This network interface can have internal IPv6.
   */
  public const IPV6_ACCESS_TYPE_INTERNAL = 'INTERNAL';
  /**
   * This network interface can have external IPv6.
   */
  public const IPV6_ACCESS_TYPE_EXTERNAL = 'EXTERNAL';
  /**
   * Default should be NIC_TYPE_UNSPECIFIED.
   */
  public const NIC_TYPE_NIC_TYPE_UNSPECIFIED = 'NIC_TYPE_UNSPECIFIED';
  /**
   * VIRTIO
   */
  public const NIC_TYPE_VIRTIO_NET = 'VIRTIO_NET';
  /**
   * GVNIC
   */
  public const NIC_TYPE_GVNIC = 'GVNIC';
  /**
   * Default should be STACK_TYPE_UNSPECIFIED.
   */
  public const STACK_TYPE_STACK_TYPE_UNSPECIFIED = 'STACK_TYPE_UNSPECIFIED';
  /**
   * The network interface will be assigned IPv4 address.
   */
  public const STACK_TYPE_IPV4_ONLY = 'IPV4_ONLY';
  /**
   * The network interface can have both IPv4 and IPv6 addresses.
   */
  public const STACK_TYPE_IPV4_IPV6 = 'IPV4_IPV6';
  protected $collection_key = 'ipv6AccessConfigs';
  protected $accessConfigsType = AccessConfig::class;
  protected $accessConfigsDataType = 'array';
  protected $aliasIpRangesType = AliasIpRange::class;
  protected $aliasIpRangesDataType = 'array';
  /**
   * Optional. The prefix length of the primary internal IPv6 range.
   *
   * @var int
   */
  public $internalIpv6PrefixLength;
  protected $ipv6AccessConfigsType = AccessConfig::class;
  protected $ipv6AccessConfigsDataType = 'array';
  /**
   * Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the
   * IP can be accessed from the Internet. This field is always inherited from
   * its subnetwork.
   *
   * @var string
   */
  public $ipv6AccessType;
  /**
   * Optional. An IPv6 internal network address for this network interface. To
   * use a static internal IP address, it must be unused and in the same region
   * as the instance's zone. If not specified, Google Cloud will automatically
   * assign an internal IPv6 address from the instance's subnetwork.
   *
   * @var string
   */
  public $ipv6Address;
  /**
   * Output only. [Output Only] The name of the network interface, which is
   * generated by the server.
   *
   * @var string
   */
  public $name;
  /**
   * Optional. URL of the VPC network resource for this instance.
   *
   * @var string
   */
  public $network;
  /**
   * Optional. The URL of the network attachment that this interface should
   * connect to in the following format: projects/{project_number}/regions/{regi
   * on_name}/networkAttachments/{network_attachment_name}.
   *
   * @var string
   */
  public $networkAttachment;
  /**
   * Optional. An IPv4 internal IP address to assign to the instance for this
   * network interface. If not specified by the user, an unused internal IP is
   * assigned by the system.
   *
   * @var string
   */
  public $networkIP;
  /**
   * Optional. The type of vNIC to be used on this interface. This may be gVNIC
   * or VirtioNet.
   *
   * @var string
   */
  public $nicType;
  /**
   * Optional. The networking queue count that's specified by users for the
   * network interface. Both Rx and Tx queues will be set to this number. It'll
   * be empty if not specified by the users.
   *
   * @var int
   */
  public $queueCount;
  /**
   * The stack type for this network interface.
   *
   * @var string
   */
  public $stackType;
  /**
   * Optional. The URL of the Subnetwork resource for this instance.
   *
   * @var string
   */
  public $subnetwork;

  /**
   * Optional. An array of configurations for this interface. Currently, only
   * one access config,ONE_TO_ONE_NAT is supported. If there are no
   * accessConfigs specified, then this instance will have no external internet
   * access.
   *
   * @param AccessConfig[] $accessConfigs
   */
  public function setAccessConfigs($accessConfigs)
  {
    $this->accessConfigs = $accessConfigs;
  }
  /**
   * @return AccessConfig[]
   */
  public function getAccessConfigs()
  {
    return $this->accessConfigs;
  }
  /**
   * Optional. An array of alias IP ranges for this network interface. You can
   * only specify this field for network interfaces in VPC networks.
   *
   * @param AliasIpRange[] $aliasIpRanges
   */
  public function setAliasIpRanges($aliasIpRanges)
  {
    $this->aliasIpRanges = $aliasIpRanges;
  }
  /**
   * @return AliasIpRange[]
   */
  public function getAliasIpRanges()
  {
    return $this->aliasIpRanges;
  }
  /**
   * Optional. The prefix length of the primary internal IPv6 range.
   *
   * @param int $internalIpv6PrefixLength
   */
  public function setInternalIpv6PrefixLength($internalIpv6PrefixLength)
  {
    $this->internalIpv6PrefixLength = $internalIpv6PrefixLength;
  }
  /**
   * @return int
   */
  public function getInternalIpv6PrefixLength()
  {
    return $this->internalIpv6PrefixLength;
  }
  /**
   * Optional. An array of IPv6 access configurations for this interface.
   * Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there
   * is no ipv6AccessConfig specified, then this instance will have no external
   * IPv6 Internet access.
   *
   * @param AccessConfig[] $ipv6AccessConfigs
   */
  public function setIpv6AccessConfigs($ipv6AccessConfigs)
  {
    $this->ipv6AccessConfigs = $ipv6AccessConfigs;
  }
  /**
   * @return AccessConfig[]
   */
  public function getIpv6AccessConfigs()
  {
    return $this->ipv6AccessConfigs;
  }
  /**
   * Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the
   * IP can be accessed from the Internet. This field is always inherited from
   * its subnetwork.
   *
   * Accepted values: UNSPECIFIED_IPV6_ACCESS_TYPE, INTERNAL, EXTERNAL
   *
   * @param self::IPV6_ACCESS_TYPE_* $ipv6AccessType
   */
  public function setIpv6AccessType($ipv6AccessType)
  {
    $this->ipv6AccessType = $ipv6AccessType;
  }
  /**
   * @return self::IPV6_ACCESS_TYPE_*
   */
  public function getIpv6AccessType()
  {
    return $this->ipv6AccessType;
  }
  /**
   * Optional. An IPv6 internal network address for this network interface. To
   * use a static internal IP address, it must be unused and in the same region
   * as the instance's zone. If not specified, Google Cloud will automatically
   * assign an internal IPv6 address from the instance's subnetwork.
   *
   * @param string $ipv6Address
   */
  public function setIpv6Address($ipv6Address)
  {
    $this->ipv6Address = $ipv6Address;
  }
  /**
   * @return string
   */
  public function getIpv6Address()
  {
    return $this->ipv6Address;
  }
  /**
   * Output only. [Output Only] The name of the network interface, which is
   * generated by the server.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Optional. URL of the VPC network resource for this instance.
   *
   * @param string $network
   */
  public function setNetwork($network)
  {
    $this->network = $network;
  }
  /**
   * @return string
   */
  public function getNetwork()
  {
    return $this->network;
  }
  /**
   * Optional. The URL of the network attachment that this interface should
   * connect to in the following format: projects/{project_number}/regions/{regi
   * on_name}/networkAttachments/{network_attachment_name}.
   *
   * @param string $networkAttachment
   */
  public function setNetworkAttachment($networkAttachment)
  {
    $this->networkAttachment = $networkAttachment;
  }
  /**
   * @return string
   */
  public function getNetworkAttachment()
  {
    return $this->networkAttachment;
  }
  /**
   * Optional. An IPv4 internal IP address to assign to the instance for this
   * network interface. If not specified by the user, an unused internal IP is
   * assigned by the system.
   *
   * @param string $networkIP
   */
  public function setNetworkIP($networkIP)
  {
    $this->networkIP = $networkIP;
  }
  /**
   * @return string
   */
  public function getNetworkIP()
  {
    return $this->networkIP;
  }
  /**
   * Optional. The type of vNIC to be used on this interface. This may be gVNIC
   * or VirtioNet.
   *
   * Accepted values: NIC_TYPE_UNSPECIFIED, VIRTIO_NET, GVNIC
   *
   * @param self::NIC_TYPE_* $nicType
   */
  public function setNicType($nicType)
  {
    $this->nicType = $nicType;
  }
  /**
   * @return self::NIC_TYPE_*
   */
  public function getNicType()
  {
    return $this->nicType;
  }
  /**
   * Optional. The networking queue count that's specified by users for the
   * network interface. Both Rx and Tx queues will be set to this number. It'll
   * be empty if not specified by the users.
   *
   * @param int $queueCount
   */
  public function setQueueCount($queueCount)
  {
    $this->queueCount = $queueCount;
  }
  /**
   * @return int
   */
  public function getQueueCount()
  {
    return $this->queueCount;
  }
  /**
   * The stack type for this network interface.
   *
   * Accepted values: STACK_TYPE_UNSPECIFIED, IPV4_ONLY, IPV4_IPV6
   *
   * @param self::STACK_TYPE_* $stackType
   */
  public function setStackType($stackType)
  {
    $this->stackType = $stackType;
  }
  /**
   * @return self::STACK_TYPE_*
   */
  public function getStackType()
  {
    return $this->stackType;
  }
  /**
   * Optional. The URL of the Subnetwork resource for this instance.
   *
   * @param string $subnetwork
   */
  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');
← Back