google-cloud-ai_platform-v1 0.35.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +72 -99
  3. data/README.md +1 -1
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +43 -17
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +28 -6
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +896 -0
  7. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/credentials.rb +47 -0
  8. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +809 -0
  9. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/paths.rb +83 -0
  10. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +50 -0
  11. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +43 -17
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +28 -6
  13. data/lib/google/cloud/ai_platform/v1/endpoint_service/paths.rb +19 -0
  14. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +46 -18
  15. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +28 -6
  16. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +146 -17
  17. data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +2 -0
  18. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +44 -18
  19. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +28 -6
  20. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +42 -17
  21. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +44 -18
  22. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +28 -6
  23. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +43 -17
  24. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +28 -6
  25. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +52 -18
  26. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +28 -6
  27. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +43 -17
  28. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +28 -6
  29. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +49 -18
  30. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +42 -17
  31. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +43 -17
  32. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +28 -6
  33. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +43 -17
  34. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +28 -6
  35. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +42 -17
  36. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +47 -21
  37. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +28 -6
  38. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +43 -17
  39. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +28 -6
  40. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +544 -20
  41. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +43 -17
  42. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +28 -6
  43. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +43 -17
  44. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +28 -6
  45. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +43 -17
  46. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +28 -6
  47. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  48. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +43 -17
  49. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +28 -6
  50. data/lib/google/cloud/ai_platform/v1.rb +1 -0
  51. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  52. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +1 -1
  53. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +1 -1
  54. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +1 -1
  55. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -1
  56. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +1 -1
  57. data/lib/google/cloud/aiplatform/v1/content_pb.rb +64 -0
  58. data/lib/google/cloud/aiplatform/v1/context_pb.rb +1 -1
  59. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -2
  60. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +1 -1
  61. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +1 -1
  62. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +4 -2
  63. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +4 -2
  64. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  65. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +2 -2
  66. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +1 -1
  67. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +49 -0
  68. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb +65 -0
  69. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_services_pb.rb +53 -0
  70. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +1 -1
  71. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +2 -2
  72. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -2
  73. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -1
  74. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +1 -1
  75. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +1 -1
  76. data/lib/google/cloud/aiplatform/v1/event_pb.rb +1 -1
  77. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +1 -1
  78. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +1 -1
  79. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +1 -1
  80. data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -2
  81. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +1 -1
  82. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +2 -2
  83. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +2 -2
  84. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +11 -2
  85. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +5 -0
  86. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +2 -2
  87. data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +2 -2
  88. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +1 -1
  89. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -2
  90. data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +2 -2
  91. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +1 -1
  92. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +2 -2
  93. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -1
  94. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +2 -2
  95. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +1 -1
  96. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -2
  97. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +2 -2
  98. data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
  99. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +2 -2
  100. data/lib/google/cloud/aiplatform/v1/io_pb.rb +1 -1
  101. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +2 -2
  102. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -1
  103. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +1 -1
  104. data/lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb +2 -2
  105. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  106. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +1 -1
  107. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +1 -1
  108. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +1 -1
  109. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +2 -2
  110. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +1 -1
  111. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +1 -1
  112. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +2 -2
  113. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +2 -2
  114. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +1 -1
  115. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +1 -1
  116. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +2 -2
  117. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +1 -1
  118. data/lib/google/cloud/aiplatform/v1/model_pb.rb +3 -2
  119. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -2
  120. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +1 -1
  121. data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +47 -0
  122. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +1 -1
  123. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +1 -1
  124. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
  125. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +2 -2
  126. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +1 -1
  127. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +16 -2
  128. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +16 -3
  129. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +6 -2
  130. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +1 -1
  131. data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +1 -1
  132. data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +2 -2
  133. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +4 -2
  134. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +1 -1
  135. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +2 -2
  136. data/lib/google/cloud/aiplatform/v1/study_pb.rb +1 -1
  137. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +1 -1
  138. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +1 -1
  139. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +1 -1
  140. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +1 -1
  141. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +2 -2
  142. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +1 -1
  143. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +51 -0
  144. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +1 -1
  145. data/lib/google/cloud/aiplatform/v1/types_pb.rb +1 -1
  146. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +1 -1
  147. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +1 -1
  148. data/lib/google/cloud/aiplatform/v1/value_pb.rb +1 -1
  149. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +2 -2
  150. data/proto_docs/google/api/client.rb +1 -0
  151. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +2 -2
  152. data/proto_docs/google/cloud/aiplatform/v1/content.rb +312 -0
  153. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +15 -0
  154. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +102 -0
  155. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +12 -1
  156. data/proto_docs/google/cloud/aiplatform/v1/deployed_index_ref.rb +3 -0
  157. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +45 -0
  158. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool_service.rb +170 -0
  159. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +6 -0
  160. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +8 -0
  161. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +5 -1
  162. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +2 -2
  163. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +2 -2
  164. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +3 -1
  165. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +150 -0
  166. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +3 -2
  167. data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +2 -2
  168. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -1
  169. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -0
  170. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +28 -0
  171. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +1 -0
  172. data/proto_docs/google/cloud/aiplatform/v1/model.rb +55 -4
  173. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +4 -0
  174. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +1 -1
  175. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +1 -0
  176. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +4 -4
  177. data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +1 -0
  178. data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +102 -0
  179. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +1 -0
  180. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +195 -0
  181. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +73 -1
  182. data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +16 -0
  183. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +112 -0
  184. data/proto_docs/google/protobuf/any.rb +2 -1
  185. data/proto_docs/google/type/date.rb +53 -0
  186. metadata +27 -122
