---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Discovery for Google Cloud Platform

# Discovery for Google Cloud Platform {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Discovery for Google Cloud Platform

Discovery for Google Cloud Platform (GCP) enables ServiceNow customers to automatically identify and map GCP resources and their components within their CMDB.
This integration enhances visibility for multiple ServiceNow products, such as Cloud Provisioning and Governance, by keeping cloud infrastructure data current and accurate.
Show full answer Show less  
Discovery supports both global and regional GCP resources, using multiple patterns that require keeping the Discovery and Service Mapping Patterns application up to date.

## Key Features

* **Discoverable Resources:** Includes global and regional static external IP addresses, load balancers, images, subnets, snapshots, managed instance groups, instance templates, persistent disks, VPC networks, and firewalls.
* **Pattern Updates:** Requires the latest Discovery and Service Mapping Patterns (starting version 1.8.0) and CMDB CI Class Models (starting version 1.49.0) for effective discovery.
* **Dedicated MID Server:** Must have 16 cores, 8 GB RAM, and 4 GB JVM memory, with internet access to connect to the cloud environment.
* **Google Cloud Specific Configurations:** Enable properties for discovering BigQuery and Bigtable, set user roles to Viewer in Google Cloud IAM, and configure Google API credentials and service accounts.
* **Cloud Logging Integration:** Supports collection of cloud logging events via Google Cloud Logging to auto-update CMDB records.
* **Tag-based Discovery and CI Relationships:** Activates cloud-related CI relationships to include discovered components into service instances, improving service mapping accuracy.
* **Improved Query Performance:** Optionally populate Service Account and Logical Datacenter fields directly in cloud CIs to enhance performance (available from version 1.30.2 of Discovery and Service Mapping Patterns).
* **REST API Permissions Reference:** A downloadable spreadsheet provides necessary user permissions, pattern details, CI classes, and vendor documentation links to facilitate proper configuration.

## Practical Steps for Customers

* Ensure all relevant applications and patterns are updated to the required minimum versions.
* Deploy a dedicated, properly sized MID Server with internet access for cloud discovery.
* Configure Google Cloud IAM roles by assigning the Viewer role to the service account used for discovery.
* Set up Google API credentials and create service accounts specifically for discovery tasks.
* Enable cloud logging event collection to maintain real-time CMDB updates.
* Activate cloud CI relationships for service mapping integration.
* Create and schedule Discovery jobs within the Discovery Admin Workspace to automate GCP resource identification.
* Use the provided REST API permissions spreadsheet to verify that all necessary permissions are granted for discovery operations.

## Benefits

