Subnet constructor
Creates a new Subnet.
name 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 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.
Implementation
const Subnet({
this.name,
this.project,
});