Interface VpnConnection.VpcProjectOrBuilder (0.51.0)

public static interface VpnConnection.VpcProjectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProjectId()

public abstract String getProjectId()

The project of the VPC to connect to. If not specified, it is the same as the cluster project.

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

The project of the VPC to connect to. If not specified, it is the same as the cluster project.

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getServiceAccount() (deprecated)

public abstract String getServiceAccount()

Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=680

Optional. Deprecated: do not use.

string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes() (deprecated)

public abstract ByteString getServiceAccountBytes()

Deprecated. google.cloud.edgecontainer.v1.VpnConnection.VpcProject.service_account is deprecated. See google/cloud/edgecontainer/v1/resources.proto;l=680

Optional. Deprecated: do not use.

string service_account = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.