--- title: GCP virtual server pattern-based discovery description: Discovery and Service Mapping Patterns finds GCP Virtual Machine \(VM\) instances and related resources 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/gcp-virtual-server-pattern.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: 7 keywords: [GCP Virtual Server, GCP VM instance, Google Cloud virtual machine, GCP discovery, GCP patterns, Compute Engine, Google Cloud Platform Virtual Server discovery] breadcrumb: [GCP discovery, Available cloud discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # GCP virtual server pattern-based discovery Discovery and Service Mapping Patterns finds GCP Virtual Machine \(VM\) instances and related resources 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 Verify the GCP discovery prerequisites section in [Google Cloud Platform \(GCP\) Cloud discovery using Patterns](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/gcp-cloud-discovery-patterns.md). ## Data collected by Discovery during horizontal discovery Discovery populates the data in the CMDB when running the Google Cloud Platform \(GCP\) - Virtual Server pattern. |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\].| |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.| |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.|
| Field | Description |
|---|---|
| Object ID \[object\_id\] | Unique identifier for the VM instance. |
| VM Instance ID \[vm\_inst\_id\] | Unique identifier for the VM instance. |
| Name \[name\] | Name of the VM instance. |
| State \[state\] | Operational state of the virtual machine.For example: On, Off, or Terminated. |
| Install Status \[install\_status\] | Install status of the resource. Default value is Installed. |
| CPUs \[cpus\] | Number of virtual CPUs \(vCPUs\) allocated to the instance. |
| Memory \(MB\) \[memory\] | Amount of memory in megabytes \(MB\) allocated to the instance. |
| Termination Protection \[termination\_protection\] | Indicates whether deletion protection is enabled and the instance can't be deleted.Possible values are true or false. |
| Disks \[disks\] | Number of disks attached to the VM instance. |
| Disks size \(GB\) \[disks\_size\] | Total size of all disks attached to the instance in gigabytes \(GB\). |
| Network adapters \[nics\] | Number of network interfaces attached to the VM instance. |
| IP Address \[ip\_address\] | Primary internal IP address of the instance. |
| Field | Description |
|---|---|
| Object ID \[object\_id\] | Unique identifier for the persistent disk volume. |
| Name \[name\] | Name of the disk volume. |
| Volume ID \[volume\_id\] | Volume identifier. |
| Storage type \[storage\_type\] | Type of persistent disk.For example: **pd-balanced**, **pd-ssd**, or **pd-standard**. |
| Size bytes \[size\_bytes\] | Size of the volume in bytes. |
| State \[state\] | State of the volume.For example: Available, In Use, or Terminated. |
| Install Status \[install\_status\] | Install status of the resource. Default value is Installed. |
| Description \[short\_description\] | Description of the volume. |
| Field | Description |
|---|---|
| Name \[name\] | Name of the operating system \(OS\) image. |
| Object ID \[object\_id\] | Unique identifier for the OS image. |
| Image Type \[image\_type\] | Source type of the image.For example: RAW or machine. |
| Image Source \[image\_source\] | Source of the image in the format: **disk\_name/disk\_id** or **snapshot\_name/snapshot\_id**. |
| FQDN \[fqdn\] | Fully qualified domain name \(FQDN\) of the image resource. |
| Provider \[provider\] | The cloud provider, which is **GCP**. This field is only populated in Cloud Image \[cmdb\_ci\_cloud\_os\_image\] table. |
| Field | Description |
|---|---|
| Object ID \[object\_id\] | Unique identifier for the machine type. |
| Name \[name\] | Name of the machine type. For example: **n1-standard-4**. |
| Short description \[short\_description\] | Description of the machine type configuration. |
| vCPUs \[vcpus\] | Number of vCPUs in the machine type. |
| Memory MB \[memory\_mb\] | Amount of memory available in the machine type in MB. |
| Local storage GB \[local\_storage\_gb\] | Amount of local storage space in GB. |
| Zone \[zone\] | Availability zone where the machine type is available.For example: **us-west4-b**. |
| Provider \[provider\] | The cloud provider, which is **GCP**. This field is only populated in Cloud Hardware Type \[cmdb\_ci\_cloud\_hardware\_type\] table. |
| Field | Description |
|---|---|
| Key \[key\] | The license type key, which is one of the following:- Windows\_OS\_License\_Type\_automatic - RHEL\_OS\_License\_Type\_automatic - SQL\_Server\_License\_Type\_automatic |
| Value \[value\] | The license model, which is one of the following:- BYOL - License Included |
| Configuration item \[configuration\_item\] | References the Virtual Machine Instance \[cmdb\_ci\_vm\_instance\] table. |