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 | |
---|---|
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.
Generated from protobuf field string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |