google-cloud-ai_platform-v1 0.40.0 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +99 -0
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +92 -0
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +280 -0
  5. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +60 -0
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +280 -0
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +280 -0
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +280 -0
  9. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +280 -0
  10. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +280 -0
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +280 -0
  12. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +280 -0
  13. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +280 -0
  14. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +280 -0
  15. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +280 -0
  16. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +280 -0
  17. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +100 -0
  18. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +93 -0
  19. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +280 -0
  20. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +60 -0
  21. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +280 -0
  22. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +280 -0
  23. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +8 -2
  24. data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
  25. data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +8 -2
  26. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +280 -0
  27. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +280 -0
  28. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +280 -0
  29. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  30. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +280 -0
  31. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -4
  32. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  33. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
  34. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  35. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  36. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
  37. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  38. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  39. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
  40. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  41. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  42. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
  43. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  44. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
  45. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
  46. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
  47. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
  48. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
  49. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
  50. data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
  51. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +3 -1
  52. data/proto_docs/google/cloud/aiplatform/v1/content.rb +11 -47
  53. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  54. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
  56. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
  58. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
  59. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  61. data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
  62. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +17 -2
  63. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
  64. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
  65. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  66. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +15 -0
  67. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  71. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
  72. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +5 -0
  73. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa6709c46f2e9c7cd3fad41093715590edf4e37fc3f078369c16a215a6ffef48
4
- data.tar.gz: c8b04b99f942564b1b61994acc7cb34cfc168cff2013d75f7f25f84af3a34a24
3
+ metadata.gz: d517d376eeef3c6288fa914fcf1f2707672a5d6954158e986ffa32077788d050
4
+ data.tar.gz: 1f9b5be40019f6f9be8c90f43a99fc37e3fd90992e378a69f2bcce4af551069b
5
5
  SHA512:
6
- metadata.gz: 14877439c01f1aae78eb3c14036919bd9c17e1aff61f79ce49ac5ee94b0988278a9a59718f52fb56b3b7b847d0cac9376becec363a63d3808661d1e6a8665f17
7
- data.tar.gz: acc62338601a3caaaf51248aea892f0c4a89b28b5785e94eb82a10833263cf977e3bf54bb39558faf79b62872db85573d060529a08b9adbbb70364143a84191c
6
+ metadata.gz: 563cf9c4f65b2ae155569dfd88d508248c8cd7a9d54197340df8e376faf8825480f24e005a35fdf5ea9d33457151a4e61d6d2d9bac0de34c4588e9157f80aa0d
7
+ data.tar.gz: f2ef2fb8c21893e9cb6f01ad2ffb213aadeabdb4e5e9cc54ca2cf7fd1013c7dee0a2eaaa79c41a727e43f9fca7d7315ae364f2cceb8ce2327887af2d42fe3485
@@ -1000,6 +1000,98 @@ module Google
1000
1000
  raise ::Google::Cloud::Error.from_error(e)
1001
1001
  end
1002
1002
 
