--- title: Google Cloud Platform \(GCP\) Cloud Functions discovery using patterns description: Discovery and Service Mapping Patterns uses the Google Cloud Platform \(GCP\) - Cloud Functions pattern to discover Cloud Functions in a 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/gcp-cloud-functions-patterns.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: 3 keywords: [Cloud Functions, GCP Cloud Functions, Google Cloud Platform Cloud Functions, Google Cloud Platform \(GCP\) Cloud Functions, Cloud Functions pattern, GCP Cloud Functions pattern, Google Cloud Platform Cloud Functions pattern, Google Cloud Platform \(GCP\) Cloud Functions pattern] breadcrumb: [GCP discovery, Available cloud discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Google Cloud Platform \(GCP\) Cloud Functions discovery using patterns Discovery and Service Mapping Patterns uses the Google Cloud Platform \(GCP\) - Cloud Functions pattern to discover Cloud Functions in a 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. ## Pattern-based discovery and mapping requirements - **Verify the GCP discovery prerequisites** For more information, see the prerequisites section in [Google Cloud Platform \(GCP\) Cloud discovery using Patterns](). - **Enable the relevant pattern** The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see [Activate a disabled pattern](). ## Data collected by Discovery during horizontal discovery Discovery populates the data in the CMDB when running the Google Cloud Platform \(GCP\) - Cloud Functions 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 |
|---|---|
| Version \[version\] | Version ID of the function, available only for Gen1 Cloud Functions. |
| Object ID \[object\_id\] | Name fetched from the API response.For example: `projects/automation-226410/locations/us-central1/functions/auto-labeller`. |
| Name \[name\] | Name parsed from the API response.For example: `auto-labeller`. |
| Function Last Modified \[function\_last\_modified\] | Timestamp indicating the last time the function was updated. |
| CodeSha256 \[codesha256\] | SHA-256 hash algorithm of the function's code used to verify the integrity of the build.For example: `273a583f-ef1c-49c2-9bae-7d21bf3b5f7a`. |
| Language \[language\] | Runtime environment or programming language used for the function. |
| Install Status \[install\_status\] | Install status of the function. Default value is Installed. |
| Operational status \[operational\_status\] | Operational status of the function. Default value is Operational. |