Interface WorkstationCluster.PrivateClusterConfigOrBuilder (0.25.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceAttachmentUri.