google-cloud-ai_platform-v1 0.33.0 → 0.35.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/llm_utility_service/client.rb +528 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb +78 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +374 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +5 -1
- 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/llm_utility_service_pb.rb +52 -0
- data/lib/google/cloud/aiplatform/v1/llm_utility_service_services_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/api/client.rb +13 -0
- 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/llm_utility_service.rb +64 -0
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +61 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +140 -2
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- metadata +40 -2
@@ -0,0 +1,208 @@
|
|
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
|
+
# Request message for
|
25
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#create_feature_group FeatureRegistryService.CreateFeatureGroup}.
|
26
|
+
# @!attribute [rw] parent
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The resource name of the Location to create FeatureGroups.
|
29
|
+
# Format:
|
30
|
+
# `projects/{project}/locations/{location}'`
|
31
|
+
# @!attribute [rw] feature_group
|
32
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureGroup]
|
33
|
+
# Required. The FeatureGroup to create.
|
34
|
+
# @!attribute [rw] feature_group_id
|
35
|
+
# @return [::String]
|
36
|
+
# Required. The ID to use for this FeatureGroup, which will become the final
|
37
|
+
# component of the FeatureGroup's resource name.
|
38
|
+
#
|
39
|
+
# This value may be up to 60 characters, and valid characters are
|
40
|
+
# `[a-z0-9_]`. The first character cannot be a number.
|
41
|
+
#
|
42
|
+
# The value must be unique within the project and location.
|
43
|
+
class CreateFeatureGroupRequest
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
|
48
|
+
# Request message for
|
49
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#get_feature_group FeatureRegistryService.GetFeatureGroup}.
|
50
|
+
# @!attribute [rw] name
|
51
|
+
# @return [::String]
|
52
|
+
# Required. The name of the FeatureGroup resource.
|
53
|
+
class GetFeatureGroupRequest
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Request message for
|
59
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}.
|
60
|
+
# @!attribute [rw] parent
|
61
|
+
# @return [::String]
|
62
|
+
# Required. The resource name of the Location to list FeatureGroups.
|
63
|
+
# Format:
|
64
|
+
# `projects/{project}/locations/{location}`
|
65
|
+
# @!attribute [rw] filter
|
66
|
+
# @return [::String]
|
67
|
+
# Lists the FeatureGroups that match the filter expression. The
|
68
|
+
# following fields are supported:
|
69
|
+
#
|
70
|
+
# * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
71
|
+
# Values must be
|
72
|
+
# in RFC 3339 format.
|
73
|
+
# * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
74
|
+
# Values must be
|
75
|
+
# in RFC 3339 format.
|
76
|
+
# * `labels`: Supports key-value equality and key presence.
|
77
|
+
#
|
78
|
+
# Examples:
|
79
|
+
#
|
80
|
+
# * `create_time > "2020-01-01" OR update_time > "2020-01-01"`
|
81
|
+
# FeatureGroups created or updated after 2020-01-01.
|
82
|
+
# * `labels.env = "prod"`
|
83
|
+
# FeatureGroups with label "env" set to "prod".
|
84
|
+
# @!attribute [rw] page_size
|
85
|
+
# @return [::Integer]
|
86
|
+
# The maximum number of FeatureGroups to return. The service may return
|
87
|
+
# fewer than this value. If unspecified, at most 100 FeatureGroups will
|
88
|
+
# be returned. The maximum value is 100; any value greater than 100 will be
|
89
|
+
# coerced to 100.
|
90
|
+
# @!attribute [rw] page_token
|
91
|
+
# @return [::String]
|
92
|
+
# A page token, received from a previous
|
93
|
+
# [FeatureGroupAdminService.ListFeatureGroups][] call.
|
94
|
+
# Provide this to retrieve the subsequent page.
|
95
|
+
#
|
96
|
+
# When paginating, all other parameters provided to
|
97
|
+
# [FeatureGroupAdminService.ListFeatureGroups][] must
|
98
|
+
# match the call that provided the page token.
|
99
|
+
# @!attribute [rw] order_by
|
100
|
+
# @return [::String]
|
101
|
+
# A comma-separated list of fields to order by, sorted in ascending order.
|
102
|
+
# Use "desc" after a field name for descending.
|
103
|
+
# Supported Fields:
|
104
|
+
#
|
105
|
+
# * `create_time`
|
106
|
+
# * `update_time`
|
107
|
+
class ListFeatureGroupsRequest
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# Response message for
|
113
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}.
|
114
|
+
# @!attribute [rw] feature_groups
|
115
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureGroup>]
|
116
|
+
# The FeatureGroups matching the request.
|
117
|
+
# @!attribute [rw] next_page_token
|
118
|
+
# @return [::String]
|
119
|
+
# A token, which can be sent as
|
120
|
+
# {::Google::Cloud::AIPlatform::V1::ListFeatureGroupsRequest#page_token ListFeatureGroupsRequest.page_token}
|
121
|
+
# to retrieve the next page. If this field is omitted, there are no
|
122
|
+
# subsequent pages.
|
123
|
+
class ListFeatureGroupsResponse
|
124
|
+
include ::Google::Protobuf::MessageExts
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
|
+
end
|
127
|
+
|
128
|
+
# Request message for
|
129
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#update_feature_group FeatureRegistryService.UpdateFeatureGroup}.
|
130
|
+
# @!attribute [rw] feature_group
|
131
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureGroup]
|
132
|
+
# Required. The FeatureGroup's `name` field is used to identify the
|
133
|
+
# FeatureGroup to be updated. Format:
|
134
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
135
|
+
# @!attribute [rw] update_mask
|
136
|
+
# @return [::Google::Protobuf::FieldMask]
|
137
|
+
# Field mask is used to specify the fields to be overwritten in the
|
138
|
+
# FeatureGroup resource by the update.
|
139
|
+
# The fields specified in the update_mask are relative to the resource, not
|
140
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
141
|
+
# user does not provide a mask then only the non-empty fields present in the
|
142
|
+
# request will be overwritten. Set the update_mask to `*` to override all
|
143
|
+
# fields.
|
144
|
+
#
|
145
|
+
# Updatable fields:
|
146
|
+
#
|
147
|
+
# * `labels`
|
148
|
+
class UpdateFeatureGroupRequest
|
149
|
+
include ::Google::Protobuf::MessageExts
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
|
+
end
|
152
|
+
|
153
|
+
# Request message for
|
154
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#delete_feature_group FeatureRegistryService.DeleteFeatureGroup}.
|
155
|
+
# @!attribute [rw] name
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The name of the FeatureGroup to be deleted.
|
158
|
+
# Format:
|
159
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
160
|
+
# @!attribute [rw] force
|
161
|
+
# @return [::Boolean]
|
162
|
+
# If set to true, any Features under this FeatureGroup
|
163
|
+
# will also be deleted. (Otherwise, the request will only work if the
|
164
|
+
# FeatureGroup has no Features.)
|
165
|
+
class DeleteFeatureGroupRequest
|
166
|
+
include ::Google::Protobuf::MessageExts
|
167
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
168
|
+
end
|
169
|
+
|
170
|
+
# Details of operations that perform create FeatureGroup.
|
171
|
+
# @!attribute [rw] generic_metadata
|
172
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
173
|
+
# Operation metadata for FeatureGroup.
|
174
|
+
class CreateFeatureGroupOperationMetadata
|
175
|
+
include ::Google::Protobuf::MessageExts
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
end
|
178
|
+
|
179
|
+
# Details of operations that perform update FeatureGroup.
|
180
|
+
# @!attribute [rw] generic_metadata
|
181
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
182
|
+
# Operation metadata for FeatureGroup.
|
183
|
+
class UpdateFeatureGroupOperationMetadata
|
184
|
+
include ::Google::Protobuf::MessageExts
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
end
|
187
|
+
|
188
|
+
# Details of operations that perform create FeatureGroup.
|
189
|
+
# @!attribute [rw] generic_metadata
|
190
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
191
|
+
# Operation metadata for Feature.
|
192
|
+
class CreateRegistryFeatureOperationMetadata
|
193
|
+
include ::Google::Protobuf::MessageExts
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
195
|
+
end
|
196
|
+
|
197
|
+
# Details of operations that perform update Feature.
|
198
|
+
# @!attribute [rw] generic_metadata
|
199
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
200
|
+
# Operation metadata for Feature Update.
|
201
|
+
class UpdateFeatureOperationMetadata
|
202
|
+
include ::Google::Protobuf::MessageExts
|
203
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
@@ -0,0 +1,131 @@
|
|
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
|
+
# FeatureView is representation of values that the FeatureOnlineStore will
|
25
|
+
# serve based on its syncConfig.
|
26
|
+
# @!attribute [rw] big_query_source
|
27
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::BigQuerySource]
|
28
|
+
# Optional. Configures how data is supposed to be extracted from a BigQuery
|
29
|
+
# source to be loaded onto the FeatureOnlineStore.
|
30
|
+
# @!attribute [rw] feature_registry_source
|
31
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::FeatureRegistrySource]
|
32
|
+
# Optional. Configures the features from a Feature Registry source that
|
33
|
+
# need to be loaded onto the FeatureOnlineStore.
|
34
|
+
# @!attribute [r] name
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. Name of the FeatureView. Format:
|
37
|
+
# `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
|
38
|
+
# @!attribute [r] create_time
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
40
|
+
# Output only. Timestamp when this FeatureView was created.
|
41
|
+
# @!attribute [r] update_time
|
42
|
+
# @return [::Google::Protobuf::Timestamp]
|
43
|
+
# Output only. Timestamp when this FeatureView was last updated.
|
44
|
+
# @!attribute [rw] etag
|
45
|
+
# @return [::String]
|
46
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set,
|
47
|
+
# a blind "overwrite" update happens.
|
48
|
+
# @!attribute [rw] labels
|
49
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
50
|
+
# Optional. The labels with user-defined metadata to organize your
|
51
|
+
# FeatureViews.
|
52
|
+
#
|
53
|
+
# Label keys and values can be no longer than 64 characters
|
54
|
+
# (Unicode codepoints), can only contain lowercase letters, numeric
|
55
|
+
# characters, underscores and dashes. International characters are allowed.
|
56
|
+
#
|
57
|
+
# See https://goo.gl/xmQnxf for more information on and examples of labels.
|
58
|
+
# No more than 64 user labels can be associated with one
|
59
|
+
# FeatureOnlineStore(System labels are excluded)." System reserved label keys
|
60
|
+
# are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
61
|
+
# @!attribute [rw] sync_config
|
62
|
+
# @return [::Google::Cloud::AIPlatform::V1::FeatureView::SyncConfig]
|
63
|
+
# Configures when data is to be synced/updated for this FeatureView. At the
|
64
|
+
# end of the sync the latest featureValues for each entityId of this
|
65
|
+
# FeatureView are made ready for online serving.
|
66
|
+
class FeatureView
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
|
70
|
+
# @!attribute [rw] uri
|
71
|
+
# @return [::String]
|
72
|
+
# Required. The BigQuery view URI that will be materialized on each sync
|
73
|
+
# trigger based on FeatureView.SyncConfig.
|
74
|
+
# @!attribute [rw] entity_id_columns
|
75
|
+
# @return [::Array<::String>]
|
76
|
+
# Required. Columns to construct entity_id / row keys. Start by supporting
|
77
|
+
# 1 only.
|
78
|
+
class BigQuerySource
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
end
|
82
|
+
|
83
|
+
# @!attribute [rw] cron
|
84
|
+
# @return [::String]
|
85
|
+
# Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled
|
86
|
+
# runs. To explicitly set a timezone to the cron tab, apply a prefix in
|
87
|
+
# the cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or "TZ=$\\{IANA_TIME_ZONE}".
|
88
|
+
# The $\\{IANA_TIME_ZONE} may only be a valid string from IANA time zone
|
89
|
+
# database. For example, "CRON_TZ=America/New_York 1 * * * *", or
|
90
|
+
# "TZ=America/New_York 1 * * * *".
|
91
|
+
class SyncConfig
|
92
|
+
include ::Google::Protobuf::MessageExts
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
end
|
95
|
+
|
96
|
+
# A Feature Registry source for features that need to be synced to Online
|
97
|
+
# Store.
|
98
|
+
# @!attribute [rw] feature_groups
|
99
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureView::FeatureRegistrySource::FeatureGroup>]
|
100
|
+
# Required. List of features that need to be synced to Online Store.
|
101
|
+
class FeatureRegistrySource
|
102
|
+
include ::Google::Protobuf::MessageExts
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
|
+
|
105
|
+
# Features belonging to a single feature group that will be
|
106
|
+
# synced to Online Store.
|
107
|
+
# @!attribute [rw] feature_group_id
|
108
|
+
# @return [::String]
|
109
|
+
# Required. Identifier of the feature group.
|
110
|
+
# @!attribute [rw] feature_ids
|
111
|
+
# @return [::Array<::String>]
|
112
|
+
# Required. Identifiers of features under the feature group.
|
113
|
+
class FeatureGroup
|
114
|
+
include ::Google::Protobuf::MessageExts
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# @!attribute [rw] key
|
120
|
+
# @return [::String]
|
121
|
+
# @!attribute [rw] value
|
122
|
+
# @return [::String]
|
123
|
+
class LabelsEntry
|
124
|
+
include ::Google::Protobuf::MessageExts
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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
|
+
# FeatureViewSync is a representation of sync operation which copies data from
|
25
|
+
# data source to Feature View in Online Store.
|
26
|
+
# @!attribute [r] name
|
27
|
+
# @return [::String]
|
28
|
+
# Output only. Name of the FeatureViewSync. Format:
|
29
|
+
# `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`
|
30
|
+
# @!attribute [r] create_time
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
32
|
+
# Output only. Time when this FeatureViewSync is created. Creation of a
|
33
|
+
# FeatureViewSync means that the job is pending / waiting for sufficient
|
34
|
+
# resources but may not have started the actual data transfer yet.
|
35
|
+
# @!attribute [r] run_time
|
36
|
+
# @return [::Google::Type::Interval]
|
37
|
+
# Output only. Time when this FeatureViewSync is finished.
|
38
|
+
# @!attribute [r] final_status
|
39
|
+
# @return [::Google::Rpc::Status]
|
40
|
+
# Output only. Final status of the FeatureViewSync.
|
41
|
+
class FeatureViewSync
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -640,11 +640,15 @@ module Google
|
|
640
640
|
|
641
641
|
# Request message for
|
642
642
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#create_feature FeaturestoreService.CreateFeature}.
|
643
|
+
# Request message for
|
644
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#create_feature FeatureRegistryService.CreateFeature}.
|
643
645
|
# @!attribute [rw] parent
|
644
646
|
# @return [::String]
|
645
|
-
# Required. The resource name of the EntityType to create a
|
646
|
-
# Format:
|
647
|
+
# Required. The resource name of the EntityType or FeatureGroup to create a
|
648
|
+
# Feature. Format for entity_type as parent:
|
647
649
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
650
|
+
# Format for feature_group as parent:
|
651
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
648
652
|
# @!attribute [rw] feature
|
649
653
|
# @return [::Google::Cloud::AIPlatform::V1::Feature]
|
650
654
|
# Required. The Feature to create.
|
@@ -656,7 +660,7 @@ module Google
|
|
656
660
|
# This value may be up to 128 characters, and valid characters are
|
657
661
|
# `[a-z0-9_]`. The first character cannot be a number.
|
658
662
|
#
|
659
|
-
# The value must be unique within an EntityType.
|
663
|
+
# The value must be unique within an EntityType/FeatureGroup.
|
660
664
|
class CreateFeatureRequest
|
661
665
|
include ::Google::Protobuf::MessageExts
|
662
666
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -693,11 +697,15 @@ module Google
|
|
693
697
|
|
694
698
|
# Request message for
|
695
699
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#get_feature FeaturestoreService.GetFeature}.
|
700
|
+
# Request message for
|
701
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#get_feature FeatureRegistryService.GetFeature}.
|
696
702
|
# @!attribute [rw] name
|
697
703
|
# @return [::String]
|
698
704
|
# Required. The name of the Feature resource.
|
699
|
-
# Format:
|
705
|
+
# Format for entity_type as parent:
|
700
706
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
707
|
+
# Format for feature_group as parent:
|
708
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
701
709
|
class GetFeatureRequest
|
702
710
|
include ::Google::Protobuf::MessageExts
|
703
711
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -705,11 +713,15 @@ module Google
|
|
705
713
|
|
706
714
|
# Request message for
|
707
715
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}.
|
716
|
+
# Request message for
|
717
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}.
|
708
718
|
# @!attribute [rw] parent
|
709
719
|
# @return [::String]
|
710
720
|
# Required. The resource name of the Location to list Features.
|
711
|
-
# Format:
|
721
|
+
# Format for entity_type as parent:
|
712
722
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
723
|
+
# Format for feature_group as parent:
|
724
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
713
725
|
# @!attribute [rw] filter
|
714
726
|
# @return [::String]
|
715
727
|
# Lists the Features that match the filter expression. The following
|
@@ -742,10 +754,14 @@ module Google
|
|
742
754
|
# @return [::String]
|
743
755
|
# A page token, received from a previous
|
744
756
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
757
|
+
# call or
|
758
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
745
759
|
# call. Provide this to retrieve the subsequent page.
|
746
760
|
#
|
747
761
|
# When paginating, all other parameters provided to
|
748
762
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
763
|
+
# or or
|
764
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
749
765
|
# must match the call that provided the page token.
|
750
766
|
# @!attribute [rw] order_by
|
751
767
|
# @return [::String]
|
@@ -754,7 +770,7 @@ module Google
|
|
754
770
|
# Supported fields:
|
755
771
|
#
|
756
772
|
# * `feature_id`
|
757
|
-
# * `value_type`
|
773
|
+
# * `value_type` (Not supported for FeatureRegistry Feature)
|
758
774
|
# * `create_time`
|
759
775
|
# * `update_time`
|
760
776
|
# @!attribute [rw] read_mask
|
@@ -762,6 +778,7 @@ module Google
|
|
762
778
|
# Mask specifying which fields to read.
|
763
779
|
# @!attribute [rw] latest_stats_count
|
764
780
|
# @return [::Integer]
|
781
|
+
# Only applicable for Vertex AI Feature Store (Legacy).
|
765
782
|
# If set, return the most recent
|
766
783
|
# {::Google::Cloud::AIPlatform::V1::ListFeaturesRequest#latest_stats_count ListFeaturesRequest.latest_stats_count}
|
767
784
|
# of stats for each Feature in response. Valid value is [0, 10]. If number of
|
@@ -775,6 +792,8 @@ module Google
|
|
775
792
|
|
776
793
|
# Response message for
|
777
794
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}.
|
795
|
+
# Response message for
|
796
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}.
|
778
797
|
# @!attribute [rw] features
|
779
798
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Feature>]
|
780
799
|
# The Features matching the request.
|
@@ -904,12 +923,15 @@ module Google
|
|
904
923
|
|
905
924
|
# Request message for
|
906
925
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#update_feature FeaturestoreService.UpdateFeature}.
|
926
|
+
# Request message for
|
927
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#update_feature FeatureRegistryService.UpdateFeature}.
|
907
928
|
# @!attribute [rw] feature
|
908
929
|
# @return [::Google::Cloud::AIPlatform::V1::Feature]
|
909
930
|
# Required. The Feature's `name` field is used to identify the Feature to be
|
910
931
|
# updated.
|
911
932
|
# Format:
|
912
933
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
934
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
913
935
|
# @!attribute [rw] update_mask
|
914
936
|
# @return [::Google::Protobuf::FieldMask]
|
915
937
|
# Field mask is used to specify the fields to be overwritten in the
|
@@ -924,7 +946,7 @@ module Google
|
|
924
946
|
#
|
925
947
|
# * `description`
|
926
948
|
# * `labels`
|
927
|
-
# * `disable_monitoring`
|
949
|
+
# * `disable_monitoring` (Not supported for FeatureRegistry Feature)
|
928
950
|
class UpdateFeatureRequest
|
929
951
|
include ::Google::Protobuf::MessageExts
|
930
952
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -932,11 +954,14 @@ module Google
|
|
932
954
|
|
933
955
|
# Request message for
|
934
956
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#delete_feature FeaturestoreService.DeleteFeature}.
|
957
|
+
# Request message for
|
958
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#delete_feature FeatureRegistryService.DeleteFeature}.
|
935
959
|
# @!attribute [rw] name
|
936
960
|
# @return [::String]
|
937
961
|
# Required. The name of the Features to be deleted.
|
938
962
|
# Format:
|
939
963
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
964
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
940
965
|
class DeleteFeatureRequest
|
941
966
|
include ::Google::Protobuf::MessageExts
|
942
967
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -134,6 +134,11 @@ module Google
|
|
134
134
|
# searches" where boolean rule are used to filter the subset of the database
|
135
135
|
# eligible for matching. This uses categorical tokens. See:
|
136
136
|
# https://cloud.google.com/vertex-ai/docs/matching-engine/filtering
|
137
|
+
# @!attribute [rw] numeric_restricts
|
138
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction>]
|
139
|
+
# Optional. List of Restrict of the datapoint, used to perform "restricted
|
140
|
+
# searches" where boolean rule are used to filter the subset of the database
|
141
|
+
# eligible for matching. This uses numeric comparisons.
|
137
142
|
# @!attribute [rw] crowding_tag
|
138
143
|
# @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::CrowdingTag]
|
139
144
|
# Optional. CrowdingTag of the datapoint, the number of neighbors to return
|
@@ -158,6 +163,54 @@ module Google
|
|
158
163
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
164
|
end
|
160
165
|
|
166
|
+
# This field allows restricts to be based on numeric comparisons rather
|
167
|
+
# than categorical tokens.
|
168
|
+
# @!attribute [rw] value_int
|
169
|
+
# @return [::Integer]
|
170
|
+
# Represents 64 bit integer.
|
171
|
+
# @!attribute [rw] value_float
|
172
|
+
# @return [::Float]
|
173
|
+
# Represents 32 bit float.
|
174
|
+
# @!attribute [rw] value_double
|
175
|
+
# @return [::Float]
|
176
|
+
# Represents 64 bit float.
|
177
|
+
# @!attribute [rw] namespace
|
178
|
+
# @return [::String]
|
179
|
+
# The namespace of this restriction. e.g.: cost.
|
180
|
+
# @!attribute [rw] op
|
181
|
+
# @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator]
|
182
|
+
# This MUST be specified for queries and must NOT be specified for
|
183
|
+
# datapoints.
|
184
|
+
class NumericRestriction
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
|
188
|
+
# Which comparison operator to use. Should be specified for queries only;
|
189
|
+
# specifying this for a datapoint is an error.
|
190
|
+
#
|
191
|
+
# Datapoints for which Operator is true relative to the query's Value
|
192
|
+
# field will be allowlisted.
|
193
|
+
module Operator
|
194
|
+
# Default value of the enum.
|
195
|
+
OPERATOR_UNSPECIFIED = 0
|
196
|
+
|
197
|
+
# Datapoints are eligible iff their value is < the query's.
|
198
|
+
LESS = 1
|
199
|
+
|
200
|
+
# Datapoints are eligible iff their value is <= the query's.
|
201
|
+
LESS_EQUAL = 2
|
202
|
+
|
203
|
+
# Datapoints are eligible iff their value is == the query's.
|
204
|
+
EQUAL = 3
|
205
|
+
|
206
|
+
# Datapoints are eligible iff their value is >= the query's.
|
207
|
+
GREATER_EQUAL = 4
|
208
|
+
|
209
|
+
# Datapoints are eligible iff their value is > the query's.
|
210
|
+
GREATER = 5
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
161
214
|
# Crowding tag is a constraint on a neighbor list produced by nearest
|
162
215
|
# neighbor search requiring that no more than some value k' of the k
|
163
216
|
# neighbors returned have the same value of crowding_attribute.
|
@@ -173,10 +173,11 @@ module Google
|
|
173
173
|
# @!attribute [rw] dedicated_resources
|
174
174
|
# @return [::Google::Cloud::AIPlatform::V1::DedicatedResources]
|
175
175
|
# Optional. A description of resources that are dedicated to the
|
176
|
-
# DeployedIndex, and that need a higher degree of manual configuration.
|
177
|
-
# min_replica_count
|
178
|
-
#
|
179
|
-
#
|
176
|
+
# DeployedIndex, and that need a higher degree of manual configuration. The
|
177
|
+
# field min_replica_count must be set to a value strictly greater than 0, or
|
178
|
+
# else validation will fail. We don't provide SLA when min_replica_count=1.
|
179
|
+
# If max_replica_count is not set, the default value is min_replica_count.
|
180
|
+
# The max allowed replica count is 1000.
|
180
181
|
#
|
181
182
|
# Available machine types for SMALL shard:
|
182
183
|
# e2-standard-2 and all machine types available for MEDIUM and LARGE shard.
|
@@ -0,0 +1,64 @@
|
|
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
|
+
# Request message for ComputeTokens RPC call.
|
25
|
+
# @!attribute [rw] endpoint
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The name of the Endpoint requested to get lists of tokens and
|
28
|
+
# token ids.
|
29
|
+
# @!attribute [rw] instances
|
30
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
31
|
+
# Required. The instances that are the input to token computing API call.
|
32
|
+
# Schema is identical to the prediction schema of the text model, even for
|
33
|
+
# the non-text models, like chat models, or Codey models.
|
34
|
+
class ComputeTokensRequest
|
35
|
+
include ::Google::Protobuf::MessageExts
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
37
|
+
end
|
38
|
+
|
39
|
+
# Tokens info with a list of tokens and the corresponding list of token ids.
|
40
|
+
# @!attribute [rw] tokens
|
41
|
+
# @return [::Array<::String>]
|
42
|
+
# A list of tokens from the input.
|
43
|
+
# @!attribute [rw] token_ids
|
44
|
+
# @return [::Array<::Integer>]
|
45
|
+
# A list of token ids from the input.
|
46
|
+
class TokensInfo
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# Response message for ComputeTokens RPC call.
|
52
|
+
# @!attribute [rw] tokens_info
|
53
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::TokensInfo>]
|
54
|
+
# Lists of tokens info from the input. A ComputeTokensRequest could have
|
55
|
+
# multiple instances with a prompt in each instance. We also need to return
|
56
|
+
# lists of tokens info for the request with multiple instances.
|
57
|
+
class ComputeTokensResponse
|
58
|
+
include ::Google::Protobuf::MessageExts
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|