📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AllowedClient.php
▶ Open 📄 View Source
🐘 BaremetalsolutionEmpty.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 DetachLunRequest.php
▶ Open 📄 View Source
🐘 DisableHyperthreadingRequest.php
▶ Open 📄 View Source
🐘 DisableInteractiveSerialConsoleRequest.php
▶ Open 📄 View Source
🐘 DisableInteractiveSerialConsoleResponse.php
▶ Open 📄 View Source
🐘 EnableHyperthreadingRequest.php
▶ Open 📄 View Source
🐘 EnableInteractiveSerialConsoleRequest.php
▶ Open 📄 View Source
🐘 EnableInteractiveSerialConsoleResponse.php
▶ Open 📄 View Source
🐘 EvictLunRequest.php
▶ Open 📄 View Source
🐘 EvictVolumeRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 FetchInstanceProvisioningSettingsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudBaremetalsolutionV2LogicalInterface.php
▶ Open 📄 View Source
🐘 GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 InstanceConfig.php
▶ Open 📄 View Source
🐘 InstanceQuota.php
▶ Open 📄 View Source
🐘 IntakeVlanAttachment.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListLunsResponse.php
▶ Open 📄 View Source
🐘 ListNetworkUsageResponse.php
▶ Open 📄 View Source
🐘 ListNetworksResponse.php
▶ Open 📄 View Source
🐘 ListNfsSharesResponse.php
▶ Open 📄 View Source
🐘 ListOSImagesResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListProvisioningQuotasResponse.php
▶ Open 📄 View Source
🐘 ListSSHKeysResponse.php
▶ Open 📄 View Source
🐘 ListSnapshotSchedulePoliciesResponse.php
▶ Open 📄 View Source
🐘 ListVolumeSnapshotsResponse.php
▶ Open 📄 View Source
🐘 ListVolumesResponse.php
▶ Open 📄 View Source
🐘 LoadInstanceAuthInfoResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LogicalInterface.php
▶ Open 📄 View Source
🐘 LogicalNetworkInterface.php
▶ Open 📄 View Source
🐘 Lun.php
▶ Open 📄 View Source
🐘 LunRange.php
▶ Open 📄 View Source
🐘 Network.php
▶ Open 📄 View Source
🐘 NetworkAddress.php
▶ Open 📄 View Source
🐘 NetworkAddressReservation.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkMountPoint.php
▶ Open 📄 View Source
🐘 NetworkUsage.php
▶ Open 📄 View Source
🐘 NfsExport.php
▶ Open 📄 View Source
🐘 NfsShare.php
▶ Open 📄 View Source
🐘 OSImage.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 ProvisioningConfig.php
▶ Open 📄 View Source
🐘 ProvisioningQuota.php
▶ Open 📄 View Source
🐘 QosPolicy.php
▶ Open 📄 View Source
🐘 ReimageInstanceRequest.php
▶ Open 📄 View Source
🐘 RenameInstanceRequest.php
▶ Open 📄 View Source
🐘 RenameNetworkRequest.php
▶ Open 📄 View Source
🐘 RenameNfsShareRequest.php
▶ Open 📄 View Source
🐘 RenameVolumeRequest.php
▶ Open 📄 View Source
🐘 ResetInstanceRequest.php
▶ Open 📄 View Source
🐘 ResetInstanceResponse.php
▶ Open 📄 View Source
🐘 ResizeVolumeRequest.php
▶ Open 📄 View Source
🐘 RestoreVolumeSnapshotRequest.php
▶ Open 📄 View Source
🐘 SSHKey.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 ServerNetworkTemplate.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 SnapshotReservationDetail.php
▶ Open 📄 View Source
🐘 SnapshotSchedulePolicy.php
▶ Open 📄 View Source
🐘 StartInstanceRequest.php
▶ Open 📄 View Source
🐘 StartInstanceResponse.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StopInstanceRequest.php
▶ Open 📄 View Source
🐘 StopInstanceResponse.php
▶ Open 📄 View Source
🐘 SubmitProvisioningConfigRequest.php
▶ Open 📄 View Source
🐘 SubmitProvisioningConfigResponse.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source
🐘 UserAccount.php
▶ Open 📄 View Source
🐘 VRF.php
▶ Open 📄 View Source
🐘 VlanAttachment.php
▶ Open 📄 View Source
🐘 Volume.php
▶ Open 📄 View Source
🐘 VolumeConfig.php
▶ Open 📄 View Source
🐘 VolumeSnapshot.php
▶ Open 📄 View Source

📄 Source: Lun.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\Baremetalsolution;