@@ -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/deployment_resource_pool.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/aiplatform/v1/machine_resources_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+
13
+ descriptor_data = "\n9google/cloud/aiplatform/v1/deployment_resource_pool.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x02\n\x16\x44\x65ploymentResourcePool\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12P\n\x13\x64\x65\x64icated_resources\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.DedicatedResourcesB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x92\x01\xea\x41\x8e\x01\n0aiplatform.googleapis.com/DeploymentResourcePool\x12Zprojects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}B\xd9\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1b\x44\x65ploymentResourcePoolProtoP\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
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.cloud.aiplatform.v1.DedicatedResources", "google/cloud/aiplatform/v1/machine_resources.proto"],
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.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}"
35
+ end
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."
39
+ end
40
+
41
+ module Google
42
+ module Cloud
43
+ module AIPlatform
44
+ module V1
45
+ DeploymentResourcePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeploymentResourcePool").msgclass
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/aiplatform/v1/deployment_resource_pool_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/deployed_model_ref_pb'
12
+ require 'google/cloud/aiplatform/v1/deployment_resource_pool_pb'
13
+ require 'google/cloud/aiplatform/v1/endpoint_pb'
14
+ require 'google/cloud/aiplatform/v1/operation_pb'
15
+ require 'google/longrunning/operations_pb'
16
+ require 'google/protobuf/empty_pb'
17
+
18
+
19
+ descriptor_data = "\nAgoogle/cloud/aiplatform/v1/deployment_resource_pool_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\x33google/cloud/aiplatform/v1/deployed_model_ref.proto\x1a\x39google/cloud/aiplatform/v1/deployment_resource_pool.proto\x1a)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xe5\x01\n#CreateDeploymentResourcePoolRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x18\x64\x65ployment_resource_pool\x18\x02 \x01(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xe0\x41\x02\x12(\n\x1b\x64\x65ployment_resource_pool_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x7f\n-CreateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"j\n GetDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"\x86\x01\n\"ListDeploymentResourcePoolsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n#ListDeploymentResourcePoolsResponse\x12U\n\x19\x64\x65ployment_resource_pools\x18\x01 \x03(\x0b\x32\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n-UpdateDeploymentResourcePoolOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"m\n#DeleteDeploymentResourcePoolRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePool\"j\n\x1aQueryDeployedModelsRequest\x12%\n\x18\x64\x65ployment_resource_pool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8b\x02\n\x1bQueryDeployedModelsResponse\x12\x46\n\x0f\x64\x65ployed_models\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x02\x18\x01\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12I\n\x13\x64\x65ployed_model_refs\x18\x03 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedModelRef\x12\"\n\x1atotal_deployed_model_count\x18\x04 \x01(\x05\x12\x1c\n\x14total_endpoint_count\x18\x05 \x01(\x05\x32\x9d\x0b\n\x1d\x44\x65ploymentResourcePoolService\x12\xcf\x02\n\x1c\x43reateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"\xce\x01\xca\x41G\n\x16\x44\x65ploymentResourcePool\x12-CreateDeploymentResourcePoolOperationMetadata\xda\x41;parent,deployment_resource_pool,deployment_resource_pool_id\x82\xd3\xe4\x93\x02@\";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:\x01*\x12\xd9\x01\n\x19GetDeploymentResourcePool\x12<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest\x1a\x32.google.cloud.aiplatform.v1.DeploymentResourcePool\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\xec\x01\n\x1bListDeploymentResourcePools\x12>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest\x1a?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/deploymentResourcePools\x12\xfd\x01\n\x1c\x44\x65leteDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\x8f\x02\n\x13QueryDeployedModels\x12\x36.google.cloud.aiplatform.v1.QueryDeployedModelsRequest\x1a\x37.google.cloud.aiplatform.v1.QueryDeployedModelsResponse\"\x86\x01\xda\x41\x18\x64\x65ployment_resource_pool\x82\xd3\xe4\x93\x02\x65\x12\x63/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModels\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\"DeploymentResourcePoolServiceProtoP\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"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.cloud.aiplatform.v1.DeploymentResourcePool", "google/cloud/aiplatform/v1/deployment_resource_pool.proto"],
35
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
36
+ ["google.cloud.aiplatform.v1.DeployedModel", "google/cloud/aiplatform/v1/endpoint.proto"],
37
+ ["google.cloud.aiplatform.v1.DeployedModelRef", "google/cloud/aiplatform/v1/deployed_model_ref.proto"],
38
+ ]
39
+ imports.each do |type_name, expected_filename|
40
+ import_file = pool.lookup(type_name).file_descriptor
41
+ if import_file.name != expected_filename
42
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
43
+ end
44
+ end
45
+ warn "Each proto file must use a consistent fully-qualified name."
46
+ warn "This will become an error in the next major version."
47
+ end
48
+
49
+ module Google
50
+ module Cloud
51
+ module AIPlatform
52
+ module V1
53
+ CreateDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest").msgclass
54
+ CreateDeploymentResourcePoolOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDeploymentResourcePoolOperationMetadata").msgclass
55
+ GetDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest").msgclass
56
+ ListDeploymentResourcePoolsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest").msgclass
57
+ ListDeploymentResourcePoolsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse").msgclass
58
+ UpdateDeploymentResourcePoolOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolOperationMetadata").msgclass
59
+ DeleteDeploymentResourcePoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest").msgclass
60
+ QueryDeployedModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryDeployedModelsRequest").msgclass
61
+ QueryDeployedModelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.QueryDeployedModelsResponse").msgclass
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,53 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/aiplatform/v1/deployment_resource_pool_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/deployment_resource_pool_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module AIPlatform
25
+ module V1
26
+ module DeploymentResourcePoolService
27
+ # A service that manages the DeploymentResourcePool resource.
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.DeploymentResourcePoolService'
35
+
36
+ # Create a DeploymentResourcePool.
37
+ rpc :CreateDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::CreateDeploymentResourcePoolRequest, ::Google::Longrunning::Operation
38
+ # Get a DeploymentResourcePool.
39
+ rpc :GetDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::GetDeploymentResourcePoolRequest, ::Google::Cloud::AIPlatform::V1::DeploymentResourcePool
40
+ # List DeploymentResourcePools in a location.
41
+ rpc :ListDeploymentResourcePools, ::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsRequest, ::Google::Cloud::AIPlatform::V1::ListDeploymentResourcePoolsResponse
42
+ # Delete a DeploymentResourcePool.
43
+ rpc :DeleteDeploymentResourcePool, ::Google::Cloud::AIPlatform::V1::DeleteDeploymentResourcePoolRequest, ::Google::Longrunning::Operation
44
+ # List DeployedModels that have been deployed on this DeploymentResourcePool.
45
+ rpc :QueryDeployedModels, ::Google::Cloud::AIPlatform::V1::QueryDeployedModelsRequest, ::Google::Cloud::AIPlatform::V1::QueryDeployedModelsResponse
46
+ end
47
+
48
+ Stub = Service.rpc_stub_class
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -13,13 +13,13 @@ require 'google/cloud/aiplatform/v1/machine_resources_pb'
13
13
  require 'google/protobuf/timestamp_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n)google/cloud/aiplatform/v1/endpoint.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,google/cloud/aiplatform/v1/explanation.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc2\x08\n\x08\x45ndpoint\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12G\n\x0f\x64\x65ployed_models\x18\x04 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x03\x12M\n\rtraffic_split\x18\x05 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.Endpoint.TrafficSplitEntry\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12@\n\x06labels\x18\x07 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.Endpoint.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0f\x65ncryption_spec\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x37\n\x07network\x18\r \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12*\n\x1e\x65nable_private_service_connect\x18\x11 \x01(\x08\x42\x02\x18\x01\x12g\n\x1fmodel_deployment_monitoring_job\x18\x0e \x01(\tB>\xe0\x41\x03\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12p\n\'predict_request_response_logging_config\x18\x12 \x01(\x0b\x32?.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb5\x01\xea\x41\xb1\x01\n\"aiplatform.googleapis.com/Endpoint\x12<projects/{project}/locations/{location}/endpoints/{endpoint}\x12Mprojects/{project}/locations/{location}/publishers/{publisher}/models/{model}\"\xe9\x04\n\rDeployedModel\x12M\n\x13\x64\x65\x64icated_resources\x18\x07 \x01(\x0b\x32..google.cloud.aiplatform.v1.DedicatedResourcesH\x00\x12M\n\x13\x61utomatic_resources\x18\x08 \x01(\x0b\x32..google.cloud.aiplatform.v1.AutomaticResourcesH\x00\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x10\x65xplanation_spec\x18\t \x01(\x0b\x32+.google.cloud.aiplatform.v1.ExplanationSpec\x12\x17\n\x0fservice_account\x18\x0b \x01(\t\x12!\n\x19\x64isable_container_logging\x18\x0f \x01(\x08\x12\x1d\n\x15\x65nable_access_logging\x18\r \x01(\x08\x12L\n\x11private_endpoints\x18\x0e \x01(\x0b\x32,.google.cloud.aiplatform.v1.PrivateEndpointsB\x03\xe0\x41\x03\x42\x16\n\x14prediction_resources\"\x8f\x01\n\x10PrivateEndpoints\x12\x1d\n\x10predict_http_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x65xplain_http_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fhealth_http_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12service_attachment\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x9c\x01\n#PredictRequestResponseLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x15\n\rsampling_rate\x18\x02 \x01(\x01\x12M\n\x14\x62igquery_destination\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationB\xcb\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\rEndpointProtoP\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
