Reference documentation and code samples for the Google Cloud Design Center V1 Client class CreateCatalogRequest.

Message for creating a catalog.

Generated from protobuf message `google.cloud.designcenter.v1.CreateCatalogRequest`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent space in which a catalog is created in the following format: `projects/$project/locations/$location/spaces/$space` |
| `↳ catalog_id` | `string` Required. The ID of the catalog to create. |
| `↳ catalog` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Catalog` Required. The catalog to create. |

### getParent

Required. The parent space in which a catalog is created in the following
format: `projects/$project/locations/$location/spaces/$space`

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

### setParent

Required. The parent space in which a catalog is created in the following
format: `projects/$project/locations/$location/spaces/$space`

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

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

### getCatalogId

Required. The ID of the catalog to create.

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

### setCatalogId

Required. The ID of the catalog to create.

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

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

### getCatalog

Required. The catalog to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Catalog|null` |   |

### hasCatalog

### clearCatalog

### setCatalog

Required. The catalog to create.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Catalog` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent space in which a catalog is created in the following format: `projects/$project/locations/$location/spaces/$space` Please see DesignCenterClient::spaceName() for help formatting this field. |
| `catalog` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Catalog` Required. The catalog to create. |
| `catalogId` | `string` Required. The ID of the catalog to create. |

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