## ipam.global.gdc.goog/v1

Contains API Schema definitions for the IP Address Management (IPAM) global API group.

### PropagationStatus

*Appears in:*
- [SubnetStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetstatus)

| Field | Description |
|---|---|
| `zone` *string* | The name of the zone in which the Subnet is propagated to. |
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* |   |

### Subnet

Represents the request and allocation information of a global IP address range in CIDR format.

*Appears in:*
- [SubnetList](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetlist)

| Field | Description |
|---|---|
| `apiVersion` *string* | `ipam.global.gdc.goog/v1` |
| `kind` *string* | `Subnet` |
| `metadata` *[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#objectmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `spec` *[SubnetSpec](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetspec)* |   |
| `status` *[SubnetStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetstatus)* |   |

### SubnetList

Represents a collection of `Subnet` resources.

| Field | Description |
|---|---|
| `apiVersion` *string* | `ipam.global.gdc.goog/v1` |
| `kind` *string* | `SubnetList` |
| `metadata` *[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#listmeta-v1-meta)* | Refer to Kubernetes API documentation for fields of `metadata`. |
| `items` *[Subnet](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnet) array* |   |

### SubnetSpec

Defines the specification of a `Subnet`.

*Appears in:*
- [Subnet](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnet)

| Field | Description |
|---|---|
| `type` *SubnetType* | The type of the Subnet in the context of the IPAM tree architecture. |
| `ipv4Request` *SubnetRequest* | The request details for acquiring the IPv4 CIDR. |
| `ipv6Request` *[SubnetRequest](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetrequest)* | The request details for acquiring the IPv6 CIDR. |
| `zone` *string* | The name of the zone which this Subnet belongs to. If left empty, it is treated as a global only resource. |
| `parentReference` *SubnetReference* | The reference to the parent of this Subnet. This Subnet will get IP allocated from the parent if specified. The parent name must be provided if there is a parent. Namespace of the parent can only be omitted when the parent is in the same namespace as this Subnet. |
| `propagationStrategy` *ZonePropagationStrategy* | The strategy used to propagate the Subnet to zonal API server. |

### SubnetStatus

Represents the status of the `Subnet`.

*Appears in:*
- [Subnet](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnet)

| Field | Description |
|---|---|
| `conditions` *[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#condition-v1-meta) array* | The observations of the overall state of the resource. Known condition types: Ready. |
| `allocatedParent` *[SubnetReference](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetreference)* | The information of the single parent Subnet from which the CIDRs are allocated from. Empty if the Subnet doesn't have a parent. |
| `ipv4Allocation` *SubnetAllocation* | The allocation information for the IPv4 IP addresses. |
| `ipv6Allocation` *[SubnetAllocation](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetallocation)* | The allocation information for the IPv6 IP addresses. |
| `childrenRefs` *[SubnetReference](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#subnetreference) array* | The references to the children which are allocated from this Subnet. This field doesn't apply to Leaf type Subnets. |
| `zonePropagations` *[PropagationStatus](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/apis/service/ipam/v1/global-ipam-v1.md.txt#propagationstatus) array* | The propagation status of each zone that the Subnet propagated to. This field doesn't apply to Subnet without PropagationStrategy. |
| `consumerRef` *ConsumerRef* | The active consumer of the subnet. |