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

Request message for RegisterAppHubApplicationResources method.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tfstate_content` | `string` Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
| `↳ tfstate_signed_gcs_uri` | `string` Optional. A securely signed Cloud Storage URI pointing to the tfstate file. The URI must be signed to grant the service temporary read access to the state file. Application Design Center imposes a limit on the maximum size of the state file accessed via this URI. |
| `↳ parent` | `string` Required. The parent location. Format: projects/{project}/locations/{location} |
| `↳ apphub_application` | `string` Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |

### getTfstateContent

Optional. The Terraform state (tfstate) content as a raw string.

For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri'
field instead.

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

### hasTfstateContent

### setTfstateContent

Optional. The Terraform state (tfstate) content as a raw string.

For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri'
field instead.

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

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

### getTfstateSignedGcsUri

Optional. A securely signed Cloud Storage URI pointing to the tfstate
file. The URI must be signed to grant the service temporary read access
to the state file. Application Design Center imposes a limit on the
maximum size of the state file accessed via this URI.

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

### hasTfstateSignedGcsUri

### setTfstateSignedGcsUri

Optional. A securely signed Cloud Storage URI pointing to the tfstate
file. The URI must be signed to grant the service temporary read access
to the state file. Application Design Center imposes a limit on the
maximum size of the state file accessed via this URI.

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

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

### getParent

Required. The parent location.

Format: projects/{project}/locations/{location}

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

### setParent

Required. The parent location.

Format: projects/{project}/locations/{location}

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

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

### getApphubApplication

Required. The name of the AppHub Application.

Format:
projects/{project}/locations/{location}/applications/{application}

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

### setApphubApplication

Required. The name of the AppHub Application.

Format:
projects/{project}/locations/{location}/applications/{application}

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

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

### getTfstateSource

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent location. Format: projects/{project}/locations/{location} Please see DesignCenterClient::locationName() for help formatting this field. |
| `apphubApplication` | `string` Required. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
| `tfstateContent` | `string` Optional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |

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