Reference documentation and code samples for the Serverless VPC Access V1 API class Google::Cloud::VpcAccess::V1::Connector::Subnet.
The subnet in which to house the connector
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — 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}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — 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}
Returns
- (::String) — 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
def project_id() -> ::String
Returns
- (::String) — 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.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.