google-cloud-ai_platform-v1 0.40.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) 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 +70 -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 +70 -0
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +70 -0
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +70 -0
  9. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +70 -0
  10. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +70 -0
  11. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +70 -0
  12. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +70 -0
  13. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +70 -0
  14. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +70 -0
  15. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +70 -0
  16. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +70 -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 +70 -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 +70 -0
  22. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +70 -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/prediction_service/rest/service_stub.rb +16 -0
  27. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +70 -0
  28. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +70 -0
  29. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +70 -0
  30. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  31. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +70 -0
  32. data/lib/google/cloud/aiplatform/v1/content_pb.rb +3 -4
  33. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  34. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +3 -2
  35. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  36. data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
  37. data/lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb +3 -1
  38. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +3 -1
  39. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  40. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +3 -1
  41. data/lib/google/cloud/aiplatform/v1/index_pb.rb +2 -1
  42. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
  43. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +2 -1
  44. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +2 -1
  45. data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +3 -1
  46. data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +2 -1
  47. data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +2 -0
  48. data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -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/proto_docs/google/cloud/aiplatform/v1/content.rb +9 -48
  52. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  53. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +17 -0
  54. data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +4 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +23 -0
  56. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +3 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +3 -3
  58. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +4 -0
  59. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +24 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/index.rb +23 -3
  61. data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +17 -2
  62. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +18 -1
  63. data/proto_docs/google/cloud/aiplatform/v1/metadata_store.rb +13 -0
  64. data/proto_docs/google/cloud/aiplatform/v1/model.rb +1 -1
  65. data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +15 -0
  66. data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +18 -0
  67. data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +63 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  69. data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
  70. 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",
@@ -1573,6 +1587,20 @@ module Google
1573
1587
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
1574
1588
  ]
1575
1589
  )
1590
+ .with_bindings(
1591
+ uri_method: :get,
1592
+ uri_template: "/ui/{name}",
1593
+ matches: [
1594
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
1595
+ ]
1596
+ )
1597
+ .with_bindings(
1598
+ uri_method: :get,
1599
+ uri_template: "/ui/{name}",
1600
+ matches: [
1601
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
1602
+ ]
1603
+ )
1576
1604
  .with_bindings(
1577
1605
  uri_method: :get,
1578
1606
  uri_template: "/ui/{name}",
@@ -2182,6 +2210,20 @@ module Google
2182
2210
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2183
2211
  ]
2184
2212
  )
2213
+ .with_bindings(
2214
+ uri_method: :delete,
2215
+ uri_template: "/ui/{name}",
2216
+ matches: [
2217
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2218
+ ]
2219
+ )
2220
+ .with_bindings(
2221
+ uri_method: :delete,
2222
+ uri_template: "/ui/{name}",
2223
+ matches: [
2224
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2225
+ ]
2226
+ )
2185
2227
  .with_bindings(
2186
2228
  uri_method: :delete,
2187
2229
  uri_template: "/ui/{name}",
@@ -2770,6 +2812,20 @@ module Google
2770
2812
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2771
2813
  ]
2772
2814
  )
2815
+ .with_bindings(
2816
+ uri_method: :post,
2817
+ uri_template: "/ui/{name}:cancel",
2818
+ matches: [
2819
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2820
+ ]
2821
+ )
2822
+ .with_bindings(
2823
+ uri_method: :post,
2824
+ uri_template: "/ui/{name}:cancel",
2825
+ matches: [
2826
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2827
+ ]
2828
+ )
2773
2829
  .with_bindings(
2774
2830
  uri_method: :post,
2775
2831
  uri_template: "/ui/{name}:cancel",
@@ -3316,6 +3372,20 @@ module Google
3316
3372
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
3317
3373
  ]
3318
3374
  )
3375
+ .with_bindings(
3376
+ uri_method: :post,
3377
+ uri_template: "/ui/{name}:wait",
3378
+ matches: [
3379
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
3380
+ ]
3381
+ )
3382
+ .with_bindings(
3383
+ uri_method: :post,
3384
+ uri_template: "/ui/{name}:wait",
3385
+ matches: [
3386
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
3387
+ ]
3388
+ )
3319
3389
  .with_bindings(
3320
3390
  uri_method: :post,
3321
3391
  uri_template: "/ui/{name}:wait",
@@ -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",
@@ -1573,6 +1587,20 @@ module Google
1573
1587
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
1574
1588
  ]
1575
1589
  )
1590
+ .with_bindings(
1591
+ uri_method: :get,
1592
+ uri_template: "/ui/{name}",
1593
+ matches: [
1594
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
1595
+ ]
1596
+ )
1597
+ .with_bindings(
1598
+ uri_method: :get,
1599
+ uri_template: "/ui/{name}",
1600
+ matches: [
1601
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
1602
+ ]
1603
+ )
1576
1604
  .with_bindings(
1577
1605
  uri_method: :get,
1578
1606
  uri_template: "/ui/{name}",
@@ -2182,6 +2210,20 @@ module Google
2182
2210
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2183
2211
  ]
2184
2212
  )
2213
+ .with_bindings(
2214
+ uri_method: :delete,
2215
+ uri_template: "/ui/{name}",
2216
+ matches: [
2217
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2218
+ ]
2219
+ )
2220
+ .with_bindings(
2221
+ uri_method: :delete,
2222
+ uri_template: "/ui/{name}",
2223
+ matches: [
2224
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2225
+ ]
2226
+ )
2185
2227
  .with_bindings(
2186
2228
  uri_method: :delete,
2187
2229
  uri_template: "/ui/{name}",
@@ -2770,6 +2812,20 @@ module Google
2770
2812
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2771
2813
  ]
2772
2814
  )
2815
+ .with_bindings(
2816
+ uri_method: :post,
2817
+ uri_template: "/ui/{name}:cancel",
2818
+ matches: [
2819
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2820
+ ]
2821
+ )
2822
+ .with_bindings(
2823
+ uri_method: :post,
2824
+ uri_template: "/ui/{name}:cancel",
2825
+ matches: [
2826
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2827
+ ]
2828
+ )
2773
2829
  .with_bindings(
2774
2830
  uri_method: :post,
2775
2831
  uri_template: "/ui/{name}:cancel",
@@ -3316,6 +3372,20 @@ module Google
3316
3372
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
3317
3373
  ]
3318
3374
  )
3375
+ .with_bindings(
3376
+ uri_method: :post,
3377
+ uri_template: "/ui/{name}:wait",
3378
+ matches: [
3379
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
3380
+ ]
3381
+ )
3382
+ .with_bindings(
3383
+ uri_method: :post,
3384
+ uri_template: "/ui/{name}:wait",
3385
+ matches: [
3386
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
3387
+ ]
3388
+ )
3319
3389
  .with_bindings(
3320
3390
  uri_method: :post,
3321
3391
  uri_template: "/ui/{name}:wait",
@@ -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",
@@ -1573,6 +1587,20 @@ module Google
1573
1587
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
1574
1588
  ]
1575
1589
  )
1590
+ .with_bindings(
1591
+ uri_method: :get,
1592
+ uri_template: "/ui/{name}",
1593
+ matches: [
1594
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
1595
+ ]
1596
+ )
1597
+ .with_bindings(
1598
+ uri_method: :get,
1599
+ uri_template: "/ui/{name}",
1600
+ matches: [
1601
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
1602
+ ]
1603
+ )
1576
1604
  .with_bindings(
1577
1605
  uri_method: :get,
1578
1606
  uri_template: "/ui/{name}",
@@ -2182,6 +2210,20 @@ module Google
2182
2210
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2183
2211
  ]
2184
2212
  )
2213
+ .with_bindings(
2214
+ uri_method: :delete,
2215
+ uri_template: "/ui/{name}",
2216
+ matches: [
2217
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2218
+ ]
2219
+ )
2220
+ .with_bindings(
2221
+ uri_method: :delete,
2222
+ uri_template: "/ui/{name}",
2223
+ matches: [
2224
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2225
+ ]
2226
+ )
2185
2227
  .with_bindings(
2186
2228
  uri_method: :delete,
2187
2229
  uri_template: "/ui/{name}",
@@ -2770,6 +2812,20 @@ module Google
2770
2812
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2771
2813
  ]
2772
2814
  )
2815
+ .with_bindings(
2816
+ uri_method: :post,
2817
+ uri_template: "/ui/{name}:cancel",
2818
+ matches: [
2819
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2820
+ ]
2821
+ )
2822
+ .with_bindings(
2823
+ uri_method: :post,
2824
+ uri_template: "/ui/{name}:cancel",
2825
+ matches: [
2826
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2827
+ ]
2828
+ )
2773
2829
  .with_bindings(
2774
2830
  uri_method: :post,
2775
2831
  uri_template: "/ui/{name}:cancel",
@@ -3316,6 +3372,20 @@ module Google
3316
3372
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
3317
3373
  ]
3318
3374
  )
