google-cloud-ai_platform-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +10 -4
  3. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +95 -0
  4. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  5. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  6. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +2 -1
  7. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +0 -1
  8. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +0 -1
  9. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +0 -2
  10. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +0 -2
  11. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +0 -2
  12. data/lib/google/cloud/aiplatform/v1/context_pb.rb +0 -2
  13. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +0 -1
  14. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +0 -1
  15. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +0 -3
  16. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +0 -1
  17. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +0 -1
  18. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +0 -1
  19. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +0 -1
  20. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +0 -1
  21. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +7 -3
  22. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +2 -2
  23. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +0 -1
  24. data/lib/google/cloud/aiplatform/v1/event_pb.rb +0 -1
  25. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +0 -2
  26. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +0 -1
  27. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +0 -2
  28. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +0 -1
  29. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +13 -1
  30. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +0 -1
  31. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +56 -0
  32. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +0 -1
  33. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -2
  34. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +0 -1
  35. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +0 -2
  36. data/lib/google/cloud/aiplatform/v1/index_pb.rb +0 -2
  37. data/lib/google/cloud/aiplatform/v1/io_pb.rb +0 -1
  38. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +0 -1
  39. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +0 -1
  40. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +0 -1
  41. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +0 -1
  42. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +0 -1
  43. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +0 -1
  44. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +0 -1
  45. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +0 -2
  46. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +0 -1
  47. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +8 -1
  48. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +0 -1
  49. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +0 -1
  50. data/lib/google/cloud/aiplatform/v1/model_pb.rb +0 -2
  51. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +5 -2
  52. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
  53. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +0 -1
  54. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +0 -1
  55. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +0 -1
  56. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +0 -1
  57. data/lib/google/cloud/aiplatform/v1/study_pb.rb +0 -1
  58. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +0 -1
  59. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +0 -1
  60. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +0 -1
  61. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +0 -1
  62. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +0 -1
  63. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +0 -3
  64. data/lib/google/cloud/aiplatform/v1/types_pb.rb +0 -1
  65. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +0 -1
  66. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +0 -1
  67. data/lib/google/cloud/aiplatform/v1/value_pb.rb +0 -1
  68. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +6 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +24 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +11 -0
  71. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +45 -0
  72. data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +164 -0
  73. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +10 -3
  74. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +50 -8
  75. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -1
  76. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +13 -0
  77. metadata +4 -2
@@ -1,11 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/index.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/deployed_index_ref_pb'
8
- require 'google/protobuf/duration_pb'
9
7
  require 'google/protobuf/struct_pb'
10
8
  require 'google/protobuf/timestamp_pb'
11
9
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/io.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/job_state.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/lineage_subgraph.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/cloud/aiplatform/v1/artifact_pb'
6
5
  require 'google/cloud/aiplatform/v1/event_pb'
7
6
  require 'google/cloud/aiplatform/v1/execution_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/machine_resources.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/cloud/aiplatform/v1/accelerator_type_pb'
7
6
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf'
7
6
 
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/metadata_schema.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/metadata_store.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/migratable_resource.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -5,9 +5,7 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/cloud/aiplatform/v1/dataset_pb'
9
8
  require 'google/cloud/aiplatform/v1/migratable_resource_pb'
10
- require 'google/cloud/aiplatform/v1/model_pb'
11
9
  require 'google/cloud/aiplatform/v1/operation_pb'
12
10
  require 'google/longrunning/operations_pb'
13
11
  require 'google/rpc/status_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/model_evaluation.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/explanation_pb'
@@ -17,7 +16,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
16
  optional :metrics, :message, 3, "google.protobuf.Value"
18
17
  optional :create_time, :message, 4, "google.protobuf.Timestamp"
19
18
  repeated :slice_dimensions, :string, 5
19
+ optional :data_item_schema_uri, :string, 6
20
+ optional :annotation_schema_uri, :string, 7
20
21
  optional :model_explanation, :message, 8, "google.cloud.aiplatform.v1.ModelExplanation"
