google-cloud-ai_platform-v1 0.24.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +4 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
  6. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
  7. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
  9. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
  11. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
  12. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
  13. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
  14. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
  15. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +4 -2
  16. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
  17. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
  18. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
  19. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
  20. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
  21. data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
  22. data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
  23. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
  24. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  25. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
  26. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
  27. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
  28. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
  29. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
  30. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
  31. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
  32. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
  33. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
  34. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  35. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
  36. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
  37. data/lib/google/cloud/ai_platform/v1.rb +1 -0
  38. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
  39. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
  40. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
  41. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
  42. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
  43. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
  44. data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
  45. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
  46. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
  47. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
  48. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
  49. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
  50. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
  51. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
  52. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
  53. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
  54. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
  55. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
  56. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
  57. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
  58. data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
  59. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
  60. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
  61. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -125
  62. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
  63. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
  64. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
  65. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
  66. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
  67. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
  68. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
  69. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
  70. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
  71. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
  72. data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
  73. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
  74. data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
  75. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
  76. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
  77. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
  78. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
  79. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
  80. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +25 -33
  81. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
  82. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
  83. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
  84. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
  85. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
  86. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
  87. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
  88. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
  89. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
  90. data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
  91. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
  92. data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
  93. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
  94. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  95. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  96. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  97. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  98. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  99. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  100. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  101. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  102. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  103. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  104. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  105. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  106. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  107. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  108. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  109. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  110. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  111. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  114. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  115. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  116. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  117. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  118. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  119. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  120. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  121. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  122. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  123. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  124. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  125. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  127. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  128. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  129. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  130. data/proto_docs/google/protobuf/any.rb +7 -4
  131. data/proto_docs/google/protobuf/struct.rb +1 -1
  132. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  133. metadata +13 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto
3
4
 
@@ -15,86 +16,39 @@ require 'google/protobuf/struct_pb'
15
16
  require 'google/protobuf/timestamp_pb'
16
17
  require 'google/rpc/status_pb'
17
18
 
18
- Google::Protobuf::DescriptorPool.generated_pool.build do
19
- add_file("google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto", :syntax => :proto3) do
20
- add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob" do
21
- optional :name, :string, 1
22
- optional :display_name, :string, 2
23
- optional :endpoint, :string, 3
24
- optional :state, :enum, 4, "google.cloud.aiplatform.v1.JobState"
25
- optional :schedule_state, :enum, 5, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleState"
26
- optional :latest_monitoring_pipeline_metadata, :message, 25, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadata"
27
- repeated :model_deployment_monitoring_objective_configs, :message, 6, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfig"
28
- optional :model_deployment_monitoring_schedule_config, :message, 7, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig"
29
- optional :logging_sampling_strategy, :message, 8, "google.cloud.aiplatform.v1.SamplingStrategy"
30
- optional :model_monitoring_alert_config, :message, 15, "google.cloud.aiplatform.v1.ModelMonitoringAlertConfig"
31
- optional :predict_instance_schema_uri, :string, 9
32
- optional :sample_predict_instance, :message, 19, "google.protobuf.Value"
33
- optional :analysis_instance_schema_uri, :string, 16
34
- repeated :bigquery_tables, :message, 10, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable"
35
- optional :log_ttl, :message, 17, "google.protobuf.Duration"
36
- map :labels, :string, :string, 11
37
- optional :create_time, :message, 12, "google.protobuf.Timestamp"
38
- optional :update_time, :message, 13, "google.protobuf.Timestamp"
39
- optional :next_schedule_time, :message, 14, "google.protobuf.Timestamp"
40
- optional :stats_anomalies_base_directory, :message, 20, "google.cloud.aiplatform.v1.GcsDestination"
41
- optional :encryption_spec, :message, 21, "google.cloud.aiplatform.v1.EncryptionSpec"
42
- optional :enable_monitoring_pipeline_logs, :bool, 22
43
- optional :error, :message, 23, "google.rpc.Status"
44
- end
45
- add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadata" do
46
- optional :run_time, :message, 1, "google.protobuf.Timestamp"
47
- optional :status, :message, 2, "google.rpc.Status"
48
- end
49
- add_enum "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleState" do
50
- value :MONITORING_SCHEDULE_STATE_UNSPECIFIED, 0
51
- value :PENDING, 1
52
- value :OFFLINE, 2
53
- value :RUNNING, 3
54
- end
55
- add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable" do
56
- optional :log_source, :enum, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogSource"
57
- optional :log_type, :enum, 2, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogType"
58
- optional :bigquery_table_path, :string, 3
59
- end
60
- add_enum "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogSource" do
61
- value :LOG_SOURCE_UNSPECIFIED, 0
62
- value :TRAINING, 1
63
- value :SERVING, 2
64
- end
65
- add_enum "google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogType" do
66
- value :LOG_TYPE_UNSPECIFIED, 0
67
- value :PREDICT, 1
68
- value :EXPLAIN, 2
69
- end
70
- add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfig" do
71
- optional :deployed_model_id, :string, 1
72
- optional :objective_config, :message, 2, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig"
73
- end
74
- add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig" do
75
- optional :monitor_interval, :message, 1, "google.protobuf.Duration"
76
- optional :monitor_window, :message, 2, "google.protobuf.Duration"
77
- end
78
- add_message "google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies" do
79
- optional :objective, :enum, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType"
80
- optional :deployed_model_id, :string, 2
81
- optional :anomaly_count, :int32, 3
82
- repeated :feature_stats, :message, 4, "google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies"
83
- end
84
- add_message "google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies" do
85
- optional :feature_display_name, :string, 1
86
- optional :threshold, :message, 3, "google.cloud.aiplatform.v1.ThresholdConfig"
87
- optional :training_stats, :message, 4, "google.cloud.aiplatform.v1.FeatureStatsAnomaly"
88
- repeated :prediction_stats, :message, 5, "google.cloud.aiplatform.v1.FeatureStatsAnomaly"
89
- end
90
- add_enum "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType" do
91
- value :MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED, 0
92
- value :RAW_FEATURE_SKEW, 1
93
- value :RAW_FEATURE_DRIFT, 2
94
- value :FEATURE_ATTRIBUTION_SKEW, 3
95
- value :FEATURE_ATTRIBUTION_DRIFT, 4
19
+
20
+ descriptor_data = "\n@google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x39google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x31google/cloud/aiplatform/v1/model_monitoring.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xad\x10\n\x1cModelDeploymentMonitoringJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x08\x65ndpoint\x18\x03 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x38\n\x05state\x18\x04 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12m\n\x0eschedule_state\x18\x05 \x01(\x0e\x32P.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleStateB\x03\xe0\x41\x03\x12\x8b\x01\n#latest_monitoring_pipeline_metadata\x18\x19 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadataB\x03\xe0\x41\x03\x12\x80\x01\n-model_deployment_monitoring_objective_configs\x18\x06 \x03(\x0b\x32\x44.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfigB\x03\xe0\x41\x02\x12}\n+model_deployment_monitoring_schedule_config\x18\x07 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfigB\x03\xe0\x41\x02\x12T\n\x19logging_sampling_strategy\x18\x08 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\x03\xe0\x41\x02\x12]\n\x1dmodel_monitoring_alert_config\x18\x0f \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig\x12#\n\x1bpredict_instance_schema_uri\x18\t \x01(\t\x12\x37\n\x17sample_predict_instance\x18\x13 \x01(\x0b\x32\x16.google.protobuf.Value\x12$\n\x1c\x61nalysis_instance_schema_uri\x18\x10 \x01(\t\x12`\n\x0f\x62igquery_tables\x18\n \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTableB\x03\xe0\x41\x03\x12*\n\x07log_ttl\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12T\n\x06labels\x18\x0b \x03(\x0b\x32\x44.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12;\n\x12next_schedule_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x1estats_anomalies_base_directory\x18\x14 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestination\x12\x43\n\x0f\x65ncryption_spec\x18\x15 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12\'\n\x1f\x65nable_monitoring_pipeline_logs\x18\x16 \x01(\x08\x12&\n\x05\x65rror\x18\x17 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1at\n LatestMonitoringPipelineMetadata\x12,\n\x08run_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"k\n\x17MonitoringScheduleState\x12)\n%MONITORING_SCHEDULE_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\x0b\n\x07RUNNING\x10\x03:\xa5\x01\xea\x41\xa1\x01\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12gprojects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}\"\x88\x03\n&ModelDeploymentMonitoringBigQueryTable\x12`\n\nlog_source\x18\x01 \x01(\x0e\x32L.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogSource\x12\\\n\x08log_type\x18\x02 \x01(\x0e\x32J.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogType\x12\x1b\n\x13\x62igquery_table_path\x18\x03 \x01(\t\"B\n\tLogSource\x12\x1a\n\x16LOG_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08TRAINING\x10\x01\x12\x0b\n\x07SERVING\x10\x02\"=\n\x07LogType\x12\x18\n\x14LOG_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PREDICT\x10\x01\x12\x0b\n\x07\x45XPLAIN\x10\x02\"\x9b\x01\n(ModelDeploymentMonitoringObjectiveConfig\x12\x19\n\x11\x64\x65ployed_model_id\x18\x01 \x01(\t\x12T\n\x10objective_config\x18\x02 \x01(\x0b\x32:.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig\"\x96\x01\n\'ModelDeploymentMonitoringScheduleConfig\x12\x38\n\x10monitor_interval\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x31\n\x0emonitor_window\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xac\x04\n\x1dModelMonitoringStatsAnomalies\x12U\n\tobjective\x18\x01 \x01(\x0e\x32\x42.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType\x12\x19\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\t\x12\x15\n\ranomaly_count\x18\x03 \x01(\x05\x12n\n\rfeature_stats\x18\x04 \x03(\x0b\x32W.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies\x1a\x91\x02\n\x1d\x46\x65\x61tureHistoricStatsAnomalies\x12\x1c\n\x14\x66\x65\x61ture_display_name\x18\x01 \x01(\t\x12>\n\tthreshold\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x12G\n\x0etraining_stats\x18\x04 \x01(\x0b\x32/.google.cloud.aiplatform.v1.FeatureStatsAnomaly\x12I\n\x10prediction_stats\x18\x05 \x03(\x0b\x32/.google.cloud.aiplatform.v1.FeatureStatsAnomaly*\xce\x01\n&ModelDeploymentMonitoringObjectiveType\x12:\n6MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10RAW_FEATURE_SKEW\x10\x01\x12\x15\n\x11RAW_FEATURE_DRIFT\x10\x02\x12\x1c\n\x18\x46\x45\x41TURE_ATTRIBUTION_SKEW\x10\x03\x12\x1d\n\x19\x46\x45\x41TURE_ATTRIBUTION_DRIFT\x10\x04\x42\xdf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B!ModelDeploymentMonitoringJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
21
+
22
+ pool = Google::Protobuf::DescriptorPool.generated_pool
23
+
24
+ begin
25
+ pool.add_serialized_file(descriptor_data)
26
+ rescue TypeError => e
27
+ # Compatibility code: will be removed in the next major version.
28
+ require 'google/protobuf/descriptor_pb'
29
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
30
+ parsed.clear_dependency
31
+ serialized = parsed.class.encode(parsed)
32
+ file = pool.add_serialized_file(serialized)
33
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
34
+ imports = [
35
+ ["google.cloud.aiplatform.v1.SamplingStrategy", "google/cloud/aiplatform/v1/model_monitoring.proto"],
36
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
37
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
38
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
39
+ ["google.cloud.aiplatform.v1.GcsDestination", "google/cloud/aiplatform/v1/io.proto"],
40
+ ["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
41
+ ["google.rpc.Status", "google/rpc/status.proto"],
42
+ ["google.cloud.aiplatform.v1.FeatureStatsAnomaly", "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"],
43
+ ]
44
+ imports.each do |type_name, expected_filename|
45
+ import_file = pool.lookup(type_name).file_descriptor
46
+ if import_file.name != expected_filename
47
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
96
48
  end
97
49
  end
50
+ warn "Each proto file must use a consistent fully-qualified name."
51
+ warn "This will become an error in the next major version."
98
52
  end
99
53
 
100
54
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/model_evaluation.proto
3
4
 
@@ -9,26 +10,34 @@ require 'google/cloud/aiplatform/v1/explanation_pb'
9
10
  require 'google/protobuf/struct_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/aiplatform/v1/model_evaluation.proto", :syntax => :proto3) do
14
- add_message "google.cloud.aiplatform.v1.ModelEvaluation" do
15
- optional :name, :string, 1
16
- optional :display_name, :string, 10
17
- optional :metrics_schema_uri, :string, 2
18
- optional :metrics, :message, 3, "google.protobuf.Value"
19
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
20
- repeated :slice_dimensions, :string, 5
21
- optional :data_item_schema_uri, :string, 6
22
- optional :annotation_schema_uri, :string, 7
23
- optional :model_explanation, :message, 8, "google.cloud.aiplatform.v1.ModelExplanation"
24
- repeated :explanation_specs, :message, 9, "google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec"
25
- optional :metadata, :message, 11, "google.protobuf.Value"
26
- end
27
- add_message "google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec" do
28
- optional :explanation_type, :string, 1
29
- optional :explanation_spec, :message, 2, "google.cloud.aiplatform.v1.ExplanationSpec"
13
+
14
+ descriptor_data = "\n1google/cloud/aiplatform/v1/model_evaluation.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x05\n\x0fModelEvaluation\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\n \x01(\t\x12\x1a\n\x12metrics_schema_uri\x18\x02 \x01(\t\x12\'\n\x07metrics\x18\x03 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x10slice_dimensions\x18\x05 \x03(\t\x12\x1c\n\x14\x64\x61ta_item_schema_uri\x18\x06 \x01(\t\x12\x1d\n\x15\x61nnotation_schema_uri\x18\x07 \x01(\t\x12G\n\x11model_explanation\x18\x08 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ModelExplanation\x12\x65\n\x11\x65xplanation_specs\x18\t \x03(\x0b\x32J.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec\x12(\n\x08metadata\x18\x0b \x01(\x0b\x32\x16.google.protobuf.Value\x1a\x81\x01\n\x1eModelEvaluationExplanationSpec\x12\x18\n\x10\x65xplanation_type\x18\x01 \x01(\t\x12\x45\n\x10\x65xplanation_spec\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ExplanationSpec:\x7f\xea\x41|\n)aiplatform.googleapis.com/ModelEvaluation\x12Oprojects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}B\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ModelEvaluationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.cloud.aiplatform.v1.ModelExplanation", "google/cloud/aiplatform/v1/explanation.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
37
  end
31
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
32
41
  end
33
42
 
34
43
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/model_evaluation_slice.proto
3
4
 
@@ -10,42 +11,35 @@ require 'google/protobuf/struct_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
  require 'google/protobuf/wrappers_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/aiplatform/v1/model_evaluation_slice.proto", :syntax => :proto3) do
15
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice" do
16
- optional :name, :string, 1
17
- optional :slice, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice"
18
- optional :metrics_schema_uri, :string, 3
19
- optional :metrics, :message, 4, "google.protobuf.Value"
20
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
21
- optional :model_explanation, :message, 6, "google.cloud.aiplatform.v1.ModelExplanation"
22
- end
23
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice" do
24
- optional :dimension, :string, 1
25
- optional :value, :string, 2
26
- optional :slice_spec, :message, 3, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec"
27
- end
28
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec" do
29
- map :configs, :string, :message, 1, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig"
30
- end
31
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig" do
32
- oneof :kind do
33
- optional :value, :message, 1, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value"
34
- optional :range, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range"
35
- optional :all_values, :message, 3, "google.protobuf.BoolValue"
36
- end
37
- end
38
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range" do
39
- optional :low, :float, 1
40
- optional :high, :float, 2
41
- end
42
- add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value" do
43
- oneof :kind do
44
- optional :string_value, :string, 1
45
- optional :float_value, :float, 2
46
- end
14
+
15
+ descriptor_data = "\n7google/cloud/aiplatform/v1/model_evaluation_slice.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xbc\t\n\x14ModelEvaluationSlice\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12J\n\x05slice\x18\x02 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.ModelEvaluationSlice.SliceB\x03\xe0\x41\x03\x12\x1f\n\x12metrics_schema_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12,\n\x07metrics\x18\x04 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x11model_explanation\x18\x06 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ModelExplanationB\x03\xe0\x41\x03\x1a\xda\x05\n\x05Slice\x12\x16\n\tdimension\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12Y\n\nslice_spec\x18\x03 \x01(\x0b\x32@.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpecB\x03\xe0\x41\x03\x1a\xc9\x04\n\tSliceSpec\x12^\n\x07\x63onfigs\x18\x01 \x03(\x0b\x32M.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ConfigsEntry\x1a\xf9\x01\n\x0bSliceConfig\x12W\n\x05value\x18\x01 \x01(\x0b\x32\x46.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ValueH\x00\x12W\n\x05range\x18\x02 \x01(\x0b\x32\x46.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.RangeH\x00\x12\x30\n\nall_values\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x42\x06\n\x04kind\x1a\"\n\x05Range\x12\x0b\n\x03low\x18\x01 \x01(\x02\x12\x0c\n\x04high\x18\x02 \x01(\x02\x1a>\n\x05Value\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x02H\x00\x42\x06\n\x04kind\x1a|\n\x0c\x43onfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12[\n\x05value\x18\x02 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig:\x02\x38\x01:\x94\x01\xea\x41\x90\x01\n.aiplatform.googleapis.com/ModelEvaluationSlice\x12^projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}B\xd7\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x19ModelEvaluationSliceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.cloud.aiplatform.v1.ModelExplanation", "google/cloud/aiplatform/v1/explanation.proto"],
33
+ ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
47
39
  end
