visionai:: ServiceConnectionOptions
#include <streams.h>
ServiceConnectionOptions is a structure that contains options to connect to the Vertex AI Vision service.
Summary
For example, if you have a Vision AI cluster created at
visionai.googleapis.com/projects/my-project/locations/us-central1-a/clusters/my-cluster
then you will set the following:
service_endpoint = "visionai.googleapis.com" project_id = "my-project" location_id = "us-central1-a" cluster_id = "my-cluster"
Public attributes |
|
---|---|
cluster_id
|
std::string
The specific cluster-id of Vertex AI Vision.
|
location_id
|
std::string
The Google Cloud location-id.
|
project_id
|
std::string
The Google Cloud project-id.
|
service_endpoint
|
std::string
The service endpoint of Vertex AI Vision.
|
Public attributes
cluster_id
std::string visionai::ServiceConnectionOptions::cluster_id
The specific cluster-id of Vertex AI Vision.
Clusters are automatically created the first time you deploy a Vertex AI Vision application.
location_id
std::string visionai::ServiceConnectionOptions::location_id
The Google Cloud location-id.
project_id
std::string visionai::ServiceConnectionOptions::project_id
The Google Cloud project-id.
service_endpoint
std::string visionai::ServiceConnectionOptions::service_endpoint
The service endpoint of Vertex AI Vision.
Most commonly, this is simply visionai.googleapis.com.