Interface VpnConnection.VpcProjectOrBuilder (0.9.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()

public abstract String getServiceAccount()

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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for serviceAccount.