22
+ repeated :explanation_specs, :message, 9, "google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec"
23
+ end
24
+ add_message "google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec" do
25
+ optional :explanation_type, :string, 1
26
+ optional :explanation_spec, :message, 2, "google.cloud.aiplatform.v1.ExplanationSpec"
21
27
  end
22
28
  end
23
29
  end
@@ -27,6 +33,7 @@ module Google
27
33
  module AIPlatform
28
34
  module V1
29
35
  ModelEvaluation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluation").msgclass
36
+ ModelEvaluation::ModelEvaluationExplanationSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec").msgclass
30
37
  end
31
38
  end
32
39
  end
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/model_evaluation_slice.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/struct_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/model_monitoring.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/resource_pb'
6
5
  require 'google/cloud/aiplatform/v1/io_pb'
7
6
  require 'google/protobuf'
@@ -1,10 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/model.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
- require 'google/cloud/aiplatform/v1/dataset_pb'
8
6
  require 'google/cloud/aiplatform/v1/deployed_model_ref_pb'
9
7
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
10
8
  require 'google/cloud/aiplatform/v1/env_var_pb'
@@ -5,8 +5,6 @@ require 'google/api/annotations_pb'
5
5
  require 'google/api/client_pb'
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
- require 'google/cloud/aiplatform/v1/encryption_spec_pb'
9
- require 'google/cloud/aiplatform/v1/explanation_pb'
10
8
  require 'google/cloud/aiplatform/v1/io_pb'
11
9
  require 'google/cloud/aiplatform/v1/model_pb'
12
10
  require 'google/cloud/aiplatform/v1/model_evaluation_pb'
@@ -69,6 +67,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
69
67
  end
70
68
  add_message "google.cloud.aiplatform.v1.ExportModelResponse" do
71
69
  end
70
+ add_message "google.cloud.aiplatform.v1.ImportModelEvaluationRequest" do
71
+ optional :parent, :string, 1
72
+ optional :model_evaluation, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluation"
73
+ end
72
74
  add_message "google.cloud.aiplatform.v1.GetModelEvaluationRequest" do
73
75
  optional :name, :string, 1
74
76
  end
@@ -117,6 +119,7 @@ module Google
117
119
  ExportModelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelOperationMetadata").msgclass
118
120
  ExportModelOperationMetadata::OutputInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo").msgclass
119
121
  ExportModelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelResponse").msgclass
122
+ ImportModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportModelEvaluationRequest").msgclass
120
123
  GetModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetModelEvaluationRequest").msgclass
121
124
  ListModelEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsRequest").msgclass
122
125
  ListModelEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsResponse").msgclass
@@ -51,6 +51,8 @@ module Google
51
51
  # user. A Model is considered to be exportable if it has at least one
52
52
  # [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
53
53
  rpc :ExportModel, ::Google::Cloud::AIPlatform::V1::ExportModelRequest, ::Google::Longrunning::Operation
54
+ # Imports an externally generated ModelEvaluation.
55
+ rpc :ImportModelEvaluation, ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
54
56
  # Gets a ModelEvaluation.
55
57
  rpc :GetModelEvaluation, ::Google::Cloud::AIPlatform::V1::GetModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
56
58
  # Lists ModelEvaluations in a Model.
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/operation.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/protobuf/timestamp_pb'
7
6
  require 'google/rpc/status_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/pipeline_job.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/artifact_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/pipeline_state.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/specialist_pool.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/study.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/duration_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/tensorboard_data.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/cloud/aiplatform/v1/tensorboard_time_series_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/tensorboard_experiment.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/tensorboard.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/tensorboard_run.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/tensorboard_time_series.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/protobuf/timestamp_pb'
@@ -1,13 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/training_pipeline.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/api/resource_pb'
7
6
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
8
7
  require 'google/cloud/aiplatform/v1/io_pb'
9
- require 'google/cloud/aiplatform/v1/machine_resources_pb'
10
- require 'google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb'
11
8
  require 'google/cloud/aiplatform/v1/model_pb'
