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
@@ -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",
@@ -1251,7 +1251,7 @@ module Google
1251
1251
  # @param options [::Gapic::CallOptions, ::Hash]
1252
1252
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1253
1253
  #
1254
- # @overload generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, safety_settings: nil, generation_config: nil)
1254
+ # @overload generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, tool_config: nil, safety_settings: nil, generation_config: nil)
1255
1255
  # Pass arguments to `generate_content` via keyword arguments. Note that at
1256
1256
  # least one keyword argument is required. To specify no parameters, or to keep all
1257
1257
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1277,6 +1277,9 @@ module Google
1277
1277
  # A `Tool` is a piece of code that enables the system to interact with
1278
1278
  # external systems to perform an action, or set of actions, outside of
1279
1279
  # knowledge and scope of the model.
1280
+ # @param tool_config [::Google::Cloud::AIPlatform::V1::ToolConfig, ::Hash]
1281
+ # Optional. Tool config. This config is shared for all tools provided in the
1282
+ # request.
1280
1283
  # @param safety_settings [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting, ::Hash>]
1281
1284
  # Optional. Per request settings for blocking unsafe content.
1282
1285
  # Enforced on GenerateContentResponse.candidates.
@@ -1361,7 +1364,7 @@ module Google
1361
1364
  # @param options [::Gapic::CallOptions, ::Hash]
1362
1365
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1363
1366
  #
1364
- # @overload stream_generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, safety_settings: nil, generation_config: nil)
1367
+ # @overload stream_generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, tool_config: nil, safety_settings: nil, generation_config: nil)
1365
1368
  # Pass arguments to `stream_generate_content` via keyword arguments. Note that at
1366
1369
  # least one keyword argument is required. To specify no parameters, or to keep all
1367
1370
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1387,6 +1390,9 @@ module Google
1387
1390
  # A `Tool` is a piece of code that enables the system to interact with
1388
1391
  # external systems to perform an action, or set of actions, outside of
1389
1392
  # knowledge and scope of the model.
1393
+ # @param tool_config [::Google::Cloud::AIPlatform::V1::ToolConfig, ::Hash]
1394
+ # Optional. Tool config. This config is shared for all tools provided in the
1395
+ # request.
1390
1396
  # @param safety_settings [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting, ::Hash>]
1391
1397
  # Optional. Per request settings for blocking unsafe content.
1392
1398
  # Enforced on GenerateContentResponse.candidates.
@@ -26,7 +26,8 @@ module Google
26
26
  # Credentials for the PredictionService API.
27
27
  class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
- "https://www.googleapis.com/auth/cloud-platform"
29
+ "https://www.googleapis.com/auth/cloud-platform",
30
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
30
31
  ]
31
32
  self.env_vars = [
32
33
  "GOOGLE_CLOUD_CREDENTIALS",
@@ -880,7 +880,7 @@ module Google
880
880
  # @param options [::Gapic::CallOptions, ::Hash]
881
881
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
882
882
  #
883
- # @overload generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, safety_settings: nil, generation_config: nil)
883
+ # @overload generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, tool_config: nil, safety_settings: nil, generation_config: nil)
884
884
  # Pass arguments to `generate_content` via keyword arguments. Note that at
885
885
  # least one keyword argument is required. To specify no parameters, or to keep all
886
886
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -906,6 +906,9 @@ module Google
906
906
  # A `Tool` is a piece of code that enables the system to interact with
907
907
  # external systems to perform an action, or set of actions, outside of
908
908
  # knowledge and scope of the model.
909
+ # @param tool_config [::Google::Cloud::AIPlatform::V1::ToolConfig, ::Hash]
910
+ # Optional. Tool config. This config is shared for all tools provided in the
911
+ # request.
909
912
  # @param safety_settings [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting, ::Hash>]
910
913
  # Optional. Per request settings for blocking unsafe content.
911
914
  # Enforced on GenerateContentResponse.candidates.
@@ -983,7 +986,7 @@ module Google
983
986
  # @param options [::Gapic::CallOptions, ::Hash]
984
987
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
985
988
  #
986
- # @overload stream_generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, safety_settings: nil, generation_config: nil)
989
+ # @overload stream_generate_content(model: nil, contents: nil, system_instruction: nil, tools: nil, tool_config: nil, safety_settings: nil, generation_config: nil)
987
990
  # Pass arguments to `stream_generate_content` via keyword arguments. Note that at
988
991
  # least one keyword argument is required. To specify no parameters, or to keep all
989
992
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1009,6 +1012,9 @@ module Google
1009
1012
  # A `Tool` is a piece of code that enables the system to interact with
1010
1013
  # external systems to perform an action, or set of actions, outside of
1011
1014
  # knowledge and scope of the model.
1015
+ # @param tool_config [::Google::Cloud::AIPlatform::V1::ToolConfig, ::Hash]
1016
+ # Optional. Tool config. This config is shared for all tools provided in the
1017
+ # request.
1012
1018
  # @param safety_settings [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting, ::Hash>]
1013
1019
  # Optional. Per request settings for blocking unsafe content.
1014
1020
  # Enforced on GenerateContentResponse.candidates.