google-cloud-ai_platform-v1 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/bindings_override.rb +399 -0
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +138 -18
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +13 -5
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2280 -0
  6. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3971 -0
  7. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1196 -0
  8. data/lib/google/cloud/ai_platform/v1/dataset_service/rest.rb +54 -0
  9. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +6 -0
  10. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +13 -5
  11. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +13 -5
  12. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +851 -0
  13. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +3971 -0
  14. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +365 -0
  15. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest.rb +54 -0
  16. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +6 -0
  17. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +19 -8
  18. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +13 -5
  19. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +1215 -0
  20. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +3971 -0
  21. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +546 -0
  22. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest.rb +54 -0
  23. data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +6 -0
  24. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +29 -13
  25. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +13 -5
  26. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1732 -0
  27. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +3971 -0
  28. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +841 -0
  29. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest.rb +55 -0
  30. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +6 -0
  31. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +7 -2
  32. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +534 -0
  33. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +189 -0
  34. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest.rb +53 -0
  35. data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +6 -0
  36. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +24 -11
  37. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +13 -5
  38. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +1450 -0
  39. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +3971 -0
  40. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +663 -0
  41. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest.rb +55 -0
  42. data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +6 -0
  43. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +9 -3
  44. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +645 -0
  45. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +244 -0
  46. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest.rb +53 -0
  47. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +6 -0
  48. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +45 -21
  49. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +13 -5
  50. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2765 -0
  51. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +3971 -0
  52. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1319 -0
  53. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest.rb +54 -0
  54. data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +6 -0
  55. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +11 -4
  56. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +720 -0
  57. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +307 -0
  58. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +53 -0
  59. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +6 -0
  60. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +19 -8
  61. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +13 -5
  62. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1151 -0
  63. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +3971 -0
  64. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +546 -0
  65. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest.rb +54 -0
  66. data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +6 -0
  67. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +17 -7
  68. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +13 -5
  69. data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1034 -0
  70. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +3971 -0
  71. data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +486 -0
  72. data/lib/google/cloud/ai_platform/v1/index_service/rest.rb +54 -0
  73. data/lib/google/cloud/ai_platform/v1/index_service.rb +6 -0
  74. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +73 -35
  75. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +13 -5
  76. data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +3841 -0
  77. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +3971 -0
  78. data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +2149 -0
  79. data/lib/google/cloud/ai_platform/v1/job_service/rest.rb +54 -0
  80. data/lib/google/cloud/ai_platform/v1/job_service.rb +6 -0
  81. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -2
  82. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +533 -0
  83. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +205 -0
  84. data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest.rb +53 -0
  85. data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +6 -0
  86. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -2
  87. data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +541 -0
  88. data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +189 -0
  89. data/lib/google/cloud/ai_platform/v1/match_service/rest.rb +54 -0
  90. data/lib/google/cloud/ai_platform/v1/match_service.rb +6 -0
  91. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +67 -32
  92. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +13 -5
  93. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +3634 -0
  94. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +3971 -0
  95. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1972 -0
  96. data/lib/google/cloud/ai_platform/v1/metadata_service/rest.rb +54 -0
  97. data/lib/google/cloud/ai_platform/v1/metadata_service.rb +6 -0
  98. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -2
  99. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +13 -5
  100. data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +574 -0
  101. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +3971 -0
  102. data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +189 -0
  103. data/lib/google/cloud/ai_platform/v1/migration_service/rest.rb +55 -0
  104. data/lib/google/cloud/ai_platform/v1/migration_service.rb +6 -0
  105. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -1
  106. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +438 -0
  107. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +128 -0
  108. data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +53 -0
  109. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +6 -0
  110. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -18
  111. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +13 -5
  112. data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2213 -0
  113. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +3971 -0
  114. data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1140 -0
  115. data/lib/google/cloud/ai_platform/v1/model_service/rest.rb +54 -0
  116. data/lib/google/cloud/ai_platform/v1/model_service.rb +6 -0
  117. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +123 -10
  118. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +13 -5
  119. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1503 -0
  120. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3971 -0
  121. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +723 -0
  122. data/lib/google/cloud/ai_platform/v1/notebook_service/rest.rb +54 -0
  123. data/lib/google/cloud/ai_platform/v1/notebook_service.rb +6 -0
  124. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +15 -6
  125. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +13 -5
  126. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +942 -0
  127. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +3971 -0
  128. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +426 -0
  129. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest.rb +54 -0
  130. data/lib/google/cloud/ai_platform/v1/persistent_resource_service.rb +6 -0
  131. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +27 -12
  132. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +13 -5
  133. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1600 -0
  134. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +3971 -0
  135. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +783 -0
  136. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest.rb +56 -0
  137. data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +6 -0
  138. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +37 -15
  139. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
  140. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1303 -0
  141. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +658 -0
  142. data/lib/google/cloud/ai_platform/v1/prediction_service/rest.rb +53 -0
  143. data/lib/google/cloud/ai_platform/v1/prediction_service.rb +6 -0
  144. data/lib/google/cloud/ai_platform/v1/rest.rb +63 -0
  145. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +17 -7
  146. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +13 -5
  147. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1076 -0
  148. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +3971 -0
  149. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +486 -0
  150. data/lib/google/cloud/ai_platform/v1/schedule_service/rest.rb +55 -0
  151. data/lib/google/cloud/ai_platform/v1/schedule_service.rb +6 -0
  152. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +13 -5
  153. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +13 -5
  154. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +847 -0
  155. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +3971 -0
  156. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +366 -0
  157. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest.rb +59 -0
  158. data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +6 -0
  159. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +63 -30
  160. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +13 -5
  161. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +3274 -0
  162. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +3971 -0
  163. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1847 -0
  164. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest.rb +54 -0
  165. data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +6 -0
  166. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  167. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -15
  168. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +13 -5
  169. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1788 -0
  170. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +3971 -0
  171. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +963 -0
  172. data/lib/google/cloud/ai_platform/v1/vizier_service/rest.rb +58 -0
  173. data/lib/google/cloud/ai_platform/v1/vizier_service.rb +6 -0
  174. data/lib/google/cloud/ai_platform/v1.rb +6 -1
  175. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
  176. data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -4
  177. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  178. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
  179. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  180. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  181. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
  182. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
  183. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  184. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  185. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
  186. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  187. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  188. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
  189. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  190. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
  191. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
  192. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
  193. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  194. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  195. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
  196. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
  197. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  198. data/proto_docs/google/cloud/aiplatform/v1/content.rb +26 -48
  199. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  200. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
  201. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
  202. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
  203. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +7 -0
  204. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
  205. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
  206. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  207. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
  208. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  209. data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
  210. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +20 -2
  211. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
  212. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
  213. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  214. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +17 -2
  215. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
  216. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
  217. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  218. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
  219. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
  220. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
  221. metadata +101 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ba0b87b6dce9f364a600a220d499a6ff65f415894ad7a58d1845d773eba429d