3375
+ .with_bindings(
3376
+ uri_method: :post,
3377
+ uri_template: "/ui/{name}:wait",
3378
+ matches: [
3379
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
3380
+ ]
3381
+ )
3382
+ .with_bindings(
3383
+ uri_method: :post,
3384
+ uri_template: "/ui/{name}:wait",
3385
+ matches: [
3386
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
3387
+ ]
3388
+ )
3319
3389
  .with_bindings(
3320
3390
  uri_method: :post,
3321
3391
  uri_template: "/ui/{name}:wait",
@@ -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",
@@ -1573,6 +1587,20 @@ module Google
1573
1587
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
1574
1588
  ]
1575
1589
  )
1590
+ .with_bindings(
1591
+ uri_method: :get,
1592
+ uri_template: "/ui/{name}",
1593
+ matches: [
1594
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
1595
+ ]
1596
+ )
1597
+ .with_bindings(
1598
+ uri_method: :get,
1599
+ uri_template: "/ui/{name}",
1600
+ matches: [
1601
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
1602
+ ]
1603
+ )
1576
1604
  .with_bindings(
1577
1605
  uri_method: :get,
1578
1606
  uri_template: "/ui/{name}",
@@ -2182,6 +2210,20 @@ module Google
2182
2210
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2183
2211
  ]
2184
2212
  )
2213
+ .with_bindings(
2214
+ uri_method: :delete,
2215
+ uri_template: "/ui/{name}",
2216
+ matches: [
2217
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2218
+ ]
2219
+ )
2220
+ .with_bindings(
2221
+ uri_method: :delete,
2222
+ uri_template: "/ui/{name}",
2223
+ matches: [
2224
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2225
+ ]
2226
+ )
2185
2227
  .with_bindings(
2186
2228
  uri_method: :delete,
2187
2229
  uri_template: "/ui/{name}",
@@ -2770,6 +2812,20 @@ module Google
2770
2812
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
2771
2813
  ]
2772
2814
  )
2815
+ .with_bindings(
2816
+ uri_method: :post,
2817
+ uri_template: "/ui/{name}:cancel",
2818
+ matches: [
2819
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
2820
+ ]
2821
+ )
2822
+ .with_bindings(
2823
+ uri_method: :post,
2824
+ uri_template: "/ui/{name}:cancel",
2825
+ matches: [
2826
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
2827
+ ]
2828
+ )
2773
2829
  .with_bindings(
2774
2830
  uri_method: :post,
2775
2831
  uri_template: "/ui/{name}:cancel",
@@ -3316,6 +3372,20 @@ module Google
3316
3372
  ["name", %r{^projects/[^/]+/locations/[^/]+/operations/[^/]+/?$}, false]
3317
3373
  ]
3318
3374
  )
