# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/gcp/gcp.compute_public_delegated_prefix.dataset.md

---
title: Public Delegated Prefix
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Public Delegated Prefix
---

# Public Delegated Prefix

A Public Delegated Prefix in Google Cloud is a reserved block of public IP addresses that a project can delegate to other projects within the same organization. It allows centralized management of public IP space while enabling controlled distribution to different teams or environments. This helps maintain consistent network policies and efficient IP utilization across multiple projects.

```
gcp.compute_public_delegated_prefix
```

## Fields

| Title                        | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Description |
| ---------------------------- | ---- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                         | core | string        |
| allocatable_prefix_length    | core | int64         | The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ancestors                    | core | array<string> |
| byoip_api_version            | core | string        | Output only. [Output Only] The version of BYOIP API.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| creation_timestamp           | core | timestamp     | Output only. [Output Only] Creation timestamp inRFC3339 text format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| datadog_display_name         | core | string        |
| description                  | core | string        | An optional description of this resource. Provide this property when you create the resource.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| gcp_status                   | core | string        | [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. Possible values: ['ANNOUNCED', 'ANNOUNCED_TO_GOOGLE', 'ANNOUNCED_TO_INTERNET', 'DELETING', 'INITIALIZING', 'READY_TO_ANNOUNCE']. Values descriptions: ['The public delegated prefix is active.', 'The prefix is announced within Google network.', 'The prefix is announced to Internet and within Google.', 'The public delegated prefix is being deprovsioned.', 'The public delegated prefix is being initialized and addresses cannot be created yet.', 'The public delegated prefix is currently withdrawn but ready to be announced.'] |
| id                           | core | string        | Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ip_cidr_range                | core | string        | The IP address range, in CIDR format, represented by this public delegated prefix.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| is_live_migration            | core | bool          | If true, the prefix will be live migrated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| kind                         | core | string        | Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| labels                       | core | array<string> |
| mode                         | core | string        | The public delegated prefix mode for IPv6 only.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| name                         | core | string        | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| organization_id              | core | string        |
| parent                       | core | string        |
| parent_prefix                | core | string        | The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| project_id                   | core | string        |
| project_number               | core | string        |
| public_delegated_sub_prefixs | core | json          | The list of sub public delegated prefixes that exist for this public delegated prefix.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| region                       | core | string        | Output only. [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| region_id                    | core | string        |
| resource_name                | core | string        |
| self_link                    | core | string        | Output only. [Output Only] Server-defined URL for the resource.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| tags                         | core | hstore_csv    |
| zone_id                      | core | string        |