4
- data.tar.gz: eb4870e494f9e1e92baf5db61f36d42cdf256870ab501c6e944756dcb64c0d22
3
+ metadata.gz: '09fc60e0a52674b2c68bafb46ff621862ada9548c1598af5bbee666635d8a6a6'
4
+ data.tar.gz: a42e7fdfc9bf1744e680b6b534b7f8172610bd5e5845861915d26164542c42a3
5
5
  SHA512:
6
- metadata.gz: 24097011b75b2b9bb17541e0bd31bd5f7737af12ce14fb7d90621649b155da84ec22d5b79f54fd4f89070f3a74cbc651b630e01c51d3d64e1e8ce5a08cbe7491
7
- data.tar.gz: d2ff7967d8c3da52d6268e087717e274d6b8b7256c688cc1571e576932075c54eb3fb2262b59d03c525d499c13120f9f41128a473b0eaed9fa0a6d1cee1afe7c
6
+ metadata.gz: c08a593f9ddd7a3c5b3afa04ed541f68772f3329e33aede6be54cd8c959688753fe5e0db27c96edf74655e62dd55123ffa94ad037ee816948a9718f5ce87b65d
7
+ data.tar.gz: 9ba387bff54a68845f421a1c32bb966ec2ef72f82a8ec61cbe3df76d7904f3538eea442aaaa1de94e88faaca6ea9520d5d64bcfb69c1205d3632204daef60f2c
@@ -0,0 +1,399 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module AIPlatform
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/ai_platform/v1/rest"
28
+ # client = ::Google::Cloud::AIPlatform::V1::DatasetService::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "AIPlatform"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/ui/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ ),
55
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
56
+ uri_method: :get,
57
+ uri_template: "/v1/{name}",
58
+ matches: [
59
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
60
+ ],
61
+ body: nil
62
+ )
63
+ ]
64
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
65
+
66
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
67
+ uri_method: :get,
68
+ uri_template: "/ui/{name}/locations",
69
+ matches: [
70
+ ["name", %r{^projects/[^/]+/?$}, false]
71
+ ],
72
+ body: nil
73
+ ),
74
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
75
+ uri_method: :get,
76
+ uri_template: "/v1/{name}/locations",
77
+ matches: [
78
+ ["name", %r{^projects/[^/]+/?$}, false]
79
+ ],
80
+ body: nil
81
+ )
82
+ ]
83
+ default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
84
+
85
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
86
+ uri_method: :post,
87
+ uri_template: "/v1/{resource}:getIamPolicy",
88
+ matches: [
89
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
90
+ ],
91
+ body: nil
92
+ ),
93
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
94
+ uri_method: :post,
95
+ uri_template: "/v1/{resource}:getIamPolicy",
96
+ matches: [
97
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
98
+ ],
99
+ body: nil
100
+ ),
101
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
102
+ uri_method: :post,
103
+ uri_template: "/v1/{resource}:getIamPolicy",
104
+ matches: [
105
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
106
+ ],
107
+ body: nil
108
+ ),
109
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
110
+ uri_method: :post,
111
+ uri_template: "/v1/{resource}:getIamPolicy",
112
+ matches: [
113
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
114
+ ],
115
+ body: nil
116
+ ),
117
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
118
+ uri_method: :post,
119
+ uri_template: "/ui/{resource}:getIamPolicy",
120
+ matches: [
121
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
122
+ ],
123
+ body: nil
124
+ ),
125
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
126
+ uri_method: :post,
127
+ uri_template: "/ui/{resource}:getIamPolicy",
128
+ matches: [
129
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
130
+ ],
131
+ body: nil
132
+ ),
133
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
134
+ uri_method: :post,
135
+ uri_template: "/ui/{resource}:getIamPolicy",
136
+ matches: [
137
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
138
+ ],
139
+ body: nil
140
+ ),
141
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
142
+ uri_method: :post,
143
+ uri_template: "/ui/{resource}:getIamPolicy",
144
+ matches: [
145
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
146
+ ],
147
+ body: nil
148
+ ),
149
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
150
+ uri_method: :post,
151
+ uri_template: "/ui/{resource}:getIamPolicy",
152
+ matches: [
153
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
154
+ ],
155
+ body: nil
156
+ ),
157
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
158
+ uri_method: :post,
159
+ uri_template: "/ui/{resource}:getIamPolicy",
160
+ matches: [
161
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+/?$}, false]
162
+ ],
163
+ body: nil
164
+ ),
165
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
166
+ uri_method: :post,
167
+ uri_template: "/ui/{resource}:getIamPolicy",
168
+ matches: [
169
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
170
+ ],
171
+ body: nil
172
+ ),
173
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
174
+ uri_method: :post,
175
+ uri_template: "/ui/{resource}:getIamPolicy",
176
+ matches: [
177
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
178
+ ],
179
+ body: nil
180
+ )
181
+ ]
182
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
183
+
184
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
185
+ uri_method: :post,
186
+ uri_template: "/v1/{resource}:setIamPolicy",
187
+ matches: [
188
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
189
+ ],
190
+ body: "*"
191
+ ),
192
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
193
+ uri_method: :post,
194
+ uri_template: "/v1/{resource}:setIamPolicy",
195
+ matches: [
196
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
197
+ ],
198
+ body: "*"
199
+ ),
200
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
201
+ uri_method: :post,
202
+ uri_template: "/v1/{resource}:setIamPolicy",
203
+ matches: [
204
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
205
+ ],
206
+ body: "*"
207
+ ),
208
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
209
+ uri_method: :post,
210
+ uri_template: "/v1/{resource}:setIamPolicy",
211
+ matches: [
212
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
213
+ ],
214
+ body: "*"
215
+ ),
216
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
217
+ uri_method: :post,
218
+ uri_template: "/ui/{resource}:setIamPolicy",
219
+ matches: [
220
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
221
+ ],
222
+ body: "*"
223
+ ),
224
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
225
+ uri_method: :post,
226
+ uri_template: "/ui/{resource}:setIamPolicy",
227
+ matches: [
228
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
229
+ ],
230
+ body: "*"
231
+ ),
232
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
233
+ uri_method: :post,
234
+ uri_template: "/ui/{resource}:setIamPolicy",
235
+ matches: [
236
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
237
+ ],
238
+ body: "*"
239
+ ),
240
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
241
+ uri_method: :post,
242
+ uri_template: "/ui/{resource}:setIamPolicy",
243
+ matches: [
244
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
245
+ ],
246
+ body: "*"
247
+ ),
248
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
249
+ uri_method: :post,
250
+ uri_template: "/ui/{resource}:setIamPolicy",
251
+ matches: [
252
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
253
+ ],
254
+ body: "*"
255
+ ),
256
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
257
+ uri_method: :post,
258
+ uri_template: "/ui/{resource}:setIamPolicy",
259
+ matches: [
260
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
261
+ ],
262
+ body: "*"
263
+ ),
264
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
265
+ uri_method: :post,
266
+ uri_template: "/ui/{resource}:setIamPolicy",
267
+ matches: [
268
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
269
+ ],
270
+ body: "*"
271
+ )
272
+ ]
273
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
274
+
275
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
276
+ uri_method: :post,
277
+ uri_template: "/v1/{resource}:testIamPermissions",
278
+ matches: [
279
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
280
+ ],
281
+ body: nil
282
+ ),
283
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
284
+ uri_method: :post,
285
+ uri_template: "/v1/{resource}:testIamPermissions",
286
+ matches: [
287
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
288
+ ],
289
+ body: nil
290
+ ),
291
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
292
+ uri_method: :post,
293
+ uri_template: "/v1/{resource}:testIamPermissions",
294
+ matches: [
295
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
296
+ ],
297
+ body: nil
298
+ ),
299
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
300
+ uri_method: :post,
301
+ uri_template: "/v1/{resource}:testIamPermissions",
302
+ matches: [
303
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
304
+ ],
305
+ body: nil
306
+ ),
307
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
308
+ uri_method: :post,
309
+ uri_template: "/ui/{resource}:testIamPermissions",
310
+ matches: [
311
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
312
+ ],
313
+ body: nil
314
+ ),
315
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
316
+ uri_method: :post,
317
+ uri_template: "/ui/{resource}:testIamPermissions",
318
+ matches: [
319
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
320
+ ],
321
+ body: nil
322
+ ),
323
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
324
+ uri_method: :post,
325
+ uri_template: "/ui/{resource}:testIamPermissions",
326
+ matches: [
327
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
328
+ ],
329
+ body: nil
330
+ ),
331
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
332
+ uri_method: :post,
333
+ uri_template: "/ui/{resource}:testIamPermissions",
334
+ matches: [
335
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
336
+ ],
337
+ body: nil
338
+ ),
339
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
340
+ uri_method: :post,
341
+ uri_template: "/ui/{resource}:testIamPermissions",
342
+ matches: [
343
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
344
+ ],
345
+ body: nil
346
+ ),
347
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
348
+ uri_method: :post,
349
+ uri_template: "/ui/{resource}:testIamPermissions",
350
+ matches: [
351
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
352
+ ],
353
+ body: nil
354
+ ),
355
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
356
+ uri_method: :post,
357
+ uri_template: "/ui/{resource}:testIamPermissions",
358
+ matches: [
359
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
360
+ ],
361
+ body: nil
362
+ )
363
+ ]
364
+ default_config
365
+ end
366
+ yield @configure if block_given?
367
+ @configure
368
+ end
369
+
370
+ ##
371
+ # @private
372
+ # Configuration class for the google.cloud.aiplatform.v1 package.
373
+ #
374
+ # This class contains common configuration for all services
375
+ # of the google.cloud.aiplatform.v1 package.
376
+ #
377
+ # This configuration is for internal use of the client library classes,
378
+ # and it is not intended that the end-users will read or change it.
379
+ #
380
+ class Configuration
381
+ extend ::Gapic::Config
382
+
383
+ # @private
384
+ # Overrides for http bindings for the RPC of the mixins for this package.
385
+ # Services in this package should use these when creating clients for the mixin services.
386
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
387
+ config_attr :bindings_override, {}, ::Hash, nil
388
+
389
+ # @private
390
+ def initialize parent_config = nil
391
+ @parent_config = parent_config unless parent_config.nil?
392
+
393
+ yield self if block_given?
394
+ end
395
+ end
396
+ end
397
+ end
398
+ end
399
+ end