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,101 @@
|
|
|
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
|
+
# TensorboardTimeSeries maps to times series produced in training runs
|
|
25
|
+
# @!attribute [r] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Output only. Name of the TensorboardTimeSeries.
|
|
28
|
+
# @!attribute [rw] display_name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Required. User provided name of this TensorboardTimeSeries.
|
|
31
|
+
# This value should be unique among all TensorboardTimeSeries resources
|
|
32
|
+
# belonging to the same TensorboardRun resource (parent resource).
|
|
33
|
+
# @!attribute [rw] description
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Description of this TensorboardTimeSeries.
|
|
36
|
+
# @!attribute [rw] value_type
|
|
37
|
+
# @return [::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries::ValueType]
|
|
38
|
+
# Required. Immutable. Type of TensorboardTimeSeries value.
|
|
39
|
+
# @!attribute [r] create_time
|
|
40
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
41
|
+
# Output only. Timestamp when this TensorboardTimeSeries was created.
|
|
42
|
+
# @!attribute [r] update_time
|
|
43
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
44
|
+
# Output only. Timestamp when this TensorboardTimeSeries was last updated.
|
|
45
|
+
# @!attribute [rw] etag
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Used to perform a consistent read-modify-write updates. If not set, a blind
|
|
48
|
+
# "overwrite" update happens.
|
|
49
|
+
# @!attribute [rw] plugin_name
|
|
50
|
+
# @return [::String]
|
|
51
|
+
# Immutable. Name of the plugin this time series pertain to. Such as Scalar, Tensor,
|
|
52
|
+
# Blob
|
|
53
|
+
# @!attribute [rw] plugin_data
|
|
54
|
+
# @return [::String]
|
|
55
|
+
# Data of the current plugin, with the size limited to 65KB.
|
|
56
|
+
# @!attribute [r] metadata
|
|
57
|
+
# @return [::Google::Cloud::AIPlatform::V1::TensorboardTimeSeries::Metadata]
|
|
58
|
+
# Output only. Scalar, Tensor, or Blob metadata for this TensorboardTimeSeries.
|
|
59
|
+
class TensorboardTimeSeries
|
|
60
|
+
include ::Google::Protobuf::MessageExts
|
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
62
|
+
|
|
63
|
+
# Describes metadata for a TensorboardTimeSeries.
|
|
64
|
+
# @!attribute [r] max_step
|
|
65
|
+
# @return [::Integer]
|
|
66
|
+
# Output only. Max step index of all data points within a TensorboardTimeSeries.
|
|
67
|
+
# @!attribute [r] max_wall_time
|
|
68
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
69
|
+
# Output only. Max wall clock timestamp of all data points within a
|
|
70
|
+
# TensorboardTimeSeries.
|
|
71
|
+
# @!attribute [r] max_blob_sequence_length
|
|
72
|
+
# @return [::Integer]
|
|
73
|
+
# Output only. The largest blob sequence length (number of blobs) of all data points in
|
|
74
|
+
# this time series, if its ValueType is BLOB_SEQUENCE.
|
|
75
|
+
class Metadata
|
|
76
|
+
include ::Google::Protobuf::MessageExts
|
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# An enum representing the value type of a TensorboardTimeSeries.
|
|
81
|
+
module ValueType
|
|
82
|
+
# The value type is unspecified.
|
|
83
|
+
VALUE_TYPE_UNSPECIFIED = 0
|
|
84
|
+
|
|
85
|
+
# Used for TensorboardTimeSeries that is a list of scalars.
|
|
86
|
+
# E.g. accuracy of a model over epochs/time.
|
|
87
|
+
SCALAR = 1
|
|
88
|
+
|
|
89
|
+
# Used for TensorboardTimeSeries that is a list of tensors.
|
|
90
|
+
# E.g. histograms of weights of layer in a model over epoch/time.
|
|
91
|
+
TENSOR = 2
|
|
92
|
+
|
|
93
|
+
# Used for TensorboardTimeSeries that is a list of blob sequences.
|
|
94
|
+
# E.g. set of sample images with labels over epochs/time.
|
|
95
|
+
BLOB_SEQUENCE = 3
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -0,0 +1,381 @@
|
|
|
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
|
+
# The TrainingPipeline orchestrates tasks associated with training a Model. It
|
|
25
|
+
# always executes the training task, and optionally may also
|
|
26
|
+
# export data from Vertex AI's Dataset which becomes the training input,
|
|
27
|
+
# {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model upload} the Model to Vertex AI, and evaluate the
|
|
28
|
+
# Model.
|
|
29
|
+
# @!attribute [r] name
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Output only. Resource name of the TrainingPipeline.
|
|
32
|
+
# @!attribute [rw] display_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Required. The user-defined name of this TrainingPipeline.
|
|
35
|
+
# @!attribute [rw] input_data_config
|
|
36
|
+
# @return [::Google::Cloud::AIPlatform::V1::InputDataConfig]
|
|
37
|
+
# Specifies Vertex AI owned input data that may be used for training the
|
|
38
|
+
# Model. The TrainingPipeline's {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition} should make
|
|
39
|
+
# clear whether this config is used and if there are any special requirements
|
|
40
|
+
# on how it should be filled. If nothing about this config is mentioned in
|
|
41
|
+
# the {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition}, then it should be assumed that the
|
|
42
|
+
# TrainingPipeline does not depend on this configuration.
|
|
43
|
+
# @!attribute [rw] training_task_definition
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# Required. A Google Cloud Storage path to the YAML file that defines the training task
|
|
46
|
+
# which is responsible for producing the model artifact, and may also include
|
|
47
|
+
# additional auxiliary work.
|
|
48
|
+
# The definition files that can be used here are found in
|
|
49
|
+
# gs://google-cloud-aiplatform/schema/trainingjob/definition/.
|
|
50
|
+
# Note: The URI given on output will be immutable and probably different,
|
|
51
|
+
# including the URI scheme, than the one given on input. The output URI will
|
|
52
|
+
# point to a location where the user only has a read access.
|
|
53
|
+
# @!attribute [rw] training_task_inputs
|
|
54
|
+
# @return [::Google::Protobuf::Value]
|
|
55
|
+
# Required. The training task's parameter(s), as specified in the
|
|
56
|
+
# {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition}'s `inputs`.
|
|
57
|
+
# @!attribute [r] training_task_metadata
|
|
58
|
+
# @return [::Google::Protobuf::Value]
|
|
59
|
+
# Output only. The metadata information as specified in the {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition}'s
|
|
60
|
+
# `metadata`. This metadata is an auxiliary runtime and final information
|
|
61
|
+
# about the training task. While the pipeline is running this information is
|
|
62
|
+
# populated only at a best effort basis. Only present if the
|
|
63
|
+
# pipeline's {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition} contains `metadata` object.
|
|
64
|
+
# @!attribute [rw] model_to_upload
|
|
65
|
+
# @return [::Google::Cloud::AIPlatform::V1::Model]
|
|
66
|
+
# Describes the Model that may be uploaded (via {::Google::Cloud::AIPlatform::V1::ModelService::Client#upload_model ModelService.UploadModel})
|
|
67
|
+
# by this TrainingPipeline. The TrainingPipeline's
|
|
68
|
+
# {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition} should make clear whether this Model
|
|
69
|
+
# description should be populated, and if there are any special requirements
|
|
70
|
+
# regarding how it should be filled. If nothing is mentioned in the
|
|
71
|
+
# {::Google::Cloud::AIPlatform::V1::TrainingPipeline#training_task_definition training_task_definition}, then it should be assumed that this field
|
|
72
|
+
# should not be filled and the training task either uploads the Model without
|
|
73
|
+
# a need of this information, or that training task does not support
|
|
74
|
+
# uploading a Model as part of the pipeline.
|
|
75
|
+
# When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and
|
|
76
|
+
# the trained Model had been uploaded into Vertex AI, then the
|
|
77
|
+
# model_to_upload's resource {::Google::Cloud::AIPlatform::V1::Model#name name} is populated. The Model
|
|
78
|
+
# is always uploaded into the Project and Location in which this pipeline
|
|
79
|
+
# is.
|
|
80
|
+
# @!attribute [r] state
|
|
81
|
+
# @return [::Google::Cloud::AIPlatform::V1::PipelineState]
|
|
82
|
+
# Output only. The detailed state of the pipeline.
|
|
83
|
+
# @!attribute [r] error
|
|
84
|
+
# @return [::Google::Rpc::Status]
|
|
85
|
+
# Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or
|
|
86
|
+
# `PIPELINE_STATE_CANCELLED`.
|
|
87
|
+
# @!attribute [r] create_time
|
|
88
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
89
|
+
# Output only. Time when the TrainingPipeline was created.
|
|
90
|
+
# @!attribute [r] start_time
|
|
91
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
92
|
+
# Output only. Time when the TrainingPipeline for the first time entered the
|
|
93
|
+
# `PIPELINE_STATE_RUNNING` state.
|
|
94
|
+
# @!attribute [r] end_time
|
|
95
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
96
|
+
# Output only. Time when the TrainingPipeline entered any of the following states:
|
|
97
|
+
# `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`,
|
|
98
|
+
# `PIPELINE_STATE_CANCELLED`.
|
|
99
|
+
# @!attribute [r] update_time
|
|
100
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
101
|
+
# Output only. Time when the TrainingPipeline was most recently updated.
|
|
102
|
+
# @!attribute [rw] labels
|
|
103
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
104
|
+
# The labels with user-defined metadata to organize TrainingPipelines.
|
|
105
|
+
#
|
|
106
|
+
# Label keys and values can be no longer than 64 characters
|
|
107
|
+
# (Unicode codepoints), can only contain lowercase letters, numeric
|
|
108
|
+
# characters, underscores and dashes. International characters are allowed.
|
|
109
|
+
#
|
|
110
|
+
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
|
111
|
+
# @!attribute [rw] encryption_spec
|
|
112
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
|
113
|
+
# Customer-managed encryption key spec for a TrainingPipeline. If set, this
|
|
114
|
+
# TrainingPipeline will be secured by this key.
|
|
115
|
+
#
|
|
116
|
+
# Note: Model trained by this TrainingPipeline is also secured by this key if
|
|
117
|
+
# {::Google::Cloud::AIPlatform::V1::TrainingPipeline#encryption_spec model_to_upload} is not set separately.
|
|
118
|
+
class TrainingPipeline
|
|
119
|
+
include ::Google::Protobuf::MessageExts
|
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
121
|
+
|
|
122
|
+
# @!attribute [rw] key
|
|
123
|
+
# @return [::String]
|
|
124
|
+
# @!attribute [rw] value
|
|
125
|
+
# @return [::String]
|
|
126
|
+
class LabelsEntry
|
|
127
|
+
include ::Google::Protobuf::MessageExts
|
|
128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Specifies Vertex AI owned input data to be used for training, and
|
|
133
|
+
# possibly evaluating, the Model.
|
|
134
|
+
# @!attribute [rw] fraction_split
|
|
135
|
+
# @return [::Google::Cloud::AIPlatform::V1::FractionSplit]
|
|
136
|
+
# Split based on fractions defining the size of each set.
|
|
137
|
+
# @!attribute [rw] filter_split
|
|
138
|
+
# @return [::Google::Cloud::AIPlatform::V1::FilterSplit]
|
|
139
|
+
# Split based on the provided filters for each set.
|
|
140
|
+
# @!attribute [rw] predefined_split
|
|
141
|
+
# @return [::Google::Cloud::AIPlatform::V1::PredefinedSplit]
|
|
142
|
+
# Supported only for tabular Datasets.
|
|
143
|
+
#
|
|
144
|
+
# Split based on a predefined key.
|
|
145
|
+
# @!attribute [rw] timestamp_split
|
|
146
|
+
# @return [::Google::Cloud::AIPlatform::V1::TimestampSplit]
|
|
147
|
+
# Supported only for tabular Datasets.
|
|
148
|
+
#
|
|
149
|
+
# Split based on the timestamp of the input data pieces.
|
|
150
|
+
# @!attribute [rw] stratified_split
|
|
151
|
+
# @return [::Google::Cloud::AIPlatform::V1::StratifiedSplit]
|
|
152
|
+
# Supported only for tabular Datasets.
|
|
153
|
+
#
|
|
154
|
+
# Split based on the distribution of the specified column.
|
|
155
|
+
# @!attribute [rw] gcs_destination
|
|
156
|
+
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
|
157
|
+
# The Cloud Storage location where the training data is to be
|
|
158
|
+
# written to. In the given directory a new directory is created with
|
|
159
|
+
# name:
|
|
160
|
+
# `dataset-<dataset-id>-<annotation-type>-<timestamp-of-training-call>`
|
|
161
|
+
# where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format.
|
|
162
|
+
# All training input data is written into that directory.
|
|
163
|
+
#
|
|
164
|
+
# The Vertex AI environment variables representing Cloud Storage
|
|
165
|
+
# data URIs are represented in the Cloud Storage wildcard
|
|
166
|
+
# format to support sharded data. e.g.: "gs://.../training-*.jsonl"
|
|
167
|
+
#
|
|
168
|
+
# * AIP_DATA_FORMAT = "jsonl" for non-tabular data, "csv" for tabular data
|
|
169
|
+
# * AIP_TRAINING_DATA_URI =
|
|
170
|
+
# "gcs_destination/dataset-<dataset-id>-<annotation-type>-<time>/training-*.$\\{AIP_DATA_FORMAT}"
|
|
171
|
+
#
|
|
172
|
+
# * AIP_VALIDATION_DATA_URI =
|
|
173
|
+
# "gcs_destination/dataset-<dataset-id>-<annotation-type>-<time>/validation-*.$\\{AIP_DATA_FORMAT}"
|
|
174
|
+
#
|
|
175
|
+
# * AIP_TEST_DATA_URI =
|
|
176
|
+
# "gcs_destination/dataset-<dataset-id>-<annotation-type>-<time>/test-*.$\\{AIP_DATA_FORMAT}"
|
|
177
|
+
# @!attribute [rw] bigquery_destination
|
|
178
|
+
# @return [::Google::Cloud::AIPlatform::V1::BigQueryDestination]
|
|
179
|
+
# Only applicable to custom training with tabular Dataset with BigQuery
|
|
180
|
+
# source.
|
|
181
|
+
#
|
|
182
|
+
# The BigQuery project location where the training data is to be written
|
|
183
|
+
# to. In the given project a new dataset is created with name
|
|
184
|
+
# `dataset_<dataset-id>_<annotation-type>_<timestamp-of-training-call>`
|
|
185
|
+
# where timestamp is in YYYY_MM_DDThh_mm_ss_sssZ format. All training
|
|
186
|
+
# input data is written into that dataset. In the dataset three
|
|
187
|
+
# tables are created, `training`, `validation` and `test`.
|
|
188
|
+
#
|
|
189
|
+
# * AIP_DATA_FORMAT = "bigquery".
|
|
190
|
+
# * AIP_TRAINING_DATA_URI =
|
|
191
|
+
# "bigquery_destination.dataset_<dataset-id>_<annotation-type>_<time>.training"
|
|
192
|
+
#
|
|
193
|
+
# * AIP_VALIDATION_DATA_URI =
|
|
194
|
+
# "bigquery_destination.dataset_<dataset-id>_<annotation-type>_<time>.validation"
|
|
195
|
+
#
|
|
196
|
+
# * AIP_TEST_DATA_URI =
|
|
197
|
+
# "bigquery_destination.dataset_<dataset-id>_<annotation-type>_<time>.test"
|
|
198
|
+
# @!attribute [rw] dataset_id
|
|
199
|
+
# @return [::String]
|
|
200
|
+
# Required. The ID of the Dataset in the same Project and Location which data will be
|
|
201
|
+
# used to train the Model. The Dataset must use schema compatible with
|
|
202
|
+
# Model being trained, and what is compatible should be described in the
|
|
203
|
+
# used TrainingPipeline's [training_task_definition]
|
|
204
|
+
# [google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition].
|
|
205
|
+
# For tabular Datasets, all their data is exported to training, to pick
|
|
206
|
+
# and choose from.
|
|
207
|
+
# @!attribute [rw] annotations_filter
|
|
208
|
+
# @return [::String]
|
|
209
|
+
# Applicable only to Datasets that have DataItems and Annotations.
|
|
210
|
+
#
|
|
211
|
+
# A filter on Annotations of the Dataset. Only Annotations that both
|
|
212
|
+
# match this filter and belong to DataItems not ignored by the split method
|
|
213
|
+
# are used in respectively training, validation or test role, depending on
|
|
214
|
+
# the role of the DataItem they are on (for the auto-assigned that role is
|
|
215
|
+
# decided by Vertex AI). A filter with same syntax as the one used in
|
|
216
|
+
# {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_annotations ListAnnotations} may be used, but note
|
|
217
|
+
# here it filters across all Annotations of the Dataset, and not just within
|
|
218
|
+
# a single DataItem.
|
|
219
|
+
# @!attribute [rw] annotation_schema_uri
|
|
220
|
+
# @return [::String]
|
|
221
|
+
# Applicable only to custom training with Datasets that have DataItems and
|
|
222
|
+
# Annotations.
|
|
223
|
+
#
|
|
224
|
+
# Cloud Storage URI that points to a YAML file describing the annotation
|
|
225
|
+
# schema. The schema is defined as an OpenAPI 3.0.2 [Schema
|
|
226
|
+
# Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
|
|
227
|
+
# The schema files that can be used here are found in
|
|
228
|
+
# gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the
|
|
229
|
+
# chosen schema must be consistent with
|
|
230
|
+
# {::Google::Cloud::AIPlatform::V1::Dataset#metadata_schema_uri metadata} of the Dataset specified by
|
|
231
|
+
# {::Google::Cloud::AIPlatform::V1::InputDataConfig#dataset_id dataset_id}.
|
|
232
|
+
#
|
|
233
|
+
# Only Annotations that both match this schema and belong to DataItems not
|
|
234
|
+
# ignored by the split method are used in respectively training, validation
|
|
235
|
+
# or test role, depending on the role of the DataItem they are on.
|
|
236
|
+
#
|
|
237
|
+
# When used in conjunction with {::Google::Cloud::AIPlatform::V1::InputDataConfig#annotations_filter annotations_filter}, the Annotations used
|
|
238
|
+
# for training are filtered by both {::Google::Cloud::AIPlatform::V1::InputDataConfig#annotations_filter annotations_filter} and
|
|
239
|
+
# {::Google::Cloud::AIPlatform::V1::InputDataConfig#annotation_schema_uri annotation_schema_uri}.
|
|
240
|
+
class InputDataConfig
|
|
241
|
+
include ::Google::Protobuf::MessageExts
|
|
242
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# Assigns the input data to training, validation, and test sets as per the
|
|
246
|
+
# given fractions. Any of `training_fraction`, `validation_fraction` and
|
|
247
|
+
# `test_fraction` may optionally be provided, they must sum to up to 1. If the
|
|
248
|
+
# provided ones sum to less than 1, the remainder is assigned to sets as
|
|
249
|
+
# decided by Vertex AI. If none of the fractions are set, by default roughly
|
|
250
|
+
# 80% of data is used for training, 10% for validation, and 10% for test.
|
|
251
|
+
# @!attribute [rw] training_fraction
|
|
252
|
+
# @return [::Float]
|
|
253
|
+
# The fraction of the input data that is to be used to train the Model.
|
|
254
|
+
# @!attribute [rw] validation_fraction
|
|
255
|
+
# @return [::Float]
|
|
256
|
+
# The fraction of the input data that is to be used to validate the Model.
|
|
257
|
+
# @!attribute [rw] test_fraction
|
|
258
|
+
# @return [::Float]
|
|
259
|
+
# The fraction of the input data that is to be used to evaluate the Model.
|
|
260
|
+
class FractionSplit
|
|
261
|
+
include ::Google::Protobuf::MessageExts
|
|
262
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Assigns input data to training, validation, and test sets based on the given
|
|
266
|
+
# filters, data pieces not matched by any filter are ignored. Currently only
|
|
267
|
+
# supported for Datasets containing DataItems.
|
|
268
|
+
# If any of the filters in this message are to match nothing, then they can be
|
|
269
|
+
# set as '-' (the minus sign).
|
|
270
|
+
#
|
|
271
|
+
# Supported only for unstructured Datasets.
|
|
272
|
+
# @!attribute [rw] training_filter
|
|
273
|
+
# @return [::String]
|
|
274
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match
|
|
275
|
+
# this filter are used to train the Model. A filter with same syntax
|
|
276
|
+
# as the one used in {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_data_items DatasetService.ListDataItems} may be used. If a
|
|
277
|
+
# single DataItem is matched by more than one of the FilterSplit filters,
|
|
278
|
+
# then it is assigned to the first set that applies to it in the
|
|
279
|
+
# training, validation, test order.
|
|
280
|
+
# @!attribute [rw] validation_filter
|
|
281
|
+
# @return [::String]
|
|
282
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match
|
|
283
|
+
# this filter are used to validate the Model. A filter with same syntax
|
|
284
|
+
# as the one used in {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_data_items DatasetService.ListDataItems} may be used. If a
|
|
285
|
+
# single DataItem is matched by more than one of the FilterSplit filters,
|
|
286
|
+
# then it is assigned to the first set that applies to it in the
|
|
287
|
+
# training, validation, test order.
|
|
288
|
+
# @!attribute [rw] test_filter
|
|
289
|
+
# @return [::String]
|
|
290
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match
|
|
291
|
+
# this filter are used to test the Model. A filter with same syntax
|
|
292
|
+
# as the one used in {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_data_items DatasetService.ListDataItems} may be used. If a
|
|
293
|
+
# single DataItem is matched by more than one of the FilterSplit filters,
|
|
294
|
+
# then it is assigned to the first set that applies to it in the
|
|
295
|
+
# training, validation, test order.
|
|
296
|
+
class FilterSplit
|
|
297
|
+
include ::Google::Protobuf::MessageExts
|
|
298
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# Assigns input data to training, validation, and test sets based on the
|
|
302
|
+
# value of a provided key.
|
|
303
|
+
#
|
|
304
|
+
# Supported only for tabular Datasets.
|
|
305
|
+
# @!attribute [rw] key
|
|
306
|
+
# @return [::String]
|
|
307
|
+
# Required. The key is a name of one of the Dataset's data columns.
|
|
308
|
+
# The value of the key (either the label's value or value in the column)
|
|
309
|
+
# must be one of \\{`training`, `validation`, `test`}, and it defines to which
|
|
310
|
+
# set the given piece of data is assigned. If for a piece of data the key
|
|
311
|
+
# is not present or has an invalid value, that piece is ignored by the
|
|
312
|
+
# pipeline.
|
|
313
|
+
class PredefinedSplit
|
|
314
|
+
include ::Google::Protobuf::MessageExts
|
|
315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# Assigns input data to training, validation, and test sets based on a
|
|
319
|
+
# provided timestamps. The youngest data pieces are assigned to training set,
|
|
320
|
+
# next to validation set, and the oldest to the test set.
|
|
321
|
+
#
|
|
322
|
+
# Supported only for tabular Datasets.
|
|
323
|
+
# @!attribute [rw] training_fraction
|
|
324
|
+
# @return [::Float]
|
|
325
|
+
# The fraction of the input data that is to be used to train the Model.
|
|
326
|
+
# @!attribute [rw] validation_fraction
|
|
327
|
+
# @return [::Float]
|
|
328
|
+
# The fraction of the input data that is to be used to validate the Model.
|
|
329
|
+
# @!attribute [rw] test_fraction
|
|
330
|
+
# @return [::Float]
|
|
331
|
+
# The fraction of the input data that is to be used to evaluate the Model.
|
|
332
|
+
# @!attribute [rw] key
|
|
333
|
+
# @return [::String]
|
|
334
|
+
# Required. The key is a name of one of the Dataset's data columns.
|
|
335
|
+
# The values of the key (the values in the column) must be in RFC 3339
|
|
336
|
+
# `date-time` format, where `time-offset` = `"Z"`
|
|
337
|
+
# (e.g. 1985-04-12T23:20:50.52Z). If for a piece of data the key is not
|
|
338
|
+
# present or has an invalid value, that piece is ignored by the pipeline.
|
|
339
|
+
class TimestampSplit
|
|
340
|
+
include ::Google::Protobuf::MessageExts
|
|
341
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
# Assigns input data to the training, validation, and test sets so that the
|
|
345
|
+
# distribution of values found in the categorical column (as specified by the
|
|
346
|
+
# `key` field) is mirrored within each split. The fraction values determine
|
|
347
|
+
# the relative sizes of the splits.
|
|
348
|
+
#
|
|
349
|
+
# For example, if the specified column has three values, with 50% of the rows
|
|
350
|
+
# having value "A", 25% value "B", and 25% value "C", and the split fractions
|
|
351
|
+
# are specified as 80/10/10, then the training set will constitute 80% of the
|
|
352
|
+
# training data, with about 50% of the training set rows having the value "A"
|
|
353
|
+
# for the specified column, about 25% having the value "B", and about 25%
|
|
354
|
+
# having the value "C".
|
|
355
|
+
#
|
|
356
|
+
# Only the top 500 occurring values are used; any values not in the top
|
|
357
|
+
# 500 values are randomly assigned to a split. If less than three rows contain
|
|
358
|
+
# a specific value, those rows are randomly assigned.
|
|
359
|
+
#
|
|
360
|
+
# Supported only for tabular Datasets.
|
|
361
|
+
# @!attribute [rw] training_fraction
|
|
362
|
+
# @return [::Float]
|
|
363
|
+
# The fraction of the input data that is to be used to train the Model.
|
|
364
|
+
# @!attribute [rw] validation_fraction
|
|
365
|
+
# @return [::Float]
|
|
366
|
+
# The fraction of the input data that is to be used to validate the Model.
|
|
367
|
+
# @!attribute [rw] test_fraction
|
|
368
|
+
# @return [::Float]
|
|
369
|
+
# The fraction of the input data that is to be used to evaluate the Model.
|
|
370
|
+
# @!attribute [rw] key
|
|
371
|
+
# @return [::String]
|
|
372
|
+
# Required. The key is a name of one of the Dataset's data columns.
|
|
373
|
+
# The key provided must be for a categorical column.
|
|
374
|
+
class StratifiedSplit
|
|
375
|
+
include ::Google::Protobuf::MessageExts
|
|
376
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
377
|
+
end
|
|
378
|
+
end
|
|
379
|
+
end
|
|
380
|
+
end
|
|
381
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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 list of boolean values.
|
|
25
|
+
# @!attribute [rw] values
|
|
26
|
+
# @return [::Array<::Boolean>]
|
|
27
|
+
# A list of bool values.
|
|
28
|
+
class BoolArray
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# A list of double values.
|
|
34
|
+
# @!attribute [rw] values
|
|
35
|
+
# @return [::Array<::Float>]
|
|
36
|
+
# A list of bool values.
|
|
37
|
+
class DoubleArray
|
|
38
|
+
include ::Google::Protobuf::MessageExts
|
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# A list of int64 values.
|
|
43
|
+
# @!attribute [rw] values
|
|
44
|
+
# @return [::Array<::Integer>]
|
|
45
|
+
# A list of int64 values.
|
|
46
|
+
class Int64Array
|
|
47
|
+
include ::Google::Protobuf::MessageExts
|
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# A list of string values.
|
|
52
|
+
# @!attribute [rw] values
|
|
53
|
+
# @return [::Array<::String>]
|
|
54
|
+
# A list of string values.
|
|
55
|
+
class StringArray
|
|
56
|
+
include ::Google::Protobuf::MessageExts
|
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
# Contains model information necessary to perform batch prediction without
|
|
25
|
+
# requiring a full model import.
|
|
26
|
+
# @!attribute [rw] artifact_uri
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# The path to the directory containing the Model artifact and any of its
|
|
29
|
+
# supporting files.
|
|
30
|
+
# @!attribute [rw] predict_schemata
|
|
31
|
+
# @return [::Google::Cloud::AIPlatform::V1::PredictSchemata]
|
|
32
|
+
# Contains the schemata used in Model's predictions and explanations
|
|
33
|
+
# @!attribute [rw] container_spec
|
|
34
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelContainerSpec]
|
|
35
|
+
# Input only. The specification of the container that is to be used when deploying
|
|
36
|
+
# this Model.
|
|
37
|
+
class UnmanagedContainerModel
|
|
38
|
+
include ::Google::Protobuf::MessageExts
|
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
# References an API call. It contains more information about long running
|
|
25
|
+
# operation and Jobs that are triggered by the API call.
|
|
26
|
+
# @!attribute [rw] operation
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# For API calls that return a long running operation.
|
|
29
|
+
# Resource name of the long running operation.
|
|
30
|
+
# Format:
|
|
31
|
+
# 'projects/\\{project}/locations/\\{location}/operations/\\{operation}'
|
|
32
|
+
# @!attribute [rw] data_labeling_job
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# For API calls that start a LabelingJob.
|
|
35
|
+
# Resource name of the LabelingJob.
|
|
36
|
+
# Format:
|
|
37
|
+
# 'projects/\\{project}/locations/\\{location}/dataLabelingJobs/\\{data_labeling_job}'
|
|
38
|
+
# @!attribute [rw] method
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# The method name of the API RPC call. For example,
|
|
41
|
+
# "/google.cloud.aiplatform.\\{apiVersion}.DatasetService.CreateDataset"
|
|
42
|
+
class UserActionReference
|
|
43
|
+
include ::Google::Protobuf::MessageExts
|
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|