Struct Subnet (0.5.0)

The subnet in which to house the connector

Fields

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_id

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.

Implementations

new

 fn new() -> Self

set_name

 fn set_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [name][crate::model::connector::Subnet::name].

set_project_id

 fn set_project_id<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [project_id][crate::model::connector::Subnet::project_id].