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

Message for creating a template revisions request.

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

## 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 in which the catalog template revisions request is created in following format: `projects/$project/locations/$location/spaces/$space/templates/$template` |
| `↳ catalog_template_revision_id` | `string` Required. The ID of the template revision to create. |
| `↳ catalog_template_revision` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.CatalogTemplateRevision` Required. The template revision to create. |

### getParent

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

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

### setParent

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

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

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

### getCatalogTemplateRevisionId

Required. The ID of the template revision to create.

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

### setCatalogTemplateRevisionId

Required. The ID of the template revision to create.

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

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

### getCatalogTemplateRevision

Required. The template revision to create.

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

### hasCatalogTemplateRevision

### clearCatalogTemplateRevision

### setCatalogTemplateRevision

Required. The template revision to create.

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

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

### static::build

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

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