google-cloud-ai_platform-v1 0.57.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +2 -0
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -10
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2 -0
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +73 -10
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +3 -10
  7. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +73 -10
  8. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +103 -0
  9. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -10
  10. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +96 -0
  11. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +73 -10
  12. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +60 -0
  13. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +6 -1
  14. data/lib/google/cloud/ai_platform/v1/evaluation_service/rest/client.rb +6 -1
  15. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1 -0
  16. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +3 -10
  17. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1 -0
  18. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +73 -10
  19. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +4 -4
  20. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +3 -10
  21. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +4 -4
  22. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +73 -10
  23. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -10
  24. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +73 -10
  25. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +3 -4
  26. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +3 -10
  27. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +3 -4
  28. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +73 -10
  29. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
  30. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -10
  31. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +4 -2
  32. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +73 -10
  33. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -10
  34. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +73 -10
  35. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -10
  36. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +73 -10
  37. data/lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb +19 -0
  38. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -10
  39. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +73 -10
  40. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -10
  41. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +73 -10
  42. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -10
  43. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +73 -10
  44. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +2 -1
  45. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +3 -10
  46. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +2 -1
  47. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +73 -10
  48. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +2 -2
  49. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +3 -10
  50. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +2 -2
  51. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +73 -10
  52. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -10
  53. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +73 -10
  54. data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
  55. data/lib/google/cloud/ai_platform/v1/rest.rb +2 -0
  56. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +3 -2
  57. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +3 -10
  58. data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +38 -0
  59. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +3 -2
  60. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +73 -10
  61. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -10
  62. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +73 -10
  63. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -10
  64. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +73 -10
  65. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  66. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +1405 -0
  67. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/credentials.rb +47 -0
  68. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +810 -0
  69. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/paths.rb +173 -0
  70. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +1318 -0
  71. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +4244 -0
  72. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/service_stub.rb +663 -0
  73. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest.rb +54 -0
  74. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service.rb +56 -0
  75. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +672 -0
  76. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/credentials.rb +47 -0
  77. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/paths.rb +69 -0
  78. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +634 -0
  79. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/service_stub.rb +249 -0
  80. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest.rb +53 -0
  81. data/lib/google/cloud/ai_platform/v1/vertex_rag_service.rb +55 -0
  82. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -10
  83. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +73 -10
  84. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  85. data/lib/google/cloud/aiplatform/v1/api_auth_pb.rb +46 -0
  86. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  87. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +6 -1
  88. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +3 -1
  89. data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +2 -0
  90. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +2 -1
  91. data/lib/google/cloud/aiplatform/v1/evaluation_service_pb.rb +11 -1
  92. data/lib/google/cloud/aiplatform/v1/genai_tuning_service_services_pb.rb +0 -2
  93. data/lib/google/cloud/aiplatform/v1/io_pb.rb +16 -1
  94. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  95. data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +6 -1
  96. data/lib/google/cloud/aiplatform/v1/schedule_service_services_pb.rb +3 -2
  97. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +5 -1
  98. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
  99. data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +67 -0
  100. data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_pb.rb +71 -0
  101. data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_services_pb.rb +63 -0
  102. data/lib/google/cloud/aiplatform/v1/vertex_rag_service_pb.rb +65 -0
  103. data/lib/google/cloud/aiplatform/v1/vertex_rag_service_services_pb.rb +52 -0
  104. data/proto_docs/google/cloud/aiplatform/v1/api_auth.rb +45 -0
  105. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +2 -2
  106. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -2
  107. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +2 -0
  108. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +42 -0
  109. data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +22 -0
  110. data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +1 -1
  111. data/proto_docs/google/cloud/aiplatform/v1/evaluation_service.rb +149 -1
  112. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +2 -2
  113. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +3 -1
  114. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +4 -4
  115. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +1 -1
  116. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
  117. data/proto_docs/google/cloud/aiplatform/v1/genai_tuning_service.rb +3 -2
  118. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint_service.rb +4 -2
  119. data/proto_docs/google/cloud/aiplatform/v1/io.rb +158 -0
  120. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +8 -0
  121. data/proto_docs/google/cloud/aiplatform/v1/migration_service.rb +1 -1
  122. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  123. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +3 -3
  124. data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +18 -0
  125. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +5 -3
  126. data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +2 -2
  127. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource_service.rb +4 -3
  128. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +72 -0
  129. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +9 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/types.rb +13 -13
  131. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +334 -0
  132. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +293 -0
  133. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb +279 -0
  134. data/proto_docs/google/longrunning/operations.rb +19 -14
  135. metadata +28 -2
@@ -115,14 +115,6 @@ module Google
115
115
  # Lists operations that match the specified filter in the request. If the
116
116
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
117
117
  #
118
- # NOTE: the `name` binding allows API services to override the binding
119
- # to use different resource name schemes, such as `users/*/operations`. To
120
- # override the binding, API services can add a binding such as
121
- # `"/v1/{name=users/*}/operations"` to their service configuration.
122
- # For backwards compatibility, the default name includes the operations
123
- # collection id, however overriding users must ensure the name binding
124
- # is the parent resource, without the operations collection id.
125
- #
126
118
  # @overload list_operations(request, options = nil)
127
119
  # Pass arguments to `list_operations` via a request object, either of type
128
120
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -390,8 +382,9 @@ module Google
390
382
  # other methods to check whether the cancellation succeeded or whether the
391
383
  # operation completed despite cancellation. On successful cancellation,
392
384
  # the operation is not deleted; instead, it becomes an operation with
393
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
394
- # corresponding to `Code.CANCELLED`.
385
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
386
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
387
+ # `Code.CANCELLED`.
395
388
  #
396
389
  # @overload cancel_operation(request, options = nil)
397
390
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -1538,6 +1531,20 @@ module Google
1538
1531
  ["name", %r{^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/?$}, false]
1539
1532
  ]
1540
1533
  )
1534
+ .with_bindings(
1535
+ uri_method: :get,
1536
+ uri_template: "/v1/{name}/operations",
1537
+ matches: [
1538
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/?$}, false]
1539
+ ]
1540
+ )
1541
+ .with_bindings(
1542
+ uri_method: :get,
1543
+ uri_template: "/v1/{name}/operations",
1544
+ matches: [
1545
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/?$}, false]
1546
+ ]
1547
+ )
1541
1548
  .with_bindings(
1542
1549
  uri_method: :get,
1543
1550
  uri_template: "/v1/{name}/operations",
@@ -2168,6 +2175,20 @@ module Google
2168
2175
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2169
2176
  ]
2170
2177
  )
2178
+ .with_bindings(
2179
+ uri_method: :get,
2180
+ uri_template: "/v1/{name}",
2181
+ matches: [
2182
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
2183
+ ]
2184
+ )
2185
+ .with_bindings(
2186
+ uri_method: :get,
2187
+ uri_template: "/v1/{name}",
2188
+ matches: [
2189
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2190
+ ]
2191
+ )
2171
2192
  .with_bindings(
2172
2193
  uri_method: :get,
2173
2194
  uri_template: "/v1/{name}",
@@ -2812,6 +2833,20 @@ module Google
2812
2833
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2813
2834
  ]
2814
2835
  )
2836
+ .with_bindings(
2837
+ uri_method: :delete,
2838
+ uri_template: "/v1/{name}",
2839
+ matches: [
2840
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
2841
+ ]
2842
+ )
2843
+ .with_bindings(
2844
+ uri_method: :delete,
2845
+ uri_template: "/v1/{name}",
2846
+ matches: [
2847
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2848
+ ]
2849
+ )
2815
2850
  .with_bindings(
2816
2851
  uri_method: :delete,
2817
2852
  uri_template: "/v1/{name}",
@@ -3449,6 +3484,20 @@ module Google
3449
3484
  ["name", %r{^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+/?$}, false]
3450
3485
  ]
3451
3486
  )
3487
+ .with_bindings(
3488
+ uri_method: :post,
3489
+ uri_template: "/v1/{name}:cancel",
3490
+ matches: [
3491
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
3492
+ ]
3493
+ )
3494
+ .with_bindings(
3495
+ uri_method: :post,
3496
+ uri_template: "/v1/{name}:cancel",
3497
+ matches: [
3498
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
3499
+ ]
3500
+ )
3452
3501
  .with_bindings(
3453
3502
  uri_method: :post,
3454
3503
  uri_template: "/v1/{name}:cancel",
@@ -4065,6 +4114,20 @@ module Google
4065
4114
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
4066
4115
  ]
4067
4116
  )
4117
+ .with_bindings(
4118
+ uri_method: :post,
4119
+ uri_template: "/v1/{name}:wait",
4120
+ matches: [
4121
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
4122
+ ]
4123
+ )
4124
+ .with_bindings(
4125
+ uri_method: :post,
4126
+ uri_template: "/v1/{name}:wait",
4127
+ matches: [
4128
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
4129
+ ]
4130
+ )
4068
4131
  .with_bindings(
4069
4132
  uri_method: :post,
4070
4133
  uri_template: "/v1/{name}:wait",
@@ -213,6 +213,44 @@ module Google
213
213
  result
214
214
  end
215
215
 
216
+ ##
217
+ # Baseline implementation for the update_endpoint_long_running REST call
218
+ #
219
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest]
220
+ # A request object representing the call parameters. Required.
221
+ # @param options [::Gapic::CallOptions]
222
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
223
+ #
224
+ # @yield [result, operation] Access the result along with the TransportOperation object
225
+ # @yieldparam result [::Google::Longrunning::Operation]
226
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
227
+ #
228
+ # @return [::Google::Longrunning::Operation]
229
+ # A result object deserialized from the server's reply
230
+ def update_endpoint_long_running request_pb, options = nil
231
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
232
+
233
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_endpoint_long_running_request request_pb
234
+ query_string_params = if query_string_params.any?
235
+ query_string_params.to_h { |p| p.split "=", 2 }
236
+ else
237
+ {}
238
+ end
239
+
240
+ response = @client_stub.make_http_request(
241
+ verb,
242
+ uri: uri,
243
+ body: body || "",
244
+ params: query_string_params,
245
+ options: options
246
+ )
247
+ operation = ::Gapic::Rest::TransportOperation.new response
248
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
249
+
250
+ yield result, operation if block_given?
251
+ result
252
+ end
253
+
216
254
  ##
217
255
  # Baseline implementation for the delete_endpoint REST call
218
256
  #
@@ -451,6 +489,28 @@ module Google
451
489
  transcoder.transcode request_pb
452
490
  end
453
491
 
492
+ ##
493
+ # @private
494
+ #
495
+ # GRPC transcoding helper method for the update_endpoint_long_running REST call
496
+ #
497
+ # @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest]
498
+ # A request object representing the call parameters. Required.
499
+ # @return [Array(String, [String, nil], Hash{String => String})]
500
+ # Uri, Body, Query string parameters
501
+ def self.transcode_update_endpoint_long_running_request request_pb
502
+ transcoder = Gapic::Rest::GrpcTranscoder.new
503
+ .with_bindings(
504
+ uri_method: :post,
505
+ uri_template: "/v1/{endpoint.name}:update",
506
+ body: "*",
507
+ matches: [
508
+ ["endpoint.name", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
509
+ ]
510
+ )
511
+ transcoder.transcode request_pb
512
+ end
513
+
454
514
  ##
455
515
  # @private
456
516
  #
@@ -206,7 +206,7 @@ module Google
206
206
  # @param options [::Gapic::CallOptions, ::Hash]
207
207
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
208
208
  #
209
- # @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, location: nil)
209
+ # @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, comet_input: nil, metricx_input: nil, location: nil)
210
210
  # Pass arguments to `evaluate_instances` via keyword arguments. Note that at
211
211
  # least one keyword argument is required. To specify no parameters, or to keep all
212
212
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -263,6 +263,11 @@ module Google
263
263
  # Input for tool parameter key match metric.
264
264
  # @param tool_parameter_kv_match_input [::Google::Cloud::AIPlatform::V1::ToolParameterKVMatchInput, ::Hash]
265
265
  # Input for tool parameter key value match metric.
266
+ # @param comet_input [::Google::Cloud::AIPlatform::V1::CometInput, ::Hash]
267
+ # Translation metrics.
268
+ # Input for Comet metric.
269
+ # @param metricx_input [::Google::Cloud::AIPlatform::V1::MetricxInput, ::Hash]
270
+ # Input for Metricx metric.
266
271
  # @param location [::String]
267
272
  # Required. The resource name of the Location to evaluate the instances.
268
273
  # Format: `projects/{project}/locations/{location}`
@@ -201,7 +201,7 @@ module Google
201
201
  # @param options [::Gapic::CallOptions, ::Hash]
202
202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
203
  #
204
- # @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, location: nil)
204
+ # @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, comet_input: nil, metricx_input: nil, location: nil)
205
205
  # Pass arguments to `evaluate_instances` via keyword arguments. Note that at
206
206
  # least one keyword argument is required. To specify no parameters, or to keep all
207
207
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -258,6 +258,11 @@ module Google
258
258
  # Input for tool parameter key match metric.
259
259
  # @param tool_parameter_kv_match_input [::Google::Cloud::AIPlatform::V1::ToolParameterKVMatchInput, ::Hash]
260
260
  # Input for tool parameter key value match metric.
261
+ # @param comet_input [::Google::Cloud::AIPlatform::V1::CometInput, ::Hash]
262
+ # Translation metrics.
263
+ # Input for Comet metric.
264
+ # @param metricx_input [::Google::Cloud::AIPlatform::V1::MetricxInput, ::Hash]
265
+ # Input for Metricx metric.
261
266
  # @param location [::String]
262
267
  # Required. The resource name of the Location to evaluate the instances.
263
268
  # Format: `projects/{project}/locations/{location}`
@@ -1119,6 +1119,7 @@ module Google
1119
1119
  # * `feature_registry_source.feature_groups`
1120
1120
  # * `sync_config`
1121
1121
  # * `sync_config.cron`
1122
+ # * `optimized_config.automatic_resources`
1122
1123
  #
1123
1124
  # @yield [response, operation] Access the result along with the RPC operation
1124
1125
  # @yieldparam response [::Gapic::Operation]
@@ -124,14 +124,6 @@ module Google
124
124
  # Lists operations that match the specified filter in the request. If the
125
125
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
126
  #
127
- # NOTE: the `name` binding allows API services to override the binding
128
- # to use different resource name schemes, such as `users/*/operations`. To
129
- # override the binding, API services can add a binding such as
130
- # `"/v1/{name=users/*}/operations"` to their service configuration.
131
- # For backwards compatibility, the default name includes the operations
132
- # collection id, however overriding users must ensure the name binding
133
- # is the parent resource, without the operations collection id.
134
- #
135
127
  # @overload list_operations(request, options = nil)
136
128
  # Pass arguments to `list_operations` via a request object, either of type
137
129
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -421,8 +413,9 @@ module Google
421
413
  # other methods to check whether the cancellation succeeded or whether the
422
414
  # operation completed despite cancellation. On successful cancellation,
423
415
  # the operation is not deleted; instead, it becomes an operation with
424
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
425
- # corresponding to `Code.CANCELLED`.
416
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
417
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
418
+ # `Code.CANCELLED`.
426
419
  #
427
420
  # @overload cancel_operation(request, options = nil)
428
421
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -1058,6 +1058,7 @@ module Google
1058
1058
  # * `feature_registry_source.feature_groups`
1059
1059
  # * `sync_config`
1060
1060
  # * `sync_config.cron`
1061
+ # * `optimized_config.automatic_resources`
1061
1062
  # @yield [result, operation] Access the result along with the TransportOperation object
1062
1063
  # @yieldparam result [::Gapic::Operation]
1063
1064
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -115,14 +115,6 @@ module Google
115
115
  # Lists operations that match the specified filter in the request. If the
116
116
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
117
117
  #
118
- # NOTE: the `name` binding allows API services to override the binding
119
- # to use different resource name schemes, such as `users/*/operations`. To
120
- # override the binding, API services can add a binding such as
121
- # `"/v1/{name=users/*}/operations"` to their service configuration.
122
- # For backwards compatibility, the default name includes the operations
123
- # collection id, however overriding users must ensure the name binding
124
- # is the parent resource, without the operations collection id.
125
- #
126
118
  # @overload list_operations(request, options = nil)
127
119
  # Pass arguments to `list_operations` via a request object, either of type
128
120
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -390,8 +382,9 @@ module Google
390
382
  # other methods to check whether the cancellation succeeded or whether the
391
383
  # operation completed despite cancellation. On successful cancellation,
392
384
  # the operation is not deleted; instead, it becomes an operation with
393
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
394
- # corresponding to `Code.CANCELLED`.
385
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
386
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
387
+ # `Code.CANCELLED`.
395
388
  #
396
389
  # @overload cancel_operation(request, options = nil)
397
390
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -1538,6 +1531,20 @@ module Google
1538
1531
  ["name", %r{^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/?$}, false]
1539
1532
  ]
1540
1533
  )
1534
+ .with_bindings(
1535
+ uri_method: :get,
1536
+ uri_template: "/v1/{name}/operations",
1537
+ matches: [
1538
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/?$}, false]
1539
+ ]
1540
+ )
1541
+ .with_bindings(
1542
+ uri_method: :get,
1543
+ uri_template: "/v1/{name}/operations",
1544
+ matches: [
1545
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/?$}, false]
1546
+ ]
1547
+ )
1541
1548
  .with_bindings(
1542
1549
  uri_method: :get,
1543
1550
  uri_template: "/v1/{name}/operations",
@@ -2168,6 +2175,20 @@ module Google
2168
2175
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2169
2176
  ]
2170
2177
  )
2178
+ .with_bindings(
2179
+ uri_method: :get,
2180
+ uri_template: "/v1/{name}",
2181
+ matches: [
2182
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
2183
+ ]
2184
+ )
2185
+ .with_bindings(
2186
+ uri_method: :get,
2187
+ uri_template: "/v1/{name}",
2188
+ matches: [
2189
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2190
+ ]
2191
+ )
2171
2192
  .with_bindings(
2172
2193
  uri_method: :get,
2173
2194
  uri_template: "/v1/{name}",
@@ -2812,6 +2833,20 @@ module Google
2812
2833
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2813
2834
  ]
2814
2835
  )
2836
+ .with_bindings(
2837
+ uri_method: :delete,
2838
+ uri_template: "/v1/{name}",
2839
+ matches: [
2840
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
2841
+ ]
2842
+ )
2843
+ .with_bindings(
2844
+ uri_method: :delete,
2845
+ uri_template: "/v1/{name}",
2846
+ matches: [
2847
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
2848
+ ]
2849
+ )
2815
2850
  .with_bindings(
2816
2851
  uri_method: :delete,
2817
2852
  uri_template: "/v1/{name}",
@@ -3449,6 +3484,20 @@ module Google
3449
3484
  ["name", %r{^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+/?$}, false]
3450
3485
  ]
3451
3486
  )
