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

Request message for ImportApplicationTemplate method.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ application_template_revision_uri` | `string` Optional. The source URI for application template revision. |
| `↳ shared_template_revision_uri` | `string` Optional. The source URI for catalog template. |
| `↳ serialized_application_template` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.SerializedApplicationTemplate` Optional. The serialized application template to be imported. |
| `↳ application_template_system_revision` | `string` Optional. The system revision to be imported. Used when user tries to Restore (rev X) or perform Undo/Redo operations. |
| `↳ name` | `string` Required. The name of the application template. |
| `↳ annotations` | `array|Google\Protobuf\Internal\MapField` Optional. Annotations to be stored with the new system revision created as a result of this import. Sample annotations from agentic workflows might look like { "designcenter.googleapis.com/agent_id": "gemini-3-flash-v1", "designcenter.googleapis.com/llm_agent_summary": "Restored to revision Rev-100", "designcenter.googleapis.com/external_ref_id": "trace-uuid-88921-xyz", } |

### getApplicationTemplateRevisionUri

Optional. The source URI for application template revision.

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

### hasApplicationTemplateRevisionUri

### setApplicationTemplateRevisionUri

Optional. The source URI for application template revision.

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

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

### getSharedTemplateRevisionUri

Optional. The source URI for catalog template.

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

### hasSharedTemplateRevisionUri

### setSharedTemplateRevisionUri

Optional. The source URI for catalog template.

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

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

### getSerializedApplicationTemplate

Optional. The serialized application template to be imported.

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

### hasSerializedApplicationTemplate

### setSerializedApplicationTemplate

Optional. The serialized application template to be imported.

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

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

### getApplicationTemplateSystemRevision

Optional. The system revision to be imported. Used when user tries to
Restore (rev X) or perform Undo/Redo operations.

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

### hasApplicationTemplateSystemRevision

### setApplicationTemplateSystemRevision

Optional. The system revision to be imported. Used when user tries to
Restore (rev X) or perform Undo/Redo operations.

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

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

### getName

Required. The name of the application template.

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

### setName

Required. The name of the application template.

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

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

### getAnnotations

Optional. Annotations to be stored with the new system revision created as
a result of this import. Sample annotations from agentic workflows might
look like
{
"designcenter.googleapis.com/agent_id": "gemini-3-flash-v1",
"designcenter.googleapis.com/llm_agent_summary": "Restored to revision
Rev-100", "designcenter.googleapis.com/external_ref_id":
"trace-uuid-88921-xyz",
}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setAnnotations

Optional. Annotations to be stored with the new system revision created as
a result of this import. Sample annotations from agentic workflows might
look like
{
"designcenter.googleapis.com/agent_id": "gemini-3-flash-v1",
"designcenter.googleapis.com/llm_agent_summary": "Restored to revision
Rev-100", "designcenter.googleapis.com/external_ref_id":
"trace-uuid-88921-xyz",
}

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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

### getSource

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the application template. Please see DesignCenterClient::applicationTemplateName() for help formatting this field. |
| `applicationTemplateRevisionUri` | `string` Optional. The source URI for application template revision. |

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