Interface WorkstationCluster.PrivateClusterConfigOrBuilder (0.43.0)

public static interface WorkstationCluster.PrivateClusterConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedProjects(int index)

public abstract String getAllowedProjects(int index)

Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedProjects at the given index.

getAllowedProjectsBytes(int index)

public abstract ByteString getAllowedProjectsBytes(int index)

Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedProjects at the given index.

getAllowedProjectsCount()

public abstract int getAllowedProjectsCount()

Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedProjects.

getAllowedProjectsList()

public abstract List<String> getAllowedProjectsList()

Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the allowedProjects.

getClusterHostname()

public abstract String getClusterHostname()

Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.

string cluster_hostname = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterHostname.

getClusterHostnameBytes()

public abstract ByteString getClusterHostnameBytes()

Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.

string cluster_hostname = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterHostname.

getEnablePrivateEndpoint()

public abstract boolean getEnablePrivateEndpoint()

Immutable. Whether Workstations endpoint is private.

bool enable_private_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

The enablePrivateEndpoint.

getServiceAttachmentUri()

public abstract String getServiceAttachmentUri()

Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.

string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

public abstract ByteString getServiceAttachmentUriBytes()

Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using Private Service Connect.

string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachmentUri.