Interface Connector.SubnetOrBuilder (2.33.0)

public static interface Connector.SubnetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getProjectId()

public abstract String getProjectId()

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.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

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.

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.