--- title: Google Cloud Platform \(GCP\) Organization discovery with Patterns description: The ServiceNow Discovery application uses the Discover Google Organization discovery pattern to find GCP Organization projects and resources. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/google-gcp-organization-discovery.html release: australia product: Discovery and Service Mapping Patterns classification: discovery-and-service-mapping-patterns topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [GCP discovery, Available cloud discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Google Cloud Platform \(GCP\) Organization discovery with Patterns The ServiceNow Discovery application uses the Discover Google Organization discovery pattern to find GCP Organization projects and resources. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store. ## Request apps on the Store Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html). ## Prerequisites For details on system requirements and family compatibility, view the application listing on the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) website. - **GCP Organization structure** Verify that a GCP Organization resource is structured correctly, with projects underneath it in a miscellaneous hierarchy. Ensure that all projects under the GCP Organization resource have the Compute Engine API enabled. - **Service Account user settings** Check that Service Account users have access to the GCP Organization resource node. Verify that Service Account users are members of all other projects located under the GCP Organization resource node. Ensure that Service Account users have the following Cloud Identity and Access Management credentials for projects under the GCP Organization resource: - resourcemanager.folders.list - resourcemanager.organizations.get - resourcemanager.projects.get - resourcemanager.projects.list - **Credentials for API elements** During the discovery, the pattern uses the following API elements. The user that was added to the credentials in the instance must have permissions to send these queries. - https://cloudresourcemanager.googleapis.com/v1/\{name=organizations/\*\} - https://cloudresourcemanager.googleapis.com/v1/projects - https://cloudresourcemanager.googleapis.com/v2/folders:search - **Credentials for creating a discovery schedule** Configure the following credentials: 1. Create GCP credentials. 2. Create a GCP Service Account: 1. Credentials: The GCP credentials. 2. Account ID: The Google Service Account ID. 3. Datacenter type: Select **cmdb\_ci\_google\_datacenter**. 3. Create a discovery schedule. - **\(Optional\) Create a serverless discovery schedule** Create a discovery schedule to perform targeted discovery of GCP Organization resources. 1. Navigate to **Discovery** > **Discovery Schedules**. 2. Click **New** and then fill in the form.
| Field | Description |
|---|---|
| Name | Name for the Discovery schedule. For example, `Discover GCP Organization`. |
| Discover | Discover type. Select **Serverless**. |
| MID Server | Name of the MID Server. |
| Active | Option for enabling this schedule for discovery. Select this check box to enable discovery. |
| Table and field | Description |
|---|---|
| Organization \[cmdb\_ci\_cloud\_org\] | |
| name | The name of the organization resource. |
| object\_id | The ID of the organization resource. |
| time | The time the organization resource was created in GCP. |
| operational\_status | Current operational status. One of the following:- Operational - Non-Operational - Repair in Progress - DR Standby - Ready - Retired |
| Folder \[cmdb\_ci\_gcp\_folder\] | |
| name | The name of the organization folder. |
| parent\_id | The ID of the parent resource. |
| parent\_type | The type of the parent resource. Can be `organization` or `folder`. |
| time | The time the resource was created in GCP. |
| status | The status of the folder according to the `lifecycleState` status in GCP. |
| object\_id | The ID of the organization folder. |
| Project \[cmdb\_ci\_gcp\_project\] | |
| name | The name of the project. |
| project\_id | The ID of the project. |
| parent\_id | The ID of the parent folder resource. |
| parent\_type | The type of the parent resource. Can be `organization` or `folder`. |
| time | The time the resource was created in GCP. |
| operational\_status | The status of the folder according to the `lifecycleState` status in GCP. |
| object\_id | The ID of the project. |
| discovery\_credentials | GCP account credentials. |
| Resource \[cmdb\_key\_value\] | |
| key | The key, or label, associated with the GCP project. For example, `country`. |
| value | The project label value assigned to the GCP project. For example, `ca`. |
| configuration\_item | The URL or path of the CI. |