By leveraging Discovery for Google Cloud Platform, ServiceNow customers gain comprehensive visibility into their cloud infrastructure, enabling accurate configuration management, improved governance, and enhanced service mapping. This leads to more reliable cloud operations and better alignment between cloud services and enterprise IT management.  
Discovery finds Google Cloud Platform and its components. 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 new or enhanced Patterns on the ServiceNow® Store {#google-gcp-discovery-pattern__id_ztn_lkb_5yb}

Visit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/application/06a71b1367e4130051c9027e2685ef1e/1.6.0?referer=/store/search?listingtype=allintegrations%253Bancillary_app%253Bcertified_apps%253Bcontent%253Bindustry_solution%253Boem%253Butility%253Btemplate&q=Patterns&sl=sh) to view all the available updates 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).{#google-gcp-discovery-pattern__p_d21_nfg_h1c}
Data discovered for the Google Cloud Platform components offers visibility
for multiple ServiceNow products, including Cloud Provisioning and Governance.

Discovery uses multiple patterns to find GCP components.  
You can discover global and regional resources.{#google-gcp-discovery-pattern__table_anf_bxf_tsb__entry__2}

| Global | Regional |
|-|-|
| Global static external IP addresses | Regional static external IP addresses |
| Global Load Balancers (Global Http Load Balancers) | Regional Load Balancers (Regional HTTP Load Balancers, TCP/UDP Load Balancers) |
| Images | Subnets |
| Snapshots | Regional managed instance groups |
| Instance Templates | Regional persistent disks |
| VPC Network |   |
| Firewalls |   |
[Table 1. Discoverable global and regional GCP resources]

{#google-gcp-discovery-pattern__table_anf_bxf_tsb}

## Requirements for GCP discovery {#google-gcp-discovery-pattern__section_l3z_nwb_tfc}

Verify that the applications are up to date.
:
    * Discovery and Service Mapping Patterns starting version 1.8.0 (September 2023)
    * CMDB CI Class Models starting version 1.49.0 (September 2023)
    * Visibility Content starting version 6.13.0 (September 2023)
    {#google-gcp-discovery-pattern__ul_aln_qlb_5yb}

Verify the MID Server requirements
:
    * Use a dedicated MID Server for cloud discovery. The MID Server must have 16 Cores, 8 GB with 4 GB Java Virtual Machine (JVM) memory allocation. For information on verifying MID Server specifications, see KB article [KB2156327](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2156327).
    * Deploy and connect the dedicated MID Server with internet access.
    * For more information on the MID Server configurations, see [Install and configure MID Servers to access cloud environments](https://www.servicenow.com/docs/J5R6fEzDsXUAwkST18d7jg "Install and configure the MID Servers correctly to enable ITOM products to access to the cloud resources.").
    {#google-gcp-discovery-pattern__ul_xdh_b33_ydc}

Verify Google Cloud BigQuery and Google Cloud Bigtable requirements
:   To discover Google Cloud BigQuery and Google Cloud Bigtable, navigate to AllDiscoveryMID ServerProperties and ensure that the sn_itom_pattern.google_dbservice_table_collection property is set to True.

Verify user role settings

:   Set the user permission for the Google Cloud Platform member to Viewer:

    1. In the Google Cloud Platform console, navigate to IAM.
    2. Select the relevant member from the list and click the Edit icon.
    3. In the Edit permissions window, select <kbd class="ph userinput">Viewer</kbd> from the Role list.
    4. Click Save.
    {#google-gcp-discovery-pattern__ol_w2h_ctl_b3b}

Configure Google API Credentials
:   For more information, see [Configure the Google API credentials for Cloud Discovery](https://www.servicenow.com/docs/jDr5WSecOCRZZ0pZXlVAUQ "Create Google API credentials to allow Cloud Discovery to access the data on your Google account securely.").

Create a Google Cloud Platform service account
:   For more information, see [Create GCP service accounts](https://www.servicenow.com/docs/aPouvBFAvaXojnj8qxYBkQ "Create Google Cloud Platform (GCP) service accounts on the ServiceNow AI Platform to access your GCP account during GCP discovery.").

Enable collecting cloud logging events
:   The Google Cloud Platform patterns can collect cloud logging events generated by the native Google Cloud APIs. [Configure the Google Cloud Logging service to auto-update the CMDB](https://www.servicenow.com/docs/MaVDYaoPNWQMPtPGWD6m2g "You can activate the Google Cloud Logging (formerly Stackdriver Logging) service to auto-update Configuration Management Database (CMDB) configuration items (CI) data whenever Google Cloud Connector or your Google account makes a life-cycle state or configuration change to a Google Cloud Platform (GCP) resource. As a result, the CI data in the CMDB is updated without having to wait for Discovery to run.").

Activate the cloud-related CI relationships
:   To include discovered components into service instances, enable CI relationships used in tag-based discovery by Service Mapping. These CI relationships are available from the 1.0.68 release on the ServiceNow Store. For operational steps, see [Tag-based discovery configuration](https://www.servicenow.com/docs/WMqYQ9cztLwkmoyPJWnmIw "You can refine the default configuration to control which CIs Service Mapping includes in application services during the tag-based discovery process.").

Verify that a Discovery schedule is configured
:   For more information, see [Create a GCP Discovery schedule in Discovery Admin Workspace](https://www.servicenow.com/docs/FbrkPQwIKzGpvW5OnXDNPA "Use the Discovery Admin Workspace dashboard to create a Google Cloud Platform (GCP) Discovery schedule.").

(Optional) Populate Service Account and Logical Datacenter fields in cloud CIs
:   Starting with Discovery and Service Mapping Patterns version 1.30.2, you can improve query performance by populating Service Account and Logical Datacenter fields directly in cloud CIs. For more information, see [Improved query performance with direct field population in CI tables](https://www.servicenow.com/docs/H_wfVmrRA2K_BT9VRkb6iQ "The Populate Service Account and LDC IN CMDB scheduled job populates the Service Account and Logical Datacenter fields in cloud configuration item (CI) tables, and the Virtual Machine Object field in the Hardware [cmdb_ci_hardware] table. This direct population reduces query complexity and improves query performance.").

## Verify the REST API Permissions {#google-gcp-discovery-pattern__id_ppz_r33_ydc}

Download the [Cloud Discovery patterns spreadsheet](https://downloads.docs.servicenow.com/resource/enus/api/servicenow-discovery-patterns-api-details.xlsx) so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available
quarterly, so check periodically to be sure you have the latest version of the spreadsheet.{#google-gcp-discovery-pattern__cloud-discovery-api-paragraph}

## Data collected by Service Mapping during tag-based discovery {#google-gcp-discovery-pattern__section_mtq_nbg_ppb}

Service Mapping uses tag-based discovery to create service instance maps including the Cloud components. The Service Mapping application comes with the following preconfigured CI relationships used for tag-based discovery. These CI relationships are available from the 1.0.68 release on the ServiceNow Store. {#google-gcp-discovery-pattern__id_yqp_xhy_qpb__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Configuration Item \[cmdb_ci\] | Hosted on::Hosts | Logical Datacenter \[cmdb_ci_logical_datacenter\] |
| Logical Datacenter \[cmdb_ci_logical_datacenter\] | Hosted on::Hosts | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
[ ]

{#google-gcp-discovery-pattern__id_yqp_xhy_qpb}
**Related reference**   

* [Google Cloud Platform (GCP) Cloud components discovery using Patterns](https://www.servicenow.com/docs/M4N6KVOmfeA1DCboNawaBg "Discovery and Service Mapping Patterns uses patterns to discover components of the Google Cloud Platform (GCP) deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.")

*[\>]: and then