class Lun extends \Google\Collection
{
  /**
   * Server has no OS specified.
   */
  public const MULTIPROTOCOL_TYPE_MULTIPROTOCOL_TYPE_UNSPECIFIED = 'MULTIPROTOCOL_TYPE_UNSPECIFIED';
  /**
   * Server with Linux OS.
   */
  public const MULTIPROTOCOL_TYPE_LINUX = 'LINUX';
  /**
   * The LUN is in an unknown state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The LUN is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The LUN is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The LUN is ready for use.
   */
  public const STATE_READY = 'READY';
  /**
   * The LUN has been requested to be deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * The LUN is in cool off state. It will be deleted after `expire_time`.
   */
  public const STATE_COOL_OFF = 'COOL_OFF';
  /**
   * The storage type for this LUN is unknown.
   */
  public const STORAGE_TYPE_STORAGE_TYPE_UNSPECIFIED = 'STORAGE_TYPE_UNSPECIFIED';
  /**
   * This storage type for this LUN is SSD.
   */
  public const STORAGE_TYPE_SSD = 'SSD';
  /**
   * This storage type for this LUN is HDD.
   */
  public const STORAGE_TYPE_HDD = 'HDD';
  protected $collection_key = 'instances';
  /**
   * Display if this LUN is a boot LUN.
   *
   * @var bool
   */
  public $bootLun;
  /**
   * Output only. Time after which LUN will be fully deleted. It is filled only
   * for LUNs in COOL_OFF state.
   *
   * @var string
   */
  public $expireTime;
  /**
   * An identifier for the LUN, generated by the backend.
   *
   * @var string
   */
  public $id;
  /**
   * Output only. Instances this Lun is attached to.
   *
   * @var string[]
   */
  public $instances;
  /**
   * The LUN multiprotocol type ensures the characteristics of the LUN are
   * optimized for each operating system.
   *
   * @var string
   */
  public $multiprotocolType;
  /**
   * Output only. The name of the LUN.
   *
   * @var string
   */
  public $name;
  /**
   * Display if this LUN can be shared between multiple physical servers.
   *
   * @var bool
   */
  public $shareable;
  /**
   * The size of this LUN, in GiB.
   *
   * @var string
   */
  public $sizeGb;
  /**
   * The state of this storage volume.
   *
   * @var string
   */
  public $state;
  /**
   * The storage type for this LUN.
   *
   * @var string
   */
  public $storageType;
  /**
   * Display the storage volume for this LUN.
   *
   * @var string
   */
  public $storageVolume;
  /**
   * The WWID for this LUN.
   *
   * @var string
   */
  public $wwid;

  /**
   * Display if this LUN is a boot LUN.
   *
   * @param bool $bootLun
   */
  public function setBootLun($bootLun)
  {
    $this->bootLun = $bootLun;
  }
  /**
   * @return bool
   */
  public function getBootLun()
  {
    return $this->bootLun;
  }
  /**
   * Output only. Time after which LUN will be fully deleted. It is filled only
   * for LUNs in COOL_OFF state.
   *
   * @param string $expireTime
   */
  public function setExpireTime($expireTime)
  {
    $this->expireTime = $expireTime;
  }
  /**
   * @return string
   */
  public function getExpireTime()
  {
    return $this->expireTime;
  }
  /**
   * An identifier for the LUN, generated by the backend.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Output only. Instances this Lun is attached to.
   *
   * @param string[] $instances
   */
  public function setInstances($instances)
  {
    $this->instances = $instances;
  }
  /**
   * @return string[]
   */
  public function getInstances()
  {
    return $this->instances;
  }
  /**
   * The LUN multiprotocol type ensures the characteristics of the LUN are
   * optimized for each operating system.
   *
   * Accepted values: MULTIPROTOCOL_TYPE_UNSPECIFIED, LINUX
   *
   * @param self::MULTIPROTOCOL_TYPE_* $multiprotocolType
   */
  public function setMultiprotocolType($multiprotocolType)
  {
    $this->multiprotocolType = $multiprotocolType;
  }
  /**
   * @return self::MULTIPROTOCOL_TYPE_*
   */
  public function getMultiprotocolType()
  {
    return $this->multiprotocolType;
  }
  /**
   * Output only. The name of the LUN.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Display if this LUN can be shared between multiple physical servers.
   *
   * @param bool $shareable
   */
  public function setShareable($shareable)
  {
    $this->shareable = $shareable;
  }
  /**
   * @return bool
   */
  public function getShareable()
  {
    return $this->shareable;
  }
  /**
   * The size of this LUN, in GiB.
   *
   * @param string $sizeGb
   */
  public function setSizeGb($sizeGb)
  {
    $this->sizeGb = $sizeGb;
  }
  /**
   * @return string
   */
  public function getSizeGb()
  {
    return $this->sizeGb;
  }
  /**
   * The state of this storage volume.
   *
   * Accepted values: STATE_UNSPECIFIED, CREATING, UPDATING, READY, DELETING,
   * COOL_OFF
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * The storage type for this LUN.
   *
   * Accepted values: STORAGE_TYPE_UNSPECIFIED, SSD, HDD
   *
   * @param self::STORAGE_TYPE_* $storageType
   */
  public function setStorageType($storageType)
  {
    $this->storageType = $storageType;
  }
  /**
   * @return self::STORAGE_TYPE_*
   */
  public function getStorageType()
  {
    return $this->storageType;
  }
  /**
   * Display the storage volume for this LUN.
   *
   * @param string $storageVolume
   */
  public function setStorageVolume($storageVolume)
  {
    $this->storageVolume = $storageVolume;
  }
  /**
   * @return string
   */
  public function getStorageVolume()
  {
    return $this->storageVolume;
  }
  /**
   * The WWID for this LUN.
   *
   * @param string $wwid
   */
  public function setWwid($wwid)
  {
    $this->wwid = $wwid;
  }
  /**
   * @return string
   */
  public function getWwid()
  {
    return $this->wwid;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Lun::class, 'Google_Service_Baremetalsolution_Lun');
← Back