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.
Files changed (63) 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/llm_utility_service/client.rb +528 -0
  19. data/lib/google/cloud/ai_platform/v1/llm_utility_service/credentials.rb +47 -0
  20. data/lib/google/cloud/ai_platform/v1/llm_utility_service/paths.rb +78 -0
  21. data/lib/google/cloud/ai_platform/v1/llm_utility_service.rb +49 -0
  22. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +374 -0
  23. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  24. data/lib/google/cloud/ai_platform/v1.rb +5 -1
  25. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
  26. data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
  27. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
  28. data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
  29. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
  30. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
  31. data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
  32. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
  33. data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
  34. data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
  35. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
  36. data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
  37. data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
  38. data/lib/google/cloud/aiplatform/v1/llm_utility_service_pb.rb +52 -0
  39. data/lib/google/cloud/aiplatform/v1/llm_utility_service_services_pb.rb +47 -0
  40. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  41. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -1
  42. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +9 -1
  43. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +10 -0
  44. data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
  45. data/proto_docs/google/api/client.rb +13 -0
  46. data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
  47. data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
  48. data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
  49. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
  50. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
  51. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
  52. data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
  53. data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
  54. data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
  55. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
  56. data/proto_docs/google/cloud/aiplatform/v1/index.rb +53 -0
  57. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +5 -4
  58. data/proto_docs/google/cloud/aiplatform/v1/llm_utility_service.rb +64 -0
  59. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +4 -0
  60. data/proto_docs/google/cloud/aiplatform/v1/model.rb +61 -0
  61. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +140 -2
  62. data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
  63. metadata +40 -2
@@ -0,0 +1,124 @@
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
+ # Vertex AI Feature Online Store provides a centralized repository for serving
25
+ # ML features and embedding indexes at low latency. The Feature Online Store is
26
+ # a top-level container.
27
+ # @!attribute [rw] bigtable
28
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore::Bigtable]
29
+ # Contains settings for the Cloud Bigtable instance that will be created
30
+ # to serve featureValues for all FeatureViews under this
31
+ # FeatureOnlineStore.
32
+ # @!attribute [r] name
33
+ # @return [::String]
34
+ # Output only. Name of the FeatureOnlineStore. Format:
35
+ # `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}`
36
+ # @!attribute [r] create_time
37
+ # @return [::Google::Protobuf::Timestamp]
38
+ # Output only. Timestamp when this FeatureOnlineStore was created.
39
+ # @!attribute [r] update_time
40
+ # @return [::Google::Protobuf::Timestamp]
41
+ # Output only. Timestamp when this FeatureOnlineStore was last updated.
42
+ # @!attribute [rw] etag
43
+ # @return [::String]
44
+ # Optional. Used to perform consistent read-modify-write updates. If not set,
45
+ # a blind "overwrite" update happens.
46
+ # @!attribute [rw] labels
47
+ # @return [::Google::Protobuf::Map{::String => ::String}]
48
+ # Optional. The labels with user-defined metadata to organize your
49
+ # FeatureOnlineStore.
50
+ #
51
+ # Label keys and values can be no longer than 64 characters
52
+ # (Unicode codepoints), can only contain lowercase letters, numeric
53
+ # characters, underscores and dashes. International characters are allowed.
54
+ #
55
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
56
+ # No more than 64 user labels can be associated with one
57
+ # FeatureOnlineStore(System labels are excluded)." System reserved label keys
58
+ # are prefixed with "aiplatform.googleapis.com/" and are immutable.
59
+ # @!attribute [r] state
60
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore::State]
61
+ # Output only. State of the featureOnlineStore.
62
+ class FeatureOnlineStore
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+
66
+ # @!attribute [rw] auto_scaling
67
+ # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore::Bigtable::AutoScaling]
68
+ # Required. Autoscaling config applied to Bigtable Instance.
69
+ class Bigtable
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+
73
+ # @!attribute [rw] min_node_count
74
+ # @return [::Integer]
75
+ # Required. The minimum number of nodes to scale down to. Must be greater
76
+ # than or equal to 1.
77
+ # @!attribute [rw] max_node_count
78
+ # @return [::Integer]
79
+ # Required. The maximum number of nodes to scale up to. Must be greater
80
+ # than or equal to min_node_count, and less than or equal to 10 times of
81
+ # 'min_node_count'.
82
+ # @!attribute [rw] cpu_utilization_target
83
+ # @return [::Integer]
84
+ # Optional. A percentage of the cluster's CPU capacity. Can be from 10%
85
+ # to 80%. When a cluster's CPU utilization exceeds the target that you
86
+ # have set, Bigtable immediately adds nodes to the cluster. When CPU
87
+ # utilization is substantially lower than the target, Bigtable removes
88
+ # nodes. If not set will default to 50%.
89
+ class AutoScaling
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+ end
94
+
95
+ # @!attribute [rw] key
96
+ # @return [::String]
97
+ # @!attribute [rw] value
98
+ # @return [::String]
99
+ class LabelsEntry
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # Possible states a featureOnlineStore can have.
105
+ module State
106
+ # Default value. This value is unused.
107
+ STATE_UNSPECIFIED = 0
108
+
109
+ # State when the featureOnlineStore configuration is not being updated and
110
+ # the fields reflect the current configuration of the featureOnlineStore.
111
+ # The featureOnlineStore is usable in this state.
112
+ STABLE = 1
113
+
114
+ # The state of the featureOnlineStore configuration when it is being
115
+ # updated. During an update, the fields reflect either the original
116
+ # configuration or the updated configuration of the featureOnlineStore. The
117
+ # featureOnlineStore is still usable in this state.
118
+ UPDATING = 2
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
124
+ end
@@ -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