Google Cloud Ai Platform V1 Client - Class PrivateEndpoints (1.1.0)

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

PrivateEndpoints proto is used to provide paths for users to send requests privately.

To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ predict_http_uri string

Output only. Http(s) path to send prediction requests.

↳ explain_http_uri string

Output only. Http(s) path to send explain requests.

↳ health_http_uri string

Output only. Http(s) path to send health check requests.

↳ service_attachment string

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

getPredictHttpUri

Output only. Http(s) path to send prediction requests.

Returns
Type Description
string

setPredictHttpUri

Output only. Http(s) path to send prediction requests.

Parameter
Name Description
var string
Returns
Type Description
$this

getExplainHttpUri

Output only. Http(s) path to send explain requests.

Returns
Type Description
string

setExplainHttpUri

Output only. Http(s) path to send explain requests.

Parameter
Name Description
var string
Returns
Type Description
$this

getHealthHttpUri

Output only. Http(s) path to send health check requests.

Returns
Type Description
string

setHealthHttpUri

Output only. Http(s) path to send health check requests.

Parameter
Name Description
var string
Returns
Type Description
$this

getServiceAttachment

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

Returns
Type Description
string

setServiceAttachment

Output only. The name of the service attachment resource. Populated if private service connect is enabled.

Parameter
Name Description
var string
Returns
Type Description
$this