# Google Project

## Example Usage

***

{% tabs %}
{% tab title="Terraform" %}
{% code title="gcp-project-integration.tf" %}

```tf
resource "apono_integration" "gcp-project-integration" {
  name                     = "Google Project"
  type                     = "gcp-project"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["gcp-project"]
  metadata = {
    project_id = "<Project ID>"
  }
}
```

{% endcode %}
{% endtab %}

{% tab title="Terraform V2" %}
{% code title="gcp-project-integration.tf" %}

```tf
resource "apono_resource_integration" "gcp-project-integration" {
  name                     = "Google Project"
  type                     = "gcp-project"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["gcp-project"]
  integration_config = {
    project_id = "<Project ID>"
  }
}
```

{% endcode %}
{% endtab %}

{% tab title="Public API" %}
{% code title="gcp-project-integration.json" %}

```json
{
    "gcp-project-integration": {
        "name": "Google Project",
        "type": "gcp-project",
        "connector_id": "apono-connector-id",
        "connected_resource_types": [
            "gcp-project"
        ],
        "integration_config": {
            "project_id": "<Project ID>",
        }
    }
}
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Schema

***

* `type` gcp-project
* `connected_resource_types` List of resource types to sync.

<details>

<summary>Available resource types you can use</summary>

* gcp-project
* gcp-project-cloud-spanner-table
* gcp-project-cloud-storage-bucket
* gcp-project-secret-manager-secret
* gcp-project-bigquery-dataset
* gcp-project-bigquery-table
* gcp-project-function
* gcp-project-compute-instance
* gcp-project-cloud-run-service
* gcp-project-cloud-run-job
* gcp-project-artifact-registry-repository
* gcp-project-pubsub-topic
* gcp-project-pubsub-subscription

</details>

### Integration Config

***

* `project_id` (Required | String) Project ID