1003
+ ##
1004
+ # Updates a DatasetVersion.
1005
+ #
1006
+ # @overload update_dataset_version(request, options = nil)
1007
+ # Pass arguments to `update_dataset_version` via a request object, either of type
1008
+ # {::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest} or an equivalent Hash.
1009
+ #
1010
+ # @param request [::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest, ::Hash]
1011
+ # A request object representing the call parameters. Required. To specify no
1012
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1013
+ # @param options [::Gapic::CallOptions, ::Hash]
1014
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1015
+ #
1016
+ # @overload update_dataset_version(dataset_version: nil, update_mask: nil)
1017
+ # Pass arguments to `update_dataset_version` via keyword arguments. Note that at
1018
+ # least one keyword argument is required. To specify no parameters, or to keep all
1019
+ # the default parameter values, pass an empty Hash as a request object (see above).
1020
+ #
1021
+ # @param dataset_version [::Google::Cloud::AIPlatform::V1::DatasetVersion, ::Hash]
1022
+ # Required. The DatasetVersion which replaces the resource on the server.
1023
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1024
+ # Required. The update mask applies to the resource.
1025
+ # For the `FieldMask` definition, see
1026
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. Updatable fields:
1027
+ #
1028
+ # * `display_name`
1029
+ #
1030
+ # @yield [response, operation] Access the result along with the RPC operation
1031
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::DatasetVersion]
1032
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1033
+ #
1034
+ # @return [::Google::Cloud::AIPlatform::V1::DatasetVersion]
1035
+ #
1036
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1037
+ #
1038
+ # @example Basic example
1039
+ # require "google/cloud/ai_platform/v1"
1040
+ #
1041
+ # # Create a client object. The client can be reused for multiple calls.
1042
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Client.new
1043
+ #
1044
+ # # Create a request. To set request fields, pass in keyword arguments.
1045
+ # request = Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest.new
1046
+ #
1047
+ # # Call the update_dataset_version method.
1048
+ # result = client.update_dataset_version request
1049
+ #
1050
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::DatasetVersion.
1051
+ # p result
1052
+ #
1053
+ def update_dataset_version request, options = nil
1054
+ raise ::ArgumentError, "request must be provided" if request.nil?
1055
+
1056
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest
1057
+
1058
+ # Converts hash and nil to an options object
1059
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1060
+
1061
+ # Customize the options with defaults
1062
+ metadata = @config.rpcs.update_dataset_version.metadata.to_h
1063
+
1064
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1065
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1066
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1067
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
1068
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1069
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1070
+
1071
+ header_params = {}
1072
+ if request.dataset_version&.name
1073
+ header_params["dataset_version.name"] = request.dataset_version.name
1074
+ end
1075
+
1076
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1077
+ metadata[:"x-goog-request-params"] ||= request_params_header
1078
+
1079
+ options.apply_defaults timeout: @config.rpcs.update_dataset_version.timeout,
1080
+ metadata: metadata,
1081
+ retry_policy: @config.rpcs.update_dataset_version.retry_policy
1082
+
1083
+ options.apply_defaults timeout: @config.timeout,
1084
+ metadata: @config.metadata,
1085
+ retry_policy: @config.retry_policy
1086
+
1087
+ @dataset_service_stub.call_rpc :update_dataset_version, request, options: options do |response, operation|
1088
+ yield response, operation if block_given?
1089
+ return response
1090
+ end
1091
+ rescue ::GRPC::BadStatus => e
1092
+ raise ::Google::Cloud::Error.from_error(e)
1093
+ end
1094
+
1003
1095
  ##
1004
1096
  # Deletes a Dataset version.
1005
1097
  #
@@ -2230,6 +2322,11 @@ module Google
2230
2322
  #
2231
2323
  attr_reader :create_dataset_version
2232
2324
  ##
2325
+ # RPC-specific configuration for `update_dataset_version`
2326
+ # @return [::Gapic::Config::Method]
2327
+ #
2328
+ attr_reader :update_dataset_version
2329
+ ##
2233
2330
  # RPC-specific configuration for `delete_dataset_version`
2234
2331
  # @return [::Gapic::Config::Method]
2235
2332
  #
@@ -2298,6 +2395,8 @@ module Google
2298
2395
  @export_data = ::Gapic::Config::Method.new export_data_config
2299
2396
  create_dataset_version_config = parent_rpcs.create_dataset_version if parent_rpcs.respond_to? :create_dataset_version
2300
2397
  @create_dataset_version = ::Gapic::Config::Method.new create_dataset_version_config
2398
+ update_dataset_version_config = parent_rpcs.update_dataset_version if parent_rpcs.respond_to? :update_dataset_version
2399
+ @update_dataset_version = ::Gapic::Config::Method.new update_dataset_version_config
2301
2400
  delete_dataset_version_config = parent_rpcs.delete_dataset_version if parent_rpcs.respond_to? :delete_dataset_version
2302
2401
  @delete_dataset_version = ::Gapic::Config::Method.new delete_dataset_version_config
2303
2402
  get_dataset_version_config = parent_rpcs.get_dataset_version if parent_rpcs.respond_to? :get_dataset_version
@@ -939,6 +939,91 @@ module Google
939
939
  raise ::Google::Cloud::Error.from_error(e)
940
940
  end
941
941
 
