google-cloud-ai_platform-v1 0.39.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -32,6 +32,9 @@ module Google
32
32
  # TensorboardService
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "aiplatform.$UNIVERSE_DOMAIN$"
37
40
 
@@ -269,10 +272,11 @@ module Google
269
272
  # Customize the options with defaults
270
273
  metadata = @config.rpcs.create_tensorboard.metadata.to_h
271
274
 
272
- # Set x-goog-api-client and x-goog-user-project headers
275
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
276
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
277
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
278
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
279
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
276
280
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
277
281
 
278
282
  header_params = {}
@@ -357,10 +361,11 @@ module Google
357
361
  # Customize the options with defaults
358
362
  metadata = @config.rpcs.get_tensorboard.metadata.to_h
359
363
 
360
- # Set x-goog-api-client and x-goog-user-project headers
364
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
361
365
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
362
366
  lib_name: @config.lib_name, lib_version: @config.lib_version,
363
367
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
368
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
364
369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
365
370
 
366
371
  header_params = {}
@@ -458,10 +463,11 @@ module Google
458
463
  # Customize the options with defaults
459
464
  metadata = @config.rpcs.update_tensorboard.metadata.to_h
460
465
 
461
- # Set x-goog-api-client and x-goog-user-project headers
466
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
462
467
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
463
468
  lib_name: @config.lib_name, lib_version: @config.lib_version,
464
469
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
470
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
465
471
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
466
472
 
467
473
  header_params = {}
@@ -569,10 +575,11 @@ module Google
569
575
  # Customize the options with defaults
570
576
  metadata = @config.rpcs.list_tensorboards.metadata.to_h
571
577
 
572
- # Set x-goog-api-client and x-goog-user-project headers
578
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
573
579
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
574
580
  lib_name: @config.lib_name, lib_version: @config.lib_version,
575
581
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
582
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
576
583
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
577
584
 
578
585
  header_params = {}
@@ -664,10 +671,11 @@ module Google
664
671
  # Customize the options with defaults
665
672
  metadata = @config.rpcs.delete_tensorboard.metadata.to_h
666
673
 
667
- # Set x-goog-api-client and x-goog-user-project headers
674
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
668
675
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
669
676
  lib_name: @config.lib_name, lib_version: @config.lib_version,
670
677
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
678
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
671
679
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
672
680
 
673
681
  header_params = {}
@@ -752,10 +760,11 @@ module Google
752
760
  # Customize the options with defaults
753
761
  metadata = @config.rpcs.read_tensorboard_usage.metadata.to_h
754
762
 
755
- # Set x-goog-api-client and x-goog-user-project headers
763
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
756
764
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
757
765
  lib_name: @config.lib_name, lib_version: @config.lib_version,
758
766
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
767
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
759
768
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
760
769
 
761
770
  header_params = {}
@@ -839,10 +848,11 @@ module Google
839
848
  # Customize the options with defaults
840
849
  metadata = @config.rpcs.read_tensorboard_size.metadata.to_h
841
850
 
842
- # Set x-goog-api-client and x-goog-user-project headers
851
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
843
852
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
844
853
  lib_name: @config.lib_name, lib_version: @config.lib_version,
845
854
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
855
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
846
856
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
847
857
 
848
858
  header_params = {}
@@ -934,10 +944,11 @@ module Google
934
944
  # Customize the options with defaults
935
945
  metadata = @config.rpcs.create_tensorboard_experiment.metadata.to_h
936
946
 
937
- # Set x-goog-api-client and x-goog-user-project headers
947
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
938
948
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
939
949
  lib_name: @config.lib_name, lib_version: @config.lib_version,
940
950
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
951
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
941
952
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
942
953
 
943
954
  header_params = {}
@@ -1021,10 +1032,11 @@ module Google
1021
1032
  # Customize the options with defaults
1022
1033
  metadata = @config.rpcs.get_tensorboard_experiment.metadata.to_h
1023
1034
 
1024
- # Set x-goog-api-client and x-goog-user-project headers
1035
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1025
1036
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1026
1037
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1027
1038
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1039
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1028
1040
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1029
1041
 
1030
1042
  header_params = {}
@@ -1115,10 +1127,11 @@ module Google
1115
1127
  # Customize the options with defaults
1116
1128
  metadata = @config.rpcs.update_tensorboard_experiment.metadata.to_h
1117
1129
 