+ descriptor_data = "\n)google/cloud/aiplatform/v1/endpoint.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,google/cloud/aiplatform/v1/explanation.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc2\x08\n\x08\x45ndpoint\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12G\n\x0f\x64\x65ployed_models\x18\x04 \x03(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x03\x12M\n\rtraffic_split\x18\x05 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.Endpoint.TrafficSplitEntry\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12@\n\x06labels\x18\x07 \x03(\x0b\x32\x30.google.cloud.aiplatform.v1.Endpoint.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0f\x65ncryption_spec\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x37\n\x07network\x18\r \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12*\n\x1e\x65nable_private_service_connect\x18\x11 \x01(\x08\x42\x02\x18\x01\x12g\n\x1fmodel_deployment_monitoring_job\x18\x0e \x01(\tB>\xe0\x41\x03\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12p\n\'predict_request_response_logging_config\x18\x12 \x01(\x0b\x32?.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb5\x01\xea\x41\xb1\x01\n\"aiplatform.googleapis.com/Endpoint\x12<projects/{project}/locations/{location}/endpoints/{endpoint}\x12Mprojects/{project}/locations/{location}/publishers/{publisher}/models/{model}\"\xbc\x05\n\rDeployedModel\x12M\n\x13\x64\x65\x64icated_resources\x18\x07 \x01(\x0b\x32..google.cloud.aiplatform.v1.DedicatedResourcesH\x00\x12M\n\x13\x61utomatic_resources\x18\x08 \x01(\x0b\x32..google.cloud.aiplatform.v1.AutomaticResourcesH\x00\x12Q\n\x10shared_resources\x18\x11 \x01(\tB5\xfa\x41\x32\n0aiplatform.googleapis.com/DeploymentResourcePoolH\x00\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x10\x65xplanation_spec\x18\t \x01(\x0b\x32+.google.cloud.aiplatform.v1.ExplanationSpec\x12\x17\n\x0fservice_account\x18\x0b \x01(\t\x12!\n\x19\x64isable_container_logging\x18\x0f \x01(\x08\x12\x1d\n\x15\x65nable_access_logging\x18\r \x01(\x08\x12L\n\x11private_endpoints\x18\x0e \x01(\x0b\x32,.google.cloud.aiplatform.v1.PrivateEndpointsB\x03\xe0\x41\x03\x42\x16\n\x14prediction_resources\"\x8f\x01\n\x10PrivateEndpoints\x12\x1d\n\x10predict_http_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x65xplain_http_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fhealth_http_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12service_attachment\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x9c\x01\n#PredictRequestResponseLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x15\n\rsampling_rate\x18\x02 \x01(\x01\x12M\n\x14\x62igquery_destination\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationB\xcb\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\rEndpointProtoP\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"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
20
20
  begin
21
21
  pool.add_serialized_file(descriptor_data)
22
- rescue TypeError => e
22
+ rescue TypeError
23
23
  # Compatibility code: will be removed in the next major version.
24
24
  require 'google/protobuf/descriptor_pb'
25
25
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -15,13 +15,13 @@ require 'google/protobuf/empty_pb'
15
15
  require 'google/protobuf/field_mask_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n1google/cloud/aiplatform/v1/endpoint_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)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa9\x01\n\x15\x43reateEndpointRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12;\n\x08\x65ndpoint\x18\x02 \x01(\x0b\x32$.google.cloud.aiplatform.v1.EndpointB\x03\xe0\x41\x02\x12\x18\n\x0b\x65ndpoint_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\"q\n\x1f\x43reateEndpointOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"N\n\x12GetEndpointRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xdd\x01\n\x14ListEndpointsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x10\n\x08order_by\x18\x06 \x01(\t\"i\n\x15ListEndpointsResponse\x12\x37\n\tendpoints\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8a\x01\n\x15UpdateEndpointRequest\x12;\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.EndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x15\x44\x65leteEndpointRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xa8\x02\n\x12\x44\x65ployModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x46\n\x0e\x64\x65ployed_model\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x02\x12W\n\rtraffic_split\x18\x03 \x03(\x0b\x32@.google.cloud.aiplatform.v1.DeployModelRequest.TrafficSplitEntry\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"X\n\x13\x44\x65ployModelResponse\x12\x41\n\x0e\x64\x65ployed_model\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModel\"n\n\x1c\x44\x65ployModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x84\x02\n\x14UndeployModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x1e\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Y\n\rtraffic_split\x18\x03 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.UndeployModelRequest.TrafficSplitEntry\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x17\n\x15UndeployModelResponse\"p\n\x1eUndeployModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xd8\x01\n\x1aMutateDeployedModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x46\n\x0e\x64\x65ployed_model\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"`\n\x1bMutateDeployedModelResponse\x12\x41\n\x0e\x64\x65ployed_model\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModel\"v\n$MutateDeployedModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata2\xae\x0f\n\x0f\x45ndpointService\x12\x82\x02\n\x0e\x43reateEndpoint\x12\x31.google.cloud.aiplatform.v1.CreateEndpointRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/endpoints:\x08\x65ndpoint\xda\x41\x0fparent,endpoint\xda\x41\x1bparent,endpoint,endpoint_id\xca\x41+\n\x08\x45ndpoint\x12\x1f\x43reateEndpointOperationMetadata\x12\xa1\x01\n\x0bGetEndpoint\x12..google.cloud.aiplatform.v1.GetEndpointRequest\x1a$.google.cloud.aiplatform.v1.Endpoint\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/endpoints/*}\xda\x41\x04name\x12\xb4\x01\n\rListEndpoints\x12\x30.google.cloud.aiplatform.v1.ListEndpointsRequest\x1a\x31.google.cloud.aiplatform.v1.ListEndpointsResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/endpoints\xda\x41\x06parent\x12\xca\x01\n\x0eUpdateEndpoint\x12\x31.google.cloud.aiplatform.v1.UpdateEndpointRequest\x1a$.google.cloud.aiplatform.v1.Endpoint\"_\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:\x08\x65ndpoint\xda\x41\x14\x65ndpoint,update_mask\x12\xd3\x01\n\x0e\x44\x65leteEndpoint\x12\x31.google.cloud.aiplatform.v1.DeleteEndpointRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/endpoints/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\x85\x02\n\x0b\x44\x65ployModel\x12..google.cloud.aiplatform.v1.DeployModelRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02\x42\"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel:\x01*\xda\x41%endpoint,deployed_model,traffic_split\xca\x41\x33\n\x13\x44\x65ployModelResponse\x12\x1c\x44\x65ployModelOperationMetadata\x12\x92\x02\n\rUndeployModel\x12\x30.google.cloud.aiplatform.v1.UndeployModelRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\x82\xd3\xe4\x93\x02\x44\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel:\x01*\xda\x41(endpoint,deployed_model_id,traffic_split\xca\x41\x37\n\x15UndeployModelResponse\x12\x1eUndeployModelOperationMetadata\x12\xab\x02\n\x13MutateDeployedModel\x12\x36.google.cloud.aiplatform.v1.MutateDeployedModelRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\x82\xd3\xe4\x93\x02J\"E/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel:\x01*\xda\x41#endpoint,deployed_model,update_mask\xca\x41\x43\n\x1bMutateDeployedModelResponse\x12$MutateDeployedModelOperationMetadata\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x45ndpointServiceProtoP\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
