# Google Cloud Quotas V1 Client - Class GetQuotaInfoRequest (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 Reference documentation and code samples for the Google Cloud Quotas V1 Client class GetQuotaInfoRequest.

Message for getting a QuotaInfo

Generated from protobuf message `google.api.cloudquotas.v1.GetQuotaInfoRequest`

## Namespace

Google \\ Cloud \\ CloudQuotas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the quota info. An example name: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion` |

### getName

Required. The resource name of the quota info.

An example name:
`projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`

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

### setName

Required. The resource name of the quota info.

An example name:
`projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the quota info. An example name: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion` Please see CloudQuotasClient::quotaInfoName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-quotas/latest/V1.GetQuotaInfoRequest` |   |