48
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
49
43
  end
50
44
 
51
45
  module Google
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/model_garden_service.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/aiplatform/v1/publisher_model_pb'
12
+
13
+
14
+ descriptor_data = "\n5google/cloud/aiplatform/v1/model_garden_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/publisher_model.proto\"\xb9\x01\n\x18GetPublisherModelRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/PublisherModel\x12\x1a\n\rlanguage_code\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x04view\x18\x03 \x01(\x0e\x32..google.cloud.aiplatform.v1.PublisherModelViewB\x03\xe0\x41\x01*\xa1\x01\n\x12PublisherModelView\x12$\n PUBLISHER_MODEL_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1aPUBLISHER_MODEL_VIEW_BASIC\x10\x01\x12\x1d\n\x19PUBLISHER_MODEL_VIEW_FULL\x10\x02\x12&\n\"PUBLISHER_MODEL_VERSION_VIEW_BASIC\x10\x03\x32\x8c\x02\n\x12ModelGardenService\x12\xa6\x01\n\x11GetPublisherModel\x12\x34.google.cloud.aiplatform.v1.GetPublisherModelRequest\x1a*.google.cloud.aiplatform.v1.PublisherModel\"/\x82\xd3\xe4\x93\x02\"\x12 /v1/{name=publishers/*/models/*}\xda\x41\x04name\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17ModelGardenServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Cloud
42
+ module AIPlatform
43
+ module V1
44
+ GetPublisherModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetPublisherModelRequest").msgclass
45
+ PublisherModelView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PublisherModelView").enummodule
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,45 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/aiplatform/v1/model_garden_service.proto for package 'Google.Cloud.AIPlatform.V1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/aiplatform/v1/model_garden_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module AIPlatform
25
+ module V1
26
+ module ModelGardenService
27
+ # The interface of Model Garden Service.
28
+ class Service
29
+
30
+ include ::GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.aiplatform.v1.ModelGardenService'
35
+
36
+ # Gets a Model Garden publisher model.
37
+ rpc :GetPublisherModel, ::Google::Cloud::AIPlatform::V1::GetPublisherModelRequest, ::Google::Cloud::AIPlatform::V1::PublisherModel
38
+ end
39
+
40
+ Stub = Service.rpc_stub_class
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/model_monitoring.proto
3
4
 
