google-cloud-ai_platform-v1 0.39.0 → 0.40.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 +39 -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 +2188 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +3901 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1136 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +23 -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 +1410 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +3901 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +663 -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 +3901 -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 +3901 -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 +29 -13
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +1297 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +642 -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 +3901 -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 +3901 -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 +3901 -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 +3901 -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 +2 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +17 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/index_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +8 -7
- metadata +101 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa6709c46f2e9c7cd3fad41093715590edf4e37fc3f078369c16a215a6ffef48
|
|
4
|
+
data.tar.gz: c8b04b99f942564b1b61994acc7cb34cfc168cff2013d75f7f25f84af3a34a24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14877439c01f1aae78eb3c14036919bd9c17e1aff61f79ce49ac5ee94b0988278a9a59718f52fb56b3b7b847d0cac9376becec363a63d3808661d1e6a8665f17
|
|
7
|
+
data.tar.gz: acc62338601a3caaaf51248aea892f0c4a89b28b5785e94eb82a10833263cf977e3bf54bb39558faf79b62872db85573d060529a08b9adbbb70364143a84191c
|
|
@@ -0,0 +1,399 @@
|
|
|
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/config"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module AIPlatform
|
|
24
|
+
##
|
|
25
|
+
# @example Loading just the REST part of this package, including all its services, and instantiating a REST client
|
|
26
|
+
#
|
|
27
|
+
# require "google/cloud/ai_platform/v1/rest"
|
|
28
|
+
# client = ::Google::Cloud::AIPlatform::V1::DatasetService::Rest::Client.new
|
|
29
|
+
#
|
|
30
|
+
module V1
|
|
31
|
+
##
|
|
32
|
+
# @private
|
|
33
|
+
# Initialize the mixin bindings configuration
|
|
34
|
+
#
|
|
35
|
+
def self.configure
|
|
36
|
+
@configure ||= begin
|
|
37
|
+
namespace = ["Google", "Cloud", "AIPlatform"]
|
|
38
|
+
parent_config = while namespace.any?
|
|
39
|
+
parent_name = namespace.join "::"
|
|
40
|
+
parent_const = const_get parent_name
|
|
41
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
|
42
|
+
namespace.pop
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
default_config = Configuration.new parent_config
|
|
46
|
+
default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
|
|
47
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
48
|
+
uri_method: :get,
|
|
49
|
+
uri_template: "/ui/{name}",
|
|
50
|
+
matches: [
|
|
51
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
52
|
+
],
|
|
53
|
+
body: nil
|
|
54
|
+
),
|
|
55
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
56
|
+
uri_method: :get,
|
|
57
|
+
uri_template: "/v1/{name}",
|
|
58
|
+
matches: [
|
|
59
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
|
60
|
+
],
|
|
61
|
+
body: nil
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
|
|
65
|
+
|
|
66
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
67
|
+
uri_method: :get,
|
|
68
|
+
uri_template: "/ui/{name}/locations",
|
|
69
|
+
matches: [
|
|
70
|
+
["name", %r{^projects/[^/]+/?$}, false]
|
|
71
|
+
],
|
|
72
|
+
body: nil
|
|
73
|
+
),
|
|
74
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
75
|
+
uri_method: :get,
|
|
76
|
+
uri_template: "/v1/{name}/locations",
|
|
77
|
+
matches: [
|
|
78
|
+
["name", %r{^projects/[^/]+/?$}, false]
|
|
79
|
+
],
|
|
80
|
+
body: nil
|
|
81
|
+
)
|
|
82
|
+
]
|
|
83
|
+
default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
|
|
84
|
+
|
|
85
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
86
|
+
uri_method: :post,
|
|
87
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
|
88
|
+
matches: [
|
|
89
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
90
|
+
],
|
|
91
|
+
body: nil
|
|
92
|
+
),
|
|
93
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
94
|
+
uri_method: :post,
|
|
95
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
|
96
|
+
matches: [
|
|
97
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
98
|
+
],
|
|
99
|
+
body: nil
|
|
100
|
+
),
|
|
101
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
102
|
+
uri_method: :post,
|
|
103
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
|
104
|
+
matches: [
|
|
105
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
106
|
+
],
|
|
107
|
+
body: nil
|
|
108
|
+
),
|
|
109
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
110
|
+
uri_method: :post,
|
|
111
|
+
uri_template: "/v1/{resource}:getIamPolicy",
|
|
112
|
+
matches: [
|
|
113
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
114
|
+
],
|
|
115
|
+
body: nil
|
|
116
|
+
),
|
|
117
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
118
|
+
uri_method: :post,
|
|
119
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
120
|
+
matches: [
|
|
121
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
122
|
+
],
|
|
123
|
+
body: nil
|
|
124
|
+
),
|
|
125
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
126
|
+
uri_method: :post,
|
|
127
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
128
|
+
matches: [
|
|
129
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
130
|
+
],
|
|
131
|
+
body: nil
|
|
132
|
+
),
|
|
133
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
134
|
+
uri_method: :post,
|
|
135
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
136
|
+
matches: [
|
|
137
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
138
|
+
],
|
|
139
|
+
body: nil
|
|
140
|
+
),
|
|
141
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
142
|
+
uri_method: :post,
|
|
143
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
144
|
+
matches: [
|
|
145
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
|
|
146
|
+
],
|
|
147
|
+
body: nil
|
|
148
|
+
),
|
|
149
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
150
|
+
uri_method: :post,
|
|
151
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
152
|
+
matches: [
|
|
153
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
154
|
+
],
|
|
155
|
+
body: nil
|
|
156
|
+
),
|
|
157
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
158
|
+
uri_method: :post,
|
|
159
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
160
|
+
matches: [
|
|
161
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+/?$}, false]
|
|
162
|
+
],
|
|
163
|
+
body: nil
|
|
164
|
+
),
|
|
165
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
166
|
+
uri_method: :post,
|
|
167
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
168
|
+
matches: [
|
|
169
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
|
|
170
|
+
],
|
|
171
|
+
body: nil
|
|
172
|
+
),
|
|
173
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
174
|
+
uri_method: :post,
|
|
175
|
+
uri_template: "/ui/{resource}:getIamPolicy",
|
|
176
|
+
matches: [
|
|
177
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
|
|
178
|
+
],
|
|
179
|
+
body: nil
|
|
180
|
+
)
|
|
181
|
+
]
|
|
182
|
+
default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
|
|
183
|
+
|
|
184
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
185
|
+
uri_method: :post,
|
|
186
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
|
187
|
+
matches: [
|
|
188
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
189
|
+
],
|
|
190
|
+
body: "*"
|
|
191
|
+
),
|
|
192
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
193
|
+
uri_method: :post,
|
|
194
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
|
195
|
+
matches: [
|
|
196
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
197
|
+
],
|
|
198
|
+
body: "*"
|
|
199
|
+
),
|
|
200
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
201
|
+
uri_method: :post,
|
|
202
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
|
203
|
+
matches: [
|
|
204
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
205
|
+
],
|
|
206
|
+
body: "*"
|
|
207
|
+
),
|
|
208
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
209
|
+
uri_method: :post,
|
|
210
|
+
uri_template: "/v1/{resource}:setIamPolicy",
|
|
211
|
+
matches: [
|
|
212
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
213
|
+
],
|
|
214
|
+
body: "*"
|
|
215
|
+
),
|
|
216
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
217
|
+
uri_method: :post,
|
|
218
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
219
|
+
matches: [
|
|
220
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
221
|
+
],
|
|
222
|
+
body: "*"
|
|
223
|
+
),
|
|
224
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
225
|
+
uri_method: :post,
|
|
226
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
227
|
+
matches: [
|
|
228
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
229
|
+
],
|
|
230
|
+
body: "*"
|
|
231
|
+
),
|
|
232
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
233
|
+
uri_method: :post,
|
|
234
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
235
|
+
matches: [
|
|
236
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
237
|
+
],
|
|
238
|
+
body: "*"
|
|
239
|
+
),
|
|
240
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
241
|
+
uri_method: :post,
|
|
242
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
243
|
+
matches: [
|
|
244
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
|
|
245
|
+
],
|
|
246
|
+
body: "*"
|
|
247
|
+
),
|
|
248
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
249
|
+
uri_method: :post,
|
|
250
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
251
|
+
matches: [
|
|
252
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
253
|
+
],
|
|
254
|
+
body: "*"
|
|
255
|
+
),
|
|
256
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
257
|
+
uri_method: :post,
|
|
258
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
259
|
+
matches: [
|
|
260
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
|
|
261
|
+
],
|
|
262
|
+
body: "*"
|
|
263
|
+
),
|
|
264
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
265
|
+
uri_method: :post,
|
|
266
|
+
uri_template: "/ui/{resource}:setIamPolicy",
|
|
267
|
+
matches: [
|
|
268
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
|
|
269
|
+
],
|
|
270
|
+
body: "*"
|
|
271
|
+
)
|
|
272
|
+
]
|
|
273
|
+
default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
|
|
274
|
+
|
|
275
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
276
|
+
uri_method: :post,
|
|
277
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
|
278
|
+
matches: [
|
|
279
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
280
|
+
],
|
|
281
|
+
body: nil
|
|
282
|
+
),
|
|
283
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
284
|
+
uri_method: :post,
|
|
285
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
|
286
|
+
matches: [
|
|
287
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
288
|
+
],
|
|
289
|
+
body: nil
|
|
290
|
+
),
|
|
291
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
292
|
+
uri_method: :post,
|
|
293
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
|
294
|
+
matches: [
|
|
295
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
296
|
+
],
|
|
297
|
+
body: nil
|
|
298
|
+
),
|
|
299
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
300
|
+
uri_method: :post,
|
|
301
|
+
uri_template: "/v1/{resource}:testIamPermissions",
|
|
302
|
+
matches: [
|
|
303
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
304
|
+
],
|
|
305
|
+
body: nil
|
|
306
|
+
),
|
|
307
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
308
|
+
uri_method: :post,
|
|
309
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
310
|
+
matches: [
|
|
311
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/?$}, false]
|
|
312
|
+
],
|
|
313
|
+
body: nil
|
|
314
|
+
),
|
|
315
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
316
|
+
uri_method: :post,
|
|
317
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
318
|
+
matches: [
|
|
319
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featurestores/[^/]+/entityTypes/[^/]+/?$}, false]
|
|
320
|
+
],
|
|
321
|
+
body: nil
|
|
322
|
+
),
|
|
323
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
324
|
+
uri_method: :post,
|
|
325
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
326
|
+
matches: [
|
|
327
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/models/[^/]+/?$}, false]
|
|
328
|
+
],
|
|
329
|
+
body: nil
|
|
330
|
+
),
|
|
331
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
332
|
+
uri_method: :post,
|
|
333
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
334
|
+
matches: [
|
|
335
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/?$}, false]
|
|
336
|
+
],
|
|
337
|
+
body: nil
|
|
338
|
+
),
|
|
339
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
340
|
+
uri_method: :post,
|
|
341
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
342
|
+
matches: [
|
|
343
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+/?$}, false]
|
|
344
|
+
],
|
|
345
|
+
body: nil
|
|
346
|
+
),
|
|
347
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
348
|
+
uri_method: :post,
|
|
349
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
350
|
+
matches: [
|
|
351
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/?$}, false]
|
|
352
|
+
],
|
|
353
|
+
body: nil
|
|
354
|
+
),
|
|
355
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
|
356
|
+
uri_method: :post,
|
|
357
|
+
uri_template: "/ui/{resource}:testIamPermissions",
|
|
358
|
+
matches: [
|
|
359
|
+
["resource", %r{^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+/?$}, false]
|
|
360
|
+
],
|
|
361
|
+
body: nil
|
|
362
|
+
)
|
|
363
|
+
]
|
|
364
|
+
default_config
|
|
365
|
+
end
|
|
366
|
+
yield @configure if block_given?
|
|
367
|
+
@configure
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
##
|
|
371
|
+
# @private
|
|
372
|
+
# Configuration class for the google.cloud.aiplatform.v1 package.
|
|
373
|
+
#
|
|
374
|
+
# This class contains common configuration for all services
|
|
375
|
+
# of the google.cloud.aiplatform.v1 package.
|
|
376
|
+
#
|
|
377
|
+
# This configuration is for internal use of the client library classes,
|
|
378
|
+
# and it is not intended that the end-users will read or change it.
|
|
379
|
+
#
|
|
380
|
+
class Configuration
|
|
381
|
+
extend ::Gapic::Config
|
|
382
|
+
|
|
383
|
+
# @private
|
|
384
|
+
# Overrides for http bindings for the RPC of the mixins for this package.
|
|
385
|
+
# Services in this package should use these when creating clients for the mixin services.
|
|
386
|
+
# @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
|
|
387
|
+
config_attr :bindings_override, {}, ::Hash, nil
|
|
388
|
+
|
|
389
|
+
# @private
|
|
390
|
+
def initialize parent_config = nil
|
|
391
|
+
@parent_config = parent_config unless parent_config.nil?
|
|
392
|
+
|
|
393
|
+
yield self if block_given?
|
|
394
|
+
end
|
|
395
|
+
end
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
end
|
|
@@ -32,6 +32,9 @@ module Google
|
|
|
32
32
|
# The service that manages Vertex AI Dataset and its child resources.
|
|
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
|
|
|
@@ -269,10 +272,11 @@ module Google
|
|
|
269
272
|
# Customize the options with defaults
|
|
270
273
|
metadata = @config.rpcs.create_dataset.metadata.to_h
|
|
271
274
|
|
|
272
|
-
# Set x-goog-api-client
|
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
276
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
278
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
279
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
276
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
277
281
|
|
|
278
282
|
header_params = {}
|
|
@@ -357,10 +361,11 @@ module Google
|
|
|
357
361
|
# Customize the options with defaults
|
|
358
362
|
metadata = @config.rpcs.get_dataset.metadata.to_h
|
|
359
363
|
|
|
360
|
-
# Set x-goog-api-client
|
|
364
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
361
365
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
362
366
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
363
367
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
368
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
364
369
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
365
370
|
|
|
366
371
|
header_params = {}
|
|
@@ -450,10 +455,11 @@ module Google
|
|
|
450
455
|
# Customize the options with defaults
|
|
451
456
|
metadata = @config.rpcs.update_dataset.metadata.to_h
|
|
452
457
|
|
|
453
|
-
# Set x-goog-api-client
|
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
454
459
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
456
461
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
462
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
457
463
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
458
464
|
|
|
459
465
|
header_params = {}
|
|
@@ -569,10 +575,11 @@ module Google
|
|
|
569
575
|
# Customize the options with defaults
|
|
570
576
|
metadata = @config.rpcs.list_datasets.metadata.to_h
|
|
571
577
|
|
|
572
|
-
# Set x-goog-api-client
|
|
578
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
573
579
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
574
580
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
575
581
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
582
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
576
583
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
577
584
|
|
|
578
585
|
header_params = {}
|
|
@@ -664,10 +671,11 @@ module Google
|
|
|
664
671
|
# Customize the options with defaults
|
|
665
672
|
metadata = @config.rpcs.delete_dataset.metadata.to_h
|
|
666
673
|
|
|
667
|
-
# Set x-goog-api-client
|
|
674
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
668
675
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
669
676
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
670
677
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
678
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
671
679
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
672
680
|
|
|
673
681
|
header_params = {}
|
|
@@ -762,10 +770,11 @@ module Google
|
|
|
762
770
|
# Customize the options with defaults
|
|
763
771
|
metadata = @config.rpcs.import_data.metadata.to_h
|
|
764
772
|
|
|
765
|
-
# Set x-goog-api-client
|
|
773
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
766
774
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
767
775
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
768
776
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
777
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
769
778
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
770
779
|
|
|
771
780
|
header_params = {}
|
|
@@ -859,10 +868,11 @@ module Google
|
|
|
859
868
|
# Customize the options with defaults
|
|
860
869
|
metadata = @config.rpcs.export_data.metadata.to_h
|
|
861
870
|
|
|
862
|
-
# Set x-goog-api-client
|
|
871
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
863
872
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
864
873
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
865
874
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
875
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
866
876
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
867
877
|
|
|
868
878
|
header_params = {}
|
|
@@ -958,10 +968,11 @@ module Google
|
|
|
958
968
|
# Customize the options with defaults
|
|
959
969
|
metadata = @config.rpcs.create_dataset_version.metadata.to_h
|
|
960
970
|
|
|
961
|
-
# Set x-goog-api-client
|
|
971
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
962
972
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
963
973
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
964
974
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
975
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
965
976
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
966
977
|
|
|
967
978
|
header_params = {}
|
|
@@ -1053,10 +1064,11 @@ module Google
|
|
|
1053
1064
|
# Customize the options with defaults
|
|
1054
1065
|
metadata = @config.rpcs.delete_dataset_version.metadata.to_h
|
|
1055
1066
|
|
|
1056
|
-
# Set x-goog-api-client
|
|
1067
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1057
1068
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1058
1069
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1059
1070
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1071
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1060
1072
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1061
1073
|
|
|
1062
1074
|
header_params = {}
|
|
@@ -1143,10 +1155,11 @@ module Google
|
|
|
1143
1155
|
# Customize the options with defaults
|
|
1144
1156
|
metadata = @config.rpcs.get_dataset_version.metadata.to_h
|
|
1145
1157
|
|
|
1146
|
-
# Set x-goog-api-client
|
|
1158
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1147
1159
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1148
1160
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1149
1161
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1162
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1150
1163
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1151
1164
|
|
|
1152
1165
|
header_params = {}
|
|
@@ -1245,10 +1258,11 @@ module Google
|
|
|
1245
1258
|
# Customize the options with defaults
|
|
1246
1259
|
metadata = @config.rpcs.list_dataset_versions.metadata.to_h
|
|
1247
1260
|
|
|
1248
|
-
# Set x-goog-api-client
|
|
1261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1249
1262
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1250
1263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1251
1264
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1265
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1252
1266
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1253
1267
|
|
|
1254
1268
|
header_params = {}
|
|
@@ -1340,10 +1354,11 @@ module Google
|
|
|
1340
1354
|
# Customize the options with defaults
|
|
1341
1355
|
metadata = @config.rpcs.restore_dataset_version.metadata.to_h
|
|
1342
1356
|
|
|
1343
|
-
# Set x-goog-api-client
|
|
1357
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1344
1358
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1345
1359
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1346
1360
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1361
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1347
1362
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1348
1363
|
|
|
1349
1364
|
header_params = {}
|
|
@@ -1443,10 +1458,11 @@ module Google
|
|
|
1443
1458
|
# Customize the options with defaults
|
|
1444
1459
|
metadata = @config.rpcs.list_data_items.metadata.to_h
|
|
1445
1460
|
|
|
1446
|
-
# Set x-goog-api-client
|
|
1461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1447
1462
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1448
1463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1449
1464
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1465
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1450
1466
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1451
1467
|
|
|
1452
1468
|
header_params = {}
|
|
@@ -1594,10 +1610,11 @@ module Google
|
|
|
1594
1610
|
# Customize the options with defaults
|
|
1595
1611
|
metadata = @config.rpcs.search_data_items.metadata.to_h
|
|
1596
1612
|
|
|
1597
|
-
# Set x-goog-api-client
|
|
1613
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1598
1614
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1599
1615
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1600
1616
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1617
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1601
1618
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1602
1619
|
|
|
1603
1620
|
header_params = {}
|
|
@@ -1697,10 +1714,11 @@ module Google
|
|
|
1697
1714
|
# Customize the options with defaults
|
|
1698
1715
|
metadata = @config.rpcs.list_saved_queries.metadata.to_h
|
|
1699
1716
|
|
|
1700
|
-
# Set x-goog-api-client
|
|
1717
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1701
1718
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1702
1719
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1703
1720
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1721
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1704
1722
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1705
1723
|
|
|
1706
1724
|
header_params = {}
|
|
@@ -1792,10 +1810,11 @@ module Google
|
|
|
1792
1810
|
# Customize the options with defaults
|
|
1793
1811
|
metadata = @config.rpcs.delete_saved_query.metadata.to_h
|
|
1794
1812
|
|
|
1795
|
-
# Set x-goog-api-client
|
|
1813
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1796
1814
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1797
1815
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1798
1816
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1817
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1799
1818
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1800
1819
|
|
|
1801
1820
|
header_params = {}
|
|
@@ -1882,10 +1901,11 @@ module Google
|
|
|
1882
1901
|
# Customize the options with defaults
|
|
1883
1902
|
metadata = @config.rpcs.get_annotation_spec.metadata.to_h
|
|
1884
1903
|
|
|
1885
|
-
# Set x-goog-api-client
|
|
1904
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1886
1905
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1887
1906
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1888
1907
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
1908
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1889
1909
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1890
1910
|
|
|
1891
1911
|
header_params = {}
|
|
@@ -1984,10 +2004,11 @@ module Google
|
|
|
1984
2004
|
# Customize the options with defaults
|
|
1985
2005
|
metadata = @config.rpcs.list_annotations.metadata.to_h
|
|
1986
2006
|
|
|
1987
|
-
# Set x-goog-api-client
|
|
2007
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1988
2008
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1989
2009
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1990
2010
|
gapic_version: ::Google::Cloud::AIPlatform::V1::VERSION
|
|
2011
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1991
2012
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1992
2013
|
|
|
1993
2014
|
header_params = {}
|