Interface PrivateServiceConnectConfigOrBuilder (3.52.0)

public interface PrivateServiceConnectConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnablePrivateServiceConnect()

public abstract boolean getEnablePrivateServiceConnect()

Required. If true, expose the IndexEndpoint via private service connect.

bool enable_private_service_connect = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The enablePrivateServiceConnect.

getProjectAllowlist(int index)

public abstract String getProjectAllowlist(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The projectAllowlist at the given index.

getProjectAllowlistBytes(int index)

public abstract ByteString getProjectAllowlistBytes(int index)

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the projectAllowlist at the given index.

getProjectAllowlistCount()

public abstract int getProjectAllowlistCount()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
Type Description
int

The count of projectAllowlist.

getProjectAllowlistList()

public abstract List<String> getProjectAllowlistList()

A list of Projects from which the forwarding rule will target the service attachment.

repeated string project_allowlist = 2;

Returns
Type Description
List<String>

A list containing the projectAllowlist.

getServiceAttachment()

public abstract String getServiceAttachment()

Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.

string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceAttachment.

getServiceAttachmentBytes()

public abstract ByteString getServiceAttachmentBytes()

Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect.

string service_attachment = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceAttachment.