google-cloud-ai_platform-v1 0.33.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1796 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
- data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +53 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -4
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- metadata +33 -2
@@ -0,0 +1,139 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
module FeatureRegistryService
|
25
|
+
# Path helper methods for the FeatureRegistryService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified EntityType resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param featurestore [String]
|
37
|
+
# @param entity_type [String]
|
38
|
+
#
|
39
|
+
# @return [::String]
|
40
|
+
def entity_type_path project:, location:, featurestore:, entity_type:
|
41
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
42
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
44
|
+
|
45
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}"
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# Create a fully-qualified Feature resource string.
|
50
|
+
#
|
51
|
+
# @overload feature_path(project:, location:, featurestore:, entity_type:, feature:)
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param featurestore [String]
|
59
|
+
# @param entity_type [String]
|
60
|
+
# @param feature [String]
|
61
|
+
#
|
62
|
+
# @overload feature_path(project:, location:, feature_group:, feature:)
|
63
|
+
# The resource will be in the following format:
|
64
|
+
#
|
65
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
66
|
+
#
|
67
|
+
# @param project [String]
|
68
|
+
# @param location [String]
|
69
|
+
# @param feature_group [String]
|
70
|
+
# @param feature [String]
|
71
|
+
#
|
72
|
+
# @return [::String]
|
73
|
+
def feature_path **args
|
74
|
+
resources = {
|
75
|
+
"entity_type:feature:featurestore:location:project" => (proc do |project:, location:, featurestore:, entity_type:, feature:|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
77
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
78
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}/features/#{feature}"
|
82
|
+
end),
|
83
|
+
"feature:feature_group:location:project" => (proc do |project:, location:, feature_group:, feature:|
|
84
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
85
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "feature_group cannot contain /" if feature_group.to_s.include? "/"
|
87
|
+
|
88
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}/features/#{feature}"
|
89
|
+
end)
|
90
|
+
}
|
91
|
+
|
92
|
+
resource = resources[args.keys.sort.join(":")]
|
93
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
94
|
+
resource.call(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
##
|
98
|
+
# Create a fully-qualified FeatureGroup resource string.
|
99
|
+
#
|
100
|
+
# The resource will be in the following format:
|
101
|
+
#
|
102
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
103
|
+
#
|
104
|
+
# @param project [String]
|
105
|
+
# @param location [String]
|
106
|
+
# @param feature_group [String]
|
107
|
+
#
|
108
|
+
# @return [::String]
|
109
|
+
def feature_group_path project:, location:, feature_group:
|
110
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
111
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
112
|
+
|
113
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}"
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Create a fully-qualified Location resource string.
|
118
|
+
#
|
119
|
+
# The resource will be in the following format:
|
120
|
+
#
|
121
|
+
# `projects/{project}/locations/{location}`
|
122
|
+
#
|
123
|
+
# @param project [String]
|
124
|
+
# @param location [String]
|
125
|
+
#
|
126
|
+
# @return [::String]
|
127
|
+
def location_path project:, location:
|
128
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
129
|
+
|
130
|
+
"projects/#{project}/locations/#{location}"
|
131
|
+
end
|
132
|
+
|
133
|
+
extend self
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/ai_platform/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/credentials"
|
26
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/paths"
|
27
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/operations"
|
28
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module AIPlatform
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# The service that handles CRUD and List for resources for
|
36
|
+
# FeatureRegistry.
|
37
|
+
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
39
|
+
#
|
40
|
+
# require "google/cloud/ai_platform/v1/feature_registry_service"
|
41
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client.new
|
42
|
+
#
|
43
|
+
module FeatureRegistryService
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
helper_path = ::File.join __dir__, "feature_registry_service", "helpers.rb"
|
51
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/helpers" if ::File.file? helper_path
|
@@ -1274,9 +1274,11 @@ module Google
|
|
1274
1274
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1275
1275
|
#
|
1276
1276
|
# @param parent [::String]
|
1277
|
-
# Required. The resource name of the EntityType to create a
|
1278
|
-
# Format:
|
1277
|
+
# Required. The resource name of the EntityType or FeatureGroup to create a
|
1278
|
+
# Feature. Format for entity_type as parent:
|
1279
1279
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1280
|
+
# Format for feature_group as parent:
|
1281
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1280
1282
|
# @param feature [::Google::Cloud::AIPlatform::V1::Feature, ::Hash]
|
1281
1283
|
# Required. The Feature to create.
|
1282
1284
|
# @param feature_id [::String]
|
@@ -1286,7 +1288,7 @@ module Google
|
|
1286
1288
|
# This value may be up to 128 characters, and valid characters are
|
1287
1289
|
# `[a-z0-9_]`. The first character cannot be a number.
|
1288
1290
|
#
|
1289
|
-
# The value must be unique within an EntityType.
|
1291
|
+
# The value must be unique within an EntityType/FeatureGroup.
|
1290
1292
|
#
|
1291
1293
|
# @yield [response, operation] Access the result along with the RPC operation
|
1292
1294
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1481,8 +1483,10 @@ module Google
|
|
1481
1483
|
#
|
1482
1484
|
# @param name [::String]
|
1483
1485
|
# Required. The name of the Feature resource.
|
1484
|
-
# Format:
|
1486
|
+
# Format for entity_type as parent:
|
1485
1487
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1488
|
+
# Format for feature_group as parent:
|
1489
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1486
1490
|
#
|
1487
1491
|
# @yield [response, operation] Access the result along with the RPC operation
|
1488
1492
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1568,8 +1572,10 @@ module Google
|
|
1568
1572
|
#
|
1569
1573
|
# @param parent [::String]
|
1570
1574
|
# Required. The resource name of the Location to list Features.
|
1571
|
-
# Format:
|
1575
|
+
# Format for entity_type as parent:
|
1572
1576
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1577
|
+
# Format for feature_group as parent:
|
1578
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1573
1579
|
# @param filter [::String]
|
1574
1580
|
# Lists the Features that match the filter expression. The following
|
1575
1581
|
# filters are supported:
|
@@ -1599,10 +1605,14 @@ module Google
|
|
1599
1605
|
# @param page_token [::String]
|
1600
1606
|
# A page token, received from a previous
|
1601
1607
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
1608
|
+
# call or
|
1609
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
1602
1610
|
# call. Provide this to retrieve the subsequent page.
|
1603
1611
|
#
|
1604
1612
|
# When paginating, all other parameters provided to
|
1605
1613
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
1614
|
+
# or or
|
1615
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
1606
1616
|
# must match the call that provided the page token.
|
1607
1617
|
# @param order_by [::String]
|
1608
1618
|
# A comma-separated list of fields to order by, sorted in ascending order.
|
@@ -1610,12 +1620,13 @@ module Google
|
|
1610
1620
|
# Supported fields:
|
1611
1621
|
#
|
1612
1622
|
# * `feature_id`
|
1613
|
-
# * `value_type`
|
1623
|
+
# * `value_type` (Not supported for FeatureRegistry Feature)
|
1614
1624
|
# * `create_time`
|
1615
1625
|
# * `update_time`
|
1616
1626
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1617
1627
|
# Mask specifying which fields to read.
|
1618
1628
|
# @param latest_stats_count [::Integer]
|
1629
|
+
# Only applicable for Vertex AI Feature Store (Legacy).
|
1619
1630
|
# If set, return the most recent
|
1620
1631
|
# {::Google::Cloud::AIPlatform::V1::ListFeaturesRequest#latest_stats_count ListFeaturesRequest.latest_stats_count}
|
1621
1632
|
# of stats for each Feature in response. Valid value is [0, 10]. If number of
|
@@ -1715,6 +1726,7 @@ module Google
|
|
1715
1726
|
# updated.
|
1716
1727
|
# Format:
|
1717
1728
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
1729
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
1718
1730
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1719
1731
|
# Field mask is used to specify the fields to be overwritten in the
|
1720
1732
|
# Features resource by the update.
|
@@ -1728,7 +1740,7 @@ module Google
|
|
1728
1740
|
#
|
1729
1741
|
# * `description`
|
1730
1742
|
# * `labels`
|
1731
|
-
# * `disable_monitoring`
|
1743
|
+
# * `disable_monitoring` (Not supported for FeatureRegistry Feature)
|
1732
1744
|
#
|
1733
1745
|
# @yield [response, operation] Access the result along with the RPC operation
|
1734
1746
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1816,6 +1828,7 @@ module Google
|
|
1816
1828
|
# Required. The name of the Features to be deleted.
|
1817
1829
|
# Format:
|
1818
1830
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
1831
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
1819
1832
|
#
|
1820
1833
|
# @yield [response, operation] Access the result along with the RPC operation
|
1821
1834
|
# @yieldparam response [::Gapic::Operation]
|
@@ -48,24 +48,69 @@ module Google
|
|
48
48
|
##
|
49
49
|
# Create a fully-qualified Feature resource string.
|
50
50
|
#
|
51
|
+
# @overload feature_path(project:, location:, featurestore:, entity_type:, feature:)
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param featurestore [String]
|
59
|
+
# @param entity_type [String]
|
60
|
+
# @param feature [String]
|
61
|
+
#
|
62
|
+
# @overload feature_path(project:, location:, feature_group:, feature:)
|
63
|
+
# The resource will be in the following format:
|
64
|
+
#
|
65
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
66
|
+
#
|
67
|
+
# @param project [String]
|
68
|
+
# @param location [String]
|
69
|
+
# @param feature_group [String]
|
70
|
+
# @param feature [String]
|
71
|
+
#
|
72
|
+
# @return [::String]
|
73
|
+
def feature_path **args
|
74
|
+
resources = {
|
75
|
+
"entity_type:feature:featurestore:location:project" => (proc do |project:, location:, featurestore:, entity_type:, feature:|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
77
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
78
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}/features/#{feature}"
|
82
|
+
end),
|
83
|
+
"feature:feature_group:location:project" => (proc do |project:, location:, feature_group:, feature:|
|
84
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
85
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "feature_group cannot contain /" if feature_group.to_s.include? "/"
|
87
|
+
|
88
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}/features/#{feature}"
|
89
|
+
end)
|
90
|
+
}
|
91
|
+
|
92
|
+
resource = resources[args.keys.sort.join(":")]
|
93
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
94
|
+
resource.call(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
##
|
98
|
+
# Create a fully-qualified FeatureGroup resource string.
|
99
|
+
#
|
51
100
|
# The resource will be in the following format:
|
52
101
|
#
|
53
|
-
# `projects/{project}/locations/{location}/
|
102
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
54
103
|
#
|
55
104
|
# @param project [String]
|
56
105
|
# @param location [String]
|
57
|
-
# @param
|
58
|
-
# @param entity_type [String]
|
59
|
-
# @param feature [String]
|
106
|
+
# @param feature_group [String]
|
60
107
|
#
|
61
108
|
# @return [::String]
|
62
|
-
def
|
109
|
+
def feature_group_path project:, location:, feature_group:
|
63
110
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
64
111
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
65
|
-
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
66
|
-
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
67
112
|
|
68
|
-
"projects/#{project}/locations/#{location}/
|
113
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}"
|
69
114
|
end
|
70
115
|
|
71
116
|
##
|
@@ -18,8 +18,11 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/ai_platform/v1/dataset_service"
|
20
20
|
require "google/cloud/ai_platform/v1/endpoint_service"
|
21
|
+
require "google/cloud/ai_platform/v1/feature_online_store_admin_service"
|
21
22
|
require "google/cloud/ai_platform/v1/featurestore_online_serving_service"
|
23
|
+
require "google/cloud/ai_platform/v1/feature_online_store_service"
|
22
24
|
require "google/cloud/ai_platform/v1/featurestore_service"
|
25
|
+
require "google/cloud/ai_platform/v1/feature_registry_service"
|
23
26
|
require "google/cloud/ai_platform/v1/index_endpoint_service"
|
24
27
|
require "google/cloud/ai_platform/v1/index_service"
|
25
28
|
require "google/cloud/ai_platform/v1/job_service"
|
@@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
|
|
16
16
|
require 'google/rpc/status_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe1\x06\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\
|
19
|
+
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe1\x06\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\x89\x05\n\rCustomJobSpec\x12J\n\x11worker_pool_specs\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.WorkerPoolSpecB\x03\xe0\x41\x02\x12:\n\nscheduling\x18\x03 \x01(\x0b\x32&.google.cloud.aiplatform.v1.Scheduling\x12\x17\n\x0fservice_account\x18\x04 \x01(\t\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12reserved_ip_ranges\x18\r \x03(\tB\x03\xe0\x41\x01\x12I\n\x15\x62\x61se_output_directory\x18\x06 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestination\x12&\n\x1eprotected_artifact_location_id\x18\x13 \x01(\t\x12\x42\n\x0btensorboard\x18\x07 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x12\x1e\n\x11\x65nable_web_access\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x65nable_dashboard_access\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nexperiment\x18\x11 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x41\n\x0e\x65xperiment_run\x18\x12 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\"\x86\x03\n\x0eWorkerPoolSpec\x12\x43\n\x0e\x63ontainer_spec\x18\x06 \x01(\x0b\x32).google.cloud.aiplatform.v1.ContainerSpecH\x00\x12L\n\x13python_package_spec\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.PythonPackageSpecH\x00\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\rreplica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12=\n\nnfs_mounts\x18\x04 \x03(\x0b\x32$.google.cloud.aiplatform.v1.NfsMountB\x03\xe0\x41\x01\x12\x37\n\tdisk_spec\x18\x05 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x06\n\x04task\"w\n\rContainerSpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12/\n\x03\x65nv\x18\x04 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"\xaa\x01\n\x11PythonPackageSpec\x12\x1f\n\x12\x65xecutor_image_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cpackage_uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rpython_module\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12/\n\x03\x65nv\x18\x05 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"}\n\nScheduling\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x1drestart_job_on_worker_restart\x18\x03 \x01(\x08\x12\x1c\n\x0f\x64isable_retries\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\xcc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0e\x43ustomJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/feature_group.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/aiplatform/v1/io_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n.google/cloud/aiplatform/v1/feature_group.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x05\n\x0c\x46\x65\x61tureGroup\x12\x46\n\tbig_query\x18\x07 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FeatureGroup.BigQueryH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.FeatureGroup.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x01\x1ax\n\x08\x42igQuery\x12L\n\x10\x62ig_query_source\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.BigQuerySourceB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1e\n\x11\x65ntity_id_columns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x90\x01\xea\x41\x8c\x01\n&aiplatform.googleapis.com/FeatureGroup\x12\x45projects/{project}/locations/{location}/featureGroups/{feature_group}*\rfeatureGroups2\x0c\x66\x65\x61tureGroupB\x08\n\x06sourceB\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11\x46\x65\x61tureGroupProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.cloud.aiplatform.v1.BigQuerySource", "google/cloud/aiplatform/v1/io.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module AIPlatform
|
44
|
+
module V1
|
45
|
+
FeatureGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureGroup").msgclass
|
46
|
+
FeatureGroup::BigQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureGroup.BigQuery").msgclass
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/feature_online_store_admin_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/aiplatform/v1/feature_online_store_pb'
|
12
|
+
require 'google/cloud/aiplatform/v1/feature_view_pb'
|
13
|
+
require 'google/cloud/aiplatform/v1/feature_view_sync_pb'
|
14
|
+
require 'google/cloud/aiplatform/v1/operation_pb'
|
15
|
+
require 'google/longrunning/operations_pb'
|
16
|
+
require 'google/protobuf/empty_pb'
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
18
|
+
|
19
|
+
|
20
|
+
descriptor_data = "\nCgoogle/cloud/aiplatform/v1/feature_online_store_admin_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/aiplatform/v1/feature_online_store.proto\x1a-google/cloud/aiplatform/v1/feature_view.proto\x1a\x32google/cloud/aiplatform/v1/feature_view_sync.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xe0\x01\n\x1f\x43reateFeatureOnlineStoreRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12$\n\x17\x66\x65\x61ture_online_store_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"b\n\x1cGetFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\"\xaf\x01\n\x1eListFeatureOnlineStoresRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x89\x01\n\x1fListFeatureOnlineStoresResponse\x12M\n\x15\x66\x65\x61ture_online_stores\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x1fUpdateFeatureOnlineStoreRequest\x12Q\n\x14\x66\x65\x61ture_online_store\x18\x01 \x01(\x0b\x32..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"t\n\x1f\x44\x65leteFeatureOnlineStoreRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xe5\x01\n\x18\x43reateFeatureViewRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/FeatureOnlineStore\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66\x65\x61ture_view_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12!\n\x14run_sync_immediately\x18\x04 \x01(\x08\x42\x03\xe0\x41\x05\"T\n\x15GetFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"\xa1\x01\n\x17ListFeatureViewsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"s\n\x18ListFeatureViewsResponse\x12>\n\rfeature_views\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8f\x01\n\x18UpdateFeatureViewRequest\x12\x42\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.FeatureViewB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"W\n\x18\x44\x65leteFeatureViewRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"{\n)CreateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n)UpdateFeatureOnlineStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"CreateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\n\"UpdateFeatureViewOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\n\x16SyncFeatureViewRequest\x12\x43\n\x0c\x66\x65\x61ture_view\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\"4\n\x17SyncFeatureViewResponse\x12\x19\n\x11\x66\x65\x61ture_view_sync\x18\x01 \x01(\t\"\\\n\x19GetFeatureViewSyncRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/FeatureViewSync\"\xa5\x01\n\x1bListFeatureViewSyncsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%aiplatform.googleapis.com/FeatureView\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x1cListFeatureViewSyncsResponse\x12G\n\x12\x66\x65\x61ture_view_syncs\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.FeatureViewSync\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd0\x1a\n\x1e\x46\x65\x61tureOnlineStoreAdminService\x12\xc6\x02\n\x18\x43reateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:\x14\x66\x65\x61ture_online_store\xda\x41\x33parent,feature_online_store,feature_online_store_id\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)CreateFeatureOnlineStoreOperationMetadata\x12\xc9\x01\n\x15GetFeatureOnlineStore\x12\x38.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest\x1a..google.cloud.aiplatform.v1.FeatureOnlineStore\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/featureOnlineStores/*}\xda\x41\x04name\x12\xdc\x01\n\x17ListFeatureOnlineStores\x12:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest\x1a;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/featureOnlineStores\xda\x41\x06parent\x12\xc8\x02\n\x18UpdateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\x82\xd3\xe4\x93\x02\x64\x32L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:\x14\x66\x65\x61ture_online_store\xda\x41 feature_online_store,update_mask\xca\x41?\n\x12\x46\x65\x61tureOnlineStore\x12)UpdateFeatureOnlineStoreOperationMetadata\x12\xf7\x01\n\x18\x44\x65leteFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/featureOnlineStores/*}\xda\x41\nname,force\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xa1\x02\n\x11\x43reateFeatureView\x12\x34.google.cloud.aiplatform.v1.CreateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\x82\xd3\xe4\x93\x02V\"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews:\x0c\x66\x65\x61ture_view\xda\x41#parent,feature_view,feature_view_id\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"CreateFeatureViewOperationMetadata\x12\xc3\x01\n\x0eGetFeatureView\x12\x31.google.cloud.aiplatform.v1.GetFeatureViewRequest\x1a\'.google.cloud.aiplatform.v1.FeatureView\"U\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\xda\x41\x04name\x12\xd6\x01\n\x10ListFeatureViews\x12\x33.google.cloud.aiplatform.v1.ListFeatureViewsRequest\x1a\x34.google.cloud.aiplatform.v1.ListFeatureViewsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews\xda\x41\x06parent\x12\xa3\x02\n\x11UpdateFeatureView\x12\x34.google.cloud.aiplatform.v1.UpdateFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\x82\xd3\xe4\x93\x02\x63\x32S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:\x0c\x66\x65\x61ture_view\xda\x41\x18\x66\x65\x61ture_view,update_mask\xca\x41\x31\n\x0b\x46\x65\x61tureView\x12\"UpdateFeatureViewOperationMetadata\x12\xf3\x01\n\x11\x44\x65leteFeatureView\x12\x34.google.cloud.aiplatform.v1.DeleteFeatureViewRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02H*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe9\x01\n\x0fSyncFeatureView\x12\x32.google.cloud.aiplatform.v1.SyncFeatureViewRequest\x1a\x33.google.cloud.aiplatform.v1.SyncFeatureViewResponse\"m\x82\xd3\xe4\x93\x02X\"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:\x01*\xda\x41\x0c\x66\x65\x61ture_view\x12\xe2\x01\n\x12GetFeatureViewSync\x12\x35.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest\x1a+.google.cloud.aiplatform.v1.FeatureViewSync\"h\x82\xd3\xe4\x93\x02[\x12Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}\xda\x41\x04name\x12\xf5\x01\n\x14ListFeatureViewSyncs\x12\x37.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest\x1a\x38.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse\"j\x82\xd3\xe4\x93\x02[\x12Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
21
|
+
|
22
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
23
|
+
|
24
|
+
begin
|
25
|
+
pool.add_serialized_file(descriptor_data)
|
26
|
+
rescue TypeError => e
|
27
|
+
# Compatibility code: will be removed in the next major version.
|
28
|
+
require 'google/protobuf/descriptor_pb'
|
29
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
30
|
+
parsed.clear_dependency
|
31
|
+
serialized = parsed.class.encode(parsed)
|
32
|
+
file = pool.add_serialized_file(serialized)
|
33
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
34
|
+
imports = [
|
35
|
+
["google.cloud.aiplatform.v1.FeatureOnlineStore", "google/cloud/aiplatform/v1/feature_online_store.proto"],
|
36
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
37
|
+
["google.cloud.aiplatform.v1.FeatureView", "google/cloud/aiplatform/v1/feature_view.proto"],
|
38
|
+
["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
|
39
|
+
["google.cloud.aiplatform.v1.FeatureViewSync", "google/cloud/aiplatform/v1/feature_view_sync.proto"],
|
40
|
+
]
|
41
|
+
imports.each do |type_name, expected_filename|
|
42
|
+
import_file = pool.lookup(type_name).file_descriptor
|
43
|
+
if import_file.name != expected_filename
|
44
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
48
|
+
warn "This will become an error in the next major version."
|
49
|
+
end
|
50
|
+
|
51
|
+
module Google
|
52
|
+
module Cloud
|
53
|
+
module AIPlatform
|
54
|
+
module V1
|
55
|
+
CreateFeatureOnlineStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest").msgclass
|
56
|
+
GetFeatureOnlineStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest").msgclass
|
57
|
+
ListFeatureOnlineStoresRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest").msgclass
|
58
|
+
ListFeatureOnlineStoresResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse").msgclass
|
59
|
+
UpdateFeatureOnlineStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest").msgclass
|
60
|
+
DeleteFeatureOnlineStoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest").msgclass
|
61
|
+
CreateFeatureViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateFeatureViewRequest").msgclass
|
62
|
+
GetFeatureViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetFeatureViewRequest").msgclass
|
63
|
+
ListFeatureViewsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureViewsRequest").msgclass
|
64
|
+
ListFeatureViewsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureViewsResponse").msgclass
|
65
|
+
UpdateFeatureViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateFeatureViewRequest").msgclass
|
66
|
+
DeleteFeatureViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureViewRequest").msgclass
|
67
|
+
CreateFeatureOnlineStoreOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateFeatureOnlineStoreOperationMetadata").msgclass
|
68
|
+
UpdateFeatureOnlineStoreOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreOperationMetadata").msgclass
|
69
|
+
CreateFeatureViewOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateFeatureViewOperationMetadata").msgclass
|
70
|
+
UpdateFeatureViewOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateFeatureViewOperationMetadata").msgclass
|
71
|
+
SyncFeatureViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyncFeatureViewRequest").msgclass
|
72
|
+
SyncFeatureViewResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyncFeatureViewResponse").msgclass
|
73
|
+
GetFeatureViewSyncRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetFeatureViewSyncRequest").msgclass
|
74
|
+
ListFeatureViewSyncsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest").msgclass
|
75
|
+
ListFeatureViewSyncsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse").msgclass
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|