12
9
  require 'google/cloud/aiplatform/v1/pipeline_state_pb'
13
10
  require 'google/protobuf/struct_pb'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/types.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/unmanaged_container_model.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/api/field_behavior_pb'
6
5
  require 'google/cloud/aiplatform/v1/model_pb'
7
6
  require 'google/protobuf'
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/user_action_reference.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/aiplatform/v1/value.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -43,6 +43,12 @@ module Google
43
43
 
44
44
  # Nvidia Tesla A100 GPU.
45
45
  NVIDIA_TESLA_A100 = 8
46
+
47
+ # TPU v2.
48
+ TPU_V2 = 6
49
+
50
+ # TPU v3.
51
+ TPU_V3 = 7
46
52
  end
47
53
  end
48
54
  end
@@ -103,6 +103,9 @@ module Google
103
103
  # if monitoring is enabled by [CreateModelDeploymentMonitoringJob][].
104
104
  # Format:
105
105
  # `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`
106
+ # @!attribute [rw] predict_request_response_logging_config
107
+ # @return [::Google::Cloud::AIPlatform::V1::PredictRequestResponseLoggingConfig]
108
+ # Configures the request-response logging for online prediction.
106
109
  class Endpoint
107
110
  include ::Google::Protobuf::MessageExts
108
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -221,6 +224,27 @@ module Google
221
224
  include ::Google::Protobuf::MessageExts
222
225
  extend ::Google::Protobuf::MessageExts::ClassMethods
223
226
  end
227
+
228
+ # Configuration for logging request-response to a BigQuery table.
229
+ # @!attribute [rw] enabled
230
+ # @return [::Boolean]
231
+ # If logging is enabled or not.
232
+ # @!attribute [rw] sampling_rate
233
+ # @return [::Float]
234
+ # Percentage of requests to be logged, expressed as a fraction in
235
+ # range(0,1].
236
+ # @!attribute [rw] bigquery_destination
237
+ # @return [::Google::Cloud::AIPlatform::V1::BigQueryDestination]
238
+ # BigQuery table for logging.
239
+ # If only given project, a new dataset will be created with name
240
+ # `logging_<endpoint-display-name>_<endpoint-id>` where
241
+ # <endpoint-display-name> will be made BigQuery-dataset-name compatible (e.g.
242
+ # most special characters will become underscores). If no table name is
243
+ # given, a new table will be created with name `request_response_logging`
244
+ class PredictRequestResponseLoggingConfig
245
+ include ::Google::Protobuf::MessageExts
246
+ extend ::Google::Protobuf::MessageExts::ClassMethods
247
+ end
224
248
  end
225
249
  end
226
250
  end
@@ -60,6 +60,17 @@ module Google
60
60
  # @return [::String]
61
61
  # Optional. Used to perform a consistent read-modify-write updates. If not set, a blind
62
62
  # "overwrite" update happens.
63
+ # @!attribute [rw] monitoring_config
64
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig]
65
+ # Optional. The default monitoring configuration for all Features with value
66
+ # type
67
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL,
68
+ # STRING, DOUBLE or INT64 under this EntityType.
69
+ #
70
+ # If this is populated with
71
+ # [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot
72
+ # analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is
73
+ # disabled.
63
74
  class EntityType
64
75
  include ::Google::Protobuf::MessageExts
65
76
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -63,10 +63,55 @@ module Google
63
63
  # @return [::String]
64
64
  # Used to perform a consistent read-modify-write updates. If not set, a blind
65
65
  # "overwrite" update happens.
66
+ # @!attribute [rw] disable_monitoring
67
+ # @return [::Boolean]
68
+ # Optional. If not set, use the monitoring_config defined for the EntityType
69
+ # this Feature belongs to. Only Features with type
70
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL,
71
+ # STRING, DOUBLE or INT64 can enable monitoring.
72
+ #
73
+ # If set to true, all types of data monitoring are disabled despite the
74
+ # config on EntityType.
75
+ # @!attribute [r] monitoring_stats_anomalies
76
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::Feature::MonitoringStatsAnomaly>]
77
+ # Output only. The list of historical stats and anomalies with specified
78
+ # objectives.
66
79
  class Feature
