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

## Resource: Component

Component resource.

| JSON representation |
|---|
| ``` { "name": string, "sharedTemplateRevisionUri": string, "parameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ], "createTime": string, "updateTime": string, "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 ||
|---|---|
| `name` | `string` Identifier. The component name. |
| `sharedTemplateRevisionUri` | `string` Required. Immutable. 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. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The component creation 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. The component 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"`. |
| `roles[]` | `string` Output only. IAM roles required by the service account to deploy the component. |
| `apis[]` | `string` Output only. 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. 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. Whether the component is exported as a separate Terraform root module in a composite application template. If this is false, then native components will be exported as a submodule of a separate Terraform root module. |
| `inputVariableAliases[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/SerializedApplicationTemplate#InputVariableAlias`)`` Optional. Input variable aliases defined on this component. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components/create` | Creates a component. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components/delete` | Deletes a component. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components/get` | Gets details about a Component. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components/list` | Lists components in an application template. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components/patch` | Updates a component. |