Google Cloud Ai Platform V1 Client - Class PrivateEndpoints (0.19.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
NameDescription
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
TypeDescription
string

setPredictHttpUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExplainHttpUri

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

Returns
TypeDescription
string

setExplainHttpUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHealthHttpUri

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

Returns
TypeDescription
string

setHealthHttpUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAttachment

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

Returns
TypeDescription
string

setServiceAttachment

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this