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.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +99 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +92 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +100 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +93 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +8 -2
- data/lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +8 -2
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +280 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +280 -0
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -4
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +11 -47
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +17 -2
- data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
- data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +15 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +5 -0
- metadata +2 -2
@@ -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",
|
@@ -213,6 +213,44 @@ module Google
|
|
213
213
|
result
|
214
214
|
end
|
215
215
|
|
216
|
+
##
|
217
|
+
# Baseline implementation for the update_notebook_runtime_template REST call
|
218
|
+
#
|
219
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest]
|
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::Cloud::AIPlatform::V1::NotebookRuntimeTemplate]
|
226
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
227
|
+
#
|
228
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate]
|
229
|
+
# A result object deserialized from the server's reply
|
230
|
+
def update_notebook_runtime_template 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_notebook_runtime_template_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::Cloud::AIPlatform::V1::NotebookRuntimeTemplate.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 assign_notebook_runtime REST call
|
218
256
|
#
|
@@ -526,6 +564,28 @@ module Google
|
|
526
564
|
transcoder.transcode request_pb
|
527
565
|
end
|
528
566
|
|
567
|
+
##
|
568
|
+
# @private
|
569
|
+
#
|
570
|
+
# GRPC transcoding helper method for the update_notebook_runtime_template REST call
|
571
|
+
#
|
572
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest]
|
573
|
+
# A request object representing the call parameters. Required.
|
574
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
575
|
+
# Uri, Body, Query string parameters
|
576
|
+
def self.transcode_update_notebook_runtime_template_request request_pb
|
577
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
578
|
+
.with_bindings(
|
579
|
+
uri_method: :patch,
|
580
|
+
uri_template: "/v1/{notebook_runtime_template.name}",
|
581
|
+
body: "notebook_runtime_template",
|
582
|
+
matches: [
|
583
|
+
["notebook_runtime_template.name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
584
|
+
]
|
585
|
+
)
|
586
|
+
transcoder.transcode request_pb
|
587
|
+
end
|
588
|
+
|
529
589
|
##
|
530
590
|
# @private
|
531
591
|
#
|