GCP Storage pattern-based discovery

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • Summarize
    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 Storage Pattern-Based Discovery

    The GCP Storage pattern-based discovery feature in ServiceNow enables customers to identify and map Google Cloud Platform (GCP) persistent disks and snapshots within their cloud environment. To utilize this feature, customers may need to update to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

    Show full answer Show less

    Key Features

    • Discovery and Data Collection: Automatically collects data related to GCP resources such as persistent disks, snapshots, and their associated metadata, which is then populated in the Configuration Management Database (CMDB).
    • Data Structure: GCP storage discovery involves several key tables, including Cloud Service Account, Availability Zone, Google Datacenter, Storage Volume, and Storage Volume Snapshot, each containing essential details such as names, IDs, and operational states of the resources.
    • CI Relationships: Establishes relationships among various configuration items (CIs) to provide a comprehensive view of how GCP storage resources interact with one another and their environments.
    • Tag Discovery: Collects labels (tags) from GCP resources and populates them into the Key Value table for better organization and identification of storage volumes and snapshots.

    Key Outcomes

    By implementing GCP Storage pattern-based discovery, ServiceNow customers can enhance their cloud resource visibility and management capabilities. This leads to improved operational efficiency, accurate tracking of storage resources, and better alignment of cloud infrastructure with business needs.

    Discovery and Service Mapping Patterns finds GCP persistent disks and snapshots on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

    Pattern-based discovery and mapping requirements

    Verify the GCP discovery prerequisites section in Google Cloud Platform (GCP) Cloud discovery using Patterns.

    Data collected by Discovery during horizontal discovery

    Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - Storage pattern.

    Table 1. Cloud Service Account [cmdb_ci_cloud_service_account]
    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 2. Availability Zone [cmdb_ci_availability_zone]
    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 3. Google Datacenter [cmdb_ci_google_datacenter]
    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 4. Storage Volume [cmdb_ci_storage_volume]
    Field Description
    Object ID [object_id] The unique identifier for the persistent disk.
    Name [name] The name of the persistent disk.
    Volume ID [volume_id] The unique identifier for the persistent disk.
    Storage type [storage_type] The type of persistent disk.

    For example: pd-standard, pd-balanced, or pd-ssd.

    Size bytes [size_bytes] The size of the persistent disk in bytes.
    State [state] The operational state of the disk.

    For example: Available, In Use, or Terminated.

    Install Status [install_status] Install status of the resource. Default value is Installed.
    Description [short_description] The description of the persistent disk.
    Table 5. Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]
    Field Description
    Object ID [object_id] The unique identifier for the snapshot.
    Name [name] The name of the snapshot.
    Volume Name [volume_name] The name of the source persistent disk.
    Capacity [capacity] The storage size of the snapshot in bytes.
    Table 6. Virtual Machine Instance [cmdb_ci_vm_instance]
    Field Description
    Disks size (GB) [disks_size] The total size of all attached disks in gigabytes (GB).

    CI relationships

    The Google Cloud Platform (GCP) - Storage pattern creates these relationships to support GCP storage discovery.

    CI Relationship CI
    Storage Volume [cmdb_ci_storage_volume] Hosted on::Hosts Google Datacenter [cmdb_ci_google_datacenter]
    Availability Zone [cmdb_ci_availability_zone] Contains::Contained by Storage Volume [cmdb_ci_storage_volume]
    Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] Hosted on::Hosts Cloud Service Account [cmdb_ci_cloud_service_account]
    Storage Volume [cmdb_ci_storage_volume] Replicates to::Replicated by Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]
    Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] Provisioned From::Provisioned Storage Volume [cmdb_ci_storage_volume]
    Key Value [cmdb_key_value] References Storage Volume [cmdb_ci_storage_volume]
    Key Value [cmdb_key_value] References Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot]
    Google Datacenter [cmdb_ci_google_datacenter] Hosted on::Hosts Cloud Service Account [cmdb_ci_cloud_service_account]
    Google Datacenter [cmdb_ci_google_datacenter] Contains::Contained by Availability Zone [cmdb_ci_availability_zone]

    GCP Tag discovery

    The Google Cloud Platform (GCP) - Storage pattern collects labels and populates them in two entries in the Key Value [cmdb_key_value] table. One entry references the Storage Volume table, the other entry references the Storage Volume Snapshot table.

    Table 7. Key Value [cmdb_key_value]
    Field Description
    Key [key] The label key.
    Value [value] The label value.
    Configuration item [configuration_item] References the Storage Volume [cmdb_ci_storage_volume] table.
    Configuration item [configuration_item] References the Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] table.