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

Serialized component.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uri` | `string` Optional. The component URI. |
| `↳ shared_template_revision_uri` | `string` Optional. The shared template used to generate the component. |
| `↳ parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` Optional. The component parameters. |
| `↳ connections` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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". |
| `↳ display_name` | `string` Optional. The component display name. |
| `↳ connections_parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ConnectionParameters>` Output only. The connection parameters of the component. |
| `↳ component_parameter_schema` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentParameterSchema>` Output only. The component parameter schema, which includes possible parameter values. |
| `↳ application_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentApplicationInfo` Optional. The application associated with the component. |
| `↳ use_as_root_module` | `bool` 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. |
| `↳ input_variable_aliases` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.InputVariableAlias>` Optional. Input variable aliases defined for this serialized component. |
| `↳ application_template_revision_uri` | `string` Optional. The application template revision used to generate the component. |

### getUri

Optional. The component URI.

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

### setUri

Optional. The component URI.

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

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

### getSharedTemplateRevisionUri

Optional. The shared template used to generate the component.

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

### setSharedTemplateRevisionUri

Optional. The shared template used to generate the component.

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

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

### getParameters

Optional. The component parameters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Parameter>` |   |

### setParameters

Optional. The component parameters.

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

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

### getConnections

Optional. The component connections.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.SerializedConnection>` |   |

### setConnections

Optional. The component connections.

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

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

### getRoles

Optional. IAM roles required by the service account to deploy the
component.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setRoles

Optional. IAM roles required by the service account to deploy the
component.

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

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

### getApis

Optional. APIs required to be enabled to deploy the component, in the form
of "\*.googleapis.com".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setApis

Optional. APIs required to be enabled to deploy the component, in the form
of "\*.googleapis.com".

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

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

### getDisplayName

Optional. The component display name.

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

### setDisplayName

Optional. The component display name.

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

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

### getConnectionsParameters

Output only. The connection parameters of the component.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ConnectionParameters>` |   |

### setConnectionsParameters

Output only. The connection parameters of the component.

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

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

### getComponentParameterSchema

Output only. The component parameter schema, which includes possible
parameter values.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentParameterSchema>` |   |

### setComponentParameterSchema

Output only. The component parameter schema, which includes possible
parameter values.

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

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

### getApplicationInfo

Optional. The application associated with the component.

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

### hasApplicationInfo

### clearApplicationInfo

### setApplicationInfo

Optional. The application associated with the component.

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

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

### getUseAsRootModule

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUseAsRootModule

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.

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

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

### getInputVariableAliases

Optional. Input variable aliases defined for this serialized component.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.InputVariableAlias>` |   |

### setInputVariableAliases

Optional. Input variable aliases defined for this serialized component.

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

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

### getApplicationTemplateRevisionUri

Optional. The application template revision used to generate the component.

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

### setApplicationTemplateRevisionUri

Optional. The application template revision used to generate the component.

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

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