3375
+ .with_bindings(
3376
+ uri_method: :post,
3377
+ uri_template: "/ui/{name}:wait",
3378
+ matches: [
3379
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/operations/[^/]+/?$}, false]
3380
+ ]
3381
+ )
3382
+ .with_bindings(
3383
+ uri_method: :post,
3384
+ uri_template: "/ui/{name}:wait",
3385
+ matches: [
3386
+ ["name", %r{^projects/[^/]+/locations/[^/]+/apps/[^/]+/operations/[^/]+/?$}, false]
3387
+ ]
3388
+ )
3319
3389
  .with_bindings(
3320
3390
  uri_method: :post,
3321
3391
  uri_template: "/ui/{name}:wait",
@@ -625,6 +625,99 @@ module Google
625
625
  raise ::Google::Cloud::Error.from_error(e)
626
626
  end
627
627
 
628
+ ##
629
+ # Updates a NotebookRuntimeTemplate.
630
+ #
631
+ # @overload update_notebook_runtime_template(request, options = nil)
632
+ # Pass arguments to `update_notebook_runtime_template` via a request object, either of type
633
+ # {::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest} or an equivalent Hash.
634
+ #
635
+ # @param request [::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest, ::Hash]
636
+ # A request object representing the call parameters. Required. To specify no
637
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
638
+ # @param options [::Gapic::CallOptions, ::Hash]
639
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
640
+ #
641
+ # @overload update_notebook_runtime_template(notebook_runtime_template: nil, update_mask: nil)
642
+ # Pass arguments to `update_notebook_runtime_template` via keyword arguments. Note that at
643
+ # least one keyword argument is required. To specify no parameters, or to keep all
644
+ # the default parameter values, pass an empty Hash as a request object (see above).
645
+ #
646
+ # @param notebook_runtime_template [::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate, ::Hash]
647
+ # Required. The NotebookRuntimeTemplate to update.
648
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
649
+ # Required. The update mask applies to the resource.
650
+ # For the `FieldMask` definition, see
651
+ # {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. Input format:
652
+ # `{paths: "${updated_filed}"}` Updatable fields:
653
+ #
654
+ # * `encryption_spec.kms_key_name`
655
+ #
656
+ # @yield [response, operation] Access the result along with the RPC operation
657
+ # @yieldparam response [::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate]
658
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
659
+ #
660
+ # @return [::Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate]
661
+ #
662
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
663
+ #
664
+ # @example Basic example
665
+ # require "google/cloud/ai_platform/v1"
666
+ #
667
+ # # Create a client object. The client can be reused for multiple calls.
668
+ # client = Google::Cloud::AIPlatform::V1::NotebookService::Client.new
669
+ #
670
+ # # Create a request. To set request fields, pass in keyword arguments.
671
+ # request = Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest.new
672
+ #
673
+ # # Call the update_notebook_runtime_template method.
674
+ # result = client.update_notebook_runtime_template request
675
+ #
676
+ # # The returned object is of type Google::Cloud::AIPlatform::V1::NotebookRuntimeTemplate.
677
+ # p result
678
+ #
679
+ def update_notebook_runtime_template request, options = nil
680
+ raise ::ArgumentError, "request must be provided" if request.nil?
681
+
682
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateNotebookRuntimeTemplateRequest
683
+
684
+ # Converts hash and nil to an options object
685
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
686
+
687
+ # Customize the options with defaults
688
+ metadata = @config.rpcs.update_notebook_runtime_template.metadata.to_h
689
+
690
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
691
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
692
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
693
+ gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
694
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
695
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
696
+
697
+ header_params = {}
698
+ if request.notebook_runtime_template&.name
699
+ header_params["notebook_runtime_template.name"] = request.notebook_runtime_template.name
700
+ end
701
+
702
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
703
+ metadata[:"x-goog-request-params"] ||= request_params_header
704
+
705
+ options.apply_defaults timeout: @config.rpcs.update_notebook_runtime_template.timeout,
706
+ metadata: metadata,
707
+ retry_policy: @config.rpcs.update_notebook_runtime_template.retry_policy
708
+
709
+ options.apply_defaults timeout: @config.timeout,
710
+ metadata: @config.metadata,
711
+ retry_policy: @config.retry_policy
712
+
713
+ @notebook_service_stub.call_rpc :update_notebook_runtime_template, request, options: options do |response, operation|
714
+ yield response, operation if block_given?
715
+ return response
716
+ end
717
+ rescue ::GRPC::BadStatus => e
718
+ raise ::Google::Cloud::Error.from_error(e)
719
+ end
720
+
628
721
  ##
629
722
  # Assigns a NotebookRuntime to a user for a particular Notebook file. This
630
723
  # method will either returns an existing assignment or generates a new one.
@@ -1432,6 +1525,11 @@ module Google
1432
1525
  #
1433
1526
  attr_reader :delete_notebook_runtime_template
1434
1527
  ##
1528
+ # RPC-specific configuration for `update_notebook_runtime_template`
1529
+ # @return [::Gapic::Config::Method]
1530
+ #
1531
+ attr_reader :update_notebook_runtime_template
1532
+ ##
1435
1533
  # RPC-specific configuration for `assign_notebook_runtime`
1436
1534
  # @return [::Gapic::Config::Method]
1437
1535
  #
@@ -1472,6 +1570,8 @@ module Google
1472
1570
  @list_notebook_runtime_templates = ::Gapic::Config::Method.new list_notebook_runtime_templates_config
1473
1571
  delete_notebook_runtime_template_config = parent_rpcs.delete_notebook_runtime_template if parent_rpcs.respond_to? :delete_notebook_runtime_template
1474
1572
  @delete_notebook_runtime_template = ::Gapic::Config::Method.new delete_notebook_runtime_template_config
1573
+ update_notebook_runtime_template_config = parent_rpcs.update_notebook_runtime_template if parent_rpcs.respond_to? :update_notebook_runtime_template
1574
+ @update_notebook_runtime_template = ::Gapic::Config::Method.new update_notebook_runtime_template_config
1475
1575
  assign_notebook_runtime_config = parent_rpcs.assign_notebook_runtime if parent_rpcs.respond_to? :assign_notebook_runtime
1476
1576
  @assign_notebook_runtime = ::Gapic::Config::Method.new assign_notebook_runtime_config
1477
1577
  get_notebook_runtime_config = parent_rpcs.get_notebook_runtime if parent_rpcs.respond_to? :get_notebook_runtime