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

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.

Generated from protobuf field string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setPredictHttpUri

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

Generated from protobuf field string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExplainHttpUri

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

Generated from protobuf field string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setExplainHttpUri

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

Generated from protobuf field string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHealthHttpUri

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

Generated from protobuf field string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setHealthHttpUri

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

Generated from protobuf field string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAttachment

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

Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
string

setServiceAttachment

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

Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var string
Returns
TypeDescription
$this