google-cloud-ai_platform-v1 0.58.0 → 0.59.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/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +103 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +96 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/rest.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +38 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +1405 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +810 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/paths.rb +173 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +1318 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +4244 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/service_stub.rb +663 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service.rb +56 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +672 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/paths.rb +69 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/client.rb +634 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest/service_stub.rb +249 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_service.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -10
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +73 -10
- data/lib/google/cloud/ai_platform/v1.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/api_auth_pb.rb +46 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +16 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +67 -0
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_services_pb.rb +63 -0
- data/lib/google/cloud/aiplatform/v1/vertex_rag_service_pb.rb +65 -0
- data/lib/google/cloud/aiplatform/v1/vertex_rag_service_services_pb.rb +52 -0
- data/proto_docs/google/cloud/aiplatform/v1/api_auth.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +30 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +22 -0
- data/proto_docs/google/cloud/aiplatform/v1/io.rb +158 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +8 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +18 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +72 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +334 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +293 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb +279 -0
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +28 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03500ed587f5105dba7edcd5693050514cf80f56cee3e46d008f8bc329c461fb
|
4
|
+
data.tar.gz: 254589357f5fde41c263368347dcaef15e19d0c04c2b8df788a1c0437aadd7c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b583064edf0987a69d54fa73297e45b939616c86b04b0ec2ca968bd8074d92a10e0fdcae00a775844abf11a61f5e39fcc8fe3def61d9ca716101bf49d2806bed
|
7
|
+
data.tar.gz: 7ac7c1666a89cebcff3df3b7d457a3ad3aee88311e4b6cfc49a12b7bfb41f75f5015fe72220e5decad6e62e64cb6761204c1d68b25a8456ab3f36fb68ab47f6c
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -115,14 +115,6 @@ module Google
|
|
115
115
|
# Lists operations that match the specified filter in the request. If the
|
116
116
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
117
117
|
#
|
118
|
-
# NOTE: the `name` binding allows API services to override the binding
|
119
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
120
|
-
# override the binding, API services can add a binding such as
|
121
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
122
|
-
# For backwards compatibility, the default name includes the operations
|
123
|
-
# collection id, however overriding users must ensure the name binding
|
124
|
-
# is the parent resource, without the operations collection id.
|
125
|
-
#
|
126
118
|
# @overload list_operations(request, options = nil)
|
127
119
|
# Pass arguments to `list_operations` via a request object, either of type
|
128
120
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -390,8 +382,9 @@ module Google
|
|
390
382
|
# other methods to check whether the cancellation succeeded or whether the
|
391
383
|
# operation completed despite cancellation. On successful cancellation,
|
392
384
|
# the operation is not deleted; instead, it becomes an operation with
|
393
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
394
|
-
# corresponding to
|
385
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
386
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
387
|
+
# `Code.CANCELLED`.
|
395
388
|
#
|
396
389
|
# @overload cancel_operation(request, options = nil)
|
397
390
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -1538,6 +1531,20 @@ module Google
|
|
1538
1531
|
["name", %r{^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/?$}, false]
|
1539
1532
|
]
|
1540
1533
|
)
|
1534
|
+
.with_bindings(
|
1535
|
+
uri_method: :get,
|
1536
|
+
uri_template: "/v1/{name}/operations",
|
1537
|
+
matches: [
|
1538
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/?$}, false]
|
1539
|
+
]
|
1540
|
+
)
|
1541
|
+
.with_bindings(
|
1542
|
+
uri_method: :get,
|
1543
|
+
uri_template: "/v1/{name}/operations",
|
1544
|
+
matches: [
|
1545
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/?$}, false]
|
1546
|
+
]
|
1547
|
+
)
|
1541
1548
|
.with_bindings(
|
1542
1549
|
uri_method: :get,
|
1543
1550
|
uri_template: "/v1/{name}/operations",
|
@@ -2168,6 +2175,20 @@ module Google
|
|
2168
2175
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
2169
2176
|
]
|
2170
2177
|
)
|
2178
|
+
.with_bindings(
|
2179
|
+
uri_method: :get,
|
2180
|
+
uri_template: "/v1/{name}",
|
2181
|
+
matches: [
|
2182
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
2183
|
+
]
|
2184
|
+
)
|
2185
|
+
.with_bindings(
|
2186
|
+
uri_method: :get,
|
2187
|
+
uri_template: "/v1/{name}",
|
2188
|
+
matches: [
|
2189
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
2190
|
+
]
|
2191
|
+
)
|
2171
2192
|
.with_bindings(
|
2172
2193
|
uri_method: :get,
|
2173
2194
|
uri_template: "/v1/{name}",
|
@@ -2812,6 +2833,20 @@ module Google
|
|
2812
2833
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
2813
2834
|
]
|
2814
2835
|
)
|
2836
|
+
.with_bindings(
|
2837
|
+
uri_method: :delete,
|
2838
|
+
uri_template: "/v1/{name}",
|
2839
|
+
matches: [
|
2840
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
2841
|
+
]
|
2842
|
+
)
|
2843
|
+
.with_bindings(
|
2844
|
+
uri_method: :delete,
|
2845
|
+
uri_template: "/v1/{name}",
|
2846
|
+
matches: [
|
2847
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
2848
|
+
]
|
2849
|
+
)
|
2815
2850
|
.with_bindings(
|
2816
2851
|
uri_method: :delete,
|
2817
2852
|
uri_template: "/v1/{name}",
|
@@ -3449,6 +3484,20 @@ module Google
|
|
3449
3484
|
["name", %r{^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+/?$}, false]
|
3450
3485
|
]
|
3451
3486
|
)
|
3487
|
+
.with_bindings(
|
3488
|
+
uri_method: :post,
|
3489
|
+
uri_template: "/v1/{name}:cancel",
|
3490
|
+
matches: [
|
3491
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
3492
|
+
]
|
3493
|
+
)
|
3494
|
+
.with_bindings(
|
3495
|
+
uri_method: :post,
|
3496
|
+
uri_template: "/v1/{name}:cancel",
|
3497
|
+
matches: [
|
3498
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
3499
|
+
]
|
3500
|
+
)
|
3452
3501
|
.with_bindings(
|
3453
3502
|
uri_method: :post,
|
3454
3503
|
uri_template: "/v1/{name}:cancel",
|
@@ -4065,6 +4114,20 @@ module Google
|
|
4065
4114
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
4066
4115
|
]
|
4067
4116
|
)
|
4117
|
+
.with_bindings(
|
4118
|
+
uri_method: :post,
|
4119
|
+
uri_template: "/v1/{name}:wait",
|
4120
|
+
matches: [
|
4121
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
4122
|
+
]
|
4123
|
+
)
|
4124
|
+
.with_bindings(
|
4125
|
+
uri_method: :post,
|
4126
|
+
uri_template: "/v1/{name}:wait",
|
4127
|
+
matches: [
|
4128
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
4129
|
+
]
|
4130
|
+
)
|
4068
4131
|
.with_bindings(
|
4069
4132
|
uri_method: :post,
|
4070
4133
|
uri_template: "/v1/{name}:wait",
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -115,14 +115,6 @@ module Google
|
|
115
115
|
# Lists operations that match the specified filter in the request. If the
|
116
116
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
117
117
|
#
|
118
|
-
# NOTE: the `name` binding allows API services to override the binding
|
119
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
120
|
-
# override the binding, API services can add a binding such as
|
121
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
122
|
-
# For backwards compatibility, the default name includes the operations
|
123
|
-
# collection id, however overriding users must ensure the name binding
|
124
|
-
# is the parent resource, without the operations collection id.
|
125
|
-
#
|
126
118
|
# @overload list_operations(request, options = nil)
|
127
119
|
# Pass arguments to `list_operations` via a request object, either of type
|
128
120
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -390,8 +382,9 @@ module Google
|
|
390
382
|
# other methods to check whether the cancellation succeeded or whether the
|
391
383
|
# operation completed despite cancellation. On successful cancellation,
|
392
384
|
# the operation is not deleted; instead, it becomes an operation with
|
393
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
394
|
-
# corresponding to
|
385
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
386
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
387
|
+
# `Code.CANCELLED`.
|
395
388
|
#
|
396
389
|
# @overload cancel_operation(request, options = nil)
|
397
390
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -1538,6 +1531,20 @@ module Google
|
|
1538
1531
|
["name", %r{^projects/[^/]+/locations/[^/]+/pipelineJobs/[^/]+/?$}, false]
|
1539
1532
|
]
|
1540
1533
|
)
|
1534
|
+
.with_bindings(
|
1535
|
+
uri_method: :get,
|
1536
|
+
uri_template: "/v1/{name}/operations",
|
1537
|
+
matches: [
|
1538
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/?$}, false]
|
1539
|
+
]
|
1540
|
+
)
|
1541
|
+
.with_bindings(
|
1542
|
+
uri_method: :get,
|
1543
|
+
uri_template: "/v1/{name}/operations",
|
1544
|
+
matches: [
|
1545
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/?$}, false]
|
1546
|
+
]
|
1547
|
+
)
|
1541
1548
|
.with_bindings(
|
1542
1549
|
uri_method: :get,
|
1543
1550
|
uri_template: "/v1/{name}/operations",
|
@@ -2168,6 +2175,20 @@ module Google
|
|
2168
2175
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
2169
2176
|
]
|
2170
2177
|
)
|
2178
|
+
.with_bindings(
|
2179
|
+
uri_method: :get,
|
2180
|
+
uri_template: "/v1/{name}",
|
2181
|
+
matches: [
|
2182
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
2183
|
+
]
|
2184
|
+
)
|
2185
|
+
.with_bindings(
|
2186
|
+
uri_method: :get,
|
2187
|
+
uri_template: "/v1/{name}",
|
2188
|
+
matches: [
|
2189
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
2190
|
+
]
|
2191
|
+
)
|
2171
2192
|
.with_bindings(
|
2172
2193
|
uri_method: :get,
|
2173
2194
|
uri_template: "/v1/{name}",
|
@@ -2812,6 +2833,20 @@ module Google
|
|
2812
2833
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
2813
2834
|
]
|
2814
2835
|
)
|
2836
|
+
.with_bindings(
|
2837
|
+
uri_method: :delete,
|
2838
|
+
uri_template: "/v1/{name}",
|
2839
|
+
matches: [
|
2840
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
2841
|
+
]
|
2842
|
+
)
|
2843
|
+
.with_bindings(
|
2844
|
+
uri_method: :delete,
|
2845
|
+
uri_template: "/v1/{name}",
|
2846
|
+
matches: [
|
2847
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
2848
|
+
]
|
2849
|
+
)
|
2815
2850
|
.with_bindings(
|
2816
2851
|
uri_method: :delete,
|
2817
2852
|
uri_template: "/v1/{name}",
|
@@ -3449,6 +3484,20 @@ module Google
|
|
3449
3484
|
["name", %r{^projects/[^/]+/locations/[^/]+/persistentResources/[^/]+/operations/[^/]+/?$}, false]
|
3450
3485
|
]
|
3451
3486
|
)
|
3487
|
+
.with_bindings(
|
3488
|
+
uri_method: :post,
|
3489
|
+
uri_template: "/v1/{name}:cancel",
|
3490
|
+
matches: [
|
3491
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
3492
|
+
]
|
3493
|
+
)
|
3494
|
+
.with_bindings(
|
3495
|
+
uri_method: :post,
|
3496
|
+
uri_template: "/v1/{name}:cancel",
|
3497
|
+
matches: [
|
3498
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
3499
|
+
]
|
3500
|
+
)
|
3452
3501
|
.with_bindings(
|
3453
3502
|
uri_method: :post,
|
3454
3503
|
uri_template: "/v1/{name}:cancel",
|
@@ -4065,6 +4114,20 @@ module Google
|
|
4065
4114
|
["name", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/operations/[^/]+/?$}, false]
|
4066
4115
|
]
|
4067
4116
|
)
|
4117
|
+
.with_bindings(
|
4118
|
+
uri_method: :post,
|
4119
|
+
uri_template: "/v1/{name}:wait",
|
4120
|
+
matches: [
|
4121
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/operations/[^/]+/?$}, false]
|
4122
|
+
]
|
4123
|
+
)
|
4124
|
+
.with_bindings(
|
4125
|
+
uri_method: :post,
|
4126
|
+
uri_template: "/v1/{name}:wait",
|
4127
|
+
matches: [
|
4128
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/ragCorpora/[^/]+/ragFiles/[^/]+/operations/[^/]+/?$}, false]
|
4129
|
+
]
|
4130
|
+
)
|
4068
4131
|
.with_bindings(
|
4069
4132
|
uri_method: :post,
|
4070
4133
|
uri_template: "/v1/{name}:wait",
|
@@ -629,6 +629,102 @@ module Google
|
|
629
629
|
raise ::Google::Cloud::Error.from_error(e)
|
630
630
|
end
|
631
631
|
|
632
|
+
##
|
633
|
+
# Updates an Endpoint with a long running operation.
|
634
|
+
#
|
635
|
+
# @overload update_endpoint_long_running(request, options = nil)
|
636
|
+
# Pass arguments to `update_endpoint_long_running` via a request object, either of type
|
637
|
+
# {::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest} or an equivalent Hash.
|
638
|
+
#
|
639
|
+
# @param request [::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest, ::Hash]
|
640
|
+
# A request object representing the call parameters. Required. To specify no
|
641
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
642
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
643
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
644
|
+
#
|
645
|
+
# @overload update_endpoint_long_running(endpoint: nil)
|
646
|
+
# Pass arguments to `update_endpoint_long_running` via keyword arguments. Note that at
|
647
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
648
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
649
|
+
#
|
650
|
+
# @param endpoint [::Google::Cloud::AIPlatform::V1::Endpoint, ::Hash]
|
651
|
+
# Required. The Endpoint which replaces the resource on the server. Currently
|
652
|
+
# we only support updating the `client_connection_config` field, all the
|
653
|
+
# other fields' update will be blocked.
|
654
|
+
#
|
655
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
656
|
+
# @yieldparam response [::Gapic::Operation]
|
657
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
658
|
+
#
|
659
|
+
# @return [::Gapic::Operation]
|
660
|
+
#
|
661
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
662
|
+
#
|
663
|
+
# @example Basic example
|
664
|
+
# require "google/cloud/ai_platform/v1"
|
665
|
+
#
|
666
|
+
# # Create a client object. The client can be reused for multiple calls.
|
667
|
+
# client = Google::Cloud::AIPlatform::V1::EndpointService::Client.new
|
668
|
+
#
|
669
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
670
|
+
# request = Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest.new
|
671
|
+
#
|
672
|
+
# # Call the update_endpoint_long_running method.
|
673
|
+
# result = client.update_endpoint_long_running request
|
674
|
+
#
|
675
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
676
|
+
# # check the status of an operation, cancel it, or wait for results.
|
677
|
+
# # Here is how to wait for a response.
|
678
|
+
# result.wait_until_done! timeout: 60
|
679
|
+
# if result.response?
|
680
|
+
# p result.response
|
681
|
+
# else
|
682
|
+
# puts "No response received."
|
683
|
+
# end
|
684
|
+
#
|
685
|
+
def update_endpoint_long_running request, options = nil
|
686
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
687
|
+
|
688
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest
|
689
|
+
|
690
|
+
# Converts hash and nil to an options object
|
691
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
692
|
+
|
693
|
+
# Customize the options with defaults
|
694
|
+
metadata = @config.rpcs.update_endpoint_long_running.metadata.to_h
|
695
|
+
|
696
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
697
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
698
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
699
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
700
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
701
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
702
|
+
|
703
|
+
header_params = {}
|
704
|
+
if request.endpoint&.name
|
705
|
+
header_params["endpoint.name"] = request.endpoint.name
|
706
|
+
end
|
707
|
+
|
708
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
709
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
710
|
+
|
711
|
+
options.apply_defaults timeout: @config.rpcs.update_endpoint_long_running.timeout,
|
712
|
+
metadata: metadata,
|
713
|
+
retry_policy: @config.rpcs.update_endpoint_long_running.retry_policy
|
714
|
+
|
715
|
+
options.apply_defaults timeout: @config.timeout,
|
716
|
+
metadata: @config.metadata,
|
717
|
+
retry_policy: @config.retry_policy
|
718
|
+
|
719
|
+
@endpoint_service_stub.call_rpc :update_endpoint_long_running, request, options: options do |response, operation|
|
720
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
721
|
+
yield response, operation if block_given?
|
722
|
+
return response
|
723
|
+
end
|
724
|
+
rescue ::GRPC::BadStatus => e
|
725
|
+
raise ::Google::Cloud::Error.from_error(e)
|
726
|
+
end
|
727
|
+
|
632
728
|
##
|
633
729
|
# Deletes an Endpoint.
|
634
730
|
#
|
@@ -1237,6 +1333,11 @@ module Google
|
|
1237
1333
|
#
|
1238
1334
|
attr_reader :update_endpoint
|
1239
1335
|
##
|
1336
|
+
# RPC-specific configuration for `update_endpoint_long_running`
|
1337
|
+
# @return [::Gapic::Config::Method]
|
1338
|
+
#
|
1339
|
+
attr_reader :update_endpoint_long_running
|
1340
|
+
##
|
1240
1341
|
# RPC-specific configuration for `delete_endpoint`
|
1241
1342
|
# @return [::Gapic::Config::Method]
|
1242
1343
|
#
|
@@ -1267,6 +1368,8 @@ module Google
|
|
1267
1368
|
@list_endpoints = ::Gapic::Config::Method.new list_endpoints_config
|
1268
1369
|
update_endpoint_config = parent_rpcs.update_endpoint if parent_rpcs.respond_to? :update_endpoint
|
1269
1370
|
@update_endpoint = ::Gapic::Config::Method.new update_endpoint_config
|
1371
|
+
update_endpoint_long_running_config = parent_rpcs.update_endpoint_long_running if parent_rpcs.respond_to? :update_endpoint_long_running
|
1372
|
+
@update_endpoint_long_running = ::Gapic::Config::Method.new update_endpoint_long_running_config
|
1270
1373
|
delete_endpoint_config = parent_rpcs.delete_endpoint if parent_rpcs.respond_to? :delete_endpoint
|
1271
1374
|
@delete_endpoint = ::Gapic::Config::Method.new delete_endpoint_config
|
1272
1375
|
deploy_model_config = parent_rpcs.deploy_model if parent_rpcs.respond_to? :deploy_model
|
@@ -124,14 +124,6 @@ module Google
|
|
124
124
|
# Lists operations that match the specified filter in the request. If the
|
125
125
|
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
126
|
#
|
127
|
-
# NOTE: the `name` binding allows API services to override the binding
|
128
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
129
|
-
# override the binding, API services can add a binding such as
|
130
|
-
# `"/v1/{name=users/*}/operations"` to their service configuration.
|
131
|
-
# For backwards compatibility, the default name includes the operations
|
132
|
-
# collection id, however overriding users must ensure the name binding
|
133
|
-
# is the parent resource, without the operations collection id.
|
134
|
-
#
|
135
127
|
# @overload list_operations(request, options = nil)
|
136
128
|
# Pass arguments to `list_operations` via a request object, either of type
|
137
129
|
# {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
|
@@ -421,8 +413,9 @@ module Google
|
|
421
413
|
# other methods to check whether the cancellation succeeded or whether the
|
422
414
|
# operation completed despite cancellation. On successful cancellation,
|
423
415
|
# the operation is not deleted; instead, it becomes an operation with
|
424
|
-
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
425
|
-
# corresponding to
|
416
|
+
# an {::Google::Longrunning::Operation#error Operation.error} value with a
|
417
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
|
418
|
+
# `Code.CANCELLED`.
|
426
419
|
#
|
427
420
|
# @overload cancel_operation(request, options = nil)
|
428
421
|
# Pass arguments to `cancel_operation` via a request object, either of type
|
@@ -596,6 +596,95 @@ module Google
|
|
596
596
|
raise ::Google::Cloud::Error.from_error(e)
|
597
597
|
end
|
598
598
|
|
599
|
+
##
|
600
|
+
# Updates an Endpoint with a long running operation.
|
601
|
+
#
|
602
|
+
# @overload update_endpoint_long_running(request, options = nil)
|
603
|
+
# Pass arguments to `update_endpoint_long_running` via a request object, either of type
|
604
|
+
# {::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest} or an equivalent Hash.
|
605
|
+
#
|
606
|
+
# @param request [::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest, ::Hash]
|
607
|
+
# A request object representing the call parameters. Required. To specify no
|
608
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
609
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
610
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
611
|
+
#
|
612
|
+
# @overload update_endpoint_long_running(endpoint: nil)
|
613
|
+
# Pass arguments to `update_endpoint_long_running` via keyword arguments. Note that at
|
614
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
615
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
616
|
+
#
|
617
|
+
# @param endpoint [::Google::Cloud::AIPlatform::V1::Endpoint, ::Hash]
|
618
|
+
# Required. The Endpoint which replaces the resource on the server. Currently
|
619
|
+
# we only support updating the `client_connection_config` field, all the
|
620
|
+
# other fields' update will be blocked.
|
621
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
622
|
+
# @yieldparam result [::Gapic::Operation]
|
623
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
624
|
+
#
|
625
|
+
# @return [::Gapic::Operation]
|
626
|
+
#
|
627
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
628
|
+
#
|
629
|
+
# @example Basic example
|
630
|
+
# require "google/cloud/ai_platform/v1"
|
631
|
+
#
|
632
|
+
# # Create a client object. The client can be reused for multiple calls.
|
633
|
+
# client = Google::Cloud::AIPlatform::V1::EndpointService::Rest::Client.new
|
634
|
+
#
|
635
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
636
|
+
# request = Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest.new
|
637
|
+
#
|
638
|
+
# # Call the update_endpoint_long_running method.
|
639
|
+
# result = client.update_endpoint_long_running request
|
640
|
+
#
|
641
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
642
|
+
# # check the status of an operation, cancel it, or wait for results.
|
643
|
+
# # Here is how to wait for a response.
|
644
|
+
# result.wait_until_done! timeout: 60
|
645
|
+
# if result.response?
|
646
|
+
# p result.response
|
647
|
+
# else
|
648
|
+
# puts "No response received."
|
649
|
+
# end
|
650
|
+
#
|
651
|
+
def update_endpoint_long_running request, options = nil
|
652
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
653
|
+
|
654
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AIPlatform::V1::UpdateEndpointLongRunningRequest
|
655
|
+
|
656
|
+
# Converts hash and nil to an options object
|
657
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
658
|
+
|
659
|
+
# Customize the options with defaults
|
660
|
+
call_metadata = @config.rpcs.update_endpoint_long_running.metadata.to_h
|
661
|
+
|
662
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
663
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
664
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
665
|
+
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION,
|
666
|
+
transports_version_send: [:rest]
|
667
|
+
|
668
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
669
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
670
|
+
|
671
|
+
options.apply_defaults timeout: @config.rpcs.update_endpoint_long_running.timeout,
|
672
|
+
metadata: call_metadata,
|
673
|
+
retry_policy: @config.rpcs.update_endpoint_long_running.retry_policy
|
674
|
+
|
675
|
+
options.apply_defaults timeout: @config.timeout,
|
676
|
+
metadata: @config.metadata,
|
677
|
+
retry_policy: @config.retry_policy
|
678
|
+
|
679
|
+
@endpoint_service_stub.update_endpoint_long_running request, options do |result, operation|
|
680
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
681
|
+
yield result, operation if block_given?
|
682
|
+
return result
|
683
|
+
end
|
684
|
+
rescue ::Gapic::Rest::Error => e
|
685
|
+
raise ::Google::Cloud::Error.from_error(e)
|
686
|
+
end
|
687
|
+
|
599
688
|
##
|
600
689
|
# Deletes an Endpoint.
|
601
690
|
#
|
@@ -1163,6 +1252,11 @@ module Google
|
|
1163
1252
|
#
|
1164
1253
|
attr_reader :update_endpoint
|
1165
1254
|
##
|
1255
|
+
# RPC-specific configuration for `update_endpoint_long_running`
|
1256
|
+
# @return [::Gapic::Config::Method]
|
1257
|
+
#
|
1258
|
+
attr_reader :update_endpoint_long_running
|
1259
|
+
##
|
1166
1260
|
# RPC-specific configuration for `delete_endpoint`
|
1167
1261
|
# @return [::Gapic::Config::Method]
|
1168
1262
|
#
|
@@ -1193,6 +1287,8 @@ module Google
|
|
1193
1287
|
@list_endpoints = ::Gapic::Config::Method.new list_endpoints_config
|
1194
1288
|
update_endpoint_config = parent_rpcs.update_endpoint if parent_rpcs.respond_to? :update_endpoint
|
1195
1289
|
@update_endpoint = ::Gapic::Config::Method.new update_endpoint_config
|
1290
|
+
update_endpoint_long_running_config = parent_rpcs.update_endpoint_long_running if parent_rpcs.respond_to? :update_endpoint_long_running
|
1291
|
+
@update_endpoint_long_running = ::Gapic::Config::Method.new update_endpoint_long_running_config
|
1196
1292
|
delete_endpoint_config = parent_rpcs.delete_endpoint if parent_rpcs.respond_to? :delete_endpoint
|
1197
1293
|
@delete_endpoint = ::Gapic::Config::Method.new delete_endpoint_config
|
1198
1294
|
deploy_model_config = parent_rpcs.deploy_model if parent_rpcs.respond_to? :deploy_model
|