942
+ ##
943
+ # Updates a DatasetVersion.
944
+ #
945
+ # @overload update_dataset_version(request, options = nil)
946
+ # Pass arguments to `update_dataset_version` via a request object, either of type
947
+ # {::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest} or an equivalent Hash.
948
+ #
949
+ # @param request [::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest, ::Hash]
950
+ # A request object representing the call parameters. Required. To specify no
951
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
952
+ # @param options [::Gapic::CallOptions, ::Hash]
953
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
954
+ #
955
+ # @overload update_dataset_version(dataset_version: nil, update_mask: nil)
956
+ # Pass arguments to `update_dataset_version` via keyword arguments. Note that at
957
+ # least one keyword argument is required. To specify no parameters, or to keep all
958
+ # the default parameter values, pass an empty Hash as a request object (see above).
959
+ #
960
+ # @param dataset_version [::Google::Cloud::AIPlatform::V1::DatasetVersion, ::Hash]
961
+ # Required. The DatasetVersion which replaces the resource on the server.
962
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
963
+ # Required. The update mask applies to the resource.
964
+ # For the `FieldMask` definition, see
965
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. Updatable fields:
966
+ #
967
+ # * `display_name`
968
+ # @yield [result, operation] Access the result along with the TransportOperation object
969
+ # @yieldparam result [::Google::Cloud::AIPlatform::V1::DatasetVersion]
970
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
971
+ #
972
+ # @return [::Google::Cloud::AIPlatform::V1::DatasetVersion]
973
+ #
974
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
975
+ #
976
+ # @example Basic example
977
+ # require "google/cloud/ai_platform/v1"
978
+ #
979
+ # # Create a client object. The client can be reused for multiple calls.
980
+ # client = Google::Cloud::AIPlatform::V1::DatasetService::Rest::Client.new
981
+ #
982
+ # # Create a request. To set request fields, pass in keyword arguments.
983
+ # request = Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest.new
984
+ #
985
+ # # Call the update_dataset_version method.
986
+ # result = client.update_dataset_version request
987
+ #
988
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::DatasetVersion.
989
+ # p result
990
+ #
991
+ def update_dataset_version request, options = nil
992
+ raise ::ArgumentError, "request must be provided" if request.nil?
993
+
994
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest
995
+
996
+ # Converts hash and nil to an options object
997
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
998
+
999
+ # Customize the options with defaults
1000
+ call_metadata = @config.rpcs.update_dataset_version.metadata.to_h
1001
+
1002
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1003
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1004
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1005
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION,
1006
+ transports_version_send: [:rest]
1007
+
1008
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1009
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1010
+
1011
+ options.apply_defaults timeout: @config.rpcs.update_dataset_version.timeout,
1012
+ metadata: call_metadata,
1013
+ retry_policy: @config.rpcs.update_dataset_version.retry_policy
1014
+
1015
+ options.apply_defaults timeout: @config.timeout,
1016
+ metadata: @config.metadata,
1017
+ retry_policy: @config.retry_policy
1018
+
1019
+ @dataset_service_stub.update_dataset_version request, options do |result, operation|
1020
+ yield result, operation if block_given?
1021
+ return result
1022
+ end
1023
+ rescue ::Gapic::Rest::Error => e
1024
+ raise ::Google::Cloud::Error.from_error(e)
1025
+ end
1026
+
942
1027
  ##
943
1028
  # Deletes a Dataset version.
944
1029
  #
@@ -2086,6 +2171,11 @@ module Google
2086
2171
  #
2087
2172
  attr_reader :create_dataset_version
2088
2173
  ##
2174
+ # RPC-specific configuration for `update_dataset_version`
2175
+ # @return [::Gapic::Config::Method]
2176
+ #
2177
+ attr_reader :update_dataset_version
2178
+ ##
2089
2179
  # RPC-specific configuration for `delete_dataset_version`
2090
2180
  # @return [::Gapic::Config::Method]
2091
2181
  #
@@ -2154,6 +2244,8 @@ module Google
2154
2244
  @export_data = ::Gapic::Config::Method.new export_data_config
2155
2245
  create_dataset_version_config = parent_rpcs.create_dataset_version if parent_rpcs.respond_to? :create_dataset_version
2156
2246
  @create_dataset_version = ::Gapic::Config::Method.new create_dataset_version_config
