Google Cloud Ai Platform V1 Client - Class PrivateServiceConnectConfig (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PrivateServiceConnectConfig.

Represents configuration for private service connect.

Generated from protobuf message google.cloud.aiplatform.v1.PrivateServiceConnectConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enable_private_service_connect bool

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

↳ project_allowlist array

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

↳ service_attachment string

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

getEnablePrivateServiceConnect

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

Returns
Type Description
bool

setEnablePrivateServiceConnect

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getProjectAllowlist

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProjectAllowlist

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getServiceAttachment

Output only. The name of the generated service attachment resource.

This is only populated if the endpoint is deployed with PrivateServiceConnect.

Returns
Type Description
string

setServiceAttachment

Output only. The name of the generated service attachment resource.

This is only populated if the endpoint is deployed with PrivateServiceConnect.

Parameter
Name Description
var string
Returns
Type Description
$this