Package com.google.cloud.workstations.v1
Interface WorkstationCluster.PrivateClusterConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkstationCluster.PrivateClusterConfig
,WorkstationCluster.PrivateClusterConfig.Builder
- Enclosing class:
- WorkstationCluster
public static interface WorkstationCluster.PrivateClusterConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAllowedProjects(int index)
Optional.com.google.protobuf.ByteString
getAllowedProjectsBytes(int index)
Optional.int
getAllowedProjectsCount()
Optional.List<String>
getAllowedProjectsList()
Optional.String
getClusterHostname()
Output only.com.google.protobuf.ByteString
getClusterHostnameBytes()
Output only.boolean
getEnablePrivateEndpoint()
Immutable.String
getServiceAttachmentUri()
Output only.com.google.protobuf.ByteString
getServiceAttachmentUriBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnablePrivateEndpoint
boolean getEnablePrivateEndpoint()
Immutable. Whether Workstations endpoint is private.
bool enable_private_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The enablePrivateEndpoint.
-
getClusterHostname
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:
- The clusterHostname.
-
getClusterHostnameBytes
com.google.protobuf.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:
- The bytes for clusterHostname.
-
getServiceAttachmentUri
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](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The serviceAttachmentUri.
-
getServiceAttachmentUriBytes
com.google.protobuf.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](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for serviceAttachmentUri.
-
getAllowedProjectsList
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:
- A list containing the allowedProjects.
-
getAllowedProjectsCount
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:
- The count of allowedProjects.
-
getAllowedProjects
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedProjects at the given index.
-
getAllowedProjectsBytes
com.google.protobuf.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];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedProjects at the given index.
-
-