2247
+ update_dataset_version_config = parent_rpcs.update_dataset_version if parent_rpcs.respond_to? :update_dataset_version
2248
+ @update_dataset_version = ::Gapic::Config::Method.new update_dataset_version_config
2157
2249
  delete_dataset_version_config = parent_rpcs.delete_dataset_version if parent_rpcs.respond_to? :delete_dataset_version
2158
2250
  @delete_dataset_version = ::Gapic::Config::Method.new delete_dataset_version_config
2159
2251
  get_dataset_version_config = parent_rpcs.get_dataset_version if parent_rpcs.respond_to? :get_dataset_version
@@ -971,6 +971,20 @@ module Google
971
971
  ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
972
972
  ]
973
973
  )
974
+ .with_bindings(
975
+ uri_method: :get,
976
+ uri_template: "/ui/{name}/operations",
977
+ matches: [
978
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
979
+ ]
980
+ )
981
+ .with_bindings(
982
+ uri_method: :get,
983
+ uri_template: "/ui/{name}/operations",
984
+ matches: [
985
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/?$}, false]
986
+ ]
987
+ )
974
988
  .with_bindings(
975
989
  uri_method: :get,
976
990
  uri_template: "/ui/{name}/operations",
@@ -1167,6 +1181,27 @@ module Google
1167
1181
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/?$}, false]
1168
1182
  ]
1169
1183
  )
1184
+ .with_bindings(
1185
+ uri_method: :get,
1186
+ uri_template: "/ui/{name}/operations",
1187
+ matches: [
1188
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/?$}, false]
1189
+ ]
1190
+ )
1191
+ .with_bindings(
1192
+ uri_method: :get,
1193
+ uri_template: "/ui/{name}/operations",
1194
+ matches: [
1195
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/?$}, false]
1196
+ ]
1197
+ )
1198
+ .with_bindings(
1199
+ uri_method: :get,
1200
+ uri_template: "/ui/{name}/operations",
1201
+ matches: [
1202
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
1203
+ ]
1204
+ )
1170
1205
  .with_bindings(
1171
1206
  uri_method: :get,
1172
1207
  uri_template: "/ui/{name}/operations",
@@ -1447,6 +1482,27 @@ module Google
1447
1482
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/?$}, false]
1448
1483
  ]
1449
1484
  )
1485
+ .with_bindings(
1486
+ uri_method: :get,
1487
+ uri_template: "/v1/{name}/operations",
1488
+ matches: [
1489
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/?$}, false]
1490
+ ]
1491
+ )
1492
+ .with_bindings(
1493
+ uri_method: :get,
1494
+ uri_template: "/v1/{name}/operations",
1495
+ matches: [
1496
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/?$}, false]
1497
+ ]
1498
+ )
1499
+ .with_bindings(
1500
+ uri_method: :get,
1501
+ uri_template: "/v1/{name}/operations",
1502
+ matches: [
1503
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
1504
+ ]
1505
+ )
1450
1506
  .with_bindings(
1451
1507
  uri_method: :get,
1452
1508
  uri_template: "/v1/{name}/operations",
@@ -1573,6 +1629,20 @@ module Google
1573
1629
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
1574
1630
  ]
1575
1631
  )
1632
+ .with_bindings(
1633
+ uri_method: :get,
1634
+ uri_template: "/ui/{name}",
1635
+ matches: [
1636
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
1637
+ ]
1638
+ )
1639
+ .with_bindings(
1640
+ uri_method: :get,
1641
+ uri_template: "/ui/{name}",
1642
+ matches: [
1643
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
1644
+ ]
1645
+ )
1576
1646
  .with_bindings(
1577
1647
  uri_method: :get,
1578
1648
  uri_template: "/ui/{name}",
@@ -1776,6 +1846,27 @@ module Google
1776
1846
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
1777
1847
  ]
1778
1848
  )
1849
+ .with_bindings(
1850
+ uri_method: :get,
1851
+ uri_template: "/ui/{name}",
1852
+ matches: [
1853
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
1854
+ ]
1855
+ )
1856
+ .with_bindings(
1857
+ uri_method: :get,
1858
+ uri_template: "/ui/{name}",
1859
+ matches: [
1860
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
1861
+ ]
1862
+ )
1863
+ .with_bindings(
1864
+ uri_method: :get,
1865
+ uri_template: "/ui/{name}",
1866
+ matches: [
1867
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
1868
+ ]
1869
+ )
1779
1870
  .with_bindings(
1780
1871
  uri_method: :get,
1781
1872
  uri_template: "/ui/{name}",
@@ -2056,6 +2147,27 @@ module Google
2056
2147
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
2057
2148
  ]
