google-cloud-ai_platform-v1 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/bindings_override.rb +399 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +138 -18
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/client.rb +2280 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1196 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/client.rb +851 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +365 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +19 -8
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +1215 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +546 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +29 -13
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +1732 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +841 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/client.rb +534 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +24 -11
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +1450 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +663 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +9 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client.rb +645 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +244 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +45 -21
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2765 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1319 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +11 -4
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +720 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +307 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +19 -8
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/client.rb +1151 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +546 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +17 -7
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/index_service/rest/client.rb +1034 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +486 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/index_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +73 -35
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/job_service/rest/client.rb +3841 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +2149 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/job_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +533 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +205 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/match_service/rest/client.rb +541 -0
- data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/match_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/match_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +67 -32
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/client.rb +3634 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1972 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +7 -2
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/client.rb +574 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/migration_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +438 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +128 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +39 -18
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/model_service/rest/client.rb +2213 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1140 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/model_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +123 -10
- data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +1503 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +723 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +15 -6
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/client.rb +942 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +426 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +27 -12
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/client.rb +1600 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +783 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest.rb +56 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +37 -15
- 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 +1303 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +658 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/rest.rb +63 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +17 -7
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/client.rb +1076 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +486 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/client.rb +847 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +366 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest.rb +59 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +63 -30
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/client.rb +3274 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1847 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +33 -15
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +13 -5
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/client.rb +1788 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +3971 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +963 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest.rb +58 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service.rb +6 -0
- data/lib/google/cloud/ai_platform/v1.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -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/endpoint_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/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +4 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +26 -48
- 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/endpoint.rb +7 -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/feature_registry_service.rb +1 -1
- 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 +20 -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 +17 -2
- 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/prediction_service.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +43 -5
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
- metadata +101 -2
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "google/cloud/aiplatform/v1/featurestore_online_service_pb"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module AIPlatform
|
|
24
|
+
module V1
|
|
25
|
+
module FeaturestoreOnlineServingService
|
|
26
|
+
module Rest
|
|
27
|
+
##
|
|
28
|
+
# REST service stub for the FeaturestoreOnlineServingService service.
|
|
29
|
+
# Service stub contains baseline method implementations
|
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
|
31
|
+
#
|
|
32
|
+
class ServiceStub
|
|
33
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
|
34
|
+
# These require statements are intentionally placed here to initialize
|
|
35
|
+
# the REST modules only when it's required.
|
|
36
|
+
require "gapic/rest"
|
|
37
|
+
|
|
38
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
|
39
|
+
endpoint_template: endpoint_template,
|
|
40
|
+
universe_domain: universe_domain,
|
|
41
|
+
credentials: credentials,
|
|
42
|
+
numeric_enums: false,
|
|
43
|
+
raise_faraday_errors: false
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
##
|
|
47
|
+
# The effective universe domain
|
|
48
|
+
#
|
|
49
|
+
# @return [String]
|
|
50
|
+
#
|
|
51
|
+
def universe_domain
|
|
52
|
+
@client_stub.universe_domain
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
##
|
|
56
|
+
# The effective endpoint
|
|
57
|
+
#
|
|
58
|
+
# @return [String]
|
|
59
|
+
#
|
|
60
|
+
def endpoint
|
|
61
|
+
@client_stub.endpoint
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
##
|
|
65
|
+
# Baseline implementation for the read_feature_values REST call
|
|
66
|
+
#
|
|
67
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest]
|
|
68
|
+
# A request object representing the call parameters. Required.
|
|
69
|
+
# @param options [::Gapic::CallOptions]
|
|
70
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
71
|
+
#
|
|
72
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
73
|
+
# @yieldparam result [::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse]
|
|
74
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
75
|
+
#
|
|
76
|
+
# @return [::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse]
|
|
77
|
+
# A result object deserialized from the server's reply
|
|
78
|
+
def read_feature_values request_pb, options = nil
|
|
79
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
80
|
+
|
|
81
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_read_feature_values_request request_pb
|
|
82
|
+
query_string_params = if query_string_params.any?
|
|
83
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
84
|
+
else
|
|
85
|
+
{}
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
response = @client_stub.make_http_request(
|
|
89
|
+
verb,
|
|
90
|
+
uri: uri,
|
|
91
|
+
body: body || "",
|
|
92
|
+
params: query_string_params,
|
|
93
|
+
options: options
|
|
94
|
+
)
|
|
95
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
96
|
+
result = ::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
97
|
+
|
|
98
|
+
yield result, operation if block_given?
|
|
99
|
+
result
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
##
|
|
103
|
+
# Baseline implementation for the streaming_read_feature_values REST call
|
|
104
|
+
#
|
|
105
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::StreamingReadFeatureValuesRequest]
|
|
106
|
+
# A request object representing the call parameters. Required.
|
|
107
|
+
# @param options [::Gapic::CallOptions]
|
|
108
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
109
|
+
#
|
|
110
|
+
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
|
111
|
+
#
|
|
112
|
+
# @return [::Gapic::Rest::TransportOperation]
|
|
113
|
+
def streaming_read_feature_values request_pb, options = nil, &block
|
|
114
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
115
|
+
|
|
116
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_streaming_read_feature_values_request request_pb
|
|
117
|
+
query_string_params = if query_string_params.any?
|
|
118
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
119
|
+
else
|
|
120
|
+
{}
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
response = @client_stub.make_http_request(
|
|
124
|
+
verb,
|
|
125
|
+
uri: uri,
|
|
126
|
+
body: body || "",
|
|
127
|
+
params: query_string_params,
|
|
128
|
+
options: options,
|
|
129
|
+
is_server_streaming: true,
|
|
130
|
+
&block
|
|
131
|
+
)
|
|
132
|
+
::Gapic::Rest::TransportOperation.new response
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
##
|
|
136
|
+
# Baseline implementation for the write_feature_values REST call
|
|
137
|
+
#
|
|
138
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::WriteFeatureValuesRequest]
|
|
139
|
+
# A request object representing the call parameters. Required.
|
|
140
|
+
# @param options [::Gapic::CallOptions]
|
|
141
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
142
|
+
#
|
|
143
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
144
|
+
# @yieldparam result [::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse]
|
|
145
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
146
|
+
#
|
|
147
|
+
# @return [::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse]
|
|
148
|
+
# A result object deserialized from the server's reply
|
|
149
|
+
def write_feature_values request_pb, options = nil
|
|
150
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
151
|
+
|
|
152
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_write_feature_values_request request_pb
|
|
153
|
+
query_string_params = if query_string_params.any?
|
|
154
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
155
|
+
else
|
|
156
|
+
{}
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
response = @client_stub.make_http_request(
|
|
160
|
+
verb,
|
|
161
|
+
uri: uri,
|
|
162
|
+
body: body || "",
|
|
163
|
+
params: query_string_params,
|
|
164
|
+
options: options
|
|
165
|
+
)
|
|
166
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
167
|
+
result = ::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse.decode_json response.body, ignore_unknown_fields: true
|
|
168
|
+
|
|
169
|
+
yield result, operation if block_given?
|
|
170
|
+
result
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
##
|
|
174
|
+
# @private
|
|
175
|
+
#
|
|
176
|
+
# GRPC transcoding helper method for the read_feature_values REST call
|
|
177
|
+
#
|
|
178
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest]
|
|
179
|
+
# A request object representing the call parameters. Required.
|
|
180
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
181
|
+
# Uri, Body, Query string parameters
|
|
182
|
+
def self.transcode_read_feature_values_request request_pb
|
|
183
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
184
|
+
.with_bindings(
|
|
185
|
+
uri_method: :post,
|
|
186
|
+
uri_template: "/v1/{entity_type}:readFeatureValues",
|
|
187
|
+
body: "*",
|
|
188
|
+
matches: [
|
|
189
|
+
["entity_type", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
190
|
+
]
|
|
191
|
+
)
|
|
192
|
+
transcoder.transcode request_pb
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
##
|
|
196
|
+
# @private
|
|
197
|
+
#
|
|
198
|
+
# GRPC transcoding helper method for the streaming_read_feature_values REST call
|
|
199
|
+
#
|
|
200
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::StreamingReadFeatureValuesRequest]
|
|
201
|
+
# A request object representing the call parameters. Required.
|
|
202
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
203
|
+
# Uri, Body, Query string parameters
|
|
204
|
+
def self.transcode_streaming_read_feature_values_request request_pb
|
|
205
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
206
|
+
.with_bindings(
|
|
207
|
+
uri_method: :post,
|
|
208
|
+
uri_template: "/v1/{entity_type}:streamingReadFeatureValues",
|
|
209
|
+
body: "*",
|
|
210
|
+
matches: [
|
|
211
|
+
["entity_type", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
212
|
+
]
|
|
213
|
+
)
|
|
214
|
+
transcoder.transcode request_pb
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
##
|
|
218
|
+
# @private
|
|
219
|
+
#
|
|
220
|
+
# GRPC transcoding helper method for the write_feature_values REST call
|
|
221
|
+
#
|
|
222
|
+
# @param request_pb [::Google::Cloud::AIPlatform::V1::WriteFeatureValuesRequest]
|
|
223
|
+
# A request object representing the call parameters. Required.
|
|
224
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
225
|
+
# Uri, Body, Query string parameters
|
|
226
|
+
def self.transcode_write_feature_values_request request_pb
|
|
227
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
228
|
+
.with_bindings(
|
|
229
|
+
uri_method: :post,
|
|
230
|
+
uri_template: "/v1/{entity_type}:writeFeatureValues",
|
|
231
|
+
body: "*",
|
|
232
|
+
matches: [
|
|
233
|
+
["entity_type", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
234
|
+
]
|
|
235
|
+
)
|
|
236
|
+
transcoder.transcode request_pb
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
end
|
|
244
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2024 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/ai_platform/v1/version"
|
|
24
|
+
require "google/cloud/ai_platform/v1/bindings_override"
|
|
25
|
+
|
|
26
|
+
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials"
|
|
27
|
+
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/paths"
|
|
28
|
+
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/client"
|
|
29
|
+
|
|
30
|
+
module Google
|
|
31
|
+
module Cloud
|
|
32
|
+
module AIPlatform
|
|
33
|
+
module V1
|
|
34
|
+
##
|
|
35
|
+
# A service for serving online feature values.
|
|
36
|
+
#
|
|
37
|
+
# To load this service and instantiate a REST client:
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/ai_platform/v1/featurestore_online_serving_service/rest"
|
|
40
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Rest::Client.new
|
|
41
|
+
#
|
|
42
|
+
module FeaturestoreOnlineServingService
|
|
43
|
+
# Client for the REST transport
|
|
44
|
+
module Rest
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
53
|
+
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/helpers" if ::File.file? helper_path
|
|
@@ -25,6 +25,7 @@ require "google/cloud/ai_platform/v1/version"
|
|
|
25
25
|
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/credentials"
|
|
26
26
|
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/paths"
|
|
27
27
|
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/client"
|
|
28
|
+
require "google/cloud/ai_platform/v1/featurestore_online_serving_service/rest"
|
|
28
29
|
|
|
29
30
|
module Google
|
|
30
31
|
module Cloud
|
|
@@ -38,6 +39,11 @@ module Google
|
|
|
38
39
|
# require "google/cloud/ai_platform/v1/featurestore_online_serving_service"
|
|
39
40
|
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client.new
|
|
40
41
|
#
|
|
42
|
+
# @example Load this service and instantiate a REST client
|
|
43
|
+
#
|
|
44
|
+
# require "google/cloud/ai_platform/v1/featurestore_online_serving_service/rest"
|
|
45
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Rest::Client.new
|
|
46
|
+
#
|
|
41
47
|
module FeaturestoreOnlineServingService
|
|
42
48
|
end
|
|
43
49
|
end
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# The service that handles CRUD and List for resources for Featurestore.
|
|
33
33
|
#
|
|
34
34
|
class Client
|
|
35
|
+
# @private
|
|
36
|
+
API_VERSION = ""
|
|
37
|
+
|
|
35
38
|
# @private
|
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "aiplatform.$UNIVERSE_DOMAIN$"
|
|
37
40
|
|
|
@@ -278,10 +281,11 @@ module Google
|
|
|
278
281
|
# Customize the options with defaults
|
|
279
282
|
metadata = @config.rpcs.create_featurestore.metadata.to_h
|
|
280
283
|
|
|
281
|
-
# Set x-goog-api-client
|
|
284
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
282
285
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
283
286
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
284
287
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
288
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
285
289
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
286
290
|
|
|
287
291
|
header_params = {}
|
|
@@ -364,10 +368,11 @@ module Google
|
|
|
364
368
|
# Customize the options with defaults
|
|
365
369
|
metadata = @config.rpcs.get_featurestore.metadata.to_h
|
|
366
370
|
|
|
367
|
-
# Set x-goog-api-client
|
|
371
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
368
372
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
369
373
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
370
374
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
375
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
371
376
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
372
377
|
|
|
373
378
|
header_params = {}
|
|
@@ -498,10 +503,11 @@ module Google
|
|
|
498
503
|
# Customize the options with defaults
|
|
499
504
|
metadata = @config.rpcs.list_featurestores.metadata.to_h
|
|
500
505
|
|
|
501
|
-
# Set x-goog-api-client
|
|
506
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
502
507
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
503
508
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
504
509
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
510
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
505
511
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
506
512
|
|
|
507
513
|
header_params = {}
|
|
@@ -608,10 +614,11 @@ module Google
|
|
|
608
614
|
# Customize the options with defaults
|
|
609
615
|
metadata = @config.rpcs.update_featurestore.metadata.to_h
|
|
610
616
|
|
|
611
|
-
# Set x-goog-api-client
|
|
617
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
612
618
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
613
619
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
614
620
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
621
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
615
622
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
616
623
|
|
|
617
624
|
header_params = {}
|
|
@@ -708,10 +715,11 @@ module Google
|
|
|
708
715
|
# Customize the options with defaults
|
|
709
716
|
metadata = @config.rpcs.delete_featurestore.metadata.to_h
|
|
710
717
|
|
|
711
|
-
# Set x-goog-api-client
|
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
712
719
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
713
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
714
721
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
722
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
715
723
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
716
724
|
|
|
717
725
|
header_params = {}
|
|
@@ -813,10 +821,11 @@ module Google
|
|
|
813
821
|
# Customize the options with defaults
|
|
814
822
|
metadata = @config.rpcs.create_entity_type.metadata.to_h
|
|
815
823
|
|
|
816
|
-
# Set x-goog-api-client
|
|
824
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
817
825
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
818
826
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
819
827
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
828
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
820
829
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
821
830
|
|
|
822
831
|
header_params = {}
|
|
@@ -901,10 +910,11 @@ module Google
|
|
|
901
910
|
# Customize the options with defaults
|
|
902
911
|
metadata = @config.rpcs.get_entity_type.metadata.to_h
|
|
903
912
|
|
|
904
|
-
# Set x-goog-api-client
|
|
913
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
905
914
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
906
915
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
907
916
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
917
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
908
918
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
909
919
|
|
|
910
920
|
header_params = {}
|
|
@@ -1035,10 +1045,11 @@ module Google
|
|
|
1035
1045
|
# Customize the options with defaults
|
|
1036
1046
|
metadata = @config.rpcs.list_entity_types.metadata.to_h
|
|
1037
1047
|
|
|
1038
|
-
# Set x-goog-api-client
|
|
1048
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1039
1049
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1040
1050
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1041
1051
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1052
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1042
1053
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1043
1054
|
|
|
1044
1055
|
header_params = {}
|
|
@@ -1144,10 +1155,11 @@ module Google
|
|
|
1144
1155
|
# Customize the options with defaults
|
|
1145
1156
|
metadata = @config.rpcs.update_entity_type.metadata.to_h
|
|
1146
1157
|
|
|
1147
|
-
# Set x-goog-api-client
|
|
1158
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1148
1159
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1149
1160
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1150
1161
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1162
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1151
1163
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1152
1164
|
|
|
1153
1165
|
header_params = {}
|
|
@@ -1242,10 +1254,11 @@ module Google
|
|
|
1242
1254
|
# Customize the options with defaults
|
|
1243
1255
|
metadata = @config.rpcs.delete_entity_type.metadata.to_h
|
|
1244
1256
|
|
|
1245
|
-
# Set x-goog-api-client
|
|
1257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1246
1258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1247
1259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1248
1260
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1249
1262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1250
1263
|
|
|
1251
1264
|
header_params = {}
|
|
@@ -1349,10 +1362,11 @@ module Google
|
|
|
1349
1362
|
# Customize the options with defaults
|
|
1350
1363
|
metadata = @config.rpcs.create_feature.metadata.to_h
|
|
1351
1364
|
|
|
1352
|
-
# Set x-goog-api-client
|
|
1365
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1353
1366
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1354
1367
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1355
1368
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1369
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1356
1370
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1357
1371
|
|
|
1358
1372
|
header_params = {}
|
|
@@ -1450,10 +1464,11 @@ module Google
|
|
|
1450
1464
|
# Customize the options with defaults
|
|
1451
1465
|
metadata = @config.rpcs.batch_create_features.metadata.to_h
|
|
1452
1466
|
|
|
1453
|
-
# Set x-goog-api-client
|
|
1467
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1454
1468
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1455
1469
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1456
1470
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1471
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1457
1472
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1458
1473
|
|
|
1459
1474
|
header_params = {}
|
|
@@ -1540,10 +1555,11 @@ module Google
|
|
|
1540
1555
|
# Customize the options with defaults
|
|
1541
1556
|
metadata = @config.rpcs.get_feature.metadata.to_h
|
|
1542
1557
|
|
|
1543
|
-
# Set x-goog-api-client
|
|
1558
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1544
1559
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1545
1560
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1546
1561
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1562
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1547
1563
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1548
1564
|
|
|
1549
1565
|
header_params = {}
|
|
@@ -1690,10 +1706,11 @@ module Google
|
|
|
1690
1706
|
# Customize the options with defaults
|
|
1691
1707
|
metadata = @config.rpcs.list_features.metadata.to_h
|
|
1692
1708
|
|
|
1693
|
-
# Set x-goog-api-client
|
|
1709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1694
1710
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1695
1711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1696
1712
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1713
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1697
1714
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1698
1715
|
|
|
1699
1716
|
header_params = {}
|
|
@@ -1794,10 +1811,11 @@ module Google
|
|
|
1794
1811
|
# Customize the options with defaults
|
|
1795
1812
|
metadata = @config.rpcs.update_feature.metadata.to_h
|
|
1796
1813
|
|
|
1797
|
-
# Set x-goog-api-client
|
|
1814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1798
1815
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1799
1816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1800
1817
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1818
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1801
1819
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1802
1820
|
|
|
1803
1821
|
header_params = {}
|
|
@@ -1889,10 +1907,11 @@ module Google
|
|
|
1889
1907
|
# Customize the options with defaults
|
|
1890
1908
|
metadata = @config.rpcs.delete_feature.metadata.to_h
|
|
1891
1909
|
|
|
1892
|
-
# Set x-goog-api-client
|
|
1910
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1893
1911
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1894
1912
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1895
1913
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1914
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1896
1915
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1897
1916
|
|
|
1898
1917
|
header_params = {}
|
|
@@ -2032,10 +2051,11 @@ module Google
|
|
|
2032
2051
|
# Customize the options with defaults
|
|
2033
2052
|
metadata = @config.rpcs.import_feature_values.metadata.to_h
|
|
2034
2053
|
|
|
2035
|
-
# Set x-goog-api-client
|
|
2054
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2036
2055
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2037
2056
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2038
2057
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2058
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2039
2059
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2040
2060
|
|
|
2041
2061
|
header_params = {}
|
|
@@ -2176,10 +2196,11 @@ module Google
|
|
|
2176
2196
|
# Customize the options with defaults
|
|
2177
2197
|
metadata = @config.rpcs.batch_read_feature_values.metadata.to_h
|
|
2178
2198
|
|
|
2179
|
-
# Set x-goog-api-client
|
|
2199
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2180
2200
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2181
2201
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2182
2202
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2203
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2183
2204
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2184
2205
|
|
|
2185
2206
|
header_params = {}
|
|
@@ -2283,10 +2304,11 @@ module Google
|
|
|
2283
2304
|
# Customize the options with defaults
|
|
2284
2305
|
metadata = @config.rpcs.export_feature_values.metadata.to_h
|
|
2285
2306
|
|
|
2286
|
-
# Set x-goog-api-client
|
|
2307
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2287
2308
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2288
2309
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2289
2310
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2311
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2290
2312
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2291
2313
|
|
|
2292
2314
|
header_params = {}
|
|
@@ -2392,10 +2414,11 @@ module Google
|
|
|
2392
2414
|
# Customize the options with defaults
|
|
2393
2415
|
metadata = @config.rpcs.delete_feature_values.metadata.to_h
|
|
2394
2416
|
|
|
2395
|
-
# Set x-goog-api-client
|
|
2417
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2396
2418
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2397
2419
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2398
2420
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2421
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2399
2422
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2400
2423
|
|
|
2401
2424
|
header_params = {}
|
|
@@ -2558,10 +2581,11 @@ module Google
|
|
|
2558
2581
|
# Customize the options with defaults
|
|
2559
2582
|
metadata = @config.rpcs.search_features.metadata.to_h
|
|
2560
2583
|
|
|
2561
|
-
# Set x-goog-api-client
|
|
2584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2562
2585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2563
2586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2564
2587
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2565
2589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2566
2590
|
|
|
2567
2591
|
header_params = {}
|