- [Resource: Application](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#Application)
  - [JSON representation](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#Application.SCHEMA_REPRESENTATION)
- [Scope](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#Scope)
  - [JSON representation](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#Scope.SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#Type)
- [State](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#State)
- [Methods](https://docs.cloud.google.com/app-hub/docs/reference/rest/v1alpha/projects.locations.applications.md.txt#METHODS_SUMMARY)

## Resource: Application

Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "attributes": { object (`Attributes`) }, "createTime": string, "updateTime": string, "scope": { object (`Scope`) }, "uid": string, "state": enum (`State`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of an Application. Format: `"projects/{host-project-id}/locations/{location}/applications/{application-id}"` |
| `displayName` | `string` Optional. User-defined name for the Application. Can have a maximum length of 63 characters. |
| `description` | `string` Optional. User-defined description of an Application. Can have a maximum length of 2048 characters. |
| `attributes` | ``object (`Attributes`)`` Optional. Consumer provided attributes. |
| `createTime` | ``string (`Timestamp` format)`` Output only. Create time. 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 (`Timestamp` format)`` Output only. Update time. 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"`. |
| `scope` | ``object (`Scope`)`` Required. Immutable. Defines what data can be included into this Application. Limits which Services and Workloads can be registered. |
| `uid` | `string` Output only. A universally unique identifier (in UUID4 format) for the `Application`. |
| `state` | ``enum (`State`)`` Output only. Application state. |

## Scope

Scope of an application.

| JSON representation |
|---|
| ``` { "type": enum (`Type`) } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`Type`)`` Required. Scope Type. |

## Type

Scope Type.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Unspecified type. |
| `REGIONAL` | Regional type. |
| `GLOBAL` | Global type. |
| `MULTI_REGIONAL` | Multi-regional type. |

## State

Application state.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Unspecified state. |
| `CREATING` | The Application is being created. |
| `ACTIVE` | The Application is ready to register Services and Workloads. |
| `DELETING` | The Application is being deleted. |

| ## Methods ||
|---|---|
| ### `create` | Creates an Application in a host project and location. |
| ### `delete` | Deletes an Application in a host project and location. |
| ### `get` | Gets an Application in a host project and location. |
| ### `getIamPolicy` | Gets the access control policy for a resource. |
| ### `list` | Lists Applications in a host project and location. |
| ### `patch` | Updates an Application in a host project and location. |
| ### `setIamPolicy` | Sets the access control policy on the specified resource. |
| ### `testIamPermissions` | Returns permissions that a caller has on the specified resource. |