2058
2149
  )
2150
+ .with_bindings(
2151
+ uri_method: :get,
2152
+ uri_template: "/v1/{name}",
2153
+ matches: [
2154
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
2155
+ ]
2156
+ )
2157
+ .with_bindings(
2158
+ uri_method: :get,
2159
+ uri_template: "/v1/{name}",
2160
+ matches: [
2161
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
2162
+ ]
2163
+ )
2164
+ .with_bindings(
2165
+ uri_method: :get,
2166
+ uri_template: "/v1/{name}",
2167
+ matches: [
2168
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2169
+ ]
2170
+ )
2059
2171
  .with_bindings(
2060
2172
  uri_method: :get,
2061
2173
  uri_template: "/v1/{name}",
@@ -2182,6 +2294,20 @@ module Google
2182
2294
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2183
2295
  ]
2184
2296
  )
2297
+ .with_bindings(
2298
+ uri_method: :delete,
2299
+ uri_template: "/ui/{name}",
2300
+ matches: [
2301
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2302
+ ]
2303
+ )
2304
+ .with_bindings(
2305
+ uri_method: :delete,
2306
+ uri_template: "/ui/{name}",
2307
+ matches: [
2308
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2309
+ ]
2310
+ )
2185
2311
  .with_bindings(
2186
2312
  uri_method: :delete,
2187
2313
  uri_template: "/ui/{name}",
@@ -2371,6 +2497,27 @@ module Google
2371
2497
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
2372
2498
  ]
2373
2499
  )
2500
+ .with_bindings(
2501
+ uri_method: :delete,
2502
+ uri_template: "/ui/{name}",
2503
+ matches: [
2504
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
2505
+ ]
2506
+ )
2507
+ .with_bindings(
2508
+ uri_method: :delete,
2509
+ uri_template: "/ui/{name}",
2510
+ matches: [
2511
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
2512
+ ]
2513
+ )
2514
+ .with_bindings(
2515
+ uri_method: :delete,
2516
+ uri_template: "/ui/{name}",
2517
+ matches: [
2518
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2519
+ ]
2520
+ )
2374
2521
  .with_bindings(
2375
2522
  uri_method: :delete,
2376
2523
  uri_template: "/ui/{name}",
@@ -2644,6 +2791,27 @@ module Google
2644
2791
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
2645
2792
  ]
2646
2793
  )
2794
+ .with_bindings(
2795
+ uri_method: :delete,
2796
+ uri_template: "/v1/{name}",
2797
+ matches: [
2798
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
2799
+ ]
2800
+ )
2801
+ .with_bindings(
2802
+ uri_method: :delete,
2803
+ uri_template: "/v1/{name}",
2804
+ matches: [
2805
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
2806
+ ]
2807
+ )
2808
+ .with_bindings(
2809
+ uri_method: :delete,
2810
+ uri_template: "/v1/{name}",
2811
+ matches: [
2812
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
2813
+ ]
2814
+ )
2647
2815
  .with_bindings(
2648
2816
  uri_method: :delete,
2649
2817
  uri_template: "/v1/{name}",
@@ -2770,6 +2938,20 @@ module Google
2770
2938
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2771
2939
  ]
2772
2940
  )
2941
+ .with_bindings(
2942
+ uri_method: :post,
2943
+ uri_template: "/ui/{name}:cancel",
2944
+ matches: [
2945
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2946
+ ]
2947
+ )
2948
+ .with_bindings(
2949
+ uri_method: :post,
2950
+ uri_template: "/ui/{name}:cancel",
2951
+ matches: [
2952
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2953
+ ]
2954
+ )
2773
2955
  .with_bindings(
2774
2956
  uri_method: :post,
2775
2957
  uri_template: "/ui/{name}:cancel",
@@ -2966,6 +3148,27 @@ module Google
2966
3148
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
2967
3149
  ]
2968
3150
  )
