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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.