google-cloud-ai_platform-v1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) 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 +533 -0
  16. data/lib/google/cloud/ai_platform/v1/match_service/credentials.rb +47 -0
  17. data/lib/google/cloud/ai_platform/v1/match_service/paths.rb +52 -0
  18. data/lib/google/cloud/ai_platform/v1/match_service.rb +50 -0
  19. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
  20. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
  21. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
  22. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
  23. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
  24. data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
  25. data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
  26. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
  27. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  28. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
  29. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
  30. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
  31. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
  32. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
  33. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
  34. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
  35. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
  36. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
  37. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  38. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
  39. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
  40. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  41. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
  42. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
  43. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
  44. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
  45. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
  46. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
  47. data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
  48. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
  49. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
  50. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
  51. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
  52. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
  53. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
  54. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
  55. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
  56. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
  57. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
  58. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
  59. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
  60. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
  61. data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
  62. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
  63. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
  64. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +34 -92
  65. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
  66. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
  67. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
  68. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
  69. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
  70. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
  71. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
  72. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
  73. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
  74. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
  75. data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
  76. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
  77. data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
  78. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
  79. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
  80. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
  81. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
  82. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
  83. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +55 -0
  84. data/lib/google/cloud/aiplatform/v1/match_service_services_pb.rb +49 -0
  85. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
  86. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
  87. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
  88. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
  89. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
  90. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
  91. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
  92. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
  93. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
  94. data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
  95. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
  96. data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
  97. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
  98. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  99. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  100. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  101. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  102. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  103. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  104. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  105. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  106. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  107. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  108. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  109. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  110. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  111. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  114. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  115. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  116. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  117. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  118. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  119. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  120. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  121. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  122. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  123. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  124. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  125. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +89 -0
  127. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  128. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  129. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +156 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  131. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  132. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  133. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  134. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  135. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  136. data/proto_docs/google/protobuf/any.rb +7 -4
  137. data/proto_docs/google/protobuf/struct.rb +1 -1
  138. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  139. metadata +20 -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/metadata_store.proto
3
4
 
@@ -8,20 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/aiplatform/v1/metadata_store.proto", :syntax => :proto3) do
13
- add_message "google.cloud.aiplatform.v1.MetadataStore" do
14
- optional :name, :string, 1
15
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
16
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
17
- optional :encryption_spec, :message, 5, "google.cloud.aiplatform.v1.EncryptionSpec"
18
- optional :description, :string, 6
19
- optional :state, :message, 7, "google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState"
20
- end
21
- add_message "google.cloud.aiplatform.v1.MetadataStore.MetadataStoreState" do
22
- optional :disk_utilization_bytes, :int64, 1
12
+
13
+ descriptor_data = "\n/google/cloud/aiplatform/v1/metadata_store.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\x1fgoogle/protobuf/timestamp.proto\"\xe7\x03\n\rMetadataStore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0f\x65ncryption_spec\x18\x05 \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12P\n\x05state\x18\x07 \x01(\x0b\x32<.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreStateB\x03\xe0\x41\x03\x1a\x34\n\x12MetadataStoreState\x12\x1e\n\x16\x64isk_utilization_bytes\x18\x01 \x01(\x03:u\xea\x41r\n\'aiplatform.googleapis.com/MetadataStore\x12Gprojects/{project}/locations/{location}/metadataStores/{metadata_store}B\xcb\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\rMetadataProtoP\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"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
23
35
  end
24
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
25
39
  end
26
40
 
27
41
  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/migratable_resource.proto
3
4
 
@@ -7,40 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/aiplatform/v1/migratable_resource.proto", :syntax => :proto3) do
12
- add_message "google.cloud.aiplatform.v1.MigratableResource" do
13
- optional :last_migrate_time, :message, 5, "google.protobuf.Timestamp"
14
- optional :last_update_time, :message, 6, "google.protobuf.Timestamp"
15
- oneof :resource do
16
- optional :ml_engine_model_version, :message, 1, "google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion"
17
- optional :automl_model, :message, 2, "google.cloud.aiplatform.v1.MigratableResource.AutomlModel"
18
- optional :automl_dataset, :message, 3, "google.cloud.aiplatform.v1.MigratableResource.AutomlDataset"
19
- optional :data_labeling_dataset, :message, 4, "google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset"
20
- end
21
- end
22
- add_message "google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersion" do
23
- optional :endpoint, :string, 1
24
- optional :version, :string, 2
25
- end
26
- add_message "google.cloud.aiplatform.v1.MigratableResource.AutomlModel" do
27
- optional :model, :string, 1
28
- optional :model_display_name, :string, 3
29
- end
30
- add_message "google.cloud.aiplatform.v1.MigratableResource.AutomlDataset" do
31
- optional :dataset, :string, 1
32
- optional :dataset_display_name, :string, 4
33
- end
34
- add_message "google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset" do
35
- optional :dataset, :string, 1
36
- optional :dataset_display_name, :string, 4
37
- repeated :data_labeling_annotated_datasets, :message, 3, "google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset"
38
- end
39
- add_message "google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset" do
40
- optional :annotated_dataset, :string, 1
41
- optional :annotated_dataset_display_name, :string, 3
11
+
12
+ descriptor_data = "\n4google/cloud/aiplatform/v1/migratable_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd3\t\n\x12MigratableResource\x12k\n\x17ml_engine_model_version\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersionB\x03\xe0\x41\x03H\x00\x12W\n\x0c\x61utoml_model\x18\x02 \x01(\x0b\x32:.google.cloud.aiplatform.v1.MigratableResource.AutomlModelB\x03\xe0\x41\x03H\x00\x12[\n\x0e\x61utoml_dataset\x18\x03 \x01(\x0b\x32<.google.cloud.aiplatform.v1.MigratableResource.AutomlDatasetB\x03\xe0\x41\x03H\x00\x12h\n\x15\x64\x61ta_labeling_dataset\x18\x04 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDatasetB\x03\xe0\x41\x03H\x00\x12:\n\x11last_migrate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10last_update_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1aY\n\x14MlEngineModelVersion\x12\x10\n\x08\x65ndpoint\x18\x01 \x01(\t\x12/\n\x07version\x18\x02 \x01(\tB\x1e\xfa\x41\x1b\n\x19ml.googleapis.com/Version\x1aZ\n\x0b\x41utomlModel\x12/\n\x05model\x18\x01 \x01(\tB \xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x1a\n\x12model_display_name\x18\x03 \x01(\t\x1a\x62\n\rAutomlDataset\x12\x33\n\x07\x64\x61taset\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1d\x61utoml.googleapis.com/Dataset\x12\x1c\n\x14\x64\x61taset_display_name\x18\x04 \x01(\t\x1a\x91\x03\n\x13\x44\x61taLabelingDataset\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\tB(\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12\x1c\n\x14\x64\x61taset_display_name\x18\x04 \x01(\t\x12\x89\x01\n data_labeling_annotated_datasets\x18\x03 \x03(\x0b\x32_.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset\x1a\x94\x01\n\x1c\x44\x61taLabelingAnnotatedDataset\x12L\n\x11\x61nnotated_dataset\x18\x01 \x01(\tB1\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\x12&\n\x1e\x61nnotated_dataset_display_name\x18\x03 \x01(\tB\n\n\x08resourceB\xac\x05\n\x1e\x63om.google.cloud.aiplatform.v1B\x17MigratableResourceProtoP\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\x41Q\n\x19ml.googleapis.com/Version\x12\x34projects/{project}/models/{model}/versions/{version}\xea\x41U\n\x1b\x61utoml.googleapis.com/Model\x12\x36projects/{project}/locations/{location}/models/{model}\xea\x41[\n\x1d\x61utoml.googleapis.com/Dataset\x12:projects/{project}/locations/{location}/datasets/{dataset}\xea\x41L\n#datalabeling.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41{\n,datalabeling.googleapis.com/AnnotatedDataset\x12Kprojects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
33
  end
43
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
44
37
  end
