Google Cloud Ai Platform V1 Client - Class PrivateServiceConnectConfig (0.37.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.

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