67
80
  include ::Google::Protobuf::MessageExts
68
81
  extend ::Google::Protobuf::MessageExts::ClassMethods
69
82
 
83
+ # A list of historical [Snapshot
84
+ # Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature
85
+ # Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats
86
+ # requested by user, sorted by
87
+ # {::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly#start_time FeatureStatsAnomaly.start_time}
88
+ # descending.
89
+ # @!attribute [r] objective
90
+ # @return [::Google::Cloud::AIPlatform::V1::Feature::MonitoringStatsAnomaly::Objective]
91
+ # Output only. The objective for each stats.
92
+ # @!attribute [r] feature_stats_anomaly
93
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureStatsAnomaly]
94
+ # Output only. The stats and anomalies generated at specific timestamp.
95
+ class MonitoringStatsAnomaly
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+
99
+ # If the objective in the request is both
100
+ # Import Feature Analysis and Snapshot Analysis, this objective could be
101
+ # one of them. Otherwise, this objective should be the same as the
102
+ # objective in the request.
103
+ module Objective
104
+ # If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty.
105
+ OBJECTIVE_UNSPECIFIED = 0
106
+
107
+ # Stats are generated by Import Feature Analysis.
108
+ IMPORT_FEATURE_ANALYSIS = 1
109
+
110
+ # Stats are generated by Snapshot Analysis.
111
+ SNAPSHOT_ANALYSIS = 2
112
+ end
113
+ end
114
+
70
115
  # @!attribute [rw] key
71
116
  # @return [::String]
72
117
  # @!attribute [rw] value
