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

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
NameDescription
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
TypeDescription
bool

setEnablePrivateServiceConnect

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getProjectAllowlist

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProjectAllowlist

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this