📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Baremetalsolution
☀️ Light 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: NfsShare.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 NfsShare extends \Google\Collection
{
  /**
   * The share is in an unknown state.
   */
  public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
  /**
   * The share has been provisioned.
   */
  public const STATE_PROVISIONED = 'PROVISIONED';
  /**
   * The NFS Share is being created.
   */
  public const STATE_CREATING = 'CREATING';
  /**
   * The NFS Share is being updated.
   */
  public const STATE_UPDATING = 'UPDATING';
  /**
   * The NFS Share has been requested to be deleted.
   */
  public const STATE_DELETING = 'DELETING';
  /**
   * The storage type for this volume is unknown.
   */
  public const STORAGE_TYPE_STORAGE_TYPE_UNSPECIFIED = 'STORAGE_TYPE_UNSPECIFIED';
  /**
   * The storage type for this volume is SSD.
   */
  public const STORAGE_TYPE_SSD = 'SSD';
  /**
   * This storage type for this volume is HDD.
   */
  public const STORAGE_TYPE_HDD = 'HDD';
  protected $collection_key = 'allowedClients';
  protected $allowedClientsType = AllowedClient::class;
  protected $allowedClientsDataType = 'array';
  /**
   * Output only. An identifier for the NFS share, generated by the backend.
   * This is the same value as nfs_share_id and will replace it in the future.
   *
   * @var string
   */
  public $id;
  /**
   * Labels as key value pairs.
   *
   * @var string[]
   */
  public $labels;
  /**
   * Immutable. The name of the NFS share.
   *
   * @var string
   */
  public $name;
  /**
   * Output only. An identifier for the NFS share, generated by the backend.
   * This field will be deprecated in the future, use `id` instead.
   *
   * @var string
   */
  public $nfsShareId;
  /**
   * Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare
   * can only be connected to the assets (networks, instances) allocated in the
   * same pod.
   *
   * @var string
   */
  public $pod;
  /**
   * The requested size, in GiB.
   *
   * @var string
   */
  public $requestedSizeGib;
  /**
   * Output only. The state of the NFS share.
   *
   * @var string
   */
  public $state;
  /**
   * Immutable. The storage type of the underlying volume.
   *
   * @var string
   */
  public $storageType;
  /**
   * Output only. The underlying volume of the share. Created automatically
   * during provisioning.
   *
   * @var string
   */
  public $volume;

  /**
   * List of allowed access points.
   *
   * @param AllowedClient[] $allowedClients
   */
  public function setAllowedClients($allowedClients)
  {
    $this->allowedClients = $allowedClients;
  }
  /**
   * @return AllowedClient[]
   */
  public function getAllowedClients()
  {
    return $this->allowedClients;
  }
  /**
   * Output only. An identifier for the NFS share, generated by the backend.
   * This is the same value as nfs_share_id and will replace it in the future.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Labels as key value pairs.
   *
   * @param string[] $labels
   */
  public function setLabels($labels)
  {
    $this->labels = $labels;
  }
  /**
   * @return string[]
   */
  public function getLabels()
  {
    return $this->labels;
  }
  /**
   * Immutable. The name of the NFS share.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Output only. An identifier for the NFS share, generated by the backend.
   * This field will be deprecated in the future, use `id` instead.
   *
   * @param string $nfsShareId
   */
  public function setNfsShareId($nfsShareId)
  {
    $this->nfsShareId = $nfsShareId;
  }
  /**
   * @return string
   */
  public function getNfsShareId()
  {
    return $this->nfsShareId;
  }
  /**
   * Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare
   * can only be connected to the assets (networks, instances) allocated in the
   * same pod.
   *
   * @param string $pod
   */
  public function setPod($pod)
  {
    $this->pod = $pod;
  }
  /**
   * @return string
   */
  public function getPod()
  {
    return $this->pod;
  }
  /**
   * The requested size, in GiB.
   *
   * @param string $requestedSizeGib
   */
  public function setRequestedSizeGib($requestedSizeGib)
  {
    $this->requestedSizeGib = $requestedSizeGib;
  }
  /**
   * @return string
   */
  public function getRequestedSizeGib()
  {
    return $this->requestedSizeGib;
  }
  /**
   * Output only. The state of the NFS share.
   *
   * Accepted values: STATE_UNSPECIFIED, PROVISIONED, CREATING, UPDATING,
   * DELETING
   *
   * @param self::STATE_* $state
   */
  public function setState($state)
  {
    $this->state = $state;
  }
  /**
   * @return self::STATE_*
   */
  public function getState()
  {
    return $this->state;
  }
  /**
   * Immutable. The storage type of the underlying volume.
   *
   * 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;
  }
  /**
   * Output only. The underlying volume of the share. Created automatically
   * during provisioning.
   *
   * @param string $volume
   */
  public function setVolume($volume)
  {
    $this->volume = $volume;
  }
  /**
   * @return string
   */
  public function getVolume()
  {
    return $this->volume;
  }
}

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