Reference documentation and code samples for the Google Cloud Filestore V1 Client class PerformanceConfig.
Used for setting the performance configuration.
If the user doesn't specify PerformanceConfig, automatically provision
the default performance settings as described inhttps://cloud.google.com/filestore/docs/performance. Larger instances will
be linearly set to more IOPS. If the instance's capacity is increased or
decreased, its performance will be automatically adjusted upwards or
downwards accordingly (respectively).
Generated from protobuf messagegoogle.cloud.filestore.v1.Instance.PerformanceConfig
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 theiops_per_tbvalue. For example, for a 2 TiB instance with aniops_per_tbvalue 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 anInvalidArgumenterror. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with anInvalidArgumenterror.
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 anInvalidArgumenterror. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with anInvalidArgumenterror.
getIopsPerTb
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 theiops_per_tbvalue. For example, for a 2 TiB
instance with aniops_per_tbvalue 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 anInvalidArgumenterror. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with anInvalidArgumenterror.
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 theiops_per_tbvalue. For example, for a 2 TiB
instance with aniops_per_tbvalue 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 anInvalidArgumenterror. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with anInvalidArgumenterror.
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 anInvalidArgumenterror. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with anInvalidArgumenterror.
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 anInvalidArgumenterror. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with anInvalidArgumenterror.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Filestore V1 Client - Class PerformanceConfig (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-filestore/latest/V1.Instance.PerformanceConfig)\n- [2.1.0](/php/docs/reference/cloud-filestore/2.1.0/V1.Instance.PerformanceConfig)\n- [2.0.4](/php/docs/reference/cloud-filestore/2.0.4/V1.Instance.PerformanceConfig)\n- [1.5.7](/php/docs/reference/cloud-filestore/1.5.7/V1.Instance.PerformanceConfig)\n- [1.4.0](/php/docs/reference/cloud-filestore/1.4.0/V1.Instance.PerformanceConfig)\n- [1.3.2](/php/docs/reference/cloud-filestore/1.3.2/V1.Instance.PerformanceConfig)\n- [1.2.1](/php/docs/reference/cloud-filestore/1.2.1/V1.Instance.PerformanceConfig)\n- [1.1.2](/php/docs/reference/cloud-filestore/1.1.2/V1.Instance.PerformanceConfig)\n- [1.0.3](/php/docs/reference/cloud-filestore/1.0.3/V1.Instance.PerformanceConfig) \nReference documentation and code samples for the Google Cloud Filestore V1 Client class PerformanceConfig.\n\nUsed for setting the performance configuration.\n\nIf the user doesn't specify PerformanceConfig, automatically provision\nthe default performance settings as described in\n\u003chttps://cloud.google.com/filestore/docs/performance\u003e. Larger instances will\nbe linearly set to more IOPS. If the instance's capacity is increased or\ndecreased, its performance will be automatically adjusted upwards or\ndownwards accordingly (respectively).\n\nGenerated from protobuf message `google.cloud.filestore.v1.Instance.PerformanceConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Filestore \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIopsPerTb\n\nProvision IOPS dynamically based on the capacity of the instance.\n\nProvisioned IOPS will be calculated by multiplying the capacity of the\ninstance in TiB by the `iops_per_tb` value. For example, for a 2 TiB\ninstance with an `iops_per_tb` value of 17000 the provisioned IOPS will\nbe 34000.\nIf the calculated value is outside the supported range for the\ninstance's capacity during instance creation, instance creation will\nfail with an `InvalidArgument` error. Similarly, if an instance\ncapacity update would result in a value outside the supported range,\nthe update will fail with an `InvalidArgument` error.\n\n### hasIopsPerTb\n\n### setIopsPerTb\n\nProvision IOPS dynamically based on the capacity of the instance.\n\nProvisioned IOPS will be calculated by multiplying the capacity of the\ninstance in TiB by the `iops_per_tb` value. For example, for a 2 TiB\ninstance with an `iops_per_tb` value of 17000 the provisioned IOPS will\nbe 34000.\nIf the calculated value is outside the supported range for the\ninstance's capacity during instance creation, instance creation will\nfail with an `InvalidArgument` error. Similarly, if an instance\ncapacity update would result in a value outside the supported range,\nthe update will fail with an `InvalidArgument` error.\n\n### getFixedIops\n\nChoose a fixed provisioned IOPS value for the instance, which will\nremain constant regardless of instance capacity. Value must be a\nmultiple of 1000.\n\nIf the chosen value is outside the supported range for the instance's\ncapacity during instance creation, instance creation will fail with an\n`InvalidArgument` error. Similarly, if an instance capacity update\nwould result in a value outside the supported range, the update will\nfail with an `InvalidArgument` error.\n\n### hasFixedIops\n\n### setFixedIops\n\nChoose a fixed provisioned IOPS value for the instance, which will\nremain constant regardless of instance capacity. Value must be a\nmultiple of 1000.\n\nIf the chosen value is outside the supported range for the instance's\ncapacity during instance creation, instance creation will fail with an\n`InvalidArgument` error. Similarly, if an instance capacity update\nwould result in a value outside the supported range, the update will\nfail with an `InvalidArgument` error.\n\n### getMode"]]