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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# GCP Spanner

# GCP Spanner pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 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 GCP Spanner pattern-based discovery

The GCP Spanner pattern-based discovery enables ServiceNow customers to identify and map GCP Spanner instances and databases within their Google Cloud environment.
This process uses Discovery and Service Mapping Patterns to automatically populate your CMDB with detailed information about Spanner resources.
To ensure full functionality, you might need to update to the latest Discovery and Service Mapping Patterns application from the ServiceNow Store.
Show full answer Show less  

## Discovery and Data Collection

This discovery pattern gathers comprehensive data during horizontal discovery, populating various CMDB tables with key attributes about your cloud environment:

* **Cloud Service Account**: Captures project identification details, including the account ID, object ID, and datacenter type.
* **Availability Zone**: Records the zone name, description, and operational state (Available or Terminated).
* **Google Datacenter**: Stores datacenter or region names, unique GCP object IDs, and descriptions.
* **Cloud Database**: Contains details about Spanner instances such as resource names, display names, install and operational status, state, type, node count, processing units, and fully qualified domain names.
* **Database**: Holds Spanner database names, types, and install status.

## Configuration Item Relationships

The pattern establishes essential CI relationships to accurately reflect your GCP Spanner environment within the CMDB, such as:

* Datacenters containing availability zones.
* Availability zones hosting cloud service accounts.
* Cloud databases hosted on datacenters, containing databases.
* Replication relationships between cloud databases across datacenters.
* Key value tags referencing cloud databases.

## GCP Tag Discovery

The pattern also extracts tags associated with Spanner instances and stores them in the Key Value \[cmdbkeyvalue\] table, linking tag keys and values directly to the corresponding cloud database CIs. This enables enhanced tagging visibility and management within your CMDB.  
Discovery and Service Mapping Patterns finds GCP Spanner instances and databases on your cloud environment. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

## Pattern-based discovery and mapping requirements {#gcp-spanner-db-pattern__section_prerequisites}

Verify the GCP discovery prerequisites section in [Google Cloud Platform (GCP) Cloud discovery using Patterns](https://www.servicenow.com/docs/hH4wPjzyLr0pmFmj6Ib5TA "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.").

## Data collected by Discovery during horizontal discovery {#gcp-spanner-db-pattern__section_data_collected}

Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - Spanner DB pattern.  
{#gcp-spanner-db-pattern__table_ps1_twd_wfc__entry__2}

| Field | Description |
|-|-|
| Account Id \[account_id\] | Name of the project used for the discovery. |
| Object ID \[object_id\] | Name of the project used for the discovery. |
| Datacenter Type \[datacenter_type\] | Datacenter type: Google Datacenter \[cmdb_ci_google_datacenter\]. |
[Table 1. Cloud Service Account \[cmdb_ci_cloud_service_account\]]

{#gcp-spanner-db-pattern__table_ps1_twd_wfc} {#gcp-spanner-db-pattern__table_mk4_2yd_wfc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Name of the availability zone. |
| Description \[short_description\] | Description of the availability zone. |
| State \[state\] | State of the Availability Zone. Possible values are Available or Terminated. |
[Table 2. Availability Zone \[cmdb_ci_availability_zone\]]

{#gcp-spanner-db-pattern__table_mk4_2yd_wfc} {#gcp-spanner-db-pattern__table_vbd_1zd_wfc__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | Datacenter or region name. |
| Region \[region\] | Datacenter or region name. |
| Object ID \[object_id\] | Unique identifier allocated by GCP for this resource. |
| Description \[short_description\] | Datacenter or region description. |
[Table 3. Google Datacenter \[cmdb_ci_google_datacenter\]]

{#gcp-spanner-db-pattern__table_vbd_1zd_wfc}  
{#gcp-spanner-db-pattern__table_cloud_database__entry__2}

| Field | Description |
|-|-|
| Object ID \[object_id\] | The full resource name of the Spanner instance. |
| Name \[name\] | The display name of the Spanner instance. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
| Operational status \[operational_status\] | Operational status of the resource. Default value is Operational. |
| State \[state\] | The state of the Spanner instance. |
| Type \[type\] | The type of cloud database resource. |
| Node Count \[node_count\] | The number of nodes allocated to the Spanner instance. |
| Processing Units \[processing_units\] | The number of processing units allocated to the Spanner instance. |
| Fully qualified domain name \[fqdn\] | The fully qualified domain name (FQDN) for the Spanner instance. |
[Table 4. Cloud DataBase \[cmdb_ci_cloud_database\]]

{#gcp-spanner-db-pattern__table_cloud_database}  
{#gcp-spanner-db-pattern__table_database__entry__2}

| Field | Description |
|-|-|
| Name \[name\] | The name of the Spanner database. |
| Type \[type\] | The type of database. |
| Install Status \[install_status\] | Install status of the resource. Default value is Installed. |
[Table 5. Database \[cmdb_ci_database\]]

{#gcp-spanner-db-pattern__table_database}

## CI relationships {#gcp-spanner-db-pattern__section_relationships}

The Google Cloud Platform (GCP) - Spanner DB pattern creates these relationships to support GCP Spanner discovery.  
{#gcp-spanner-db-pattern__table_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Google Datacenter \[cmdb_ci_google_datacenter\] | Contains::Contained by | Availability Zone \[cmdb_ci_availability_zone\] |
| Google Datacenter \[cmdb_ci_google_datacenter\] | Hosted on::Hosts | Cloud Service Account \[cmdb_ci_cloud_service_account\] |
| Cloud DataBase \[cmdb_ci_cloud_database\] | Contains::Contained by | Database \[cmdb_ci_database\] |
| Cloud DataBase \[cmdb_ci_cloud_database\] | Hosted on::Hosts | Google Datacenter \[cmdb_ci_google_datacenter\] |
| Cloud DataBase \[cmdb_ci_cloud_database\] | Replicates to::Replicated by | Google Datacenter \[cmdb_ci_google_datacenter\] |
| Key Value \[cmdb_key_value\] | References | Cloud DataBase \[cmdb_ci_cloud_database\] |
[ ]

{#gcp-spanner-db-pattern__table_relationships}

## GCP Tag discovery {#gcp-spanner-db-pattern__section_tag_discovery}

The Google Cloud Platform (GCP) - Spanner DB pattern collects tags and populates them in the Key Value \[cmdb_key_value\] table.  
{#gcp-spanner-db-pattern__table_key_value__entry__2}

| Field | Description |
|-|-|
| Key \[key\] | Tag name. |
| Value \[value\] | Tag value. |
| Configuration item \[configuration_item\] | References the Cloud DataBase \[cmdb_ci_cloud_database\] table. |
[Table 6. Key Value \[cmdb_key_value\]]

{#gcp-spanner-db-pattern__table_key_value}