3487
+ .with_bindings(
3488
+ uri_method: :post,
3489
+ uri_template: "/v1/{name}:cancel",
3490
+ matches: [
3491
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
3492
+ ]
3493
+ )
3494
+ .with_bindings(
3495
+ uri_method: :post,
3496
+ uri_template: "/v1/{name}:cancel",
3497
+ matches: [
3498
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
3499
+ ]
3500
+ )
3452
3501
  .with_bindings(
3453
3502
  uri_method: :post,
3454
3503
  uri_template: "/v1/{name}:cancel",
@@ -4065,6 +4114,20 @@ module Google
4065
4114
  ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
4066
4115
  ]
4067
4116
  )
4117
+ .with_bindings(
4118
+ uri_method: :post,
4119
+ uri_template: "/v1/{name}:wait",
4120
+ matches: [
4121
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
4122
+ ]
4123
+ )
4124
+ .with_bindings(
4125
+ uri_method: :post,
4126
+ uri_template: "/v1/{name}:wait",
4127
+ matches: [
4128
+ ["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
4129
+ ]
4130
+ )
4068
4131
  .with_bindings(
4069
4132
  uri_method: :post,
4070
4133
  uri_template: "/v1/{name}:wait",
@@ -447,12 +447,12 @@ module Google
447
447
  # coerced to 100.
448
448
  # @param page_token [::String]
449
449
  # A page token, received from a previous
450
- # [FeatureGroupAdminService.ListFeatureGroups][] call.
451
- # Provide this to retrieve the subsequent page.
450
+ # {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
451
+ # call. Provide this to retrieve the subsequent page.
452
452
  #
453
453
  # When paginating, all other parameters provided to
454
- # [FeatureGroupAdminService.ListFeatureGroups][] must
455
- # match the call that provided the page token.
454
+ # {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
455
+ # must match the call that provided the page token.
456
456
  # @param order_by [::String]
457
457
  # A comma-separated list of fields to order by, sorted in ascending order.
458
458
  # Use "desc" after a field name for descending.
@@ -124,14 +124,6 @@ module Google
124
124
  # Lists operations that match the specified filter in the request. If the
125
125
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
126
  #
127
- # NOTE: the `name` binding allows API services to override the binding
128
- # to use different resource name schemes, such as `users/*/operations`. To
129
- # override the binding, API services can add a binding such as
130
- # `"/v1/{name=users/*}/operations"` to their service configuration.
131
- # For backwards compatibility, the default name includes the operations
132
- # collection id, however overriding users must ensure the name binding
133
- # is the parent resource, without the operations collection id.
134
- #
135
127
  # @overload list_operations(request, options = nil)
136
128
  # Pass arguments to `list_operations` via a request object, either of type
137
129
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -421,8 +413,9 @@ module Google
421
413
  # other methods to check whether the cancellation succeeded or whether the
422
414
  # operation completed despite cancellation. On successful cancellation,
423
415
  # the operation is not deleted; instead, it becomes an operation with
424
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
425
- # corresponding to `Code.CANCELLED`.
416
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
417
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
418
+ # `Code.CANCELLED`.
426
419
  #
427
420
  # @overload cancel_operation(request, options = nil)
428
421
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -428,12 +428,12 @@ module Google
428
428
  # coerced to 100.
429
429
  # @param page_token [::String]
430
430
  # A page token, received from a previous
431
- # [FeatureGroupAdminService.ListFeatureGroups][] call.
432
- # Provide this to retrieve the subsequent page.
431
+ # {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Rest::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
432
+ # call. Provide this to retrieve the subsequent page.
433
433
  #
434
434
  # When paginating, all other parameters provided to
435
- # [FeatureGroupAdminService.ListFeatureGroups][] must
436
- # match the call that provided the page token.
435
+ # {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Rest::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
436
+ # must match the call that provided the page token.
437
437
  # @param order_by [::String]
438
438
  # A comma-separated list of fields to order by, sorted in ascending order.
439
439
  # Use "desc" after a field name for descending.