google-cloud-ai_platform-v1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +516 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +21 -0
- 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/job_service/paths.rb +17 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +99 -2
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +1 -1
- 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 +58 -5
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +9 -5
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -2
- metadata +35 -2
@@ -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
|
@@ -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
|