Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(aiplatform): generate new services #13150

Merged
merged 5 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 46 additions & 14 deletions generator/generator_config.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,31 @@ service {

# AI Platform
service {
service_proto_path: "google/cloud/aiplatform/v1/featurestore_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/dataset_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/match_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/endpoint_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/pipeline_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/feature_online_store_admin_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/feature_online_store_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
Expand All @@ -74,7 +82,7 @@ service {
}

service {
service_proto_path: "google/cloud/aiplatform/v1/metadata_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/featurestore_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
Expand All @@ -90,47 +98,47 @@ service {
}

service {
service_proto_path: "google/cloud/aiplatform/v1/model_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/index_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/vizier_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/job_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/dataset_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/llm_utility_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/index_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/match_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/tensorboard_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/metadata_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/prediction_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/migration_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
Expand All @@ -146,31 +154,55 @@ service {
}

service {
service_proto_path: "google/cloud/aiplatform/v1/specialist_pool_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/model_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/migration_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/pipeline_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/endpoint_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/prediction_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/job_service.proto"
service_proto_path: "google/cloud/aiplatform/v1/schedule_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/specialist_pool_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/tensorboard_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
endpoint_location_style: LOCATION_DEPENDENT
}

service {
service_proto_path: "google/cloud/aiplatform/v1/vizier_service.proto"
product_path: "google/cloud/aiplatform/v1"
initial_copyright_year: "2023"
retryable_status_codes: ["kUnavailable"]
Expand Down
16 changes: 16 additions & 0 deletions google/cloud/aiplatform/doc/environment-variables.dox
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ environment variables are convenient when troubleshooting problems.
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeFeaturestoreServiceConnection()`.

- `GOOGLE_CLOUD_CPP_FEATURE_ONLINE_STORE_ADMIN_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeFeatureOnlineStoreAdminServiceConnection()`.

- `GOOGLE_CLOUD_CPP_FEATURE_ONLINE_STORE_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeFeatureOnlineStoreServiceConnection()`.

- `GOOGLE_CLOUD_CPP_INDEX_ENDPOINT_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeIndexEndpointServiceConnection()`.
Expand All @@ -38,6 +46,10 @@ environment variables are convenient when troubleshooting problems.
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeJobServiceConnection()`.

- `GOOGLE_CLOUD_CPP_LLM_UTILITY_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeLlmUtilityServiceConnection()`.

- `GOOGLE_CLOUD_CPP_MATCH_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeMatchServiceConnection()`.
Expand Down Expand Up @@ -66,6 +78,10 @@ environment variables are convenient when troubleshooting problems.
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakePredictionServiceConnection()`.

- `GOOGLE_CLOUD_CPP_SCHEDULE_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeScheduleServiceConnection()`.

- `GOOGLE_CLOUD_CPP_SPECIALIST_POOL_SERVICE_ENDPOINT=...` overrides the
`EndpointOption` (which defaults to "<location>-aiplatform.googleapis.com")
used by `MakeSpecialistPoolServiceConnection()`.
Expand Down
4 changes: 4 additions & 0 deletions google/cloud/aiplatform/doc/main.dox
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ application.

- [\c aiplatform_v1::DatasetServiceClient](@ref google::cloud::aiplatform_v1::DatasetServiceClient)
- [\c aiplatform_v1::EndpointServiceClient](@ref google::cloud::aiplatform_v1::EndpointServiceClient)
- [\c aiplatform_v1::FeatureOnlineStoreAdminServiceClient](@ref google::cloud::aiplatform_v1::FeatureOnlineStoreAdminServiceClient)
- [\c aiplatform_v1::FeatureOnlineStoreServiceClient](@ref google::cloud::aiplatform_v1::FeatureOnlineStoreServiceClient)
- [\c aiplatform_v1::FeaturestoreServiceClient](@ref google::cloud::aiplatform_v1::FeaturestoreServiceClient)
- [\c aiplatform_v1::FeaturestoreOnlineServingServiceClient](@ref google::cloud::aiplatform_v1::FeaturestoreOnlineServingServiceClient)
- [\c aiplatform_v1::IndexServiceClient](@ref google::cloud::aiplatform_v1::IndexServiceClient)
- [\c aiplatform_v1::IndexEndpointServiceClient](@ref google::cloud::aiplatform_v1::IndexEndpointServiceClient)
- [\c aiplatform_v1::JobServiceClient](@ref google::cloud::aiplatform_v1::JobServiceClient)
- [\c aiplatform_v1::LlmUtilityServiceClient](@ref google::cloud::aiplatform_v1::LlmUtilityServiceClient)
- [\c aiplatform_v1::MatchServiceClient](@ref google::cloud::aiplatform_v1::MatchServiceClient)
- [\c aiplatform_v1::MetadataServiceClient](@ref google::cloud::aiplatform_v1::MetadataServiceClient)
- [\c aiplatform_v1::MigrationServiceClient](@ref google::cloud::aiplatform_v1::MigrationServiceClient)
- [\c aiplatform_v1::ModelServiceClient](@ref google::cloud::aiplatform_v1::ModelServiceClient)
- [\c aiplatform_v1::ModelGardenServiceClient](@ref google::cloud::aiplatform_v1::ModelGardenServiceClient)
- [\c aiplatform_v1::PipelineServiceClient](@ref google::cloud::aiplatform_v1::PipelineServiceClient)
- [\c aiplatform_v1::PredictionServiceClient](@ref google::cloud::aiplatform_v1::PredictionServiceClient)
- [\c aiplatform_v1::ScheduleServiceClient](@ref google::cloud::aiplatform_v1::ScheduleServiceClient)
- [\c aiplatform_v1::SpecialistPoolServiceClient](@ref google::cloud::aiplatform_v1::SpecialistPoolServiceClient)
- [\c aiplatform_v1::TensorboardServiceClient](@ref google::cloud::aiplatform_v1::TensorboardServiceClient)
- [\c aiplatform_v1::VizierServiceClient](@ref google::cloud::aiplatform_v1::VizierServiceClient)
Expand Down
28 changes: 28 additions & 0 deletions google/cloud/aiplatform/doc/override-authentication.dox
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ Follow these links to find examples for other \c *Client classes:

- [\c aiplatform_v1::DatasetServiceClient](@ref aiplatform_v1::DatasetServiceClient-service-account-snippet)
- [\c aiplatform_v1::EndpointServiceClient](@ref aiplatform_v1::EndpointServiceClient-service-account-snippet)
- [\c aiplatform_v1::FeatureOnlineStoreAdminServiceClient](@ref aiplatform_v1::FeatureOnlineStoreAdminServiceClient-service-account-snippet)
- [\c aiplatform_v1::FeatureOnlineStoreServiceClient](@ref aiplatform_v1::FeatureOnlineStoreServiceClient-service-account-snippet)
- [\c aiplatform_v1::FeaturestoreServiceClient](@ref aiplatform_v1::FeaturestoreServiceClient-service-account-snippet)
- [\c aiplatform_v1::FeaturestoreOnlineServingServiceClient](@ref aiplatform_v1::FeaturestoreOnlineServingServiceClient-service-account-snippet)
- [\c aiplatform_v1::IndexServiceClient](@ref aiplatform_v1::IndexServiceClient-service-account-snippet)
- [\c aiplatform_v1::IndexEndpointServiceClient](@ref aiplatform_v1::IndexEndpointServiceClient-service-account-snippet)
- [\c aiplatform_v1::JobServiceClient](@ref aiplatform_v1::JobServiceClient-service-account-snippet)
- [\c aiplatform_v1::LlmUtilityServiceClient](@ref aiplatform_v1::LlmUtilityServiceClient-service-account-snippet)
- [\c aiplatform_v1::MatchServiceClient](@ref aiplatform_v1::MatchServiceClient-service-account-snippet)
- [\c aiplatform_v1::MetadataServiceClient](@ref aiplatform_v1::MetadataServiceClient-service-account-snippet)
- [\c aiplatform_v1::MigrationServiceClient](@ref aiplatform_v1::MigrationServiceClient-service-account-snippet)
- [\c aiplatform_v1::ModelServiceClient](@ref aiplatform_v1::ModelServiceClient-service-account-snippet)
- [\c aiplatform_v1::ModelGardenServiceClient](@ref aiplatform_v1::ModelGardenServiceClient-service-account-snippet)
- [\c aiplatform_v1::PipelineServiceClient](@ref aiplatform_v1::PipelineServiceClient-service-account-snippet)
- [\c aiplatform_v1::PredictionServiceClient](@ref aiplatform_v1::PredictionServiceClient-service-account-snippet)
- [\c aiplatform_v1::ScheduleServiceClient](@ref aiplatform_v1::ScheduleServiceClient-service-account-snippet)
- [\c aiplatform_v1::SpecialistPoolServiceClient](@ref aiplatform_v1::SpecialistPoolServiceClient-service-account-snippet)
- [\c aiplatform_v1::TensorboardServiceClient](@ref aiplatform_v1::TensorboardServiceClient-service-account-snippet)
- [\c aiplatform_v1::VizierServiceClient](@ref aiplatform_v1::VizierServiceClient-service-account-snippet)
Expand Down Expand Up @@ -59,6 +63,18 @@ guide for more details.

*/

/*! @page aiplatform_v1::FeatureOnlineStoreAdminServiceClient-service-account-snippet Override aiplatform_v1::FeatureOnlineStoreAdminServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/feature_online_store_admin_client_samples.cc with-service-account

*/

/*! @page aiplatform_v1::FeatureOnlineStoreServiceClient-service-account-snippet Override aiplatform_v1::FeatureOnlineStoreServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/feature_online_store_client_samples.cc with-service-account

*/

/*! @page aiplatform_v1::FeaturestoreServiceClient-service-account-snippet Override aiplatform_v1::FeaturestoreServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/featurestore_client_samples.cc with-service-account
Expand Down Expand Up @@ -89,6 +105,12 @@ guide for more details.

*/

/*! @page aiplatform_v1::LlmUtilityServiceClient-service-account-snippet Override aiplatform_v1::LlmUtilityServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/llm_utility_client_samples.cc with-service-account

*/

/*! @page aiplatform_v1::MatchServiceClient-service-account-snippet Override aiplatform_v1::MatchServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/match_client_samples.cc with-service-account
Expand Down Expand Up @@ -131,6 +153,12 @@ guide for more details.

*/

/*! @page aiplatform_v1::ScheduleServiceClient-service-account-snippet Override aiplatform_v1::ScheduleServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/schedule_client_samples.cc with-service-account

*/

/*! @page aiplatform_v1::SpecialistPoolServiceClient-service-account-snippet Override aiplatform_v1::SpecialistPoolServiceClient Authentication Defaults

@snippet google/cloud/aiplatform/v1/samples/specialist_pool_client_samples.cc with-service-account
Expand Down
28 changes: 28 additions & 0 deletions google/cloud/aiplatform/doc/override-endpoint.dox
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,22 @@ Follow these links to find examples for other \c *Client classes:

- [\c aiplatform_v1::DatasetServiceClient](@ref aiplatform_v1::DatasetServiceClient-endpoint-snippet)
- [\c aiplatform_v1::EndpointServiceClient](@ref aiplatform_v1::EndpointServiceClient-endpoint-snippet)
- [\c aiplatform_v1::FeatureOnlineStoreAdminServiceClient](@ref aiplatform_v1::FeatureOnlineStoreAdminServiceClient-endpoint-snippet)
- [\c aiplatform_v1::FeatureOnlineStoreServiceClient](@ref aiplatform_v1::FeatureOnlineStoreServiceClient-endpoint-snippet)
- [\c aiplatform_v1::FeaturestoreServiceClient](@ref aiplatform_v1::FeaturestoreServiceClient-endpoint-snippet)
- [\c aiplatform_v1::FeaturestoreOnlineServingServiceClient](@ref aiplatform_v1::FeaturestoreOnlineServingServiceClient-endpoint-snippet)
- [\c aiplatform_v1::IndexServiceClient](@ref aiplatform_v1::IndexServiceClient-endpoint-snippet)
- [\c aiplatform_v1::IndexEndpointServiceClient](@ref aiplatform_v1::IndexEndpointServiceClient-endpoint-snippet)
- [\c aiplatform_v1::JobServiceClient](@ref aiplatform_v1::JobServiceClient-endpoint-snippet)
- [\c aiplatform_v1::LlmUtilityServiceClient](@ref aiplatform_v1::LlmUtilityServiceClient-endpoint-snippet)
- [\c aiplatform_v1::MatchServiceClient](@ref aiplatform_v1::MatchServiceClient-endpoint-snippet)
- [\c aiplatform_v1::MetadataServiceClient](@ref aiplatform_v1::MetadataServiceClient-endpoint-snippet)
- [\c aiplatform_v1::MigrationServiceClient](@ref aiplatform_v1::MigrationServiceClient-endpoint-snippet)
- [\c aiplatform_v1::ModelServiceClient](@ref aiplatform_v1::ModelServiceClient-endpoint-snippet)
- [\c aiplatform_v1::ModelGardenServiceClient](@ref aiplatform_v1::ModelGardenServiceClient-endpoint-snippet)
- [\c aiplatform_v1::PipelineServiceClient](@ref aiplatform_v1::PipelineServiceClient-endpoint-snippet)
- [\c aiplatform_v1::PredictionServiceClient](@ref aiplatform_v1::PredictionServiceClient-endpoint-snippet)
- [\c aiplatform_v1::ScheduleServiceClient](@ref aiplatform_v1::ScheduleServiceClient-endpoint-snippet)
- [\c aiplatform_v1::SpecialistPoolServiceClient](@ref aiplatform_v1::SpecialistPoolServiceClient-endpoint-snippet)
- [\c aiplatform_v1::TensorboardServiceClient](@ref aiplatform_v1::TensorboardServiceClient-endpoint-snippet)
- [\c aiplatform_v1::VizierServiceClient](@ref aiplatform_v1::VizierServiceClient-endpoint-snippet)
Expand All @@ -49,6 +53,18 @@ Follow these links to find examples for other \c *Client classes:

*/

/*! @page aiplatform_v1::FeatureOnlineStoreAdminServiceClient-endpoint-snippet Override aiplatform_v1::FeatureOnlineStoreAdminServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/feature_online_store_admin_client_samples.cc set-client-endpoint

*/

/*! @page aiplatform_v1::FeatureOnlineStoreServiceClient-endpoint-snippet Override aiplatform_v1::FeatureOnlineStoreServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/feature_online_store_client_samples.cc set-client-endpoint

*/

/*! @page aiplatform_v1::FeaturestoreServiceClient-endpoint-snippet Override aiplatform_v1::FeaturestoreServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/featurestore_client_samples.cc set-client-endpoint
Expand Down Expand Up @@ -79,6 +95,12 @@ Follow these links to find examples for other \c *Client classes:

*/

/*! @page aiplatform_v1::LlmUtilityServiceClient-endpoint-snippet Override aiplatform_v1::LlmUtilityServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/llm_utility_client_samples.cc set-client-endpoint

*/

/*! @page aiplatform_v1::MatchServiceClient-endpoint-snippet Override aiplatform_v1::MatchServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/match_client_samples.cc set-client-endpoint
Expand Down Expand Up @@ -121,6 +143,12 @@ Follow these links to find examples for other \c *Client classes:

*/

/*! @page aiplatform_v1::ScheduleServiceClient-endpoint-snippet Override aiplatform_v1::ScheduleServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/schedule_client_samples.cc set-client-endpoint

*/

/*! @page aiplatform_v1::SpecialistPoolServiceClient-endpoint-snippet Override aiplatform_v1::SpecialistPoolServiceClient Endpoint Configuration

@snippet google/cloud/aiplatform/v1/samples/specialist_pool_client_samples.cc set-client-endpoint
Expand Down
Loading