# Google Cloud Quotas V1beta Client - Class DimensionsInfo (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 DimensionsInfo.

The detailed quota information such as effective quota value for a
combination of dimensions.

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

## Namespace

Google \\ Cloud \\ CloudQuotas \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dimensions` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` The map of dimensions in key-value pairs. The key of a map entry is "region", "zone", or the name of a service-specific dimension, and the value of a map entry is the value of the dimension. If a dimension does not appear in the map of dimensions, the dimensions info applies to all the dimension values except for those that have another DimensionInfo instance configured for the specific value. For example: `{"provider" : "Example Organization"}` where `provider` is a service-specific quota dimension and `Example Organization` is the provider name. |
| `↳ details` | `https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1beta.QuotaDetails` Quota details for the specified dimensions. |
| `↳ applicable_locations` | `string[]` The applicable regions or zones of this dimension. The field is set to \['global'\] for quotas that are not per region or per zone. Otherwise, it will be set to the list of locations this dimension info is applicable to. |

### getDimensions

The map of dimensions in key-value pairs. The key of a map entry
is "region", "zone", or the name of a service-specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimensionInfo
instance configured for the specific value.

For example: `{"provider" : "Example Organization"}` where `provider` is a
service-specific quota dimension and `Example Organization` is the provider
name.

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

### setDimensions

The map of dimensions in key-value pairs. The key of a map entry
is "region", "zone", or the name of a service-specific dimension, and the
value of a map entry is the value of the dimension. If a dimension does
not appear in the map of dimensions, the dimensions info applies to all
the dimension values except for those that have another DimensionInfo
instance configured for the specific value.

For example: `{"provider" : "Example Organization"}` where `provider` is a
service-specific quota dimension and `Example Organization` is the provider
name.

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

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

### getDetails

Quota details for the specified dimensions.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1beta.QuotaDetails|null` |   |

### hasDetails

### clearDetails

### setDetails

Quota details for the specified dimensions.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1beta.QuotaDetails` |

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

### getApplicableLocations

The applicable regions or zones of this dimension. The field is
set to \['global'\] for quotas that are not per region or per zone.

Otherwise, it will be set to the list of locations this dimension info is
applicable to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setApplicableLocations

The applicable regions or zones of this dimension. The field is
set to \['global'\] for quotas that are not per region or per zone.

Otherwise, it will be set to the list of locations this dimension info is
applicable to.

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

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