public static interface Instance.PscInstanceConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowedConsumerProjects(int index)
public abstract String getAllowedConsumerProjects(int index)
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The allowedConsumerProjects at the given index. |
getAllowedConsumerProjectsBytes(int index)
public abstract ByteString getAllowedConsumerProjectsBytes(int index)
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.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 allowedConsumerProjects at the given index. |
getAllowedConsumerProjectsCount()
public abstract int getAllowedConsumerProjectsCount()
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of allowedConsumerProjects. |
getAllowedConsumerProjectsList()
public abstract List<String> getAllowedConsumerProjectsList()
Optional. List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
repeated string allowed_consumer_projects = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the allowedConsumerProjects. |
getPscDnsName()
public abstract String getPscDnsName()
Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The pscDnsName. |
getPscDnsNameBytes()
public abstract ByteString getPscDnsNameBytes()
Output only. The DNS name of the instance for PSC connectivity. Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
string psc_dns_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pscDnsName. |
getServiceAttachmentLink()
public abstract String getServiceAttachmentLink()
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The serviceAttachmentLink. |
getServiceAttachmentLinkBytes()
public abstract ByteString getServiceAttachmentLinkBytes()
Output only. The service attachment created when Private
Service Connect (PSC) is enabled for the instance.
The name of the resource will be in the format of
projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>
string service_attachment_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serviceAttachmentLink. |