@@ -0,0 +1,164 @@
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
+ # Configuration of how features in Featurestore are monitored.
25
+ # @!attribute [rw] snapshot_analysis
26
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis]
27
+ # The config for Snapshot Analysis Based Feature Monitoring.
28
+ # @!attribute [rw] import_features_analysis
29
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ImportFeaturesAnalysis]
30
+ # The config for ImportFeatures Analysis Based Feature Monitoring.
31
+ # @!attribute [rw] numerical_threshold_config
32
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
33
+ # Threshold for numerical features of anomaly detection.
34
+ # This is shared by all objectives of Featurestore Monitoring for numerical
35
+ # features (i.e. Features with type
36
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) DOUBLE
37
+ # or INT64).
38
+ # @!attribute [rw] categorical_threshold_config
39
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ThresholdConfig]
40
+ # Threshold for categorical features of anomaly detection.
41
+ # This is shared by all types of Featurestore Monitoring for categorical
42
+ # features (i.e. Features with type
43
+ # ({::Google::Cloud::AIPlatform::V1::Feature::ValueType Feature.ValueType}) BOOL or
44
+ # STRING).
45
+ class FeaturestoreMonitoringConfig
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+
49
+ # Configuration of the Featurestore's Snapshot Analysis Based Monitoring.
50
+ # This type of analysis generates statistics for each Feature based on a
51
+ # snapshot of the latest feature value of each entities every
52
+ # monitoring_interval.
53
+ # @!attribute [rw] disabled
54
+ # @return [::Boolean]
55
+ # The monitoring schedule for snapshot analysis.
56
+ # For EntityType-level config:
57
+ # unset / disabled = true indicates disabled by
58
+ # default for Features under it; otherwise by default enable snapshot
59
+ # analysis monitoring with monitoring_interval for Features under it.
60
+ # Feature-level config:
61
+ # disabled = true indicates disabled regardless of the EntityType-level
62
+ # config; unset monitoring_interval indicates going with EntityType-level
63
+ # config; otherwise run snapshot analysis monitoring with
64
+ # monitoring_interval regardless of the EntityType-level config.
65
+ # Explicitly Disable the snapshot analysis based monitoring.
66
+ # @!attribute [rw] monitoring_interval_days
67
+ # @return [::Integer]
68
+ # Configuration of the snapshot analysis based monitoring pipeline
69
+ # running interval. The value indicates number of days.
70
+ # If both
71
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis#monitoring_interval_days FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days}
72
+ # and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][]
73
+ # are set when creating/updating EntityTypes/Features,
74
+ # {::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::SnapshotAnalysis#monitoring_interval_days FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days}
75
+ # will be used.
76
+ # @!attribute [rw] staleness_days
77
+ # @return [::Integer]
78
+ # Customized export features time window for snapshot analysis. Unit is one
79
+ # day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is
80
+ # 4000 days.
81
+ class SnapshotAnalysis
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Configuration of the Featurestore's ImportFeature Analysis Based
87
+ # Monitoring. This type of analysis generates statistics for values of each
88
+ # Feature imported by every [ImportFeatureValues][] operation.
89
+ # @!attribute [rw] state
90
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ImportFeaturesAnalysis::State]
91
+ # Whether to enable / disable / inherite default hebavior for import
92
+ # features analysis.
93
+ # @!attribute [rw] anomaly_detection_baseline
94
+ # @return [::Google::Cloud::AIPlatform::V1::FeaturestoreMonitoringConfig::ImportFeaturesAnalysis::Baseline]
95
+ # The baseline used to do anomaly detection for the statistics generated by
96
+ # import features analysis.
97
+ class ImportFeaturesAnalysis
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+
101
+ # The state defines whether to enable ImportFeature analysis.
102
+ module State
103
+ # Should not be used.
104
+ STATE_UNSPECIFIED = 0
105
+
106
+ # The default behavior of whether to enable the monitoring.
107
+ # EntityType-level config: disabled.
108
+ # Feature-level config: inherited from the configuration of EntityType
109
+ # this Feature belongs to.
110
+ DEFAULT = 1
111
+
112
+ # Explicitly enables import features analysis.
113
+ # EntityType-level config: by default enables import features analysis
114
+ # for all Features under it. Feature-level config: enables import
115
+ # features analysis regardless of the EntityType-level config.
116
+ ENABLED = 2
117
+
118
+ # Explicitly disables import features analysis.
119
+ # EntityType-level config: by default disables import features analysis
120
+ # for all Features under it. Feature-level config: disables import
121
+ # features analysis regardless of the EntityType-level config.
122
+ DISABLED = 3
123
+ end
124
+
125
+ # Defines the baseline to do anomaly detection for feature values imported
126
+ # by each [ImportFeatureValues][] operation.
127
+ module Baseline
128
+ # Should not be used.
129
+ BASELINE_UNSPECIFIED = 0
130
+
131
+ # Choose the later one statistics generated by either most recent
132
+ # snapshot analysis or previous import features analysis. If non of them
133
+ # exists, skip anomaly detection and only generate a statistics.
134
+ LATEST_STATS = 1
135
+
136
+ # Use the statistics generated by the most recent snapshot analysis if
137
+ # exists.
138
+ MOST_RECENT_SNAPSHOT_STATS = 2
139
+
140
+ # Use the statistics generated by the previous import features analysis
141
+ # if exists.
142
+ PREVIOUS_IMPORT_FEATURES_STATS = 3
143
+ end
144
+ end
145
+
146
+ # The config for Featurestore Monitoring threshold.
147
+ # @!attribute [rw] value
148
+ # @return [::Float]
149
+ # Specify a threshold value that can trigger the alert.
150
+ # 1. For categorical feature, the distribution distance is calculated by
151
+ # L-inifinity norm.
152
+ # 2. For numerical feature, the distribution distance is calculated by
153
+ # Jensen–Shannon divergence. Each feature must have a non-zero threshold
154
+ # if they need to be monitored. Otherwise no alert will be triggered for
155
+ # that feature.
156
+ class ThresholdConfig
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end
164
+ end