+ descriptor_data = "\n1google/cloud/aiplatform/v1/endpoint_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)google/cloud/aiplatform/v1/endpoint.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa9\x01\n\x15\x43reateEndpointRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12;\n\x08\x65ndpoint\x18\x02 \x01(\x0b\x32$.google.cloud.aiplatform.v1.EndpointB\x03\xe0\x41\x02\x12\x18\n\x0b\x65ndpoint_id\x18\x04 \x01(\tB\x03\xe0\x41\x05\"q\n\x1f\x43reateEndpointOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"N\n\x12GetEndpointRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xdd\x01\n\x14ListEndpointsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x10\n\x08order_by\x18\x06 \x01(\t\"i\n\x15ListEndpointsResponse\x12\x37\n\tendpoints\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.Endpoint\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8a\x01\n\x15UpdateEndpointRequest\x12;\n\x08\x65ndpoint\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.EndpointB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"Q\n\x15\x44\x65leteEndpointRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\"\xa8\x02\n\x12\x44\x65ployModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x46\n\x0e\x64\x65ployed_model\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x02\x12W\n\rtraffic_split\x18\x03 \x03(\x0b\x32@.google.cloud.aiplatform.v1.DeployModelRequest.TrafficSplitEntry\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"X\n\x13\x44\x65ployModelResponse\x12\x41\n\x0e\x64\x65ployed_model\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModel\"n\n\x1c\x44\x65ployModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x84\x02\n\x14UndeployModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x1e\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Y\n\rtraffic_split\x18\x03 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.UndeployModelRequest.TrafficSplitEntry\x1a\x33\n\x11TrafficSplitEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x17\n\x15UndeployModelResponse\"p\n\x1eUndeployModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xd8\x01\n\x1aMutateDeployedModelRequest\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x46\n\x0e\x64\x65ployed_model\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModelB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"`\n\x1bMutateDeployedModelResponse\x12\x41\n\x0e\x64\x65ployed_model\x18\x01 \x01(\x0b\x32).google.cloud.aiplatform.v1.DeployedModel\"v\n$MutateDeployedModelOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata2\xae\x0f\n\x0f\x45ndpointService\x12\x82\x02\n\x0e\x43reateEndpoint\x12\x31.google.cloud.aiplatform.v1.CreateEndpointRequest\x1a\x1d.google.longrunning.Operation\"\x9d\x01\xca\x41+\n\x08\x45ndpoint\x12\x1f\x43reateEndpointOperationMetadata\xda\x41\x0fparent,endpoint\xda\x41\x1bparent,endpoint,endpoint_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/endpoints:\x08\x65ndpoint\x12\xa1\x01\n\x0bGetEndpoint\x12..google.cloud.aiplatform.v1.GetEndpointRequest\x1a$.google.cloud.aiplatform.v1.Endpoint\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/endpoints/*}\x12\xb4\x01\n\rListEndpoints\x12\x30.google.cloud.aiplatform.v1.ListEndpointsRequest\x1a\x31.google.cloud.aiplatform.v1.ListEndpointsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/endpoints\x12\xca\x01\n\x0eUpdateEndpoint\x12\x31.google.cloud.aiplatform.v1.UpdateEndpointRequest\x1a$.google.cloud.aiplatform.v1.Endpoint\"_\xda\x41\x14\x65ndpoint,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:\x08\x65ndpoint\x12\xd3\x01\n\x0e\x44\x65leteEndpoint\x12\x31.google.cloud.aiplatform.v1.DeleteEndpointRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/endpoints/*}\x12\x85\x02\n\x0b\x44\x65ployModel\x12..google.cloud.aiplatform.v1.DeployModelRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41\x33\n\x13\x44\x65ployModelResponse\x12\x1c\x44\x65ployModelOperationMetadata\xda\x41%endpoint,deployed_model,traffic_split\x82\xd3\xe4\x93\x02\x42\"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel:\x01*\x12\x92\x02\n\rUndeployModel\x12\x30.google.cloud.aiplatform.v1.UndeployModelRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41\x37\n\x15UndeployModelResponse\x12\x1eUndeployModelOperationMetadata\xda\x41(endpoint,deployed_model_id,traffic_split\x82\xd3\xe4\x93\x02\x44\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel:\x01*\x12\xab\x02\n\x13MutateDeployedModel\x12\x36.google.cloud.aiplatform.v1.MutateDeployedModelRequest\x1a\x1d.google.longrunning.Operation\"\xbc\x01\xca\x41\x43\n\x1bMutateDeployedModelResponse\x12$MutateDeployedModelOperationMetadata\xda\x41#endpoint,deployed_model,update_mask\x82\xd3\xe4\x93\x02J\"E/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x45ndpointServiceProtoP\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"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21
 
22
22
  begin
23
23
  pool.add_serialized_file(descriptor_data)
24
- rescue TypeError => e
24
+ rescue TypeError
25
25
  # Compatibility code: will be removed in the next major version.
26
26
  require 'google/protobuf/descriptor_pb'
27
27
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -16,7 +16,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -15,7 +15,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
16
16
  begin
17
17
  pool.add_serialized_file(descriptor_data)
18
- rescue TypeError => e
18
+ rescue TypeError
19
19
  # Compatibility code: will be removed in the next major version.
20
20
  require 'google/protobuf/descriptor_pb'
21
21
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -15,7 +15,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
16
16
  begin
17
17
  pool.add_serialized_file(descriptor_data)
18
- rescue TypeError => e
18
+ rescue TypeError
19
19
  # Compatibility code: will be removed in the next major version.
20
20
  require 'google/protobuf/descriptor_pb'
21
21
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -16,7 +16,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
15
15
  begin
16
16
  pool.add_serialized_file(descriptor_data)
17
- rescue TypeError => e
17
+ rescue TypeError
18
18
  # Compatibility code: will be removed in the next major version.
19
19
  require 'google/protobuf/descriptor_pb'
20
20
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -16,7 +16,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -10,13 +10,13 @@ require 'google/cloud/aiplatform/v1/io_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n.google/cloud/aiplatform/v1/feature_group.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x05\n\x0c\x46\x65\x61tureGroup\x12\x46\n\tbig_query\x18\x07 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FeatureGroup.BigQueryH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.FeatureGroup.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1ax\n\x08\x42igQuery\x12L\n\x10\x62ig_query_source\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1e\n\x11\x65ntity_id_columns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x90\x01\xea\x41\x8c\x01\n&aiplatform.googleapis.com/FeatureGroup\x12\x45projects/{project}/locations/{location}/featureGroups/{feature_group}*\rfeatureGroups2\x0c\x66\x65\x61tureGroupB\x08\n\x06sourceB\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11\x46\x65\x61tureGroupProtoP\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"
13
+ descriptor_data = "\n.google/cloud/aiplatform/v1/feature_group.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x05\n\x0c\x46\x65\x61tureGroup\x12\x46\n\tbig_query\x18\x07 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FeatureGroup.BigQueryH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.FeatureGroup.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1ax\n\x08\x42igQuery\x12L\n\x10\x62ig_query_source\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1e\n\x11\x65ntity_id_columns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x90\x01\xea\x41\x8c\x01\n&aiplatform.googleapis.com/FeatureGroup\x12\x45projects/{project}/locations/{location}/featureGroups/{feature_group}*\rfeatureGroups2\x0c\x66\x65\x61tureGroupB\x08\n\x06sourceB\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11\x46\x65\x61tureGroupProtoP\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
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -17,13 +17,13 @@ require 'google/protobuf/empty_pb'
17
17
  require 'google/protobuf/field_mask_pb'
18
18
 
19
19
 
20
- descriptor_data = "\nCgoogle/cloud/aiplatform/v1/feature_online_store_admin_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\x35google/cloud/aiplatform/v1/feature_online_store.proto\x1a-google/cloud/aiplatform/v1/feature_view.proto\x1a\x32google/cloud/aiplatform/v1/feature_view_sync.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe0\x01\n\x1f\x43reateFeatureOnlineStoreRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12$\n\x17\x66\x65\x61ture_online_store_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"b\n\x1cGetFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\"\xaf\x01\n\x1eListFeatureOnlineStoresRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x1fListFeatureOnlineStoresResponse\x12M\n\x15\x66\x65\x61ture_online_stores\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x1fUpdateFeatureOnlineStoreRequest\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"t\n\x1f\x44\x65leteFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xe5\x01\n\x18\x43reateFeatureViewRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66\x65\x61ture_view_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14run_sync_immediately\x18\x04 \x01(\x08\x42\x03\xe0\x41\x05\"T\n\x15GetFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"\xa1\x01\n\x17ListFeatureViewsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"s\n\x18ListFeatureViewsResponse\x12>\n\rfeature_views\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x18UpdateFeatureViewRequest\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"W\n\x18\x44\x65leteFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"{\n)CreateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n)UpdateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"CreateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"UpdateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\n\x16SyncFeatureViewRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"4\n\x17SyncFeatureViewResponse\x12\x19\n\x11\x66\x65\x61ture_view_sync\x18\x01 \x01(\t\"\\\n\x19GetFeatureViewSyncRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/FeatureViewSync\"\xa5\x01\n\x1bListFeatureViewSyncsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x1cListFeatureViewSyncsResponse\x12G\n\x12\x66\x65\x61ture_view_syncs\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.FeatureViewSync\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd0\x1a\n\x1e\x46\x65\x61tureOnlineStoreAdminService\x12\xc6\x02\n\x18\x43reateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:\x14\x66\x65\x61ture_online_store\xda\x41\x33parent,feature_online_store,feature_online_store_id\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)CreateFeatureOnlineStoreOperationMetadata\x12\xc9\x01\n\x15GetFeatureOnlineStore\x12\x38.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest\x1a..google.cloud.aiplatform.v1.FeatureOnlineStore\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/featureOnlineStores/*}\xda\x41\x04name\x12\xdc\x01\n\x17ListFeatureOnlineStores\x12:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest\x1a;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/featureOnlineStores\xda\x41\x06parent\x12\xc8\x02\n\x18UpdateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\x82\xd3\xe4\x93\x02\x64\x32L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:\x14\x66\x65\x61ture_online_store\xda\x41 feature_online_store,update_mask\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)UpdateFeatureOnlineStoreOperationMetadata\x12\xf7\x01\n\x18\x44\x65leteFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/featureOnlineStores/*}\xda\x41\nname,force\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xa1\x02\n\x11\x43reateFeatureView\x12\x34.google.cloud.aiplatform.v1.CreateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\x82\xd3\xe4\x93\x02V\"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews:\x0c\x66\x65\x61ture_view\xda\x41#parent,feature_view,feature_view_id\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"CreateFeatureViewOperationMetadata\x12\xc3\x01\n\x0eGetFeatureView\x12\x31.google.cloud.aiplatform.v1.GetFeatureViewRequest\x1a\'.google.cloud.aiplatform.v1.FeatureView\"U\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\xda\x41\x04name\x12\xd6\x01\n\x10ListFeatureViews\x12\x33.google.cloud.aiplatform.v1.ListFeatureViewsRequest\x1a\x34.google.cloud.aiplatform.v1.ListFeatureViewsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews\xda\x41\x06parent\x12\xa3\x02\n\x11UpdateFeatureView\x12\x34.google.cloud.aiplatform.v1.UpdateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\x82\xd3\xe4\x93\x02\x63\x32S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:\x0c\x66\x65\x61ture_view\xda\x41\x18\x66\x65\x61ture_view,update_mask\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"UpdateFeatureViewOperationMetadata\x12\xf3\x01\n\x11\x44\x65leteFeatureView\x12\x34.google.cloud.aiplatform.v1.DeleteFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02H*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe9\x01\n\x0fSyncFeatureView\x12\x32.google.cloud.aiplatform.v1.SyncFeatureViewRequest\x1a\x33.google.cloud.aiplatform.v1.SyncFeatureViewResponse\"m\x82\xd3\xe4\x93\x02X\"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:\x01*\xda\x41\x0c\x66\x65\x61ture_view\x12\xe2\x01\n\x12GetFeatureViewSync\x12\x35.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest\x1a+.google.cloud.aiplatform.v1.FeatureViewSync\"h\x82\xd3\xe4\x93\x02[\x12Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}\xda\x41\x04name\x12\xf5\x01\n\x14ListFeatureViewSyncs\x12\x37.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest\x1a\x38.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse\"j\x82\xd3\xe4\x93\x02[\x12Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoP\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"
20
+ descriptor_data = "\nCgoogle/cloud/aiplatform/v1/feature_online_store_admin_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\x35google/cloud/aiplatform/v1/feature_online_store.proto\x1a-google/cloud/aiplatform/v1/feature_view.proto\x1a\x32google/cloud/aiplatform/v1/feature_view_sync.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe0\x01\n\x1f\x43reateFeatureOnlineStoreRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12$\n\x17\x66\x65\x61ture_online_store_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"b\n\x1cGetFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\"\xaf\x01\n\x1eListFeatureOnlineStoresRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x1fListFeatureOnlineStoresResponse\x12M\n\x15\x66\x65\x61ture_online_stores\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x1fUpdateFeatureOnlineStoreRequest\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"t\n\x1f\x44\x65leteFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xe5\x01\n\x18\x43reateFeatureViewRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66\x65\x61ture_view_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14run_sync_immediately\x18\x04 \x01(\x08\x42\x03\xe0\x41\x05\"T\n\x15GetFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"\xa1\x01\n\x17ListFeatureViewsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"s\n\x18ListFeatureViewsResponse\x12>\n\rfeature_views\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x18UpdateFeatureViewRequest\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"W\n\x18\x44\x65leteFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"{\n)CreateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n)UpdateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"CreateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"UpdateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\n\x16SyncFeatureViewRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"4\n\x17SyncFeatureViewResponse\x12\x19\n\x11\x66\x65\x61ture_view_sync\x18\x01 \x01(\t\"\\\n\x19GetFeatureViewSyncRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/FeatureViewSync\"\xa5\x01\n\x1bListFeatureViewSyncsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x1cListFeatureViewSyncsResponse\x12G\n\x12\x66\x65\x61ture_view_syncs\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.FeatureViewSync\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd0\x1a\n\x1e\x46\x65\x61tureOnlineStoreAdminService\x12\xc6\x02\n\x18\x43reateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)CreateFeatureOnlineStoreOperationMetadata\xda\x41\x33parent,feature_online_store,feature_online_store_id\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:\x14\x66\x65\x61ture_online_store\x12\xc9\x01\n\x15GetFeatureOnlineStore\x12\x38.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest\x1a..google.cloud.aiplatform.v1.FeatureOnlineStore\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/featureOnlineStores/*}\x12\xdc\x01\n\x17ListFeatureOnlineStores\x12:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest\x1a;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/featureOnlineStores\x12\xc8\x02\n\x18UpdateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)UpdateFeatureOnlineStoreOperationMetadata\xda\x41 feature_online_store,update_mask\x82\xd3\xe4\x93\x02\x64\x32L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:\x14\x66\x65\x61ture_online_store\x12\xf7\x01\n\x18\x44\x65leteFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\nname,force\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/featureOnlineStores/*}\x12\xa1\x02\n\x11\x43reateFeatureView\x12\x34.google.cloud.aiplatform.v1.CreateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"CreateFeatureViewOperationMetadata\xda\x41#parent,feature_view,feature_view_id\x82\xd3\xe4\x93\x02V\"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews:\x0c\x66\x65\x61ture_view\x12\xc3\x01\n\x0eGetFeatureView\x12\x31.google.cloud.aiplatform.v1.GetFeatureViewRequest\x1a\'.google.cloud.aiplatform.v1.FeatureView\"U\xda\x41\x04name\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\x12\xd6\x01\n\x10ListFeatureViews\x12\x33.google.cloud.aiplatform.v1.ListFeatureViewsRequest\x1a\x34.google.cloud.aiplatform.v1.ListFeatureViewsResponse\"W\xda\x41\x06parent\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews\x12\xa3\x02\n\x11UpdateFeatureView\x12\x34.google.cloud.aiplatform.v1.UpdateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"UpdateFeatureViewOperationMetadata\xda\x41\x18\x66\x65\x61ture_view,update_mask\x82\xd3\xe4\x93\x02\x63\x32S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:\x0c\x66\x65\x61ture_view\x12\xf3\x01\n\x11\x44\x65leteFeatureView\x12\x34.google.cloud.aiplatform.v1.DeleteFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02H*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\x12\xe9\x01\n\x0fSyncFeatureView\x12\x32.google.cloud.aiplatform.v1.SyncFeatureViewRequest\x1a\x33.google.cloud.aiplatform.v1.SyncFeatureViewResponse\"m\xda\x41\x0c\x66\x65\x61ture_view\x82\xd3\xe4\x93\x02X\"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:\x01*\x12\xe2\x01\n\x12GetFeatureViewSync\x12\x35.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest\x1a+.google.cloud.aiplatform.v1.FeatureViewSync\"h\xda\x41\x04name\x82\xd3\xe4\x93\x02[\x12Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}\x12\xf5\x01\n\x14ListFeatureViewSyncs\x12\x37.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest\x1a\x38.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse\"j\xda\x41\x06parent\x82\xd3\xe4\x93\x02[\x12Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoP\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
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
24
24
  begin
25
25
  pool.add_serialized_file(descriptor_data)
26
- rescue TypeError => e
26
+ rescue TypeError
27
27
  # Compatibility code: will be removed in the next major version.
28
28
  require 'google/protobuf/descriptor_pb'
29
29
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -9,13 +9,13 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n5google/cloud/aiplatform/v1/feature_online_store.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x06\n\x12\x46\x65\x61tureOnlineStore\x12K\n\x08\x62igtable\x18\x08 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.FeatureOnlineStore.BigtableH\x00\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\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x06 \x03(\x0b\x32:.google.cloud.aiplatform.v1.FeatureOnlineStore.LabelsEntryB\x03\xe0\x41\x01\x12H\n\x05state\x18\x07 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.FeatureOnlineStore.StateB\x03\xe0\x41\x03\x1a\xd8\x01\n\x08\x42igtable\x12^\n\x0c\x61uto_scaling\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScalingB\x03\xe0\x41\x02\x1al\n\x0b\x41utoScaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12#\n\x16\x63pu_utilization_target\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06STABLE\x10\x01\x12\x0c\n\x08UPDATING\x10\x02:\x86\x01\xea\x41\x82\x01\n,aiplatform.googleapis.com/FeatureOnlineStore\x12Rprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}B\x0e\n\x0cstorage_typeB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x46\x65\x61tureOnlineStoreProtoP\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"
12
+ descriptor_data = "\n5google/cloud/aiplatform/v1/feature_online_store.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x06\n\x12\x46\x65\x61tureOnlineStore\x12K\n\x08\x62igtable\x18\x08 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.FeatureOnlineStore.BigtableH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12O\n\x06labels\x18\x06 \x03(\x0b\x32:.google.cloud.aiplatform.v1.FeatureOnlineStore.LabelsEntryB\x03\xe0\x41\x01\x12H\n\x05state\x18\x07 \x01(\x0e\x32\x34.google.cloud.aiplatform.v1.FeatureOnlineStore.StateB\x03\xe0\x41\x03\x1a\xd8\x01\n\x08\x42igtable\x12^\n\x0c\x61uto_scaling\x18\x01 \x01(\x0b\x32\x43.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScalingB\x03\xe0\x41\x02\x1al\n\x0b\x41utoScaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0emax_node_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12#\n\x16\x63pu_utilization_target\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06STABLE\x10\x01\x12\x0c\n\x08UPDATING\x10\x02:\x86\x01\xea\x41\x82\x01\n,aiplatform.googleapis.com/FeatureOnlineStore\x12Rprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}B\x0e\n\x0cstorage_typeB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x46\x65\x61tureOnlineStoreProtoP\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"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
16
16
  begin
17
17
  pool.add_serialized_file(descriptor_data)
18
- rescue TypeError => e
18
+ rescue TypeError
19
19
  # Compatibility code: will be removed in the next major version.
20
20
  require 'google/protobuf/descriptor_pb'
21
21
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -12,13 +12,13 @@ require 'google/cloud/aiplatform/v1/featurestore_online_service_pb'
12
12
  require 'google/protobuf/struct_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n=google/cloud/aiplatform/v1/feature_online_store_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<google/cloud/aiplatform/v1/featurestore_online_service.proto\x1a\x1cgoogle/protobuf/struct.proto\"0\n\x12\x46\x65\x61tureViewDataKey\x12\r\n\x03key\x18\x01 \x01(\tH\x00\x42\x0b\n\tkey_oneof\"\xf4\x01\n\x19\x46\x65tchFeatureValuesRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x45\n\x08\x64\x61ta_key\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureViewDataKeyB\x03\xe0\x41\x01\x12K\n\x0b\x64\x61ta_format\x18\x07 \x01(\x0e\x32\x31.google.cloud.aiplatform.v1.FeatureViewDataFormatB\x03\xe0\x41\x01\"\xbc\x03\n\x1a\x46\x65tchFeatureValuesResponse\x12\x65\n\nkey_values\x18\x03 \x01(\x0b\x32O.google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairListH\x00\x12/\n\x0cproto_struct\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x1a\xfb\x01\n\x18\x46\x65\x61tureNameValuePairList\x12v\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x64.google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair\x1ag\n\x14\x46\x65\x61tureNameValuePair\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12\x0c\n\x04name\x18\x01 \x01(\tB\x06\n\x04\x64\x61taB\x08\n\x06\x66ormat*b\n\x15\x46\x65\x61tureViewDataFormat\x12(\n$FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED\x10\x00\x12\r\n\tKEY_VALUE\x10\x01\x12\x10\n\x0cPROTO_STRUCT\x10\x02\x32\xf8\x02\n\x19\x46\x65\x61tureOnlineStoreService\x12\x8b\x02\n\x12\x46\x65tchFeatureValues\x12\x35.google.cloud.aiplatform.v1.FetchFeatureValuesRequest\x1a\x36.google.cloud.aiplatform.v1.FetchFeatureValuesResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x66\"a/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:fetchFeatureValues:\x01*\xda\x41\x16\x66\x65\x61ture_view, data_key\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1e\x46\x65\x61tureOnlineStoreServiceProtoP\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
+ descriptor_data = "\n=google/cloud/aiplatform/v1/feature_online_store_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<google/cloud/aiplatform/v1/featurestore_online_service.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xa5\x01\n\x12\x46\x65\x61tureViewDataKey\x12\r\n\x03key\x18\x01 \x01(\tH\x00\x12T\n\rcomposite_key\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKeyH\x00\x1a\x1d\n\x0c\x43ompositeKey\x12\r\n\x05parts\x18\x01 \x03(\tB\x0b\n\tkey_oneof\"\xf4\x01\n\x19\x46\x65tchFeatureValuesRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x45\n\x08\x64\x61ta_key\x18\x06 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureViewDataKeyB\x03\xe0\x41\x01\x12K\n\x0b\x64\x61ta_format\x18\x07 \x01(\x0e\x32\x31.google.cloud.aiplatform.v1.FeatureViewDataFormatB\x03\xe0\x41\x01\"\xbc\x03\n\x1a\x46\x65tchFeatureValuesResponse\x12\x65\n\nkey_values\x18\x03 \x01(\x0b\x32O.google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairListH\x00\x12/\n\x0cproto_struct\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x1a\xfb\x01\n\x18\x46\x65\x61tureNameValuePairList\x12v\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\x64.google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair\x1ag\n\x14\x46\x65\x61tureNameValuePair\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12\x0c\n\x04name\x18\x01 \x01(\tB\x06\n\x04\x64\x61taB\x08\n\x06\x66ormat\"\xf3\x04\n\x14NearestNeighborQuery\x12\x18\n\tentity_id\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12T\n\tembedding\x18\x02 \x01(\x0b\x32:.google.cloud.aiplatform.v1.NearestNeighborQuery.EmbeddingB\x03\xe0\x41\x01H\x00\x12\x1b\n\x0eneighbor_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\x0estring_filters\x18\x04 \x03(\x0b\x32=.google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilterB\x03\xe0\x41\x01\x12\x32\n%per_crowding_attribute_neighbor_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12T\n\nparameters\x18\x07 \x01(\x0b\x32;.google.cloud.aiplatform.v1.NearestNeighborQuery.ParametersB\x03\xe0\x41\x01\x1a\x1f\n\tEmbedding\x12\x12\n\x05value\x18\x01 \x03(\x02\x42\x03\xe0\x41\x01\x1aV\n\x0cStringFilter\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61llow_tokens\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65ny_tokens\x18\x03 \x03(\tB\x03\xe0\x41\x01\x1a\x63\n\nParameters\x12,\n\x1f\x61pproximate_neighbor_candidates\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\'\n\x1aleaf_nodes_search_fraction\x18\x02 \x01(\x01\x42\x03\xe0\x41\x01\x42\n\n\x08instance\"\xca\x01\n\x1cSearchNearestEntitiesRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x44\n\x05query\x18\x02 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.NearestNeighborQueryB\x03\xe0\x41\x02\x12\x1f\n\x12return_full_entity\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xe1\x01\n\x10NearestNeighbors\x12H\n\tneighbors\x18\x01 \x03(\x0b\x32\x35.google.cloud.aiplatform.v1.NearestNeighbors.Neighbor\x1a\x82\x01\n\x08Neighbor\x12\x11\n\tentity_id\x18\x01 \x01(\t\x12\x10\n\x08\x64istance\x18\x02 \x01(\x01\x12Q\n\x11\x65ntity_key_values\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.FetchFeatureValuesResponse\"h\n\x1dSearchNearestEntitiesResponse\x12G\n\x11nearest_neighbors\x18\x01 \x01(\x0b\x32,.google.cloud.aiplatform.v1.NearestNeighbors*b\n\x15\x46\x65\x61tureViewDataFormat\x12(\n$FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED\x10\x00\x12\r\n\tKEY_VALUE\x10\x01\x12\x10\n\x0cPROTO_STRUCT\x10\x02\x32\xf8\x04\n\x19\x46\x65\x61tureOnlineStoreService\x12\x8b\x02\n\x12\x46\x65tchFeatureValues\x12\x35.google.cloud.aiplatform.v1.FetchFeatureValuesRequest\x1a\x36.google.cloud.aiplatform.v1.FetchFeatureValuesResponse\"\x85\x01\xda\x41\x16\x66\x65\x61ture_view, data_key\x82\xd3\xe4\x93\x02\x66\"a/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:fetchFeatureValues:\x01*\x12\xfd\x01\n\x15SearchNearestEntities\x12\x38.google.cloud.aiplatform.v1.SearchNearestEntitiesRequest\x1a\x39.google.cloud.aiplatform.v1.SearchNearestEntitiesResponse\"o\x82\xd3\xe4\x93\x02i\"d/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:searchNearestEntities:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1e\x46\x65\x61tureOnlineStoreServiceProtoP\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
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
19
19
  begin
20
20
  pool.add_serialized_file(descriptor_data)
21
- rescue TypeError => e
21
+ rescue TypeError
22
22
  # Compatibility code: will be removed in the next major version.
23
23
  require 'google/protobuf/descriptor_pb'
24
24
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -45,10 +45,19 @@ module Google
45
45
  module AIPlatform
46
46
  module V1
47
47
  FeatureViewDataKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewDataKey").msgclass
48
+ FeatureViewDataKey::CompositeKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey").msgclass
48
49
  FetchFeatureValuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FetchFeatureValuesRequest").msgclass
49
50
  FetchFeatureValuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FetchFeatureValuesResponse").msgclass
50
51
  FetchFeatureValuesResponse::FeatureNameValuePairList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList").msgclass
51
52
  FetchFeatureValuesResponse::FeatureNameValuePairList::FeatureNameValuePair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair").msgclass
53
+ NearestNeighborQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighborQuery").msgclass
54
+ NearestNeighborQuery::Embedding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighborQuery.Embedding").msgclass
55
+ NearestNeighborQuery::StringFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighborQuery.StringFilter").msgclass
56
+ NearestNeighborQuery::Parameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighborQuery.Parameters").msgclass
57
+ SearchNearestEntitiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SearchNearestEntitiesRequest").msgclass
58
+ NearestNeighbors = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighbors").msgclass
59
+ NearestNeighbors::Neighbor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.NearestNeighbors.Neighbor").msgclass
60
+ SearchNearestEntitiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SearchNearestEntitiesResponse").msgclass
52
61
  FeatureViewDataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureViewDataFormat").enummodule
53
62
  end
54
63
  end
@@ -24,6 +24,7 @@ module Google
24
24
  module AIPlatform
25
25
  module V1
26
26
  module FeatureOnlineStoreService
27
+ # A service for fetching feature values from the online store.
27
28
  class Service
28
29
 
29
30
  include ::GRPC::GenericService
@@ -34,6 +35,10 @@ module Google
34
35
 
35
36
  # Fetch feature values under a FeatureView.
36
37
  rpc :FetchFeatureValues, ::Google::Cloud::AIPlatform::V1::FetchFeatureValuesRequest, ::Google::Cloud::AIPlatform::V1::FetchFeatureValuesResponse
38
+ # Search the nearest entities under a FeatureView.
39
+ # Search only works for indexable feature view; if a feature view isn't
40
+ # indexable, returns Invalid argument response.
41
+ rpc :SearchNearestEntities, ::Google::Cloud::AIPlatform::V1::SearchNearestEntitiesRequest, ::Google::Cloud::AIPlatform::V1::SearchNearestEntitiesResponse
37
42
  end
38
43
 
39
44
  Stub = Service.rpc_stub_class
@@ -10,13 +10,13 @@ require 'google/cloud/aiplatform/v1/feature_monitoring_stats_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n(google/cloud/aiplatform/v1/feature.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\t\n\x07\x46\x65\x61ture\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x46\n\nvalue_type\x18\x03 \x01(\x0e\x32-.google.cloud.aiplatform.v1.Feature.ValueTypeB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32/.google.cloud.aiplatform.v1.Feature.LabelsEntryB\x03\xe0\x41\x01\x12\x0c\n\x04\x65tag\x18\x07 \x01(\t\x12\x1f\n\x12\x64isable_monitoring\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x1amonitoring_stats_anomalies\x18\x0b \x03(\x0b\x32:.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyB\x03\xe0\x41\x03\x12\x1b\n\x13version_column_name\x18j \x01(\t\x1a\xa7\x02\n\x16MonitoringStatsAnomaly\x12\\\n\tobjective\x18\x01 \x01(\x0e\x32\x44.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.ObjectiveB\x03\xe0\x41\x03\x12S\n\x15\x66\x65\x61ture_stats_anomaly\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.FeatureStatsAnomalyB\x03\xe0\x41\x03\"Z\n\tObjective\x12\x19\n\x15OBJECTIVE_UNSPECIFIED\x10\x00\x12\x1b\n\x17IMPORT_FEATURE_ANALYSIS\x10\x01\x12\x15\n\x11SNAPSHOT_ANALYSIS\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\x0e\n\nBOOL_ARRAY\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\x10\n\x0c\x44OUBLE_ARRAY\x10\x04\x12\t\n\x05INT64\x10\t\x12\x0f\n\x0bINT64_ARRAY\x10\n\x12\n\n\x06STRING\x10\x0b\x12\x10\n\x0cSTRING_ARRAY\x10\x0c\x12\t\n\x05\x42YTES\x10\r:\x87\x02\xea\x41\x83\x02\n!aiplatform.googleapis.com/Feature\x12qprojects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}\x12Xprojects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}*\x08\x66\x65\x61tures2\x07\x66\x65\x61tureB\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x46\x65\x61tureProtoP\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"
13
+ descriptor_data = "\n(google/cloud/aiplatform/v1/feature.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\n\n\x07\x46\x65\x61ture\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x46\n\nvalue_type\x18\x03 \x01(\x0e\x32-.google.cloud.aiplatform.v1.Feature.ValueTypeB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32/.google.cloud.aiplatform.v1.Feature.LabelsEntryB\x03\xe0\x41\x01\x12\x0c\n\x04\x65tag\x18\x07 \x01(\t\x12\x1f\n\x12\x64isable_monitoring\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x1amonitoring_stats_anomalies\x18\x0b \x03(\x0b\x32:.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyB\x03\xe0\x41\x03\x12\x1b\n\x13version_column_name\x18j \x01(\t\x12\x18\n\x10point_of_contact\x18k \x01(\t\x1a\xa7\x02\n\x16MonitoringStatsAnomaly\x12\\\n\tobjective\x18\x01 \x01(\x0e\x32\x44.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.ObjectiveB\x03\xe0\x41\x03\x12S\n\x15\x66\x65\x61ture_stats_anomaly\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.FeatureStatsAnomalyB\x03\xe0\x41\x03\"Z\n\tObjective\x12\x19\n\x15OBJECTIVE_UNSPECIFIED\x10\x00\x12\x1b\n\x17IMPORT_FEATURE_ANALYSIS\x10\x01\x12\x15\n\x11SNAPSHOT_ANALYSIS\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\x0e\n\nBOOL_ARRAY\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\x10\n\x0c\x44OUBLE_ARRAY\x10\x04\x12\t\n\x05INT64\x10\t\x12\x0f\n\x0bINT64_ARRAY\x10\n\x12\n\n\x06STRING\x10\x0b\x12\x10\n\x0cSTRING_ARRAY\x10\x0c\x12\t\n\x05\x42YTES\x10\r:\x87\x02\xea\x41\x83\x02\n!aiplatform.googleapis.com/Feature\x12qprojects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}\x12Xprojects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}*\x08\x66\x65\x61tures2\x07\x66\x65\x61tureB\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x46\x65\x61tureProtoP\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
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)