# Google Cloud Quotas V1beta Client - Class QuotaAdjusterSettings (1.5.5)

1.5.5 (latest) 1.5.4 1.4.1 1.3.1 1.2.1 1.1.1 1.0.1 0.2.3 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Quotas V1beta Client class QuotaAdjusterSettings.

The QuotaAdjusterSettings resource defines the settings for the Quota
Adjuster.

Generated from protobuf message `google.api.cloudquotas.v1beta.QuotaAdjusterSettings`

## Namespace

Google \\ Cloud \\ CloudQuotas \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. Name of the configuration, in the formats below: \* \* For a project: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings \* \* For a folder: folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings \* \* For an organization: organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings |
| `↳ enablement` | `int` Optional. The configured value of the enablement at the given resource. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The timestamp when the QuotaAdjusterSettings resource was last updated. |
| `↳ etag` | `string` Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is provided on update and does not match the current server's ETag in the QuotaAdjusterSettings, the request is blocked and returns an ABORTED error. See <https://google.aip.dev/134#etags> for more details on ETags. |
| `↳ inherited` | `bool` Optional. Indicates whether the setting is inherited or explicitly specified. |
| `↳ inherited_from` | `string` Output only. The resource container from which the setting is inherited. This refers to the nearest ancestor with enablement set (either ENABLED or DISABLED). The value can be an organizations/{organization_id}, folders/{folder_id}, or can be 'default' if no ancestor exists with enablement set. The value will be empty when enablement is directly set on this container. |

### getName

Identifier. Name of the configuration, in the formats below:

- For a project: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings
- For a folder: folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings
- For an organization: organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. Name of the configuration, in the formats below:

- For a project: projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings
- For a folder: folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings
- For an organization: organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEnablement

Optional. The configured value of the enablement at the given resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Enablement](https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1beta.QuotaAdjusterSettings.Enablement). |

### setEnablement

Optional. The configured value of the enablement at the given resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Enablement](https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1beta.QuotaAdjusterSettings.Enablement). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. The timestamp when the QuotaAdjusterSettings resource was last
updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The timestamp when the QuotaAdjusterSettings resource was last
updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEtag

Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is
provided on update and does not match the current server's ETag in the
QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.

See <https://google.aip.dev/134#etags> for more details on ETags.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEtag

Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is
provided on update and does not match the current server's ETag in the
QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.

See <https://google.aip.dev/134#etags> for more details on ETags.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInherited

Optional. Indicates whether the setting is inherited or explicitly
specified.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setInherited

Optional. Indicates whether the setting is inherited or explicitly
specified.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInheritedFrom

Output only. The resource container from which the setting is inherited.

This refers to the nearest ancestor with enablement set (either ENABLED or
DISABLED). The value can be an organizations/{organization_id},
folders/{folder_id}, or can be 'default' if no ancestor exists with
enablement set. The value will be empty when enablement is directly set on
this container.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setInheritedFrom

Output only. The resource container from which the setting is inherited.

This refers to the nearest ancestor with enablement set (either ENABLED or
DISABLED). The value can be an organizations/{organization_id},
folders/{folder_id}, or can be 'default' if no ancestor exists with
enablement set. The value will be empty when enablement is directly set on
this container.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |