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 \ V1Methods
__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 |
string[]
A list of Projects from which the forwarding rule will target the service attachment. |
↳ psc_automation_configs |
array<PSCAutomationConfig>
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only. |
↳ 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\RepeatedField<string> |
|
setProjectAllowlist
A list of Projects from which the forwarding rule will target the service attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<PSCAutomationConfig> |
|
setPscAutomationConfigs
Optional. List of projects and networks where the PSC endpoints will be created. This field is used by Online Inference(Prediction) only.
| Parameter | |
|---|---|
| Name | Description |
var |
array<PSCAutomationConfig>
|
| 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 |
|