Interface VpnConnection.VpcProjectOrBuilder (0.38.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
TypeDescription
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
TypeDescription
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=607

Optional. The service account in the VPC project configured by user. It is used to create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this SA is changed during/after a VPN connection is created, you need to remove the Cloud Router and Cloud VPN resources in |project_id|. It is in the form of service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.

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

Returns
TypeDescription
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=607

Optional. The service account in the VPC project configured by user. It is used to create/delete Cloud Router and Cloud HA VPNs for VPN connection. If this SA is changed during/after a VPN connection is created, you need to remove the Cloud Router and Cloud VPN resources in |project_id|. It is in the form of service-{project_number}@gcp-sa-edgecontainer.iam.gserviceaccount.com.

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

Returns
TypeDescription
ByteString

The bytes for serviceAccount.