45
38
 
46
39
  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/migration_service.proto
3
4
 
@@ -12,74 +13,34 @@ require 'google/cloud/aiplatform/v1/operation_pb'
12
13
  require 'google/longrunning/operations_pb'
13
14
  require 'google/rpc/status_pb'
14
15
 
15
- Google::Protobuf::DescriptorPool.generated_pool.build do
16
- add_file("google/cloud/aiplatform/v1/migration_service.proto", :syntax => :proto3) do
17
- add_message "google.cloud.aiplatform.v1.SearchMigratableResourcesRequest" do
18
- optional :parent, :string, 1
19
- optional :page_size, :int32, 2
20
- optional :page_token, :string, 3
21
- optional :filter, :string, 4
22
- end
23
- add_message "google.cloud.aiplatform.v1.SearchMigratableResourcesResponse" do
24
- repeated :migratable_resources, :message, 1, "google.cloud.aiplatform.v1.MigratableResource"
25
- optional :next_page_token, :string, 2
26
- end
27
- add_message "google.cloud.aiplatform.v1.BatchMigrateResourcesRequest" do
28
- optional :parent, :string, 1
29
- repeated :migrate_resource_requests, :message, 2, "google.cloud.aiplatform.v1.MigrateResourceRequest"
30
- end
31
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest" do
32
- oneof :request do
33
- optional :migrate_ml_engine_model_version_config, :message, 1, "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfig"
34
- optional :migrate_automl_model_config, :message, 2, "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfig"
35
- optional :migrate_automl_dataset_config, :message, 3, "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfig"
36
- optional :migrate_data_labeling_dataset_config, :message, 4, "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig"
37
- end
38
- end
39
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfig" do
40
- optional :endpoint, :string, 1
41
- optional :model_version, :string, 2
42
- optional :model_display_name, :string, 3
43
- end
44
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfig" do
45
- optional :model, :string, 1
46
- optional :model_display_name, :string, 2
47
- end
48
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfig" do
49
- optional :dataset, :string, 1
50
- optional :dataset_display_name, :string, 2
51
- end
52
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig" do
53
- optional :dataset, :string, 1
54
- optional :dataset_display_name, :string, 2
55
- repeated :migrate_data_labeling_annotated_dataset_configs, :message, 3, "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfig"
56
- end
57
- add_message "google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfig" do
58
- optional :annotated_dataset, :string, 1
59
- end
60
- add_message "google.cloud.aiplatform.v1.BatchMigrateResourcesResponse" do
61
- repeated :migrate_resource_responses, :message, 1, "google.cloud.aiplatform.v1.MigrateResourceResponse"
62
- end
63
- add_message "google.cloud.aiplatform.v1.MigrateResourceResponse" do
64
- optional :migratable_resource, :message, 3, "google.cloud.aiplatform.v1.MigratableResource"
65
- oneof :migrated_resource do
66
- optional :dataset, :string, 1
67
- optional :model, :string, 2
68
- end
69
- end
70
- add_message "google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata" do
71
- optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
72
- repeated :partial_results, :message, 2, "google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult"
73
- end
74
- add_message "google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult" do
75
- optional :request, :message, 1, "google.cloud.aiplatform.v1.MigrateResourceRequest"
76
- oneof :result do
77
- optional :error, :message, 2, "google.rpc.Status"
78
- optional :model, :string, 3
79
- optional :dataset, :string, 4
80
- end
16
+
17
+ descriptor_data = "\n2google/cloud/aiplatform/v1/migration_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\x34google/cloud/aiplatform/v1/migratable_resource.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x17google/rpc/status.proto\"\x94\x01\n SearchMigratableResourcesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x8a\x01\n!SearchMigratableResourcesResponse\x12L\n\x14migratable_resources\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.MigratableResource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb5\x01\n\x1c\x42\x61tchMigrateResourcesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Z\n\x19migrate_resource_requests\x18\x02 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.MigrateResourceRequestB\x03\xe0\x41\x02\"\xe2\n\n\x16MigrateResourceRequest\x12\x86\x01\n&migrate_ml_engine_model_version_config\x18\x01 \x01(\x0b\x32T.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfigH\x00\x12r\n\x1bmigrate_automl_model_config\x18\x02 \x01(\x0b\x32K.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfigH\x00\x12v\n\x1dmigrate_automl_dataset_config\x18\x03 \x01(\x0b\x32M.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfigH\x00\x12\x83\x01\n$migrate_data_labeling_dataset_config\x18\x04 \x01(\x0b\x32S.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfigH\x00\x1a\x95\x01\n!MigrateMlEngineModelVersionConfig\x12\x15\n\x08\x65ndpoint\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\rmodel_version\x18\x02 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19ml.googleapis.com/Version\x12\x1f\n\x12model_display_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1ao\n\x18MigrateAutomlModelConfig\x12\x32\n\x05model\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x61utoml.googleapis.com/Model\x12\x1f\n\x12model_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1aw\n\x1aMigrateAutomlDatasetConfig\x12\x36\n\x07\x64\x61taset\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x61utoml.googleapis.com/Dataset\x12!\n\x14\x64\x61taset_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x1a\xbf\x03\n MigrateDataLabelingDatasetConfig\x12<\n\x07\x64\x61taset\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12!\n\x14\x64\x61taset_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\xbb\x01\n/migrate_data_labeling_annotated_dataset_configs\x18\x03 \x03(\x0b\x32}.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfigB\x03\xe0\x41\x01\x1a|\n)MigrateDataLabelingAnnotatedDatasetConfig\x12O\n\x11\x61nnotated_dataset\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDatasetB\t\n\x07request\"x\n\x1d\x42\x61tchMigrateResourcesResponse\x12W\n\x1amigrate_resource_responses\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.MigrateResourceResponse\"\xed\x01\n\x17MigrateResourceResponse\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12\x35\n\x05model\x18\x02 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/ModelH\x00\x12K\n\x13migratable_resource\x18\x03 \x01(\x0b\x32..google.cloud.aiplatform.v1.MigratableResourceB\x13\n\x11migrated_resource\"\xdb\x03\n&BatchMigrateResourcesOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12i\n\x0fpartial_results\x18\x02 \x03(\x0b\x32P.google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult\x1a\xf5\x01\n\rPartialResult\x12#\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x12.google.rpc.StatusH\x00\x12\x35\n\x05model\x18\x03 \x01(\tB$\xfa\x41!\n\x1f\x61iplatform.googleapis.com/ModelH\x00\x12\x39\n\x07\x64\x61taset\x18\x04 \x01(\tB&\xfa\x41#\n!aiplatform.googleapis.com/DatasetH\x00\x12\x43\n\x07request\x18\x01 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.MigrateResourceRequestB\x08\n\x06result2\x82\x05\n\x10MigrationService\x12\xec\x01\n\x19SearchMigratableResources\x12<.google.cloud.aiplatform.v1.SearchMigratableResourcesRequest\x1a=.google.cloud.aiplatform.v1.SearchMigratableResourcesResponse\"R\x82\xd3\xe4\x93\x02\x43\">/v1/{parent=projects/*/locations/*}/migratableResources:search:\x01*\xda\x41\x06parent\x12\xaf\x02\n\x15\x42\x61tchMigrateResources\x12\x38.google.cloud.aiplatform.v1.BatchMigrateResourcesRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\x82\xd3\xe4\x93\x02I\"D/v1/{parent=projects/*/locations/*}/migratableResources:batchMigrate:\x01*\xda\x41 parent,migrate_resource_requests\xca\x41G\n\x1d\x42\x61tchMigrateResourcesResponse\x12&BatchMigrateResourcesOperationMetadata\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MigrationServiceProtoP\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"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError => e
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.aiplatform.v1.MigratableResource", "google/cloud/aiplatform/v1/migratable_resource.proto"],
33
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
34
+ ["google.rpc.Status", "google/rpc/status.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
81
40
  end
82
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
83
44
  end
84
45
 
85
46
  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_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