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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1796 -0
  3. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
  4. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
  5. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
  6. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
  7. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
  8. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
  9. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
  10. data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
  11. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
  12. data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
  13. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
  14. data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
  15. data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
  16. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
  17. data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
  18. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  19. data/lib/google/cloud/ai_platform/v1.rb +3 -0
  20. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
  21. data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
  22. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
  23. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
  24. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
  25. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
  26. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
  27. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  28. data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
  29. data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
  30. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
  31. data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
  32. data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
  33. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  34. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
  35. data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
  36. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
  37. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
  38. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
  39. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
  40. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
  41. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
  46. data/proto_docs/google/cloud/aiplatform/v1/index.rb +53 -0
  47. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -4
  48. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
  49. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
  50. data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
  51. metadata +33 -2
@@ -0,0 +1,458 @@
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::FeatureOnlineStoreAdminService::Client#create_feature_online_store FeatureOnlineStoreAdminService.CreateFeatureOnlineStore}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The resource name of the Location to create FeatureOnlineStores.
29
+ # Format:
30
+ # `projects/{project}/locations/{location}'`
31
+ # @!attribute [rw] feature_online_store
32
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore]
33
+ # Required. The FeatureOnlineStore to create.
34
+ # @!attribute [rw] feature_online_store_id
35
+ # @return [::String]
36
+ # Required. The ID to use for this FeatureOnlineStore, which will become the
37
+ # final component of the FeatureOnlineStore'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 CreateFeatureOnlineStoreRequest
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+
48
+ # Request message for
49
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#get_feature_online_store FeatureOnlineStoreAdminService.GetFeatureOnlineStore}.
50
+ # @!attribute [rw] name
51
+ # @return [::String]
52
+ # Required. The name of the FeatureOnlineStore resource.
53
+ class GetFeatureOnlineStoreRequest
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # Request message for
59
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_online_stores FeatureOnlineStoreAdminService.ListFeatureOnlineStores}.
60
+ # @!attribute [rw] parent
61
+ # @return [::String]
62
+ # Required. The resource name of the Location to list FeatureOnlineStores.
63
+ # Format:
64
+ # `projects/{project}/locations/{location}`
65
+ # @!attribute [rw] filter
66
+ # @return [::String]
67
+ # Lists the FeatureOnlineStores 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
+ # FeatureOnlineStores created or updated after 2020-01-01.
82
+ # * `labels.env = "prod"`
83
+ # FeatureOnlineStores with label "env" set to "prod".
84
+ # @!attribute [rw] page_size
85
+ # @return [::Integer]
86
+ # The maximum number of FeatureOnlineStores to return. The service may return
87
+ # fewer than this value. If unspecified, at most 100 FeatureOnlineStores 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
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_online_stores FeatureOnlineStoreAdminService.ListFeatureOnlineStores}
94
+ # call. Provide this to retrieve the subsequent page.
95
+ #
96
+ # When paginating, all other parameters provided to
97
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_online_stores FeatureOnlineStoreAdminService.ListFeatureOnlineStores}
98
+ # must 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 ListFeatureOnlineStoresRequest
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+ end
111
+
112
+ # Response message for
113
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_online_stores FeatureOnlineStoreAdminService.ListFeatureOnlineStores}.
114
+ # @!attribute [rw] feature_online_stores
115
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureOnlineStore>]
116
+ # The FeatureOnlineStores 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::ListFeatureOnlineStoresRequest#page_token ListFeatureOnlineStoresRequest.page_token}
121
+ # to retrieve the next page. If this field is omitted, there are no
122
+ # subsequent pages.
123
+ class ListFeatureOnlineStoresResponse
124
+ include ::Google::Protobuf::MessageExts
125
+ extend ::Google::Protobuf::MessageExts::ClassMethods
126
+ end
127
+
128
+ # Request message for
129
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#update_feature_online_store FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore}.
130
+ # @!attribute [rw] feature_online_store
131
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore]
132
+ # Required. The FeatureOnlineStore's `name` field is used to identify the
133
+ # FeatureOnlineStore to be updated. Format:
134
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
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
+ # FeatureOnlineStore 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
+ # * `big_query_source`
148
+ # * `labels`
149
+ # * `sync_config`
150
+ class UpdateFeatureOnlineStoreRequest
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # Request message for
156
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#delete_feature_online_store FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore}.
157
+ # @!attribute [rw] name
158
+ # @return [::String]
159
+ # Required. The name of the FeatureOnlineStore to be deleted.
160
+ # Format:
161
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
162
+ # @!attribute [rw] force
163
+ # @return [::Boolean]
164
+ # If set to true, any FeatureViews and Features for this FeatureOnlineStore
165
+ # will also be deleted. (Otherwise, the request will only work if the
166
+ # FeatureOnlineStore has no FeatureViews.)
167
+ class DeleteFeatureOnlineStoreRequest
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # Request message for
173
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#create_feature_view FeatureOnlineStoreAdminService.CreateFeatureView}.
174
+ # @!attribute [rw] parent
175
+ # @return [::String]
176
+ # Required. The resource name of the FeatureOnlineStore to create
177
+ # FeatureViews. Format:
178
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
179
+ # @!attribute [rw] feature_view
180
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureView]
181
+ # Required. The FeatureView to create.
182
+ # @!attribute [rw] feature_view_id
183
+ # @return [::String]
184
+ # Required. The ID to use for the FeatureView, which will become the final
185
+ # component of the FeatureView's resource name.
186
+ #
187
+ # This value may be up to 60 characters, and valid characters are
188
+ # `[a-z0-9_]`. The first character cannot be a number.
189
+ #
190
+ # The value must be unique within a FeatureOnlineStore.
191
+ # @!attribute [rw] run_sync_immediately
192
+ # @return [::Boolean]
193
+ # Immutable. If set to true, one on demand sync will be run immediately,
194
+ # regardless whether the
195
+ # {::Google::Cloud::AIPlatform::V1::FeatureView#sync_config FeatureView.sync_config}
196
+ # is configured or not.
197
+ class CreateFeatureViewRequest
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Request message for
203
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#get_feature_view FeatureOnlineStoreAdminService.GetFeatureView}.
204
+ # @!attribute [rw] name
205
+ # @return [::String]
206
+ # Required. The name of the FeatureView resource.
207
+ # Format:
208
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
209
+ class GetFeatureViewRequest
210
+ include ::Google::Protobuf::MessageExts
211
+ extend ::Google::Protobuf::MessageExts::ClassMethods
212
+ end
213
+
214
+ # Request message for
215
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_views FeatureOnlineStoreAdminService.ListFeatureViews}.
216
+ # @!attribute [rw] parent
217
+ # @return [::String]
218
+ # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
219
+ # Format:
220
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}`
221
+ # @!attribute [rw] filter
222
+ # @return [::String]
223
+ # Lists the FeatureViews that match the filter expression. The following
224
+ # filters are supported:
225
+ #
226
+ # * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons.
227
+ # Values must be in RFC 3339 format.
228
+ # * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons.
229
+ # Values must be in RFC 3339 format.
230
+ # * `labels`: Supports key-value equality as well as key presence.
231
+ #
232
+ # Examples:
233
+ #
234
+ # * `create_time > \"2020-01-31T15:30:00.000000Z\" OR
235
+ # update_time > \"2020-01-31T15:30:00.000000Z\"` --> FeatureViews
236
+ # created or updated after 2020-01-31T15:30:00.000000Z.
237
+ # * `labels.active = yes AND labels.env = prod` --> FeatureViews having both
238
+ # (active: yes) and (env: prod) labels.
239
+ # * `labels.env: *` --> Any FeatureView which has a label with 'env' as the
240
+ # key.
241
+ # @!attribute [rw] page_size
242
+ # @return [::Integer]
243
+ # The maximum number of FeatureViews to return. The service may return fewer
244
+ # than this value. If unspecified, at most 1000 FeatureViews will be
245
+ # returned. The maximum value is 1000; any value greater than 1000 will be
246
+ # coerced to 1000.
247
+ # @!attribute [rw] page_token
248
+ # @return [::String]
249
+ # A page token, received from a previous
250
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_views FeatureOnlineStoreAdminService.ListFeatureViews}
251
+ # call. Provide this to retrieve the subsequent page.
252
+ #
253
+ # When paginating, all other parameters provided to
254
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_views FeatureOnlineStoreAdminService.ListFeatureViews}
255
+ # must match the call that provided the page token.
256
+ # @!attribute [rw] order_by
257
+ # @return [::String]
258
+ # A comma-separated list of fields to order by, sorted in ascending order.
259
+ # Use "desc" after a field name for descending.
260
+ #
261
+ # Supported fields:
262
+ #
263
+ # * `feature_view_id`
264
+ # * `create_time`
265
+ # * `update_time`
266
+ class ListFeatureViewsRequest
267
+ include ::Google::Protobuf::MessageExts
268
+ extend ::Google::Protobuf::MessageExts::ClassMethods
269
+ end
270
+
271
+ # Response message for
272
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_views FeatureOnlineStoreAdminService.ListFeatureViews}.
273
+ # @!attribute [rw] feature_views
274
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::FeatureView>]
275
+ # The FeatureViews matching the request.
276
+ # @!attribute [rw] next_page_token
277
+ # @return [::String]
278
+ # A token, which can be sent as
279
+ # {::Google::Cloud::AIPlatform::V1::ListFeatureViewsRequest#page_token ListFeatureViewsRequest.page_token}
280
+ # to retrieve the next page. If this field is omitted, there are no
281
+ # subsequent pages.
282
+ class ListFeatureViewsResponse
283
+ include ::Google::Protobuf::MessageExts
284
+ extend ::Google::Protobuf::MessageExts::ClassMethods
285
+ end
286
+
287
+ # Request message for
288
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#update_feature_view FeatureOnlineStoreAdminService.UpdateFeatureView}.
289
+ # @!attribute [rw] feature_view
290
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureView]
291
+ # Required. The FeatureView's `name` field is used to identify the
292
+ # FeatureView to be updated. Format:
293
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
294
+ # @!attribute [rw] update_mask
295
+ # @return [::Google::Protobuf::FieldMask]
296
+ # Field mask is used to specify the fields to be overwritten in the
297
+ # FeatureView resource by the update.
298
+ # The fields specified in the update_mask are relative to the resource, not
299
+ # the full request. A field will be overwritten if it is in the mask. If the
300
+ # user does not provide a mask then only the non-empty fields present in the
301
+ # request will be overwritten. Set the update_mask to `*` to override all
302
+ # fields.
303
+ #
304
+ # Updatable fields:
305
+ #
306
+ # * `labels`
307
+ class UpdateFeatureViewRequest
308
+ include ::Google::Protobuf::MessageExts
309
+ extend ::Google::Protobuf::MessageExts::ClassMethods
310
+ end
311
+
312
+ # Request message for [FeatureOnlineStoreAdminService.DeleteFeatureViews][].
313
+ # @!attribute [rw] name
314
+ # @return [::String]
315
+ # Required. The name of the FeatureView to be deleted.
316
+ # Format:
317
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
318
+ class DeleteFeatureViewRequest
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
+ end
322
+
323
+ # Details of operations that perform create FeatureOnlineStore.
324
+ # @!attribute [rw] generic_metadata
325
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
326
+ # Operation metadata for FeatureOnlineStore.
327
+ class CreateFeatureOnlineStoreOperationMetadata
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
331
+
332
+ # Details of operations that perform update FeatureOnlineStore.
333
+ # @!attribute [rw] generic_metadata
334
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
335
+ # Operation metadata for FeatureOnlineStore.
336
+ class UpdateFeatureOnlineStoreOperationMetadata
337
+ include ::Google::Protobuf::MessageExts
338
+ extend ::Google::Protobuf::MessageExts::ClassMethods
339
+ end
340
+
341
+ # Details of operations that perform create FeatureView.
342
+ # @!attribute [rw] generic_metadata
343
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
344
+ # Operation metadata for FeatureView Create.
345
+ class CreateFeatureViewOperationMetadata
346
+ include ::Google::Protobuf::MessageExts
347
+ extend ::Google::Protobuf::MessageExts::ClassMethods
348
+ end
349
+
350
+ # Details of operations that perform update FeatureView.
351
+ # @!attribute [rw] generic_metadata
352
+ # @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
353
+ # Operation metadata for FeatureView Update.
354
+ class UpdateFeatureViewOperationMetadata
355
+ include ::Google::Protobuf::MessageExts
356
+ extend ::Google::Protobuf::MessageExts::ClassMethods
357
+ end
358
+
359
+ # Request message for
360
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#sync_feature_view FeatureOnlineStoreAdminService.SyncFeatureView}.
361
+ # @!attribute [rw] feature_view
362
+ # @return [::String]
363
+ # Required. Format:
364
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
365
+ class SyncFeatureViewRequest
366
+ include ::Google::Protobuf::MessageExts
367
+ extend ::Google::Protobuf::MessageExts::ClassMethods
368
+ end
369
+
370
+ # Respose message for
371
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#sync_feature_view FeatureOnlineStoreAdminService.SyncFeatureView}.
372
+ # @!attribute [rw] feature_view_sync
373
+ # @return [::String]
374
+ # Format:
375
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`
376
+ class SyncFeatureViewResponse
377
+ include ::Google::Protobuf::MessageExts
378
+ extend ::Google::Protobuf::MessageExts::ClassMethods
379
+ end
380
+
381
+ # Request message for
382
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#get_feature_view_sync FeatureOnlineStoreAdminService.GetFeatureViewSync}.
383
+ # @!attribute [rw] name
384
+ # @return [::String]
385
+ # Required. The name of the FeatureViewSync resource.
386
+ # Format:
387
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}`
388
+ class GetFeatureViewSyncRequest
389
+ include ::Google::Protobuf::MessageExts
390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
391
+ end
392
+
393
+ # Request message for
394
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_view_syncs FeatureOnlineStoreAdminService.ListFeatureViewSyncs}.
395
+ # @!attribute [rw] parent
396
+ # @return [::String]
397
+ # Required. The resource name of the FeatureView to list FeatureViewSyncs.
398
+ # Format:
399
+ # `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}`
400
+ # @!attribute [rw] filter
401
+ # @return [::String]
402
+ # Lists the FeatureViewSyncs that match the filter expression. The following
403
+ # filters are supported:
404
+ #
405
+ # * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons.
406
+ # Values must be in RFC 3339 format.
407
+ #
408
+ # Examples:
409
+ #
410
+ # * `create_time > \"2020-01-31T15:30:00.000000Z\"` --> FeatureViewSyncs
411
+ # created after 2020-01-31T15:30:00.000000Z.
412
+ # @!attribute [rw] page_size
413
+ # @return [::Integer]
414
+ # The maximum number of FeatureViewSyncs to return. The service may return
415
+ # fewer than this value. If unspecified, at most 1000 FeatureViewSyncs will
416
+ # be returned. The maximum value is 1000; any value greater than 1000 will be
417
+ # coerced to 1000.
418
+ # @!attribute [rw] page_token
419
+ # @return [::String]
420
+ # A page token, received from a previous
421
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_view_syncs FeatureOnlineStoreAdminService.ListFeatureViewSyncs}
422
+ # call. Provide this to retrieve the subsequent page.
423
+ #
424
+ # When paginating, all other parameters provided to
425
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_view_syncs FeatureOnlineStoreAdminService.ListFeatureViewSyncs}
426
+ # must match the call that provided the page token.
427
+ # @!attribute [rw] order_by
428
+ # @return [::String]
429
+ # A comma-separated list of fields to order by, sorted in ascending order.
430
+ # Use "desc" after a field name for descending.
431
+ #
432
+ # Supported fields:
433
+ #
434
+ # * `create_time`
435
+ class ListFeatureViewSyncsRequest
436
+ include ::Google::Protobuf::MessageExts
437
+ extend ::Google::Protobuf::MessageExts::ClassMethods
438
+ end
439
+
440
+ # Response message for
441
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client#list_feature_view_syncs FeatureOnlineStoreAdminService.ListFeatureViewSyncs}.
442
+ # @!attribute [rw] feature_view_syncs
443
+ # @return [::Array<::Google::Cloud::Aiplatform::V1::FeatureViewSync>]
444
+ # The FeatureViewSyncs matching the request.
445
+ # @!attribute [rw] next_page_token
446
+ # @return [::String]
447
+ # A token, which can be sent as
448
+ # {::Google::Cloud::AIPlatform::V1::ListFeatureViewSyncsRequest#page_token ListFeatureViewSyncsRequest.page_token}
449
+ # to retrieve the next page. If this field is omitted, there are no
450
+ # subsequent pages.
451
+ class ListFeatureViewSyncsResponse
452
+ include ::Google::Protobuf::MessageExts
453
+ extend ::Google::Protobuf::MessageExts::ClassMethods
454
+ end
455
+ end
456
+ end
457
+ end
458
+ end
@@ -0,0 +1,102 @@
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
+ # Lookup key for a feature view.
25
+ # @!attribute [rw] key
26
+ # @return [::String]
27
+ # String key to use for lookup.
28
+ class FeatureViewDataKey
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Request message for
34
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreService::Client#fetch_feature_values FeatureOnlineStoreService.FetchFeatureValues}.
35
+ # All the features under the requested feature view will be returned.
36
+ # @!attribute [rw] feature_view
37
+ # @return [::String]
38
+ # Required. FeatureView resource format
39
+ # `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`
40
+ # @!attribute [rw] data_key
41
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureViewDataKey]
42
+ # Optional. The request key to fetch feature values for.
43
+ # @!attribute [rw] data_format
44
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureViewDataFormat]
45
+ # Optional. Response data format. If not set,
46
+ # {::Google::Cloud::AIPlatform::V1::FeatureViewDataFormat::KEY_VALUE FeatureViewDataFormat.KEY_VALUE}
47
+ # will be used.
48
+ class FetchFeatureValuesRequest
49
+ include ::Google::Protobuf::MessageExts
50
+ extend ::Google::Protobuf::MessageExts::ClassMethods
51
+ end
52
+
53
+ # Response message for
54
+ # {::Google::Cloud::AIPlatform::V1::FeatureOnlineStoreService::Client#fetch_feature_values FeatureOnlineStoreService.FetchFeatureValues}
55
+ # @!attribute [rw] key_values
56
+ # @return [::Google::Cloud::AIPlatform::V1::FetchFeatureValuesResponse::FeatureNameValuePairList]
57
+ # Feature values in KeyValue format.
58
+ # @!attribute [rw] proto_struct
59
+ # @return [::Google::Protobuf::Struct]
60
+ # Feature values in proto Struct format.
61
+ class FetchFeatureValuesResponse
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+
65
+ # Response structure in the format of key (feature name) and (feature) value
66
+ # pair.
67
+ # @!attribute [rw] features
68
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::FetchFeatureValuesResponse::FeatureNameValuePairList::FeatureNameValuePair>]
69
+ # List of feature names and values.
70
+ class FeatureNameValuePairList
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+
74
+ # Feature name & value pair.
75
+ # @!attribute [rw] value
76
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureValue]
77
+ # Feature value.
78
+ # @!attribute [rw] name
79
+ # @return [::String]
80
+ # Feature short name.
81
+ class FeatureNameValuePair
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+ end
86
+ end
87
+
88
+ # Format of the data in the Feature View.
89
+ module FeatureViewDataFormat
90
+ # Not set. Will be treated as the KeyValue format.
91
+ FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED = 0
92
+
93
+ # Return response data in key-value format.
94
+ KEY_VALUE = 1
95
+
96
+ # Return response data in proto Struct format.
97
+ PROTO_STRUCT = 2
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end