GCP Storage pattern-based discovery

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 2 minutes de lecture
  • 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.

    Tableau 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].
    Tableau 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.
    Tableau 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.
    Tableau 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.
    Tableau 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.
    Tableau 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.

    Tableau 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.