- [Resource: Application](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications#Application)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications#Application.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications#METHODS_SUMMARY)

## Resource: Application

Represents the application resource.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "source": { object (`DeploymentSource`) }, "appParameters": [ { object (`Parameter`) } ], "componentParameters": [ { object (`ComponentParameters`) } ], "serviceAccount": string, "displayName": string, "description": string, "attributes": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes`) }, "scope": { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Scope`) }, "importExistingResources": boolean, "previewReference": string, "deploymentRevision": string, "apphubApplication": string, "serializedApplicationTemplate": { object (`SerializedApplicationTemplate`) }, "state": enum (`State`), "deploymentMetadata": { object (`DeploymentMetadata`) }, "projectParameters": [ { object (`ProjectParameters`) } ], "deploymentRegion": string, "updatedTemplateRevision": { object (`UpdatedTemplateRevision`) }, "deploymentProject": string, "connectionConfigs": [ { object (`ConnectionConfig`) } ], "artifactLocation": { object (`ArtifactLocation`) }, "type": enum (`ApplicationType`), "deploymentTarget": { object (`DeploymentTarget`) }, "compositionType": enum (`ApplicationCompositionType`), "compositeApplicationParameters": { object (`CompositeApplicationParameters`) }, "deploymentGroupMetadata": { object (`DeploymentGroupMetadata`) }, "paramsUpdateStrategy": enum (`UpdateStrategy`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the application. Format: projects/{project}/locations/{location}/spaces/{space}/applications/{application} |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Create timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Update timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `source` | ``object (`DeploymentSource`)`` Required. The application deployment source. |
| `appParameters[]` | ``object (`Parameter`)`` Optional. A list of parameters to attach to the deployment source object, which is a catalog entry or application template snapshot. |
| `componentParameters[]` | ``object (`ComponentParameters`)`` Optional. A list of component parameters to associate with the application. |
| `serviceAccount` | `string` Optional. Your own service account that you use to deploy an application. |
| `displayName` | `string` Optional. Display name of the application. |
| `description` | `string` Optional. Description of the application. |
| `attributes` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Attributes`)`` Optional. Attributes of the application. |
| `scope` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Scope`)`` Required. Scope of the application. |
| `importExistingResources` | `boolean` Optional. Import existing resources into the application. |
| `previewReference` | `string` Output only. Preview reference for the application. |
| `deploymentRevision` | `string` Output only. \[Output only\] Optional Infra Manager deployment Id with revision |
| `apphubApplication` | `string` Output only. The App Hub App associated with the application. |
| `serializedApplicationTemplate` | ``object (`SerializedApplicationTemplate`)`` Output only. \[Output only\] Serialized application template. |
| `state` | ``enum (`State`)`` Output only. Deployment state of the application. |
| `deploymentMetadata` | ``object (`DeploymentMetadata`)`` Output only. Deployment metadata of the application. |
| `projectParameters[]` | ``object (`ProjectParameters`)`` Output only. List of project parameters for the application. |
| `deploymentRegion` | `string` Optional. The region where the application is deployed. |
| `updatedTemplateRevision` | ``object (`UpdatedTemplateRevision`)`` Output only. The updated template revision because of which the application is outdated. |
| `deploymentProject` | `string` Optional. Deployment project of the application. |
| `connectionConfigs[]` | ``object (`ConnectionConfig`)`` Optional. Connection configuration for the application. |
| `artifactLocation` | ``object (`ArtifactLocation`)`` Output only. Details of the location where the IaC for this application was last successfully exported. |
| `type` | ``enum (`ApplicationType`)`` Optional. The type of the application. |
| `deploymentTarget` | ``object (`DeploymentTarget`)`` Optional. The deployment target of the application. |
| `compositionType` | ``enum (`ApplicationCompositionType`)`` Output only. The composition type of the application: STANDARD OR COMPOSITE. |
| `compositeApplicationParameters` | ``object (`CompositeApplicationParameters`)`` Optional. Parameters that are required for composite applications. |
| `deploymentGroupMetadata` | ``object (`DeploymentGroupMetadata`)`` Output only. The deployment group metadata of the application. This is applicable only for composite applications. |
| `paramsUpdateStrategy` | ``enum (`UpdateStrategy`)`` Optional. Specifies the strategy to use when updating the application parameters while updating the application template revision. |
| `iacSource` | ``enum (`IACSource`)`` Output only. Indicates the IaC source format of this application. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/create` | Creates an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/delete` | Deletes an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/deploy` | Deploys an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/export` | Exports Terraform files for an application asynchronously. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/fetchAssessmentReport` | Fetches the assessment report of a deployed application if present. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/generate` | Generates Terraform files for an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/generateAssessmentReport` | Generate assessment reports of an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/get` | Gets details about an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/importIaC` | Imports IaC for an application resource. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/list` | Lists applications in a given space. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/patch` | Updates an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/preview` | Previews deployment of an application. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.applications/register` | Register deployed application from terraform state file with App Hub. |