- [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SCHEMA_REPRESENTATION)
- [SerializedComponent](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedComponent)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedComponent.SCHEMA_REPRESENTATION)
- [SerializedConnection](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedConnection)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedConnection.SCHEMA_REPRESENTATION)
- [InputVariableAlias](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#InputVariableAlias)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#InputVariableAlias.SCHEMA_REPRESENTATION)
- [SerializedPolicy](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedPolicy)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedPolicy.SCHEMA_REPRESENTATION)
- [ApplyCondition](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#ApplyCondition)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#ApplyCondition.SCHEMA_REPRESENTATION)

Serialized application template.

| JSON representation |
|---|
| ``` { "uri": string, "displayName": string, "description": string, "applicationParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ], "iacFormat": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/IACFormat`), "components": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedComponent`) } ], "apphubApplicationParameters": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/AppHubApplicationParameters`) }, "hasGlobalResource": boolean, "compositionType": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ApplicationCompositionType`), "rootInputVariables": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentVariable`) } ], "rootOutputVariables": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentVariable`) } ], "saasRuntimeContext": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SaaSRuntimeContext`) }, "serializedPolicies": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedPolicy`) } ], "inputsAsRootModuleVariables": boolean } ``` |

| Fields ||
|---|---|
| `uri` | `string` Optional. The application template URI. |
| `displayName` | `string` Optional. The application template display name. |
| `description` | `string` Optional. The application template description. |
| `applicationParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. Parameters to apply to all components in the application template. |
| `iacFormat` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/IACFormat`)`` Optional. The IaC format of the application template. |
| `components[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedComponent`)`` Optional. The application template components. |
| `apphubApplicationParameters` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/AppHubApplicationParameters`)`` Optional. The App Hub application parameters. |
| `hasGlobalResource` | `boolean` Output only. Whether the application template is compatible with regional scope. |
| `compositionType` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ApplicationCompositionType`)`` Output only. The composition type of the applicationTemplate: STANDARD OR COMPOSITE. |
| `rootInputVariables[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentVariable`)`` Output only. Root level input variables of the application template. |
| `rootOutputVariables[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentVariable`)`` Output only. Root level output variables of the application template. |
| `saasRuntimeContext` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SaaSRuntimeContext`)`` Optional. SaaS runtime context for the application template. |
| `serializedPolicies[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedPolicy`)`` Output only. Policies of the application template. |
| `inputsAsRootModuleVariables` | `boolean` Optional. If true, exposes all inputs as root module variables. This is only supported for STANDARD composition type templates. This setting lets you override variable values at the root module level, such as in a `terraform.tfvars` file or by using command-line flags, without modifying child modules. |

## SerializedComponent

Serialized component.

| JSON representation |
|---|
| ``` { "uri": string, "sharedTemplateRevisionUri": string, "parameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ], "connections": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedConnection`) } ], "roles": [ string ], "apis": [ string ], "displayName": string, "connectionsParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ConnectionParameters`) } ], "componentParameterSchema": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentParameterSchema`) } ], "applicationInfo": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentApplicationInfo`) }, "useAsRootModule": boolean, "inputVariableAliases": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#InputVariableAlias`) } ] } ``` |

| Fields ||
|---|---|
| `uri` | `string` Optional. The component URI. |
| `sharedTemplateRevisionUri` | `string` Optional. The shared template used to generate the component. |
| `parameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. The component parameters. |
| `connections[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#SerializedConnection`)`` Optional. The component connections. |
| `roles[]` | `string` Optional. IAM roles required by the service account to deploy the component. |
| `apis[]` | `string` Optional. APIs required to be enabled to deploy the component, in the form of "\*.googleapis.com". |
| `displayName` | `string` Optional. The component display name. |
| `connectionsParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ConnectionParameters`)`` Output only. The connection parameters of the component. |
| `componentParameterSchema[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentParameterSchema`)`` Output only. The component parameter schema, which includes possible parameter values. |
| `applicationInfo` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/ComponentApplicationInfo`)`` Optional. The application associated with the component. |
| `useAsRootModule` | `boolean` Optional. If true, exposes all inputs as root module variables. |
| `inputVariableAliases[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#InputVariableAlias`)`` Optional. Parameter aliases. |

## SerializedConnection

Serialized connection.

| JSON representation |
|---|
| ``` { "uri": string, "destinationComponentUri": string, "sourceComponentParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ], "destinationComponentParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ] } ``` |

| Fields ||
|---|---|
| `uri` | `string` Optional. The connection URI. |
| `destinationComponentUri` | `string` Optional. The destination component URI used to generate the connection. |
| `sourceComponentParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. The parameters of the connection associated with the source component. |
| `destinationComponentParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. The parameters of the connection associated with the destination component. |

## InputVariableAlias

Input variable alias mapping for a component in a composite application template.

| JSON representation |
|---|
| ``` { "variable": string, "alias": string } ``` |

| Fields ||
|---|---|
| `variable` | `string` Required. Name of the input variable inside the component's underlying template or module. |
| `alias` | `string` Required. Alias for the variable name to be exposed at the root level of the composite template. This alias lets you prevent variable name collisions between components. |

## SerializedPolicy

Serialized policy.

| JSON representation |
|---|
| ``` { "uri": string, "displayName": string, "description": string, "policyType": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/PolicyType`), "applyConditions": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#ApplyCondition`) } ], // Union field `source_uri` can be only one of the following: "policyUri": string, "policyRevisionUri": string // End of list of possible types for union field `source_uri`. } ``` |

| Fields ||
|---|---|
| `uri` | `string` Required. The uri of the policy in application template. Format: `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}/policies/{policy}` |
| `displayName` | `string` Optional. The serialized policy display name. The number of characters should be less than 128 characters. |
| `description` | `string` Optional. The serialized policy description. At most 2048 characters. |
| `policyType` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/PolicyType`)`` Required. Policy type will be used to determine the domain of the policy. |
| `applyConditions[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#ApplyCondition`)`` Optional. The serialized policy apply conditions. |
| Union field `source_uri`. Source uri of the policy or the policy revision. `source_uri` can be only one of the following: ||
| `policyUri` | `string` Optional. URI of the policy. |
| `policyRevisionUri` | `string` Optional. URI of the policy revision. |

## ApplyCondition

Condition for applying the policy. Accepts the `criticality` and `environment` parameters from the application template.

| JSON representation |
|---|
| ``` { "conditionKey": string, "conditionValue": string } ``` |

| Fields ||
|---|---|
| `conditionKey` | `string` Required. The key of the parameter for the condition. |
| `conditionValue` | `string` Required. The value of the parameter for the condition. |