📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 Backup.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 DailyCycle.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DenyMaintenancePeriod.php
▶ Open 📄 View Source
🐘 DirectoryServicesConfig.php
▶ Open 📄 View Source
🐘 FileEmpty.php
▶ Open 📄 View Source
🐘 FileShareConfig.php
▶ Open 📄 View Source
🐘 FixedIOPS.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1Instance.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1NotificationParameter.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.php
▶ Open 📄 View Source
🐘 GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata.php
▶ Open 📄 View Source
🐘 IOPSPerGB.php
▶ Open 📄 View Source
🐘 IOPSPerTB.php
▶ Open 📄 View Source
🐘 Instance.php
▶ Open 📄 View Source
🐘 LdapConfig.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListInstancesResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListSnapshotsResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NfsExportOptions.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 PauseReplicaRequest.php
▶ Open 📄 View Source
🐘 PerformanceConfig.php
▶ Open 📄 View Source
🐘 PerformanceLimits.php
▶ Open 📄 View Source
🐘 PromoteReplicaRequest.php
▶ Open 📄 View Source
🐘 PscConfig.php
▶ Open 📄 View Source
🐘 ReplicaConfig.php
▶ Open 📄 View Source
🐘 Replication.php
▶ Open 📄 View Source
🐘 RestoreInstanceRequest.php
▶ Open 📄 View Source
🐘 ResumeReplicaRequest.php
▶ Open 📄 View Source
🐘 RevertInstanceRequest.php
▶ Open 📄 View Source
🐘 Schedule.php
▶ Open 📄 View Source
🐘 Snapshot.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 UpdatePolicy.php
▶ Open 📄 View Source
🐘 WeeklyCycle.php
▶ Open 📄 View Source

📄 Source: PerformanceConfig.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\CloudFilestore;

class PerformanceConfig extends \Google\Model
{
  protected $fixedIopsType = FixedIOPS::class;
  protected $fixedIopsDataType = '';
  protected $iopsPerTbType = IOPSPerTB::class;
  protected $iopsPerTbDataType = '';

  /**
   * Choose a fixed provisioned IOPS value for the instance, which will remain
   * constant regardless of instance capacity. Value must be a multiple of 1000.
   * If the chosen value is outside the supported range for the instance's
   * capacity during instance creation, instance creation will fail with an
   * `InvalidArgument` error. Similarly, if an instance capacity update would
   * result in a value outside the supported range, the update will fail with an
   * `InvalidArgument` error.
   *
   * @param FixedIOPS $fixedIops
   */
  public function setFixedIops(FixedIOPS $fixedIops)
  {
    $this->fixedIops = $fixedIops;
  }
  /**
   * @return FixedIOPS
   */
  public function getFixedIops()
  {
    return $this->fixedIops;
  }
  /**
   * Provision IOPS dynamically based on the capacity of the instance.
   * Provisioned IOPS will be calculated by multiplying the capacity of the
   * instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB
   * instance with an `iops_per_tb` value of 17000 the provisioned IOPS will be
   * 34000. If the calculated value is outside the supported range for the
   * instance's capacity during instance creation, instance creation will fail
   * with an `InvalidArgument` error. Similarly, if an instance capacity update
   * would result in a value outside the supported range, the update will fail
   * with an `InvalidArgument` error.
   *
   * @param IOPSPerTB $iopsPerTb
   */
  public function setIopsPerTb(IOPSPerTB $iopsPerTb)
  {
    $this->iopsPerTb = $iopsPerTb;
  }
  /**
   * @return IOPSPerTB
   */
  public function getIopsPerTb()
  {
    return $this->iopsPerTb;
  }
}

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