1118
- # Set x-goog-api-client and x-goog-user-project headers
1130
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1119
1131
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1120
1132
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1121
1133
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1134
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1122
1135
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1123
1136
 
1124
1137
  header_params = {}
@@ -1225,10 +1238,11 @@ module Google
1225
1238
  # Customize the options with defaults
1226
1239
  metadata = @config.rpcs.list_tensorboard_experiments.metadata.to_h
1227
1240
 
1228
- # Set x-goog-api-client and x-goog-user-project headers
1241
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1229
1242
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1230
1243
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1231
1244
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1245
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1232
1246
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1233
1247
 
1234
1248
  header_params = {}
@@ -1320,10 +1334,11 @@ module Google
1320
1334
  # Customize the options with defaults
1321
1335
  metadata = @config.rpcs.delete_tensorboard_experiment.metadata.to_h
1322
1336
 
1323
- # Set x-goog-api-client and x-goog-user-project headers
1337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1324
1338
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1325
1339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1326
1340
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1341
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1327
1342
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1328
1343
 
1329
1344
  header_params = {}
@@ -1416,10 +1431,11 @@ module Google
1416
1431
  # Customize the options with defaults
1417
1432
  metadata = @config.rpcs.create_tensorboard_run.metadata.to_h
1418
1433
 
1419
- # Set x-goog-api-client and x-goog-user-project headers
1434
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1420
1435
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1421
1436
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1422
1437
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1438
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1423
1439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1424
1440
 
1425
1441
  header_params = {}
@@ -1508,10 +1524,11 @@ module Google
1508
1524
  # Customize the options with defaults
1509
1525
  metadata = @config.rpcs.batch_create_tensorboard_runs.metadata.to_h
1510
1526
 
1511
- # Set x-goog-api-client and x-goog-user-project headers
1527
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1512
1528
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1513
1529
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1514
1530
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1531
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1515
1532
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1516
1533
 
1517
1534
  header_params = {}
@@ -1595,10 +1612,11 @@ module Google
1595
1612
  # Customize the options with defaults
1596
1613
  metadata = @config.rpcs.get_tensorboard_run.metadata.to_h
1597
1614
 
1598
- # Set x-goog-api-client and x-goog-user-project headers
1615
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1599
1616
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1600
1617
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1601
1618
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1619
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1602
1620
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1603
1621
 
1604
1622
  header_params = {}
@@ -1689,10 +1707,11 @@ module Google
1689
1707
  # Customize the options with defaults
1690
1708
  metadata = @config.rpcs.update_tensorboard_run.metadata.to_h
1691
1709
 
1692
- # Set x-goog-api-client and x-goog-user-project headers
1710
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1693
1711
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1694
1712
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1695
1713
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1714
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1696
1715
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1697
1716
 
1698
1717
  header_params = {}
@@ -1799,10 +1818,11 @@ module Google
1799
1818
  # Customize the options with defaults
1800
1819
  metadata = @config.rpcs.list_tensorboard_runs.metadata.to_h
1801
1820
 
1802
- # Set x-goog-api-client and x-goog-user-project headers
1821
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1803
1822
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1804
1823
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1805
1824
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1825
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1806
1826
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1807
1827
 
1808
1828
  header_params = {}
@@ -1894,10 +1914,11 @@ module Google
1894
1914
  # Customize the options with defaults
1895
1915
  metadata = @config.rpcs.delete_tensorboard_run.metadata.to_h
1896
1916
 
1897
- # Set x-goog-api-client and x-goog-user-project headers
1917
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1898
1918
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1899
1919
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1900
1920
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1921
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1901
1922
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1902
1923
 
1903
1924
  header_params = {}
@@ -1989,10 +2010,11 @@ module Google
1989
2010
  # Customize the options with defaults
1990
2011
  metadata = @config.rpcs.batch_create_tensorboard_time_series.metadata.to_h
1991
2012
 
1992
- # Set x-goog-api-client and x-goog-user-project headers
2013
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1993
2014
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1994
2015
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1995
2016
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2017
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1996
2018
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1997
2019
 
1998
2020
  header_params = {}
@@ -2084,10 +2106,11 @@ module Google
2084
2106
  # Customize the options with defaults
2085
2107
  metadata = @config.rpcs.create_tensorboard_time_series.metadata.to_h
2086
2108
 
2087
- # Set x-goog-api-client and x-goog-user-project headers
2109
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2088
2110
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2089
2111
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2090
2112
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2113
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2091
2114
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2092
2115
 
2093
2116
  header_params = {}
@@ -2171,10 +2194,11 @@ module Google
2171
2194
  # Customize the options with defaults
2172
2195
  metadata = @config.rpcs.get_tensorboard_time_series.metadata.to_h
2173
2196
 
2174
- # Set x-goog-api-client and x-goog-user-project headers
2197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2175
2198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2176
2199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2177
2200
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2178
2202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2179
2203
 
2180
2204
  header_params = {}
@@ -2266,10 +2290,11 @@ module Google
2266
2290
  # Customize the options with defaults
2267
2291
  metadata = @config.rpcs.update_tensorboard_time_series.metadata.to_h
2268
2292
 
2269
- # Set x-goog-api-client and x-goog-user-project headers
2293
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2270
2294
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2271
2295
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2272
2296
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2297
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2273
2298
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2274
2299
 
2275
2300
  header_params = {}
@@ -2376,10 +2401,11 @@ module Google
2376
2401
  # Customize the options with defaults
2377
2402
  metadata = @config.rpcs.list_tensorboard_time_series.metadata.to_h
2378
2403
 
2379
- # Set x-goog-api-client and x-goog-user-project headers
2404
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2380
2405
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2381
2406
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2382
2407
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2408
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2383
2409
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2384
2410
 
2385
2411
  header_params = {}
@@ -2471,10 +2497,11 @@ module Google
2471
2497
  # Customize the options with defaults
2472
2498
  metadata = @config.rpcs.delete_tensorboard_time_series.metadata.to_h
2473
2499
 
2474
- # Set x-goog-api-client and x-goog-user-project headers
2500
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2475
2501
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2476
2502
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2477
2503
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2504
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2478
2505
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2479
2506
 
2480
2507
  header_params = {}
@@ -2570,10 +2597,11 @@ module Google
2570
2597
  # Customize the options with defaults
2571
2598
  metadata = @config.rpcs.batch_read_tensorboard_time_series_data.metadata.to_h
2572
2599
 
2573
- # Set x-goog-api-client and x-goog-user-project headers
2600
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2574
2601
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2575
2602
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2576
2603
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2604
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2577
2605
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2578
2606
 
2579
2607
  header_params = {}
@@ -2668,10 +2696,11 @@ module Google
2668
2696
  # Customize the options with defaults
2669
2697
  metadata = @config.rpcs.read_tensorboard_time_series_data.metadata.to_h
2670
2698
 
2671
- # Set x-goog-api-client and x-goog-user-project headers
2699
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2672
2700
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2673
2701
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2674
2702
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2703
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2675
2704
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2676
2705
 
2677
2706
  header_params = {}
@@ -2763,10 +2792,11 @@ module Google
2763
2792
  # Customize the options with defaults
2764
2793
  metadata = @config.rpcs.read_tensorboard_blob_data.metadata.to_h
2765
2794
 
2766
- # Set x-goog-api-client and x-goog-user-project headers
2795
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2767
2796
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2768
2797
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2769
2798
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2799
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2770
2800
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2771
2801
 
2772
2802
  header_params = {}
@@ -2853,10 +2883,11 @@ module Google
2853
2883
  # Customize the options with defaults
2854
2884
  metadata = @config.rpcs.write_tensorboard_experiment_data.metadata.to_h
2855
2885
 
2856
- # Set x-goog-api-client and x-goog-user-project headers
2886
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2857
2887
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2858
2888
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2859
2889
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2890
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2860
2891
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2861
2892
 
2862
2893
  header_params = {}
@@ -2947,10 +2978,11 @@ module Google
2947
2978
  # Customize the options with defaults
2948
2979
  metadata = @config.rpcs.write_tensorboard_run_data.metadata.to_h
2949
2980
 
2950
- # Set x-goog-api-client and x-goog-user-project headers
2981
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2951
2982
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2952
2983
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2953
2984
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
2985
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2954
2986
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2955
2987
 
2956
2988
  header_params = {}
@@ -3057,10 +3089,11 @@ module Google
3057
3089
  # Customize the options with defaults
3058
3090
  metadata = @config.rpcs.export_tensorboard_time_series_data.metadata.to_h
3059
3091
 
3060
- # Set x-goog-api-client and x-goog-user-project headers
3092
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3061
3093
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3062
3094
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3063
3095
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
3096
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3064
3097
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3065
3098
 
3066
3099
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module TensorboardService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "aiplatform.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  header_params = {}