structure saas with tools
This commit is contained in:
@@ -0,0 +1,297 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2023 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
from google.cloud.aiplatform.compat import services
|
||||
from google.cloud.aiplatform.compat import types
|
||||
|
||||
V1BETA1 = "v1beta1"
|
||||
V1 = "v1"
|
||||
|
||||
DEFAULT_VERSION = V1
|
||||
|
||||
if DEFAULT_VERSION == V1BETA1:
|
||||
|
||||
services.dataset_service_client = services.dataset_service_client_v1beta1
|
||||
services.deployment_resource_pool_service_client = (
|
||||
services.deployment_resource_pool_service_client_v1beta1
|
||||
)
|
||||
services.endpoint_service_client = services.endpoint_service_client_v1beta1
|
||||
services.feature_online_store_admin_service_client = (
|
||||
services.feature_online_store_admin_service_client_v1beta1
|
||||
)
|
||||
services.feature_online_store_service_client = (
|
||||
services.feature_online_store_service_client_v1beta1
|
||||
)
|
||||
services.feature_registry_service_client = (
|
||||
services.feature_registry_service_client_v1beta1
|
||||
)
|
||||
services.featurestore_online_serving_service_client = (
|
||||
services.featurestore_online_serving_service_client_v1beta1
|
||||
)
|
||||
services.featurestore_service_client = services.featurestore_service_client_v1beta1
|
||||
services.gen_ai_cache_service_client = services.gen_ai_cache_service_client_v1beta1
|
||||
services.job_service_client = services.job_service_client_v1beta1
|
||||
services.model_service_client = services.model_service_client_v1beta1
|
||||
services.model_garden_service_client = services.model_garden_service_client_v1beta1
|
||||
services.pipeline_service_client = services.pipeline_service_client_v1beta1
|
||||
services.prediction_service_client = services.prediction_service_client_v1beta1
|
||||
services.prediction_service_async_client = (
|
||||
services.prediction_service_async_client_v1beta1
|
||||
)
|
||||
services.schedule_service_client = services.schedule_service_client_v1beta1
|
||||
services.specialist_pool_service_client = (
|
||||
services.specialist_pool_service_client_v1beta1
|
||||
)
|
||||
services.match_service_client = services.match_service_client_v1beta1
|
||||
services.metadata_service_client = services.metadata_service_client_v1beta1
|
||||
services.tensorboard_service_client = services.tensorboard_service_client_v1beta1
|
||||
services.index_service_client = services.index_service_client_v1beta1
|
||||
services.index_endpoint_service_client = (
|
||||
services.index_endpoint_service_client_v1beta1
|
||||
)
|
||||
services.vizier_service_client = services.vizier_service_client_v1beta1
|
||||
|
||||
types.accelerator_type = types.accelerator_type_v1beta1
|
||||
types.annotation = types.annotation_v1beta1
|
||||
types.annotation_spec = types.annotation_spec_v1beta1
|
||||
types.artifact = types.artifact_v1beta1
|
||||
types.batch_prediction_job = types.batch_prediction_job_v1beta1
|
||||
types.cached_content = types.cached_content_v1beta1
|
||||
types.completion_stats = types.completion_stats_v1beta1
|
||||
types.context = types.context_v1beta1
|
||||
types.custom_job = types.custom_job_v1beta1
|
||||
types.data_item = types.data_item_v1beta1
|
||||
types.data_labeling_job = types.data_labeling_job_v1beta1
|
||||
types.dataset = types.dataset_v1beta1
|
||||
types.dataset_service = types.dataset_service_v1beta1
|
||||
types.deployed_model_ref = types.deployed_model_ref_v1beta1
|
||||
types.deployment_resource_pool = types.deployment_resource_pool_v1beta1
|
||||
types.deployment_resource_pool_service = (
|
||||
types.deployment_resource_pool_service_v1beta1
|
||||
)
|
||||
types.encryption_spec = types.encryption_spec_v1beta1
|
||||
types.endpoint = types.endpoint_v1beta1
|
||||
types.endpoint_service = types.endpoint_service_v1beta1
|
||||
types.entity_type = types.entity_type_v1beta1
|
||||
types.env_var = types.env_var_v1beta1
|
||||
types.event = types.event_v1beta1
|
||||
types.execution = types.execution_v1beta1
|
||||
types.explanation = types.explanation_v1beta1
|
||||
types.explanation_metadata = types.explanation_metadata_v1beta1
|
||||
types.feature = types.feature_v1beta1
|
||||
types.feature_group = types.feature_group_v1beta1
|
||||
types.feature_monitor = types.feature_monitor_v1beta1
|
||||
types.feature_monitor_job = types.feature_monitor_job_v1beta1
|
||||
types.feature_monitoring_stats = types.feature_monitoring_stats_v1beta1
|
||||
types.feature_online_store = types.feature_online_store_v1beta1
|
||||
types.feature_online_store_admin_service = (
|
||||
types.feature_online_store_admin_service_v1beta1
|
||||
)
|
||||
types.feature_registry_service = types.feature_registry_service_v1beta1
|
||||
types.feature_online_store_service = types.feature_online_store_service_v1beta1
|
||||
types.feature_selector = types.feature_selector_v1beta1
|
||||
types.feature_view = types.feature_view_v1beta1
|
||||
types.feature_view_sync = types.feature_view_sync_v1beta1
|
||||
types.featurestore = types.featurestore_v1beta1
|
||||
types.featurestore_monitoring = types.featurestore_monitoring_v1beta1
|
||||
types.featurestore_online_service = types.featurestore_online_service_v1beta1
|
||||
types.featurestore_service = types.featurestore_service_v1beta1
|
||||
types.hyperparameter_tuning_job = types.hyperparameter_tuning_job_v1beta1
|
||||
types.index = types.index_v1beta1
|
||||
types.index_endpoint = types.index_endpoint_v1beta1
|
||||
types.index_service = types.index_service_v1beta1
|
||||
types.io = types.io_v1beta1
|
||||
types.job_service = types.job_service_v1beta1
|
||||
types.job_state = types.job_state_v1beta1
|
||||
types.lineage_subgraph = types.lineage_subgraph_v1beta1
|
||||
types.machine_resources = types.machine_resources_v1beta1
|
||||
types.manual_batch_tuning_parameters = types.manual_batch_tuning_parameters_v1beta1
|
||||
types.matching_engine_deployed_index_ref = (
|
||||
types.matching_engine_deployed_index_ref_v1beta1
|
||||
)
|
||||
types.matching_engine_index = types.index_v1beta1
|
||||
types.matching_engine_index_endpoint = types.index_endpoint_v1beta1
|
||||
types.metadata_service = types.metadata_service_v1beta1
|
||||
types.metadata_schema = types.metadata_schema_v1beta1
|
||||
types.metadata_store = types.metadata_store_v1beta1
|
||||
types.model = types.model_v1beta1
|
||||
types.model_evaluation = types.model_evaluation_v1beta1
|
||||
types.model_evaluation_slice = types.model_evaluation_slice_v1beta1
|
||||
types.model_deployment_monitoring_job = (
|
||||
types.model_deployment_monitoring_job_v1beta1
|
||||
)
|
||||
types.model_garden_service = types.model_garden_service_v1beta1
|
||||
types.model_monitoring = types.model_monitoring_v1beta1
|
||||
types.model_service = types.model_service_v1beta1
|
||||
types.service_networking = types.service_networking_v1beta1
|
||||
types.operation = types.operation_v1beta1
|
||||
types.pipeline_failure_policy = types.pipeline_failure_policy_v1beta1
|
||||
types.pipeline_job = types.pipeline_job_v1beta1
|
||||
types.pipeline_service = types.pipeline_service_v1beta1
|
||||
types.pipeline_state = types.pipeline_state_v1beta1
|
||||
types.prediction_service = types.prediction_service_v1beta1
|
||||
types.publisher_model = types.publisher_model_v1beta1
|
||||
types.schedule = types.schedule_v1beta1
|
||||
types.schedule_service = types.schedule_service_v1beta1
|
||||
types.specialist_pool = types.specialist_pool_v1beta1
|
||||
types.specialist_pool_service = types.specialist_pool_service_v1beta1
|
||||
types.study = types.study_v1beta1
|
||||
types.tensorboard = types.tensorboard_v1beta1
|
||||
types.tensorboard_service = types.tensorboard_service_v1beta1
|
||||
types.tensorboard_data = types.tensorboard_data_v1beta1
|
||||
types.tensorboard_experiment = types.tensorboard_experiment_v1beta1
|
||||
types.tensorboard_run = types.tensorboard_run_v1beta1
|
||||
types.tensorboard_service = types.tensorboard_service_v1beta1
|
||||
types.tensorboard_time_series = types.tensorboard_time_series_v1beta1
|
||||
types.training_pipeline = types.training_pipeline_v1beta1
|
||||
types.types = types.types_v1beta1
|
||||
types.vizier_service = types.vizier_service_v1beta1
|
||||
|
||||
if DEFAULT_VERSION == V1:
|
||||
|
||||
services.dataset_service_client = services.dataset_service_client_v1
|
||||
services.deployment_resource_pool_service_client = (
|
||||
services.deployment_resource_pool_service_client_v1
|
||||
)
|
||||
services.endpoint_service_client = services.endpoint_service_client_v1
|
||||
services.feature_online_store_admin_service_client = (
|
||||
services.feature_online_store_admin_service_client_v1
|
||||
)
|
||||
services.feature_registry_service_client = (
|
||||
services.feature_registry_service_client_v1
|
||||
)
|
||||
services.feature_online_store_service_client = (
|
||||
services.feature_online_store_service_client_v1
|
||||
)
|
||||
services.featurestore_online_serving_service_client = (
|
||||
services.featurestore_online_serving_service_client_v1
|
||||
)
|
||||
services.featurestore_service_client = services.featurestore_service_client_v1
|
||||
services.gen_ai_cache_service_client = services.gen_ai_cache_service_client_v1
|
||||
services.job_service_client = services.job_service_client_v1
|
||||
services.model_garden_service_client = services.model_garden_service_client_v1
|
||||
services.model_service_client = services.model_service_client_v1
|
||||
services.pipeline_service_client = services.pipeline_service_client_v1
|
||||
services.prediction_service_client = services.prediction_service_client_v1
|
||||
services.prediction_service_async_client = (
|
||||
services.prediction_service_async_client_v1
|
||||
)
|
||||
services.schedule_service_client = services.schedule_service_client_v1
|
||||
services.specialist_pool_service_client = services.specialist_pool_service_client_v1
|
||||
services.tensorboard_service_client = services.tensorboard_service_client_v1
|
||||
services.index_service_client = services.index_service_client_v1
|
||||
services.index_endpoint_service_client = services.index_endpoint_service_client_v1
|
||||
services.vizier_service_client = services.vizier_service_client_v1
|
||||
|
||||
types.accelerator_type = types.accelerator_type_v1
|
||||
types.annotation = types.annotation_v1
|
||||
types.annotation_spec = types.annotation_spec_v1
|
||||
types.artifact = types.artifact_v1
|
||||
types.batch_prediction_job = types.batch_prediction_job_v1
|
||||
types.cached_content = types.cached_content_v1
|
||||
types.completion_stats = types.completion_stats_v1
|
||||
types.context = types.context_v1
|
||||
types.custom_job = types.custom_job_v1
|
||||
types.data_item = types.data_item_v1
|
||||
types.data_labeling_job = types.data_labeling_job_v1
|
||||
types.dataset = types.dataset_v1
|
||||
types.dataset_service = types.dataset_service_v1
|
||||
types.deployed_model_ref = types.deployed_model_ref_v1
|
||||
types.deployment_resource_pool = types.deployment_resource_pool_v1
|
||||
types.deployment_resource_pool_service = types.deployment_resource_pool_service_v1
|
||||
types.encryption_spec = types.encryption_spec_v1
|
||||
types.endpoint = types.endpoint_v1
|
||||
types.endpoint_service = types.endpoint_service_v1
|
||||
types.entity_type = types.entity_type_v1
|
||||
types.env_var = types.env_var_v1
|
||||
types.event = types.event_v1
|
||||
types.execution = types.execution_v1
|
||||
types.explanation = types.explanation_v1
|
||||
types.explanation_metadata = types.explanation_metadata_v1
|
||||
types.feature = types.feature_v1
|
||||
types.feature_group = types.feature_group_v1
|
||||
# TODO(b/293184410): Temporary code. Switch to v1 once v1 is available.
|
||||
types.feature_monitor = types.feature_monitor_v1beta1
|
||||
types.feature_monitor_job = types.feature_monitor_job_v1beta1
|
||||
types.feature_monitoring_stats = types.feature_monitoring_stats_v1
|
||||
types.feature_online_store = types.feature_online_store_v1
|
||||
types.feature_online_store_admin_service = (
|
||||
types.feature_online_store_admin_service_v1
|
||||
)
|
||||
types.feature_registry_service = types.feature_registry_service_v1
|
||||
types.feature_online_store_service = types.feature_online_store_service_v1
|
||||
types.feature_selector = types.feature_selector_v1
|
||||
types.feature_view = types.feature_view_v1
|
||||
types.feature_view_sync = types.feature_view_sync_v1
|
||||
types.featurestore = types.featurestore_v1
|
||||
types.featurestore_online_service = types.featurestore_online_service_v1
|
||||
types.featurestore_service = types.featurestore_service_v1
|
||||
types.hyperparameter_tuning_job = types.hyperparameter_tuning_job_v1
|
||||
types.index = types.index_v1
|
||||
types.index_endpoint = types.index_endpoint_v1
|
||||
types.index_service = types.index_service_v1
|
||||
types.io = types.io_v1
|
||||
types.job_service = types.job_service_v1
|
||||
types.job_state = types.job_state_v1
|
||||
types.lineage_subgraph = types.lineage_subgraph_v1
|
||||
types.machine_resources = types.machine_resources_v1
|
||||
types.manual_batch_tuning_parameters = types.manual_batch_tuning_parameters_v1
|
||||
types.matching_engine_deployed_index_ref = (
|
||||
types.matching_engine_deployed_index_ref_v1
|
||||
)
|
||||
types.matching_engine_index = types.index_v1
|
||||
types.matching_engine_index_endpoint = types.index_endpoint_v1
|
||||
types.metadata_service = types.metadata_service_v1
|
||||
types.metadata_schema = types.metadata_schema_v1
|
||||
types.metadata_store = types.metadata_store_v1
|
||||
types.model = types.model_v1
|
||||
types.model_evaluation = types.model_evaluation_v1
|
||||
types.model_evaluation_slice = types.model_evaluation_slice_v1
|
||||
types.model_deployment_monitoring_job = types.model_deployment_monitoring_job_v1
|
||||
types.model_monitoring = types.model_monitoring_v1
|
||||
types.model_service = types.model_service_v1
|
||||
types.service_networking = types.service_networking_v1
|
||||
types.operation = types.operation_v1
|
||||
types.pipeline_failure_policy = types.pipeline_failure_policy_v1
|
||||
types.pipeline_job = types.pipeline_job_v1
|
||||
types.pipeline_service = types.pipeline_service_v1
|
||||
types.pipeline_state = types.pipeline_state_v1
|
||||
types.prediction_service = types.prediction_service_v1
|
||||
types.publisher_model = types.publisher_model_v1
|
||||
types.schedule = types.schedule_v1
|
||||
types.schedule_service = types.schedule_service_v1
|
||||
types.specialist_pool = types.specialist_pool_v1
|
||||
types.specialist_pool_service = types.specialist_pool_service_v1
|
||||
types.study = types.study_v1
|
||||
types.tensorboard = types.tensorboard_v1
|
||||
types.tensorboard_service = types.tensorboard_service_v1
|
||||
types.tensorboard_data = types.tensorboard_data_v1
|
||||
types.tensorboard_experiment = types.tensorboard_experiment_v1
|
||||
types.tensorboard_run = types.tensorboard_run_v1
|
||||
types.tensorboard_service = types.tensorboard_service_v1
|
||||
types.tensorboard_time_series = types.tensorboard_time_series_v1
|
||||
types.training_pipeline = types.training_pipeline_v1
|
||||
types.types = types.types_v1
|
||||
types.vizier_service = types.vizier_service_v1
|
||||
|
||||
__all__ = (
|
||||
DEFAULT_VERSION,
|
||||
V1BETA1,
|
||||
V1,
|
||||
services,
|
||||
types,
|
||||
)
|
||||
Binary file not shown.
@@ -0,0 +1,264 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2023 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
from google.cloud.aiplatform_v1beta1.services.dataset_service import (
|
||||
client as dataset_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.deployment_resource_pool_service import (
|
||||
client as deployment_resource_pool_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.endpoint_service import (
|
||||
client as endpoint_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.example_store_service import (
|
||||
client as example_store_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.extension_execution_service import (
|
||||
client as extension_execution_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.extension_registry_service import (
|
||||
client as extension_registry_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.feature_online_store_service import (
|
||||
client as feature_online_store_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.feature_online_store_admin_service import (
|
||||
client as feature_online_store_admin_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.feature_registry_service import (
|
||||
client as feature_registry_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.featurestore_online_serving_service import (
|
||||
client as featurestore_online_serving_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.featurestore_service import (
|
||||
client as featurestore_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.gen_ai_cache_service import (
|
||||
client as gen_ai_cache_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.index_service import (
|
||||
client as index_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.index_endpoint_service import (
|
||||
client as index_endpoint_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.job_service import (
|
||||
client as job_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.match_service import (
|
||||
client as match_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.metadata_service import (
|
||||
client as metadata_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.model_garden_service import (
|
||||
client as model_garden_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.model_service import (
|
||||
client as model_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.model_monitoring_service import (
|
||||
client as model_monitoring_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.persistent_resource_service import (
|
||||
client as persistent_resource_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.pipeline_service import (
|
||||
client as pipeline_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.prediction_service import (
|
||||
client as prediction_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.prediction_service import (
|
||||
async_client as prediction_service_async_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.reasoning_engine_service import (
|
||||
client as reasoning_engine_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.reasoning_engine_execution_service import (
|
||||
client as reasoning_engine_execution_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.schedule_service import (
|
||||
client as schedule_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.specialist_pool_service import (
|
||||
client as specialist_pool_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.tensorboard_service import (
|
||||
client as tensorboard_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.vertex_rag_data_service import (
|
||||
client as vertex_rag_data_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.vertex_rag_data_service import (
|
||||
async_client as vertex_rag_data_service_async_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.vertex_rag_service import (
|
||||
client as vertex_rag_service_client_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1beta1.services.vizier_service import (
|
||||
client as vizier_service_client_v1beta1,
|
||||
)
|
||||
|
||||
|
||||
from google.cloud.aiplatform_v1.services.dataset_service import (
|
||||
client as dataset_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.deployment_resource_pool_service import (
|
||||
client as deployment_resource_pool_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.endpoint_service import (
|
||||
client as endpoint_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.feature_online_store_service import (
|
||||
client as feature_online_store_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.feature_online_store_admin_service import (
|
||||
client as feature_online_store_admin_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.feature_registry_service import (
|
||||
client as feature_registry_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.featurestore_online_serving_service import (
|
||||
client as featurestore_online_serving_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.featurestore_service import (
|
||||
client as featurestore_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.gen_ai_cache_service import (
|
||||
client as gen_ai_cache_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.index_service import (
|
||||
client as index_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.index_endpoint_service import (
|
||||
client as index_endpoint_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.job_service import (
|
||||
client as job_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.metadata_service import (
|
||||
client as metadata_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.model_garden_service import (
|
||||
client as model_garden_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.model_service import (
|
||||
client as model_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.persistent_resource_service import (
|
||||
client as persistent_resource_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.pipeline_service import (
|
||||
client as pipeline_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.prediction_service import (
|
||||
client as prediction_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.prediction_service import (
|
||||
async_client as prediction_service_async_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.reasoning_engine_service import (
|
||||
client as reasoning_engine_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.reasoning_engine_execution_service import (
|
||||
client as reasoning_engine_execution_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.schedule_service import (
|
||||
client as schedule_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.specialist_pool_service import (
|
||||
client as specialist_pool_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.tensorboard_service import (
|
||||
client as tensorboard_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.vizier_service import (
|
||||
client as vizier_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.vertex_rag_service import (
|
||||
client as vertex_rag_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.vertex_rag_data_service import (
|
||||
client as vertex_rag_data_service_client_v1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.services.vertex_rag_data_service import (
|
||||
async_client as vertex_rag_data_service_async_client_v1,
|
||||
)
|
||||
|
||||
__all__ = (
|
||||
# v1
|
||||
dataset_service_client_v1,
|
||||
deployment_resource_pool_service_client_v1,
|
||||
endpoint_service_client_v1,
|
||||
feature_online_store_service_client_v1,
|
||||
feature_online_store_admin_service_client_v1,
|
||||
feature_registry_service_client_v1,
|
||||
featurestore_online_serving_service_client_v1,
|
||||
featurestore_service_client_v1,
|
||||
index_service_client_v1,
|
||||
index_endpoint_service_client_v1,
|
||||
job_service_client_v1,
|
||||
metadata_service_client_v1,
|
||||
model_garden_service_client_v1,
|
||||
model_service_client_v1,
|
||||
persistent_resource_service_client_v1,
|
||||
pipeline_service_client_v1,
|
||||
prediction_service_client_v1,
|
||||
prediction_service_async_client_v1,
|
||||
reasoning_engine_execution_service_client_v1,
|
||||
reasoning_engine_service_client_v1,
|
||||
schedule_service_client_v1,
|
||||
specialist_pool_service_client_v1,
|
||||
tensorboard_service_client_v1,
|
||||
vizier_service_client_v1,
|
||||
vertex_rag_data_service_async_client_v1,
|
||||
vertex_rag_data_service_client_v1,
|
||||
vertex_rag_service_client_v1,
|
||||
# v1beta1
|
||||
dataset_service_client_v1beta1,
|
||||
deployment_resource_pool_service_client_v1beta1,
|
||||
endpoint_service_client_v1beta1,
|
||||
example_store_service_client_v1beta1,
|
||||
feature_online_store_service_client_v1beta1,
|
||||
feature_online_store_admin_service_client_v1beta1,
|
||||
feature_registry_service_client_v1beta1,
|
||||
featurestore_online_serving_service_client_v1beta1,
|
||||
featurestore_service_client_v1beta1,
|
||||
index_service_client_v1beta1,
|
||||
index_endpoint_service_client_v1beta1,
|
||||
job_service_client_v1beta1,
|
||||
match_service_client_v1beta1,
|
||||
model_garden_service_client_v1beta1,
|
||||
model_monitoring_service_client_v1beta1,
|
||||
model_service_client_v1beta1,
|
||||
persistent_resource_service_client_v1beta1,
|
||||
pipeline_service_client_v1beta1,
|
||||
prediction_service_client_v1beta1,
|
||||
prediction_service_async_client_v1beta1,
|
||||
reasoning_engine_execution_service_client_v1beta1,
|
||||
reasoning_engine_service_client_v1beta1,
|
||||
schedule_service_client_v1beta1,
|
||||
specialist_pool_service_client_v1beta1,
|
||||
metadata_service_client_v1beta1,
|
||||
tensorboard_service_client_v1beta1,
|
||||
vertex_rag_service_client_v1beta1,
|
||||
vertex_rag_data_service_client_v1beta1,
|
||||
vertex_rag_data_service_async_client_v1beta1,
|
||||
vizier_service_client_v1beta1,
|
||||
)
|
||||
Binary file not shown.
@@ -0,0 +1,361 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2023 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
from google.cloud.aiplatform_v1beta1.types import (
|
||||
accelerator_type as accelerator_type_v1beta1,
|
||||
annotation as annotation_v1beta1,
|
||||
annotation_spec as annotation_spec_v1beta1,
|
||||
artifact as artifact_v1beta1,
|
||||
batch_prediction_job as batch_prediction_job_v1beta1,
|
||||
cached_content as cached_content_v1beta1,
|
||||
completion_stats as completion_stats_v1beta1,
|
||||
context as context_v1beta1,
|
||||
custom_job as custom_job_v1beta1,
|
||||
data_item as data_item_v1beta1,
|
||||
data_labeling_job as data_labeling_job_v1beta1,
|
||||
dataset as dataset_v1beta1,
|
||||
dataset_service as dataset_service_v1beta1,
|
||||
deployed_index_ref as matching_engine_deployed_index_ref_v1beta1,
|
||||
deployed_model_ref as deployed_model_ref_v1beta1,
|
||||
deployment_resource_pool as deployment_resource_pool_v1beta1,
|
||||
deployment_resource_pool_service as deployment_resource_pool_service_v1beta1,
|
||||
encryption_spec as encryption_spec_v1beta1,
|
||||
endpoint as endpoint_v1beta1,
|
||||
endpoint_service as endpoint_service_v1beta1,
|
||||
entity_type as entity_type_v1beta1,
|
||||
env_var as env_var_v1beta1,
|
||||
event as event_v1beta1,
|
||||
execution as execution_v1beta1,
|
||||
explanation as explanation_v1beta1,
|
||||
explanation_metadata as explanation_metadata_v1beta1,
|
||||
feature as feature_v1beta1,
|
||||
feature_group as feature_group_v1beta1,
|
||||
feature_monitor as feature_monitor_v1beta1,
|
||||
feature_monitor_job as feature_monitor_job_v1beta1,
|
||||
feature_monitoring_stats as feature_monitoring_stats_v1beta1,
|
||||
feature_online_store as feature_online_store_v1beta1,
|
||||
feature_online_store_admin_service as feature_online_store_admin_service_v1beta1,
|
||||
feature_online_store_service as feature_online_store_service_v1beta1,
|
||||
feature_registry_service as feature_registry_service_v1beta1,
|
||||
feature_selector as feature_selector_v1beta1,
|
||||
feature_view as feature_view_v1beta1,
|
||||
feature_view_sync as feature_view_sync_v1beta1,
|
||||
featurestore as featurestore_v1beta1,
|
||||
featurestore_monitoring as featurestore_monitoring_v1beta1,
|
||||
featurestore_online_service as featurestore_online_service_v1beta1,
|
||||
featurestore_service as featurestore_service_v1beta1,
|
||||
gen_ai_cache_service as gen_ai_cache_service_v1beta1,
|
||||
index as index_v1beta1,
|
||||
index_endpoint as index_endpoint_v1beta1,
|
||||
hyperparameter_tuning_job as hyperparameter_tuning_job_v1beta1,
|
||||
io as io_v1beta1,
|
||||
index_service as index_service_v1beta1,
|
||||
job_service as job_service_v1beta1,
|
||||
job_state as job_state_v1beta1,
|
||||
lineage_subgraph as lineage_subgraph_v1beta1,
|
||||
machine_resources as machine_resources_v1beta1,
|
||||
manual_batch_tuning_parameters as manual_batch_tuning_parameters_v1beta1,
|
||||
match_service as match_service_v1beta1,
|
||||
metadata_schema as metadata_schema_v1beta1,
|
||||
metadata_service as metadata_service_v1beta1,
|
||||
metadata_store as metadata_store_v1beta1,
|
||||
model as model_v1beta1,
|
||||
model_evaluation as model_evaluation_v1beta1,
|
||||
model_evaluation_slice as model_evaluation_slice_v1beta1,
|
||||
model_deployment_monitoring_job as model_deployment_monitoring_job_v1beta1,
|
||||
model_garden_service as model_garden_service_v1beta1,
|
||||
model_service as model_service_v1beta1,
|
||||
model_monitor as model_monitor_v1beta1,
|
||||
model_monitoring as model_monitoring_v1beta1,
|
||||
model_monitoring_alert as model_monitoring_alert_v1beta1,
|
||||
model_monitoring_job as model_monitoring_job_v1beta1,
|
||||
model_monitoring_service as model_monitoring_service_v1beta1,
|
||||
model_monitoring_spec as model_monitoring_spec_v1beta1,
|
||||
model_monitoring_stats as model_monitoring_stats_v1beta1,
|
||||
operation as operation_v1beta1,
|
||||
persistent_resource as persistent_resource_v1beta1,
|
||||
persistent_resource_service as persistent_resource_service_v1beta1,
|
||||
pipeline_failure_policy as pipeline_failure_policy_v1beta1,
|
||||
pipeline_job as pipeline_job_v1beta1,
|
||||
pipeline_service as pipeline_service_v1beta1,
|
||||
pipeline_state as pipeline_state_v1beta1,
|
||||
prediction_service as prediction_service_v1beta1,
|
||||
publisher_model as publisher_model_v1beta1,
|
||||
reservation_affinity as reservation_affinity_v1beta1,
|
||||
service_networking as service_networking_v1beta1,
|
||||
schedule as schedule_v1beta1,
|
||||
schedule_service as schedule_service_v1beta1,
|
||||
specialist_pool as specialist_pool_v1beta1,
|
||||
specialist_pool_service as specialist_pool_service_v1beta1,
|
||||
study as study_v1beta1,
|
||||
tensorboard as tensorboard_v1beta1,
|
||||
tensorboard_data as tensorboard_data_v1beta1,
|
||||
tensorboard_experiment as tensorboard_experiment_v1beta1,
|
||||
tensorboard_run as tensorboard_run_v1beta1,
|
||||
tensorboard_service as tensorboard_service_v1beta1,
|
||||
tensorboard_time_series as tensorboard_time_series_v1beta1,
|
||||
training_pipeline as training_pipeline_v1beta1,
|
||||
types as types_v1beta1,
|
||||
vizier_service as vizier_service_v1beta1,
|
||||
)
|
||||
from google.cloud.aiplatform_v1.types import (
|
||||
accelerator_type as accelerator_type_v1,
|
||||
annotation as annotation_v1,
|
||||
annotation_spec as annotation_spec_v1,
|
||||
artifact as artifact_v1,
|
||||
batch_prediction_job as batch_prediction_job_v1,
|
||||
cached_content as cached_content_v1,
|
||||
completion_stats as completion_stats_v1,
|
||||
context as context_v1,
|
||||
custom_job as custom_job_v1,
|
||||
data_item as data_item_v1,
|
||||
data_labeling_job as data_labeling_job_v1,
|
||||
dataset as dataset_v1,
|
||||
dataset_service as dataset_service_v1,
|
||||
deployed_index_ref as matching_engine_deployed_index_ref_v1,
|
||||
deployed_model_ref as deployed_model_ref_v1,
|
||||
deployment_resource_pool as deployment_resource_pool_v1,
|
||||
deployment_resource_pool_service as deployment_resource_pool_service_v1,
|
||||
encryption_spec as encryption_spec_v1,
|
||||
endpoint as endpoint_v1,
|
||||
endpoint_service as endpoint_service_v1,
|
||||
entity_type as entity_type_v1,
|
||||
env_var as env_var_v1,
|
||||
event as event_v1,
|
||||
execution as execution_v1,
|
||||
explanation as explanation_v1,
|
||||
explanation_metadata as explanation_metadata_v1,
|
||||
feature as feature_v1,
|
||||
feature_group as feature_group_v1,
|
||||
feature_monitoring_stats as feature_monitoring_stats_v1,
|
||||
feature_online_store as feature_online_store_v1,
|
||||
feature_online_store_admin_service as feature_online_store_admin_service_v1,
|
||||
feature_online_store_service as feature_online_store_service_v1,
|
||||
feature_registry_service as feature_registry_service_v1,
|
||||
feature_selector as feature_selector_v1,
|
||||
feature_view as feature_view_v1,
|
||||
feature_view_sync as feature_view_sync_v1,
|
||||
featurestore as featurestore_v1,
|
||||
featurestore_online_service as featurestore_online_service_v1,
|
||||
featurestore_service as featurestore_service_v1,
|
||||
hyperparameter_tuning_job as hyperparameter_tuning_job_v1,
|
||||
index as index_v1,
|
||||
index_endpoint as index_endpoint_v1,
|
||||
index_service as index_service_v1,
|
||||
io as io_v1,
|
||||
job_service as job_service_v1,
|
||||
job_state as job_state_v1,
|
||||
lineage_subgraph as lineage_subgraph_v1,
|
||||
machine_resources as machine_resources_v1,
|
||||
manual_batch_tuning_parameters as manual_batch_tuning_parameters_v1,
|
||||
metadata_service as metadata_service_v1,
|
||||
metadata_schema as metadata_schema_v1,
|
||||
metadata_store as metadata_store_v1,
|
||||
model as model_v1,
|
||||
model_evaluation as model_evaluation_v1,
|
||||
model_evaluation_slice as model_evaluation_slice_v1,
|
||||
model_deployment_monitoring_job as model_deployment_monitoring_job_v1,
|
||||
model_service as model_service_v1,
|
||||
model_monitoring as model_monitoring_v1,
|
||||
operation as operation_v1,
|
||||
persistent_resource as persistent_resource_v1,
|
||||
persistent_resource_service as persistent_resource_service_v1,
|
||||
pipeline_failure_policy as pipeline_failure_policy_v1,
|
||||
pipeline_job as pipeline_job_v1,
|
||||
pipeline_service as pipeline_service_v1,
|
||||
pipeline_state as pipeline_state_v1,
|
||||
prediction_service as prediction_service_v1,
|
||||
publisher_model as publisher_model_v1,
|
||||
reservation_affinity as reservation_affinity_v1,
|
||||
schedule as schedule_v1,
|
||||
schedule_service as schedule_service_v1,
|
||||
service_networking as service_networking_v1,
|
||||
specialist_pool as specialist_pool_v1,
|
||||
specialist_pool_service as specialist_pool_service_v1,
|
||||
study as study_v1,
|
||||
tensorboard as tensorboard_v1,
|
||||
tensorboard_data as tensorboard_data_v1,
|
||||
tensorboard_experiment as tensorboard_experiment_v1,
|
||||
tensorboard_run as tensorboard_run_v1,
|
||||
tensorboard_service as tensorboard_service_v1,
|
||||
tensorboard_time_series as tensorboard_time_series_v1,
|
||||
training_pipeline as training_pipeline_v1,
|
||||
types as types_v1,
|
||||
vizier_service as vizier_service_v1,
|
||||
)
|
||||
|
||||
__all__ = (
|
||||
# v1
|
||||
accelerator_type_v1,
|
||||
annotation_v1,
|
||||
annotation_spec_v1,
|
||||
artifact_v1,
|
||||
batch_prediction_job_v1,
|
||||
completion_stats_v1,
|
||||
context_v1,
|
||||
custom_job_v1,
|
||||
data_item_v1,
|
||||
data_labeling_job_v1,
|
||||
dataset_v1,
|
||||
dataset_service_v1,
|
||||
deployed_model_ref_v1,
|
||||
deployment_resource_pool_v1,
|
||||
deployment_resource_pool_service_v1,
|
||||
encryption_spec_v1,
|
||||
endpoint_v1,
|
||||
endpoint_service_v1,
|
||||
entity_type_v1,
|
||||
env_var_v1,
|
||||
event_v1,
|
||||
execution_v1,
|
||||
explanation_v1,
|
||||
explanation_metadata_v1,
|
||||
feature_v1,
|
||||
feature_monitoring_stats_v1,
|
||||
feature_selector_v1,
|
||||
featurestore_v1,
|
||||
featurestore_online_service_v1,
|
||||
featurestore_service_v1,
|
||||
hyperparameter_tuning_job_v1,
|
||||
io_v1,
|
||||
job_service_v1,
|
||||
job_state_v1,
|
||||
lineage_subgraph_v1,
|
||||
machine_resources_v1,
|
||||
manual_batch_tuning_parameters_v1,
|
||||
matching_engine_deployed_index_ref_v1,
|
||||
index_v1,
|
||||
index_endpoint_v1,
|
||||
index_service_v1,
|
||||
metadata_service_v1,
|
||||
metadata_schema_v1,
|
||||
metadata_store_v1,
|
||||
model_v1,
|
||||
model_evaluation_v1,
|
||||
model_evaluation_slice_v1,
|
||||
model_deployment_monitoring_job_v1,
|
||||
model_service_v1,
|
||||
model_monitoring_v1,
|
||||
operation_v1,
|
||||
persistent_resource_v1,
|
||||
persistent_resource_service_v1,
|
||||
pipeline_failure_policy_v1,
|
||||
pipeline_job_v1,
|
||||
pipeline_service_v1,
|
||||
pipeline_state_v1,
|
||||
prediction_service_v1,
|
||||
publisher_model_v1,
|
||||
reservation_affinity_v1,
|
||||
schedule_v1,
|
||||
schedule_service_v1,
|
||||
specialist_pool_v1,
|
||||
specialist_pool_service_v1,
|
||||
tensorboard_v1,
|
||||
tensorboard_data_v1,
|
||||
tensorboard_experiment_v1,
|
||||
tensorboard_run_v1,
|
||||
tensorboard_service_v1,
|
||||
tensorboard_time_series_v1,
|
||||
training_pipeline_v1,
|
||||
types_v1,
|
||||
study_v1,
|
||||
vizier_service_v1,
|
||||
# v1beta1
|
||||
accelerator_type_v1beta1,
|
||||
annotation_v1beta1,
|
||||
annotation_spec_v1beta1,
|
||||
artifact_v1beta1,
|
||||
batch_prediction_job_v1beta1,
|
||||
completion_stats_v1beta1,
|
||||
context_v1beta1,
|
||||
custom_job_v1beta1,
|
||||
data_item_v1beta1,
|
||||
data_labeling_job_v1beta1,
|
||||
dataset_v1beta1,
|
||||
dataset_service_v1beta1,
|
||||
deployment_resource_pool_v1beta1,
|
||||
deployment_resource_pool_service_v1beta1,
|
||||
deployed_model_ref_v1beta1,
|
||||
encryption_spec_v1beta1,
|
||||
endpoint_v1beta1,
|
||||
endpoint_service_v1beta1,
|
||||
entity_type_v1beta1,
|
||||
env_var_v1beta1,
|
||||
event_v1beta1,
|
||||
execution_v1beta1,
|
||||
explanation_v1beta1,
|
||||
explanation_metadata_v1beta1,
|
||||
feature_v1beta1,
|
||||
feature_monitoring_stats_v1beta1,
|
||||
feature_selector_v1beta1,
|
||||
featurestore_v1beta1,
|
||||
featurestore_monitoring_v1beta1,
|
||||
featurestore_online_service_v1beta1,
|
||||
featurestore_service_v1beta1,
|
||||
hyperparameter_tuning_job_v1beta1,
|
||||
io_v1beta1,
|
||||
job_service_v1beta1,
|
||||
job_state_v1beta1,
|
||||
lineage_subgraph_v1beta1,
|
||||
machine_resources_v1beta1,
|
||||
manual_batch_tuning_parameters_v1beta1,
|
||||
matching_engine_deployed_index_ref_v1beta1,
|
||||
index_v1beta1,
|
||||
index_endpoint_v1beta1,
|
||||
index_service_v1beta1,
|
||||
match_service_v1beta1,
|
||||
metadata_service_v1beta1,
|
||||
metadata_schema_v1beta1,
|
||||
metadata_store_v1beta1,
|
||||
model_v1beta1,
|
||||
model_evaluation_v1beta1,
|
||||
model_evaluation_slice_v1beta1,
|
||||
model_deployment_monitoring_job_v1beta1,
|
||||
model_garden_service_v1beta1,
|
||||
model_service_v1beta1,
|
||||
model_monitor_v1beta1,
|
||||
model_monitoring_v1beta1,
|
||||
model_monitoring_alert_v1beta1,
|
||||
model_monitoring_job_v1beta1,
|
||||
model_monitoring_service_v1beta1,
|
||||
model_monitoring_spec_v1beta1,
|
||||
model_monitoring_stats_v1beta1,
|
||||
operation_v1beta1,
|
||||
persistent_resource_v1beta1,
|
||||
persistent_resource_service_v1beta1,
|
||||
pipeline_failure_policy_v1beta1,
|
||||
pipeline_job_v1beta1,
|
||||
pipeline_service_v1beta1,
|
||||
pipeline_state_v1beta1,
|
||||
prediction_service_v1beta1,
|
||||
publisher_model_v1beta1,
|
||||
reservation_affinity_v1beta1,
|
||||
schedule_v1beta1,
|
||||
schedule_service_v1beta1,
|
||||
specialist_pool_v1beta1,
|
||||
specialist_pool_service_v1beta1,
|
||||
study_v1beta1,
|
||||
tensorboard_v1beta1,
|
||||
tensorboard_data_v1beta1,
|
||||
tensorboard_experiment_v1beta1,
|
||||
tensorboard_run_v1beta1,
|
||||
tensorboard_service_v1beta1,
|
||||
tensorboard_time_series_v1beta1,
|
||||
training_pipeline_v1beta1,
|
||||
types_v1beta1,
|
||||
vizier_service_v1beta1,
|
||||
)
|
||||
Binary file not shown.
Reference in New Issue
Block a user