3151
+ .with_bindings(
3152
+ uri_method: :post,
3153
+ uri_template: "/ui/{name}:cancel",
3154
+ matches: [
3155
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
3156
+ ]
3157
+ )
3158
+ .with_bindings(
3159
+ uri_method: :post,
3160
+ uri_template: "/ui/{name}:cancel",
3161
+ matches: [
3162
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
3163
+ ]
3164
+ )
3165
+ .with_bindings(
3166
+ uri_method: :post,
3167
+ uri_template: "/ui/{name}:cancel",
3168
+ matches: [
3169
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
3170
+ ]
3171
+ )
2969
3172
  .with_bindings(
2970
3173
  uri_method: :post,
2971
3174
  uri_template: "/ui/{name}:cancel",
@@ -3218,6 +3421,27 @@ module Google
3218
3421
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
3219
3422
  ]
3220
3423
  )
3424
+ .with_bindings(
3425
+ uri_method: :post,
3426
+ uri_template: "/v1/{name}:cancel",
3427
+ matches: [
3428
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
3429
+ ]
3430
+ )
3431
+ .with_bindings(
3432
+ uri_method: :post,
3433
+ uri_template: "/v1/{name}:cancel",
3434
+ matches: [
3435
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
3436
+ ]
3437
+ )
3438
+ .with_bindings(
3439
+ uri_method: :post,
3440
+ uri_template: "/v1/{name}:cancel",
3441
+ matches: [
3442
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
3443
+ ]
3444
+ )
3221
3445
  .with_bindings(
3222
3446
  uri_method: :post,
3223
3447
  uri_template: "/v1/{name}:cancel",
@@ -3316,6 +3540,20 @@ module Google
3316
3540
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
3317
3541
  ]
3318
3542
  )
3543
+ .with_bindings(
3544
+ uri_method: :post,
3545
+ uri_template: "/ui/{name}:wait",
3546
+ matches: [
3547
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
3548
+ ]
3549
+ )
3550
+ .with_bindings(
3551
+ uri_method: :post,
3552
+ uri_template: "/ui/{name}:wait",
3553
+ matches: [
3554
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
3555
+ ]
3556
+ )
3319
3557
  .with_bindings(
3320
3558
  uri_method: :post,
3321
3559
  uri_template: "/ui/{name}:wait",
@@ -3512,6 +3750,27 @@ module Google
3512
3750
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
3513
3751
  ]
3514
3752
  )
3753
+ .with_bindings(
3754
+ uri_method: :post,
3755
+ uri_template: "/ui/{name}:wait",
3756
+ matches: [
3757
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
3758
+ ]
3759
+ )
3760
+ .with_bindings(
3761
+ uri_method: :post,
3762
+ uri_template: "/ui/{name}:wait",
3763
+ matches: [
3764
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
3765
+ ]
3766
+ )
3767
+ .with_bindings(
3768
+ uri_method: :post,
3769
+ uri_template: "/ui/{name}:wait",
3770
+ matches: [
3771
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
3772
+ ]
3773
+ )
3515
3774
  .with_bindings(
3516
3775
  uri_method: :post,
3517
3776
  uri_template: "/ui/{name}:wait",
@@ -3785,6 +4044,27 @@ module Google
3785
4044
  ["name", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/evaluations/[^/]+/operations/[^/]+/?$}, false]
3786
4045
  ]
3787
4046
  )
4047
+ .with_bindings(
4048
+ uri_method: :post,
4049
+ uri_template: "/v1/{name}:wait",
4050
+ matches: [
4051
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookExecutionJobs/[^/]+/operations/[^/]+/?$}, false]
4052
+ ]
4053
+ )
4054
+ .with_bindings(
4055
+ uri_method: :post,
4056
+ uri_template: "/v1/{name}:wait",
4057
+ matches: [
4058
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+/operations/[^/]+/?$}, false]
4059
+ ]
4060
+ )
4061
+ .with_bindings(
4062
+ uri_method: :post,
4063
+ uri_template: "/v1/{name}:wait",
4064
+ matches: [
4065
+ ["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
4066
+ ]
4067
+ )
3788
4068
  .with_bindings(
3789
4069
  uri_method: :post,
3790
4070
  uri_template: "/v1/{name}:wait",