@@ -6,71 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/resource_pb'
7
8
  require 'google/cloud/aiplatform/v1/io_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/aiplatform/v1/model_monitoring.proto", :syntax => :proto3) do
11
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig" do
12
- optional :training_dataset, :message, 1, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset"
13
- optional :training_prediction_skew_detection_config, :message, 2, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig"
14
- optional :prediction_drift_detection_config, :message, 3, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig"
15
- optional :explanation_config, :message, 5, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig"
16
- end
17
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset" do
18
- optional :data_format, :string, 2
19
- optional :target_field, :string, 6
20
- optional :logging_sampling_strategy, :message, 7, "google.cloud.aiplatform.v1.SamplingStrategy"
21
- oneof :data_source do
22
- optional :dataset, :string, 3
23
- optional :gcs_source, :message, 4, "google.cloud.aiplatform.v1.GcsSource"
24
- optional :bigquery_source, :message, 5, "google.cloud.aiplatform.v1.BigQuerySource"
25
- end
26
- end
27
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig" do
28
- map :skew_thresholds, :string, :message, 1, "google.cloud.aiplatform.v1.ThresholdConfig"
29
- map :attribution_score_skew_thresholds, :string, :message, 2, "google.cloud.aiplatform.v1.ThresholdConfig"
30
- optional :default_skew_threshold, :message, 6, "google.cloud.aiplatform.v1.ThresholdConfig"
31
- end
32
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig" do
33
- map :drift_thresholds, :string, :message, 1, "google.cloud.aiplatform.v1.ThresholdConfig"
34
- map :attribution_score_drift_thresholds, :string, :message, 2, "google.cloud.aiplatform.v1.ThresholdConfig"
35
- optional :default_drift_threshold, :message, 5, "google.cloud.aiplatform.v1.ThresholdConfig"
36
- end
37
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig" do
38
- optional :enable_feature_attributes, :bool, 1
39
- optional :explanation_baseline, :message, 2, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline"
40
- end
41
- add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline" do
42
- optional :prediction_format, :enum, 1, "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat"
43
- oneof :destination do
44
- optional :gcs, :message, 2, "google.cloud.aiplatform.v1.GcsDestination"
45
- optional :bigquery, :message, 3, "google.cloud.aiplatform.v1.BigQueryDestination"
46
- end
47
- end
48
- add_enum "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat" do
49
- value :PREDICTION_FORMAT_UNSPECIFIED, 0
50
- value :JSONL, 2
51
- value :BIGQUERY, 3
52
- end
53
- add_message "google.cloud.aiplatform.v1.ModelMonitoringAlertConfig" do
54
- optional :enable_logging, :bool, 2
55
- oneof :alert do
56
- optional :email_alert_config, :message, 1, "google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig"
57
- end
58
- end
59
- add_message "google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig" do
60
- repeated :user_emails, :string, 1
61
- end
62
- add_message "google.cloud.aiplatform.v1.ThresholdConfig" do
63
- oneof :threshold do
64
- optional :value, :double, 1
65
- end
66
- end
67
- add_message "google.cloud.aiplatform.v1.SamplingStrategy" do
68
- optional :random_sample_config, :message, 1, "google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig"
69
- end
70
- add_message "google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig" do
71
- optional :sample_rate, :double, 1
10
+
11
+ descriptor_data = "\n1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\"\xbf\x15\n\x1eModelMonitoringObjectiveConfig\x12\x64\n\x10training_dataset\x18\x01 \x01(\x0b\x32J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\n)training_prediction_skew_detection_config\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\n!prediction_drift_detection_config\x18\x03 \x01(\x0b\x32Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\n\x12\x65xplanation_config\x18\x05 \x01(\x0b\x32L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1a\xdb\x02\n\x0fTrainingDataset\x12\x39\n\x07\x64\x61taset\x18\x03 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12;\n\ngcs_source\x18\x04 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12\x45\n\x0f\x62igquery_source\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\n\x0b\x64\x61ta_format\x18\x02 \x01(\t\x12\x14\n\x0ctarget_field\x18\x06 \x01(\t\x12O\n\x19logging_sampling_strategy\x18\x07 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SamplingStrategyB\r\n\x0b\x64\x61ta_source\x1a\x8f\x05\n%TrainingPredictionSkewDetectionConfig\x12\x8d\x01\n\x0fskew_thresholds\x18\x01 \x03(\x0b\x32t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xb0\x01\n!attribution_score_skew_thresholds\x18\x02 \x03(\x0b\x32\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\n\x16\x64\x65\x66\x61ult_skew_threshold\x18\x06 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x62\n\x13SkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1ar\n#AttributionScoreSkewThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\x80\x05\n\x1ePredictionDriftDetectionConfig\x12\x88\x01\n\x10\x64rift_thresholds\x18\x01 \x03(\x0b\x32n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xaa\x01\n\"attribution_score_drift_thresholds\x18\x02 \x03(\x0b\x32~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\n\x17\x64\x65\x66\x61ult_drift_threshold\x18\x05 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig\x1a\x63\n\x14\x44riftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1as\n$AttributionScoreDriftThresholdsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.ThresholdConfig:\x02\x38\x01\x1a\xbc\x04\n\x11\x45xplanationConfig\x12!\n\x19\x65nable_feature_attributes\x18\x01 \x01(\x08\x12~\n\x14\x65xplanation_baseline\x18\x02 \x01(\x0b\x32`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1a\x83\x03\n\x13\x45xplanationBaseline\x12\x39\n\x03gcs\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12\x43\n\x08\x62igquery\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8c\x01\n\x11prediction_format\x18\x01 \x01(\x0e\x32q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\n\x10PredictionFormat\x12!\n\x1dPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x02\x12\x0c\n\x08\x42IGQUERY\x10\x03\x42\r\n\x0b\x64\x65stination\"\xcd\x01\n\x1aModelMonitoringAlertConfig\x12\x65\n\x12\x65mail_alert_config\x18\x01 \x01(\x0b\x32G.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfigH\x00\x12\x16\n\x0e\x65nable_logging\x18\x02 \x01(\x08\x1a\'\n\x10\x45mailAlertConfig\x12\x13\n\x0buser_emails\x18\x01 \x03(\tB\x07\n\x05\x61lert\"/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthreshold\"\x9c\x01\n\x10SamplingStrategy\x12]\n\x14random_sample_config\x18\x01 \x01(\x0b\x32?.google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig\x1a)\n\x12RandomSampleConfig\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x01\x42\xc4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ModelMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1\xea\x41o\n-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.cloud.aiplatform.v1.GcsSource", "google/cloud/aiplatform/v1/io.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
72
32
  end
73
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
74
36
  end
75
37
 
76
38
  module Google