# Class Subnet (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.2 1.7.1 1.6.0 1.5.2 1.4.1 1.3.2 1.2.1 1.1.0 1.0.2 0.2.1 0.1.0

    Subnet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The subnet in which to house the connector

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName} |
| `project_id` | `str` Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued. |