google-cloud-ai_platform-v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +1364 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +111 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +1076 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +124 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +508 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/paths.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2707 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +113 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +1146 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/paths.rb +88 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +823 -0
- data/lib/google/cloud/ai_platform/v1/index_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/index_service/paths.rb +88 -0
- data/lib/google/cloud/ai_platform/v1/index_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +3236 -0
- data/lib/google/cloud/ai_platform/v1/job_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +259 -0
- data/lib/google/cloud/ai_platform/v1/job_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +3654 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/paths.rb +153 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +538 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/paths.rb +148 -0
- data/lib/google/cloud/ai_platform/v1/migration_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +1355 -0
- data/lib/google/cloud/ai_platform/v1/model_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +151 -0
- data/lib/google/cloud/ai_platform/v1/model_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1384 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +225 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +52 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +650 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +52 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +826 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/paths.rb +69 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +3224 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/credentials.rb +48 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/paths.rb +138 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +1793 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +767 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/paths.rb +109 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service.rb +54 -0
- data/lib/google/cloud/ai_platform/v1.rb +52 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +29 -0
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +35 -0
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +30 -0
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +45 -0
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +83 -0
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +27 -0
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +38 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +84 -0
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +32 -0
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +78 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +53 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +126 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +26 -0
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +26 -0
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +67 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +90 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +58 -0
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +32 -0
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +25 -0
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +36 -0
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +48 -0
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +107 -0
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +106 -0
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +30 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +46 -0
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +86 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_services_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +280 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +109 -0
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +46 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +101 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_services_pb.rb +62 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +38 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +98 -0
- data/lib/google/cloud/aiplatform/v1/index_service_services_pb.rb +55 -0
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +217 -0
- data/lib/google/cloud/aiplatform/v1/job_service_services_pb.rb +134 -0
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +32 -0
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +59 -0
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -0
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +38 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +272 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_services_pb.rb +119 -0
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +36 -0
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +59 -0
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +106 -0
- data/lib/google/cloud/aiplatform/v1/migration_service_services_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +111 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +33 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +36 -0
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +93 -0
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +88 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +129 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +69 -0
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +32 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +115 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +88 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +84 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +31 -0
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +57 -0
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +30 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_services_pb.rb +58 -0
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +191 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +33 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +36 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +32 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +244 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +115 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +48 -0
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +95 -0
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +35 -0
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +27 -0
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +27 -0
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +27 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +136 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +90 -0
- data/lib/google-cloud-ai_platform-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/httpbody.rb +80 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +50 -0
- data/proto_docs/google/cloud/aiplatform/v1/annotation.rb +92 -0
- data/proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb +50 -0
- data/proto_docs/google/cloud/aiplatform/v1/artifact.rb +112 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +278 -0
- data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +46 -0
- data/proto_docs/google/cloud/aiplatform/v1/context.rb +92 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +272 -0
- data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +73 -0
- data/proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb +207 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +154 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +301 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb +38 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb +38 -0
- data/proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb +40 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +227 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +258 -0
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +79 -0
- data/proto_docs/google/cloud/aiplatform/v1/env_var.rb +44 -0
- data/proto_docs/google/cloud/aiplatform/v1/event.rb +79 -0
- data/proto_docs/google/cloud/aiplatform/v1/execution.rb +118 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +445 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +419 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +115 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_monitoring_stats.rb +88 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_selector.rb +49 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +115 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +203 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +978 -0
- data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +109 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +98 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +252 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +240 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +220 -0
- data/proto_docs/google/cloud/aiplatform/v1/io.rb +134 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_service.rb +660 -0
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +60 -0
- data/proto_docs/google/cloud/aiplatform/v1/lineage_subgraph.rb +42 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +194 -0
- data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +41 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb +74 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +912 -0
- data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +62 -0
- data/proto_docs/google/cloud/aiplatform/v1/migratable_resource.rb +133 -0
- data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +260 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +562 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +293 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +60 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +68 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +257 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +329 -0
- data/proto_docs/google/cloud/aiplatform/v1/operation.rb +55 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +347 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +258 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb +59 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +165 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb +52 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb +52 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.rb +46 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.rb +53 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.rb +46 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.rb +59 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.rb +59 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.rb +59 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_classification.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.rb +44 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_classification.rb +72 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.rb +51 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/classification.rb +49 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.rb +58 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.rb +53 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.rb +47 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.rb +60 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.rb +60 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb +73 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.rb +91 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.rb +142 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.rb +134 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.rb +120 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.rb +315 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.rb +46 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.rb +55 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.rb +73 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.rb +67 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.rb +78 -0
- data/proto_docs/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.rb +51 -0
- data/proto_docs/google/cloud/aiplatform/v1/specialist_pool.rb +58 -0
- data/proto_docs/google/cloud/aiplatform/v1/specialist_pool_service.rb +136 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +543 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard.rb +89 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_data.rb +110 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +82 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_run.rb +85 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +706 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_time_series.rb +101 -0
- data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +381 -0
- data/proto_docs/google/cloud/aiplatform/v1/types.rb +62 -0
- data/proto_docs/google/cloud/aiplatform/v1/unmanaged_container_model.rb +44 -0
- data/proto_docs/google/cloud/aiplatform/v1/user_action_reference.rb +49 -0
- data/proto_docs/google/cloud/aiplatform/v1/value.rb +41 -0
- data/proto_docs/google/cloud/aiplatform/v1/vizier_service.rb +332 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/money.rb +43 -0
- metadata +479 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2022 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AIPlatform
|
|
23
|
+
module V1
|
|
24
|
+
# Represents a job that runs periodically to monitor the deployed models in an
|
|
25
|
+
# endpoint. It will analyze the logged training & prediction data to detect any
|
|
26
|
+
# abnormal behaviors.
|
|
27
|
+
# @!attribute [r] name
|
|
28
|
+
# @return [::String]
|
|
29
|
+
# Output only. Resource name of a ModelDeploymentMonitoringJob.
|
|
30
|
+
# @!attribute [rw] display_name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Required. The user-defined name of the ModelDeploymentMonitoringJob.
|
|
33
|
+
# The name can be up to 128 characters long and can be consist of any UTF-8
|
|
34
|
+
# characters.
|
|
35
|
+
# Display name of a ModelDeploymentMonitoringJob.
|
|
36
|
+
# @!attribute [rw] endpoint
|
|
37
|
+
# @return [::String]
|
|
38
|
+
# Required. Endpoint resource name.
|
|
39
|
+
# Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
|
40
|
+
# @!attribute [r] state
|
|
41
|
+
# @return [::Google::Cloud::AIPlatform::V1::JobState]
|
|
42
|
+
# Output only. The detailed state of the monitoring job.
|
|
43
|
+
# When the job is still creating, the state will be 'PENDING'.
|
|
44
|
+
# Once the job is successfully created, the state will be 'RUNNING'.
|
|
45
|
+
# Pause the job, the state will be 'PAUSED'.
|
|
46
|
+
# Resume the job, the state will return to 'RUNNING'.
|
|
47
|
+
# @!attribute [r] schedule_state
|
|
48
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob::MonitoringScheduleState]
|
|
49
|
+
# Output only. Schedule state when the monitoring job is in Running state.
|
|
50
|
+
# @!attribute [rw] model_deployment_monitoring_objective_configs
|
|
51
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringObjectiveConfig>]
|
|
52
|
+
# Required. The config for monitoring objectives. This is a per DeployedModel config.
|
|
53
|
+
# Each DeployedModel needs to be configured separately.
|
|
54
|
+
# @!attribute [rw] model_deployment_monitoring_schedule_config
|
|
55
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringScheduleConfig]
|
|
56
|
+
# Required. Schedule config for running the monitoring job.
|
|
57
|
+
# @!attribute [rw] logging_sampling_strategy
|
|
58
|
+
# @return [::Google::Cloud::AIPlatform::V1::SamplingStrategy]
|
|
59
|
+
# Required. Sample Strategy for logging.
|
|
60
|
+
# @!attribute [rw] model_monitoring_alert_config
|
|
61
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig]
|
|
62
|
+
# Alert config for model monitoring.
|
|
63
|
+
# @!attribute [rw] predict_instance_schema_uri
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# YAML schema file uri describing the format of a single instance,
|
|
66
|
+
# which are given to format this Endpoint's prediction (and explanation).
|
|
67
|
+
# If not set, we will generate predict schema from collected predict
|
|
68
|
+
# requests.
|
|
69
|
+
# @!attribute [rw] sample_predict_instance
|
|
70
|
+
# @return [::Google::Protobuf::Value]
|
|
71
|
+
# Sample Predict instance, same format as {::Google::Cloud::AIPlatform::V1::PredictRequest#instances PredictRequest.instances},
|
|
72
|
+
# this can be set as a replacement of
|
|
73
|
+
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob#predict_instance_schema_uri ModelDeploymentMonitoringJob.predict_instance_schema_uri}. If not set,
|
|
74
|
+
# we will generate predict schema from collected predict requests.
|
|
75
|
+
# @!attribute [rw] analysis_instance_schema_uri
|
|
76
|
+
# @return [::String]
|
|
77
|
+
# YAML schema file uri describing the format of a single instance that you
|
|
78
|
+
# want Tensorflow Data Validation (TFDV) to analyze.
|
|
79
|
+
#
|
|
80
|
+
# If this field is empty, all the feature data types are inferred from
|
|
81
|
+
# {::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringJob#predict_instance_schema_uri predict_instance_schema_uri},
|
|
82
|
+
# meaning that TFDV will use the data in the exact format(data type) as
|
|
83
|
+
# prediction request/response.
|
|
84
|
+
# If there are any data type differences between predict instance and TFDV
|
|
85
|
+
# instance, this field can be used to override the schema.
|
|
86
|
+
# For models trained with Vertex AI, this field must be set as all the
|
|
87
|
+
# fields in predict instance formatted as string.
|
|
88
|
+
# @!attribute [r] bigquery_tables
|
|
89
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringBigQueryTable>]
|
|
90
|
+
# Output only. The created bigquery tables for the job under customer project. Customer
|
|
91
|
+
# could do their own query & analysis. There could be 4 log tables in
|
|
92
|
+
# maximum:
|
|
93
|
+
# 1. Training data logging predict request/response
|
|
94
|
+
# 2. Serving data logging predict request/response
|
|
95
|
+
# @!attribute [rw] log_ttl
|
|
96
|
+
# @return [::Google::Protobuf::Duration]
|
|
97
|
+
# The TTL of BigQuery tables in user projects which stores logs.
|
|
98
|
+
# A day is the basic unit of the TTL and we take the ceil of TTL/86400(a
|
|
99
|
+
# day). e.g. { second: 3600} indicates ttl = 1 day.
|
|
100
|
+
# @!attribute [rw] labels
|
|
101
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
102
|
+
# The labels with user-defined metadata to organize your
|
|
103
|
+
# ModelDeploymentMonitoringJob.
|
|
104
|
+
#
|
|
105
|
+
# Label keys and values can be no longer than 64 characters
|
|
106
|
+
# (Unicode codepoints), can only contain lowercase letters, numeric
|
|
107
|
+
# characters, underscores and dashes. International characters are allowed.
|
|
108
|
+
#
|
|
109
|
+
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
|
110
|
+
# @!attribute [r] create_time
|
|
111
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
112
|
+
# Output only. Timestamp when this ModelDeploymentMonitoringJob was created.
|
|
113
|
+
# @!attribute [r] update_time
|
|
114
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
115
|
+
# Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently.
|
|
116
|
+
# @!attribute [r] next_schedule_time
|
|
117
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
118
|
+
# Output only. Timestamp when this monitoring pipeline will be scheduled to run for the
|
|
119
|
+
# next round.
|
|
120
|
+
# @!attribute [rw] stats_anomalies_base_directory
|
|
121
|
+
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
|
122
|
+
# Stats anomalies base folder path.
|
|
123
|
+
# @!attribute [rw] encryption_spec
|
|
124
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
|
125
|
+
# Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If
|
|
126
|
+
# set, this ModelDeploymentMonitoringJob and all sub-resources of this
|
|
127
|
+
# ModelDeploymentMonitoringJob will be secured by this key.
|
|
128
|
+
# @!attribute [rw] enable_monitoring_pipeline_logs
|
|
129
|
+
# @return [::Boolean]
|
|
130
|
+
# If true, the scheduled monitoring pipeline logs are sent to
|
|
131
|
+
# Google Cloud Logging, including pipeline status and anomalies detected.
|
|
132
|
+
# Please note the logs incur cost, which are subject to [Cloud Logging
|
|
133
|
+
# pricing](https://cloud.google.com/logging#pricing).
|
|
134
|
+
# @!attribute [r] error
|
|
135
|
+
# @return [::Google::Rpc::Status]
|
|
136
|
+
# Output only. Only populated when the job's state is `JOB_STATE_FAILED` or
|
|
137
|
+
# `JOB_STATE_CANCELLED`.
|
|
138
|
+
class ModelDeploymentMonitoringJob
|
|
139
|
+
include ::Google::Protobuf::MessageExts
|
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
141
|
+
|
|
142
|
+
# @!attribute [rw] key
|
|
143
|
+
# @return [::String]
|
|
144
|
+
# @!attribute [rw] value
|
|
145
|
+
# @return [::String]
|
|
146
|
+
class LabelsEntry
|
|
147
|
+
include ::Google::Protobuf::MessageExts
|
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# The state to Specify the monitoring pipeline.
|
|
152
|
+
module MonitoringScheduleState
|
|
153
|
+
# Unspecified state.
|
|
154
|
+
MONITORING_SCHEDULE_STATE_UNSPECIFIED = 0
|
|
155
|
+
|
|
156
|
+
# The pipeline is picked up and wait to run.
|
|
157
|
+
PENDING = 1
|
|
158
|
+
|
|
159
|
+
# The pipeline is offline and will be scheduled for next run.
|
|
160
|
+
OFFLINE = 2
|
|
161
|
+
|
|
162
|
+
# The pipeline is running.
|
|
163
|
+
RUNNING = 3
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name
|
|
168
|
+
# as well as some information of the logs stored in this table.
|
|
169
|
+
# @!attribute [rw] log_source
|
|
170
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringBigQueryTable::LogSource]
|
|
171
|
+
# The source of log.
|
|
172
|
+
# @!attribute [rw] log_type
|
|
173
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringBigQueryTable::LogType]
|
|
174
|
+
# The type of log.
|
|
175
|
+
# @!attribute [rw] bigquery_table_path
|
|
176
|
+
# @return [::String]
|
|
177
|
+
# The created BigQuery table to store logs. Customer could do their own query
|
|
178
|
+
# & analysis. Format:
|
|
179
|
+
# `bq://<project_id>.model_deployment_monitoring_<endpoint_id>.<tolower(log_source)>_<tolower(log_type)>`
|
|
180
|
+
class ModelDeploymentMonitoringBigQueryTable
|
|
181
|
+
include ::Google::Protobuf::MessageExts
|
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
183
|
+
|
|
184
|
+
# Indicates where does the log come from.
|
|
185
|
+
module LogSource
|
|
186
|
+
# Unspecified source.
|
|
187
|
+
LOG_SOURCE_UNSPECIFIED = 0
|
|
188
|
+
|
|
189
|
+
# Logs coming from Training dataset.
|
|
190
|
+
TRAINING = 1
|
|
191
|
+
|
|
192
|
+
# Logs coming from Serving traffic.
|
|
193
|
+
SERVING = 2
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Indicates what type of traffic does the log belong to.
|
|
197
|
+
module LogType
|
|
198
|
+
# Unspecified type.
|
|
199
|
+
LOG_TYPE_UNSPECIFIED = 0
|
|
200
|
+
|
|
201
|
+
# Predict logs.
|
|
202
|
+
PREDICT = 1
|
|
203
|
+
|
|
204
|
+
# Explain logs.
|
|
205
|
+
EXPLAIN = 2
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# ModelDeploymentMonitoringObjectiveConfig contains the pair of
|
|
210
|
+
# deployed_model_id to ModelMonitoringObjectiveConfig.
|
|
211
|
+
# @!attribute [rw] deployed_model_id
|
|
212
|
+
# @return [::String]
|
|
213
|
+
# The DeployedModel ID of the objective config.
|
|
214
|
+
# @!attribute [rw] objective_config
|
|
215
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig]
|
|
216
|
+
# The objective config of for the modelmonitoring job of this deployed model.
|
|
217
|
+
class ModelDeploymentMonitoringObjectiveConfig
|
|
218
|
+
include ::Google::Protobuf::MessageExts
|
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# The config for scheduling monitoring job.
|
|
223
|
+
# @!attribute [rw] monitor_interval
|
|
224
|
+
# @return [::Google::Protobuf::Duration]
|
|
225
|
+
# Required. The model monitoring job scheduling interval. It will be rounded up to next
|
|
226
|
+
# full hour. This defines how often the monitoring jobs are triggered.
|
|
227
|
+
class ModelDeploymentMonitoringScheduleConfig
|
|
228
|
+
include ::Google::Protobuf::MessageExts
|
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Statistics and anomalies generated by Model Monitoring.
|
|
233
|
+
# @!attribute [rw] objective
|
|
234
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelDeploymentMonitoringObjectiveType]
|
|
235
|
+
# Model Monitoring Objective those stats and anomalies belonging to.
|
|
236
|
+
# @!attribute [rw] deployed_model_id
|
|
237
|
+
# @return [::String]
|
|
238
|
+
# Deployed Model ID.
|
|
239
|
+
# @!attribute [rw] anomaly_count
|
|
240
|
+
# @return [::Integer]
|
|
241
|
+
# Number of anomalies within all stats.
|
|
242
|
+
# @!attribute [rw] feature_stats
|
|
243
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::ModelMonitoringStatsAnomalies::FeatureHistoricStatsAnomalies>]
|
|
244
|
+
# A list of historical Stats and Anomalies generated for all Features.
|
|
245
|
+
class ModelMonitoringStatsAnomalies
|
|
246
|
+
include ::Google::Protobuf::MessageExts
|
|
247
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
248
|
+
|
|
249
|
+
# Historical Stats (and Anomalies) for a specific Feature.
|
|
250
|
+
# @!attribute [rw] feature_display_name
|
|
251
|
+
# @return [::String]
|
|
252
|
+
# Display Name of the Feature.
|
|
253
|
+
# @!attribute [rw] threshold
|
|
254
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
|
255
|
+
# Threshold for anomaly detection.
|
|
256
|
+
# @!attribute [rw] training_stats
|
|
257
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly]
|
|
258
|
+
# Stats calculated for the Training Dataset.
|
|
259
|
+
# @!attribute [rw] prediction_stats
|
|
260
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly>]
|
|
261
|
+
# A list of historical stats generated by different time window's
|
|
262
|
+
# Prediction Dataset.
|
|
263
|
+
class FeatureHistoricStatsAnomalies
|
|
264
|
+
include ::Google::Protobuf::MessageExts
|
|
265
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# The Model Monitoring Objective types.
|
|
270
|
+
module ModelDeploymentMonitoringObjectiveType
|
|
271
|
+
# Default value, should not be set.
|
|
272
|
+
MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED = 0
|
|
273
|
+
|
|
274
|
+
# Raw feature values' stats to detect skew between Training-Prediction
|
|
275
|
+
# datasets.
|
|
276
|
+
RAW_FEATURE_SKEW = 1
|
|
277
|
+
|
|
278
|
+
# Raw feature values' stats to detect drift between Serving-Prediction
|
|
279
|
+
# datasets.
|
|
280
|
+
RAW_FEATURE_DRIFT = 2
|
|
281
|
+
|
|
282
|
+
# Feature attribution scores to detect skew between Training-Prediction
|
|
283
|
+
# datasets.
|
|
284
|
+
FEATURE_ATTRIBUTION_SKEW = 3
|
|
285
|
+
|
|
286
|
+
# Feature attribution scores to detect skew between Prediction datasets
|
|
287
|
+
# collected within different time windows.
|
|
288
|
+
FEATURE_ATTRIBUTION_DRIFT = 4
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2022 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AIPlatform
|
|
23
|
+
module V1
|
|
24
|
+
# A collection of metrics calculated by comparing Model's predictions on all of
|
|
25
|
+
# the test data against annotations from the test data.
|
|
26
|
+
# @!attribute [r] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Output only. The resource name of the ModelEvaluation.
|
|
29
|
+
# @!attribute [r] metrics_schema_uri
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Output only. Points to a YAML file stored on Google Cloud Storage describing the
|
|
32
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics metrics} of this ModelEvaluation. The schema is
|
|
33
|
+
# defined as an OpenAPI 3.0.2 [Schema
|
|
34
|
+
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
|
35
|
+
# @!attribute [r] metrics
|
|
36
|
+
# @return [::Google::Protobuf::Value]
|
|
37
|
+
# Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
|
|
38
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluation#metrics_schema_uri metrics_schema_uri}
|
|
39
|
+
# @!attribute [r] create_time
|
|
40
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
41
|
+
# Output only. Timestamp when this ModelEvaluation was created.
|
|
42
|
+
# @!attribute [r] slice_dimensions
|
|
43
|
+
# @return [::Array<::String>]
|
|
44
|
+
# Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
|
|
45
|
+
# ModelEvaluationSlices. The dimensions can be used as the filter of the
|
|
46
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_evaluation_slices ModelService.ListModelEvaluationSlices} request, in the form of
|
|
47
|
+
# `slice.dimension = <dimension>`.
|
|
48
|
+
# @!attribute [r] model_explanation
|
|
49
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelExplanation]
|
|
50
|
+
# Output only. Aggregated explanation metrics for the Model's prediction output over the
|
|
51
|
+
# data this ModelEvaluation uses. This field is populated only if the Model
|
|
52
|
+
# is evaluated with explanations, and only for AutoML tabular Models.
|
|
53
|
+
class ModelEvaluation
|
|
54
|
+
include ::Google::Protobuf::MessageExts
|
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2022 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AIPlatform
|
|
23
|
+
module V1
|
|
24
|
+
# A collection of metrics calculated by comparing Model's predictions on a
|
|
25
|
+
# slice of the test data against ground truth annotations.
|
|
26
|
+
# @!attribute [r] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Output only. The resource name of the ModelEvaluationSlice.
|
|
29
|
+
# @!attribute [r] slice
|
|
30
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice]
|
|
31
|
+
# Output only. The slice of the test data that is used to evaluate the Model.
|
|
32
|
+
# @!attribute [r] metrics_schema_uri
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Output only. Points to a YAML file stored on Google Cloud Storage describing the
|
|
35
|
+
# {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics metrics} of this ModelEvaluationSlice. The
|
|
36
|
+
# schema is defined as an OpenAPI 3.0.2 [Schema
|
|
37
|
+
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
|
38
|
+
# @!attribute [r] metrics
|
|
39
|
+
# @return [::Google::Protobuf::Value]
|
|
40
|
+
# Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored
|
|
41
|
+
# in {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice#metrics_schema_uri metrics_schema_uri}
|
|
42
|
+
# @!attribute [r] create_time
|
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
44
|
+
# Output only. Timestamp when this ModelEvaluationSlice was created.
|
|
45
|
+
class ModelEvaluationSlice
|
|
46
|
+
include ::Google::Protobuf::MessageExts
|
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
48
|
+
|
|
49
|
+
# Definition of a slice.
|
|
50
|
+
# @!attribute [r] dimension
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# Output only. The dimension of the slice.
|
|
53
|
+
# Well-known dimensions are:
|
|
54
|
+
# * `annotationSpec`: This slice is on the test data that has either
|
|
55
|
+
# ground truth or prediction with {::Google::Cloud::AIPlatform::V1::AnnotationSpec#display_name AnnotationSpec.display_name}
|
|
56
|
+
# equals to {::Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice#value value}.
|
|
57
|
+
# @!attribute [r] value
|
|
58
|
+
# @return [::String]
|
|
59
|
+
# Output only. The value of the dimension in this slice.
|
|
60
|
+
class Slice
|
|
61
|
+
include ::Google::Protobuf::MessageExts
|
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2022 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AIPlatform
|
|
23
|
+
module V1
|
|
24
|
+
# Next ID: 6
|
|
25
|
+
# @!attribute [rw] training_dataset
|
|
26
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::TrainingDataset]
|
|
27
|
+
# Training dataset for models. This field has to be set only if
|
|
28
|
+
# TrainingPredictionSkewDetectionConfig is specified.
|
|
29
|
+
# @!attribute [rw] training_prediction_skew_detection_config
|
|
30
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::TrainingPredictionSkewDetectionConfig]
|
|
31
|
+
# The config for skew between training data and prediction data.
|
|
32
|
+
# @!attribute [rw] prediction_drift_detection_config
|
|
33
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::PredictionDriftDetectionConfig]
|
|
34
|
+
# The config for drift of prediction data.
|
|
35
|
+
# @!attribute [rw] explanation_config
|
|
36
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::ExplanationConfig]
|
|
37
|
+
# The config for integrating with Vertex Explainable AI.
|
|
38
|
+
class ModelMonitoringObjectiveConfig
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
|
|
42
|
+
# Training Dataset information.
|
|
43
|
+
# @!attribute [rw] dataset
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# The resource name of the Dataset used to train this Model.
|
|
46
|
+
# @!attribute [rw] gcs_source
|
|
47
|
+
# @return [::Google::Cloud::AIPlatform::V1::GcsSource]
|
|
48
|
+
# The Google Cloud Storage uri of the unmanaged Dataset used to train
|
|
49
|
+
# this Model.
|
|
50
|
+
# @!attribute [rw] bigquery_source
|
|
51
|
+
# @return [::Google::Cloud::AIPlatform::V1::BigQuerySource]
|
|
52
|
+
# The BigQuery table of the unmanaged Dataset used to train this
|
|
53
|
+
# Model.
|
|
54
|
+
# @!attribute [rw] data_format
|
|
55
|
+
# @return [::String]
|
|
56
|
+
# Data format of the dataset, only applicable if the input is from
|
|
57
|
+
# Google Cloud Storage.
|
|
58
|
+
# The possible formats are:
|
|
59
|
+
#
|
|
60
|
+
# "tf-record"
|
|
61
|
+
# The source file is a TFRecord file.
|
|
62
|
+
#
|
|
63
|
+
# "csv"
|
|
64
|
+
# The source file is a CSV file.
|
|
65
|
+
# @!attribute [rw] target_field
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# The target field name the model is to predict.
|
|
68
|
+
# This field will be excluded when doing Predict and (or) Explain for the
|
|
69
|
+
# training data.
|
|
70
|
+
# @!attribute [rw] logging_sampling_strategy
|
|
71
|
+
# @return [::Google::Cloud::AIPlatform::V1::SamplingStrategy]
|
|
72
|
+
# Strategy to sample data from Training Dataset.
|
|
73
|
+
# If not set, we process the whole dataset.
|
|
74
|
+
class TrainingDataset
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# The config for Training & Prediction data skew detection. It specifies the
|
|
80
|
+
# training dataset sources and the skew detection parameters.
|
|
81
|
+
# @!attribute [rw] skew_thresholds
|
|
82
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ThresholdConfig}]
|
|
83
|
+
# Key is the feature name and value is the threshold. If a feature needs to
|
|
84
|
+
# be monitored for skew, a value threshold must be configured for that
|
|
85
|
+
# feature. The threshold here is against feature distribution distance
|
|
86
|
+
# between the training and prediction feature.
|
|
87
|
+
# @!attribute [rw] attribution_score_skew_thresholds
|
|
88
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ThresholdConfig}]
|
|
89
|
+
# Key is the feature name and value is the threshold. The threshold here is
|
|
90
|
+
# against attribution score distance between the training and prediction
|
|
91
|
+
# feature.
|
|
92
|
+
class TrainingPredictionSkewDetectionConfig
|
|
93
|
+
include ::Google::Protobuf::MessageExts
|
|
94
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
95
|
+
|
|
96
|
+
# @!attribute [rw] key
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# @!attribute [rw] value
|
|
99
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
|
100
|
+
class SkewThresholdsEntry
|
|
101
|
+
include ::Google::Protobuf::MessageExts
|
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# @!attribute [rw] key
|
|
106
|
+
# @return [::String]
|
|
107
|
+
# @!attribute [rw] value
|
|
108
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
|
109
|
+
class AttributionScoreSkewThresholdsEntry
|
|
110
|
+
include ::Google::Protobuf::MessageExts
|
|
111
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# The config for Prediction data drift detection.
|
|
116
|
+
# @!attribute [rw] drift_thresholds
|
|
117
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ThresholdConfig}]
|
|
118
|
+
# Key is the feature name and value is the threshold. If a feature needs to
|
|
119
|
+
# be monitored for drift, a value threshold must be configured for that
|
|
120
|
+
# feature. The threshold here is against feature distribution distance
|
|
121
|
+
# between different time windws.
|
|
122
|
+
# @!attribute [rw] attribution_score_drift_thresholds
|
|
123
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ThresholdConfig}]
|
|
124
|
+
# Key is the feature name and value is the threshold. The threshold here is
|
|
125
|
+
# against attribution score distance between different time windows.
|
|
126
|
+
class PredictionDriftDetectionConfig
|
|
127
|
+
include ::Google::Protobuf::MessageExts
|
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
129
|
+
|
|
130
|
+
# @!attribute [rw] key
|
|
131
|
+
# @return [::String]
|
|
132
|
+
# @!attribute [rw] value
|
|
133
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
|
134
|
+
class DriftThresholdsEntry
|
|
135
|
+
include ::Google::Protobuf::MessageExts
|
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# @!attribute [rw] key
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# @!attribute [rw] value
|
|
142
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
|
143
|
+
class AttributionScoreDriftThresholdsEntry
|
|
144
|
+
include ::Google::Protobuf::MessageExts
|
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# The config for integrating with Vertex Explainable AI. Only applicable if
|
|
150
|
+
# the Model has explanation_spec populated.
|
|
151
|
+
# @!attribute [rw] enable_feature_attributes
|
|
152
|
+
# @return [::Boolean]
|
|
153
|
+
# If want to analyze the Vertex Explainable AI feature attribute scores or
|
|
154
|
+
# not. If set to true, Vertex AI will log the feature attributions from
|
|
155
|
+
# explain response and do the skew/drift detection for them.
|
|
156
|
+
# @!attribute [rw] explanation_baseline
|
|
157
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::ExplanationConfig::ExplanationBaseline]
|
|
158
|
+
# Predictions generated by the BatchPredictionJob using baseline dataset.
|
|
159
|
+
class ExplanationConfig
|
|
160
|
+
include ::Google::Protobuf::MessageExts
|
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
162
|
+
|
|
163
|
+
# Output from {::Google::Cloud::AIPlatform::V1::BatchPredictionJob BatchPredictionJob} for Model Monitoring baseline dataset,
|
|
164
|
+
# which can be used to generate baseline attribution scores.
|
|
165
|
+
# @!attribute [rw] gcs
|
|
166
|
+
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
|
167
|
+
# Cloud Storage location for BatchExplain output.
|
|
168
|
+
# @!attribute [rw] bigquery
|
|
169
|
+
# @return [::Google::Cloud::AIPlatform::V1::BigQueryDestination]
|
|
170
|
+
# BigQuery location for BatchExplain output.
|
|
171
|
+
# @!attribute [rw] prediction_format
|
|
172
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringObjectiveConfig::ExplanationConfig::ExplanationBaseline::PredictionFormat]
|
|
173
|
+
# The storage format of the predictions generated BatchPrediction job.
|
|
174
|
+
class ExplanationBaseline
|
|
175
|
+
include ::Google::Protobuf::MessageExts
|
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
177
|
+
|
|
178
|
+
# The storage format of the predictions generated BatchPrediction job.
|
|
179
|
+
module PredictionFormat
|
|
180
|
+
# Should not be set.
|
|
181
|
+
PREDICTION_FORMAT_UNSPECIFIED = 0
|
|
182
|
+
|
|
183
|
+
# Predictions are in JSONL files.
|
|
184
|
+
JSONL = 2
|
|
185
|
+
|
|
186
|
+
# Predictions are in BigQuery.
|
|
187
|
+
BIGQUERY = 3
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Next ID: 3
|
|
194
|
+
# @!attribute [rw] email_alert_config
|
|
195
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelMonitoringAlertConfig::EmailAlertConfig]
|
|
196
|
+
# Email alert config.
|
|
197
|
+
# @!attribute [rw] enable_logging
|
|
198
|
+
# @return [::Boolean]
|
|
199
|
+
# Dump the anomalies to Cloud Logging. The anomalies will be put to json
|
|
200
|
+
# payload encoded from proto
|
|
201
|
+
# [google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][].
|
|
202
|
+
# This can be further sinked to Pub/Sub or any other services supported
|
|
203
|
+
# by Cloud Logging.
|
|
204
|
+
class ModelMonitoringAlertConfig
|
|
205
|
+
include ::Google::Protobuf::MessageExts
|
|
206
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
207
|
+
|
|
208
|
+
# The config for email alert.
|
|
209
|
+
# @!attribute [rw] user_emails
|
|
210
|
+
# @return [::Array<::String>]
|
|
211
|
+
# The email addresses to send the alert.
|
|
212
|
+
class EmailAlertConfig
|
|
213
|
+
include ::Google::Protobuf::MessageExts
|
|
214
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# The config for feature monitoring threshold.
|
|
219
|
+
# Next ID: 3
|
|
220
|
+
# @!attribute [rw] value
|
|
221
|
+
# @return [::Float]
|
|
222
|
+
# Specify a threshold value that can trigger the alert.
|
|
223
|
+
# If this threshold config is for feature distribution distance:
|
|
224
|
+
# 1. For categorical feature, the distribution distance is calculated by
|
|
225
|
+
# L-inifinity norm.
|
|
226
|
+
# 2. For numerical feature, the distribution distance is calculated by
|
|
227
|
+
# Jensen–Shannon divergence.
|
|
228
|
+
# Each feature must have a non-zero threshold if they need to be monitored.
|
|
229
|
+
# Otherwise no alert will be triggered for that feature.
|
|
230
|
+
class ThresholdConfig
|
|
231
|
+
include ::Google::Protobuf::MessageExts
|
|
232
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# Sampling Strategy for logging, can be for both training and prediction
|
|
236
|
+
# dataset.
|
|
237
|
+
# Next ID: 2
|
|
238
|
+
# @!attribute [rw] random_sample_config
|
|
239
|
+
# @return [::Google::Cloud::AIPlatform::V1::SamplingStrategy::RandomSampleConfig]
|
|
240
|
+
# Random sample config. Will support more sampling strategies later.
|
|
241
|
+
class SamplingStrategy
|
|
242
|
+
include ::Google::Protobuf::MessageExts
|
|
243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
244
|
+
|
|
245
|
+
# Requests are randomly selected.
|
|
246
|
+
# @!attribute [rw] sample_rate
|
|
247
|
+
# @return [::Float]
|
|
248
|
+
# Sample rate (0, 1]
|
|
249
|
+
class RandomSampleConfig
|
|
250
|
+
include ::Google::Protobuf::MessageExts
|
|
251
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
252
|
+
end
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|