google-apis-aiplatform_v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1950,6 +1950,48 @@ module Google
1950
1950
  end
1951
1951
  end
1952
1952
 
1953
+ # Request message for ComputeTokens RPC call.
1954
+ class GoogleCloudAiplatformV1ComputeTokensRequest
1955
+ include Google::Apis::Core::Hashable
1956
+
1957
+ # Required. The instances that are the input to token computing API call. Schema
1958
+ # is identical to the prediction schema of the text model, even for the non-text
1959
+ # models, like chat models, or Codey models.
1960
+ # Corresponds to the JSON property `instances`
1961
+ # @return [Array<Object>]
1962
+ attr_accessor :instances
1963
+
1964
+ def initialize(**args)
1965
+ update!(**args)
1966
+ end
1967
+
1968
+ # Update properties of this object
1969
+ def update!(**args)
1970
+ @instances = args[:instances] if args.key?(:instances)
1971
+ end
1972
+ end
1973
+
1974
+ # Response message for ComputeTokens RPC call.
1975
+ class GoogleCloudAiplatformV1ComputeTokensResponse
1976
+ include Google::Apis::Core::Hashable
1977
+
1978
+ # Lists of tokens info from the input. A ComputeTokensRequest could have
1979
+ # multiple instances with a prompt in each instance. We also need to return
1980
+ # lists of tokens info for the request with multiple instances.
1981
+ # Corresponds to the JSON property `tokensInfo`
1982
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TokensInfo>]
1983
+ attr_accessor :tokens_info
1984
+
1985
+ def initialize(**args)
1986
+ update!(**args)
1987
+ end
1988
+
1989
+ # Update properties of this object
1990
+ def update!(**args)
1991
+ @tokens_info = args[:tokens_info] if args.key?(:tokens_info)
1992
+ end
1993
+ end
1994
+
1953
1995
  # The Container Registry location for the container image.
1954
1996
  class GoogleCloudAiplatformV1ContainerRegistryDestination
1955
1997
  include Google::Apis::Core::Hashable
@@ -2193,6 +2235,52 @@ module Google
2193
2235
  end
2194
2236
  end
2195
2237
 
2238
+ # Request message for PredictionService.CountTokens.
2239
+ class GoogleCloudAiplatformV1CountTokensRequest
2240
+ include Google::Apis::Core::Hashable
2241
+
2242
+ # Required. The instances that are the input to token counting call. Schema is
2243
+ # identical to the prediction schema of the underlying model.
2244
+ # Corresponds to the JSON property `instances`
2245
+ # @return [Array<Object>]
2246
+ attr_accessor :instances
2247
+
2248
+ def initialize(**args)
2249
+ update!(**args)
2250
+ end
2251
+
2252
+ # Update properties of this object
2253
+ def update!(**args)
2254
+ @instances = args[:instances] if args.key?(:instances)
2255
+ end
2256
+ end
2257
+
2258
+ # Response message for PredictionService.CountTokens.
2259
+ class GoogleCloudAiplatformV1CountTokensResponse
2260
+ include Google::Apis::Core::Hashable
2261
+
2262
+ # The total number of billable characters counted across all instances from the
2263
+ # request.
2264
+ # Corresponds to the JSON property `totalBillableCharacters`
2265
+ # @return [Fixnum]
2266
+ attr_accessor :total_billable_characters
2267
+
2268
+ # The total number of tokens counted across all instances from the request.
2269
+ # Corresponds to the JSON property `totalTokens`
2270
+ # @return [Fixnum]
2271
+ attr_accessor :total_tokens
2272
+
2273
+ def initialize(**args)
2274
+ update!(**args)
2275
+ end
2276
+
2277
+ # Update properties of this object
2278
+ def update!(**args)
2279
+ @total_billable_characters = args[:total_billable_characters] if args.key?(:total_billable_characters)
2280
+ @total_tokens = args[:total_tokens] if args.key?(:total_tokens)
2281
+ end
2282
+ end
2283
+
2196
2284
  # Runtime operation information for DatasetService.CreateDataset.
2197
2285
  class GoogleCloudAiplatformV1CreateDatasetOperationMetadata
2198
2286
  include Google::Apis::Core::Hashable
@@ -2269,6 +2357,44 @@ module Google
2269
2357
  end
2270
2358
  end
2271
2359
 
2360
+ # Details of operations that perform create FeatureGroup.
2361
+ class GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata
2362
+ include Google::Apis::Core::Hashable
2363
+
2364
+ # Generic Metadata shared by all operations.
2365
+ # Corresponds to the JSON property `genericMetadata`
2366
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
2367
+ attr_accessor :generic_metadata
2368
+
2369
+ def initialize(**args)
2370
+ update!(**args)
2371
+ end
2372
+
2373
+ # Update properties of this object
2374
+ def update!(**args)
2375
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2376
+ end
2377
+ end
2378
+
2379
+ # Details of operations that perform create FeatureOnlineStore.
2380
+ class GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata
2381
+ include Google::Apis::Core::Hashable
2382
+
2383
+ # Generic Metadata shared by all operations.
2384
+ # Corresponds to the JSON property `genericMetadata`
2385
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
2386
+ attr_accessor :generic_metadata
2387
+
2388
+ def initialize(**args)
2389
+ update!(**args)
2390
+ end
2391
+
2392
+ # Update properties of this object
2393
+ def update!(**args)
2394
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2395
+ end
2396
+ end
2397
+
2272
2398
  # Details of operations that perform create Feature.
2273
2399
  class GoogleCloudAiplatformV1CreateFeatureOperationMetadata
2274
2400
  include Google::Apis::Core::Hashable
@@ -2328,6 +2454,25 @@ module Google
2328
2454
  end
2329
2455
  end
2330
2456
 
2457
+ # Details of operations that perform create FeatureView.
2458
+ class GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata
2459
+ include Google::Apis::Core::Hashable
2460
+
2461
+ # Generic Metadata shared by all operations.
2462
+ # Corresponds to the JSON property `genericMetadata`
2463
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
2464
+ attr_accessor :generic_metadata
2465
+
2466
+ def initialize(**args)
2467
+ update!(**args)
2468
+ end
2469
+
2470
+ # Update properties of this object
2471
+ def update!(**args)
2472
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2473
+ end
2474
+ end
2475
+
2331
2476
  # Details of operations that perform create Featurestore.
2332
2477
  class GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata
2333
2478
  include Google::Apis::Core::Hashable
@@ -2464,6 +2609,25 @@ module Google
2464
2609
  end
2465
2610
  end
2466
2611
 
2612
+ # Details of operations that perform create FeatureGroup.
2613
+ class GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata
2614
+ include Google::Apis::Core::Hashable
2615
+
2616
+ # Generic Metadata shared by all operations.
2617
+ # Corresponds to the JSON property `genericMetadata`
2618
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
2619
+ attr_accessor :generic_metadata
2620
+
2621
+ def initialize(**args)
2622
+ update!(**args)
2623
+ end
2624
+
2625
+ # Update properties of this object
2626
+ def update!(**args)
2627
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2628
+ end
2629
+ end
2630
+
2467
2631
  # Runtime operation information for SpecialistPoolService.CreateSpecialistPool.
2468
2632
  class GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata
2469
2633
  include Google::Apis::Core::Hashable
@@ -5967,6 +6131,13 @@ module Google
5967
6131
  # @return [String]
5968
6132
  attr_accessor :value_type
5969
6133
 
6134
+ # Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/
6135
+ # View columnn hosting data for this version. If no value is provided, will use
6136
+ # feature_id.
6137
+ # Corresponds to the JSON property `versionColumnName`
6138
+ # @return [String]
6139
+ attr_accessor :version_column_name
6140
+
5970
6141
  def initialize(**args)
5971
6142
  update!(**args)
5972
6143
  end
@@ -5982,6 +6153,96 @@ module Google
5982
6153
  @name = args[:name] if args.key?(:name)
5983
6154
  @update_time = args[:update_time] if args.key?(:update_time)
5984
6155
  @value_type = args[:value_type] if args.key?(:value_type)
6156
+ @version_column_name = args[:version_column_name] if args.key?(:version_column_name)
6157
+ end
6158
+ end
6159
+
6160
+ # Vertex AI Feature Group.
6161
+ class GoogleCloudAiplatformV1FeatureGroup
6162
+ include Google::Apis::Core::Hashable
6163
+
6164
+ # Input source type for BigQuery Tables and Views.
6165
+ # Corresponds to the JSON property `bigQuery`
6166
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQuery]
6167
+ attr_accessor :big_query
6168
+
6169
+ # Output only. Timestamp when this FeatureGroup was created.
6170
+ # Corresponds to the JSON property `createTime`
6171
+ # @return [String]
6172
+ attr_accessor :create_time
6173
+
6174
+ # Optional. Description of the FeatureGroup.
6175
+ # Corresponds to the JSON property `description`
6176
+ # @return [String]
6177
+ attr_accessor :description
6178
+
6179
+ # Optional. Used to perform consistent read-modify-write updates. If not set, a
6180
+ # blind "overwrite" update happens.
6181
+ # Corresponds to the JSON property `etag`
6182
+ # @return [String]
6183
+ attr_accessor :etag
6184
+
6185
+ # Optional. The labels with user-defined metadata to organize your FeatureGroup.
6186
+ # Label keys and values can be no longer than 64 characters (Unicode codepoints),
6187
+ # can only contain lowercase letters, numeric characters, underscores and
6188
+ # dashes. International characters are allowed. See https://goo.gl/xmQnxf for
6189
+ # more information on and examples of labels. No more than 64 user labels can be
6190
+ # associated with one FeatureGroup(System labels are excluded)." System reserved
6191
+ # label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
6192
+ # Corresponds to the JSON property `labels`
6193
+ # @return [Hash<String,String>]
6194
+ attr_accessor :labels
6195
+
6196
+ # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
6197
+ # location`/featureGroups/`featureGroup``
6198
+ # Corresponds to the JSON property `name`
6199
+ # @return [String]
6200
+ attr_accessor :name
6201
+
6202
+ # Output only. Timestamp when this FeatureGroup was last updated.
6203
+ # Corresponds to the JSON property `updateTime`
6204
+ # @return [String]
6205
+ attr_accessor :update_time
6206
+
6207
+ def initialize(**args)
6208
+ update!(**args)
6209
+ end
6210
+
6211
+ # Update properties of this object
6212
+ def update!(**args)
6213
+ @big_query = args[:big_query] if args.key?(:big_query)
6214
+ @create_time = args[:create_time] if args.key?(:create_time)
6215
+ @description = args[:description] if args.key?(:description)
6216
+ @etag = args[:etag] if args.key?(:etag)
6217
+ @labels = args[:labels] if args.key?(:labels)
6218
+ @name = args[:name] if args.key?(:name)
6219
+ @update_time = args[:update_time] if args.key?(:update_time)
6220
+ end
6221
+ end
6222
+
6223
+ # Input source type for BigQuery Tables and Views.
6224
+ class GoogleCloudAiplatformV1FeatureGroupBigQuery
6225
+ include Google::Apis::Core::Hashable
6226
+
6227
+ # The BigQuery location for the input content.
6228
+ # Corresponds to the JSON property `bigQuerySource`
6229
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
6230
+ attr_accessor :big_query_source
6231
+
6232
+ # Optional. Columns to construct entity_id / row keys. Currently only supports 1
6233
+ # entity_id_column. If not provided defaults to `entity_id`.
6234
+ # Corresponds to the JSON property `entityIdColumns`
6235
+ # @return [Array<String>]
6236
+ attr_accessor :entity_id_columns
6237
+
6238
+ def initialize(**args)
6239
+ update!(**args)
6240
+ end
6241
+
6242
+ # Update properties of this object
6243
+ def update!(**args)
6244
+ @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
6245
+ @entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
5985
6246
  end
5986
6247
  end
5987
6248
 
@@ -6068,14 +6329,56 @@ module Google
6068
6329
  end
6069
6330
  end
6070
6331
 
6071
- # Selector for Features of an EntityType.
6072
- class GoogleCloudAiplatformV1FeatureSelector
6332
+ # Vertex AI Feature Online Store provides a centralized repository for serving
6333
+ # ML features and embedding indexes at low latency. The Feature Online Store is
6334
+ # a top-level container.
6335
+ class GoogleCloudAiplatformV1FeatureOnlineStore
6073
6336
  include Google::Apis::Core::Hashable
6074
6337
 
6075
- # Matcher for Features of an EntityType by Feature ID.
6076
- # Corresponds to the JSON property `idMatcher`
6077
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IdMatcher]
6078
- attr_accessor :id_matcher
6338
+ # Contains settings for the Cloud Bigtable instance that will be created to
6339
+ # serve featureValues for all FeatureViews under this FeatureOnlineStore.
6340
+ # Corresponds to the JSON property `bigtable`
6341
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtable]
6342
+ attr_accessor :bigtable
6343
+
6344
+ # Output only. Timestamp when this FeatureOnlineStore was created.
6345
+ # Corresponds to the JSON property `createTime`
6346
+ # @return [String]
6347
+ attr_accessor :create_time
6348
+
6349
+ # Optional. Used to perform consistent read-modify-write updates. If not set, a
6350
+ # blind "overwrite" update happens.
6351
+ # Corresponds to the JSON property `etag`
6352
+ # @return [String]
6353
+ attr_accessor :etag
6354
+
6355
+ # Optional. The labels with user-defined metadata to organize your
6356
+ # FeatureOnlineStore. Label keys and values can be no longer than 64 characters (
6357
+ # Unicode codepoints), can only contain lowercase letters, numeric characters,
6358
+ # underscores and dashes. International characters are allowed. See https://goo.
6359
+ # gl/xmQnxf for more information on and examples of labels. No more than 64 user
6360
+ # labels can be associated with one FeatureOnlineStore(System labels are
6361
+ # excluded)." System reserved label keys are prefixed with "aiplatform.
6362
+ # googleapis.com/" and are immutable.
6363
+ # Corresponds to the JSON property `labels`
6364
+ # @return [Hash<String,String>]
6365
+ attr_accessor :labels
6366
+
6367
+ # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
6368
+ # locations/`location`/featureOnlineStores/`featureOnlineStore``
6369
+ # Corresponds to the JSON property `name`
6370
+ # @return [String]
6371
+ attr_accessor :name
6372
+
6373
+ # Output only. State of the featureOnlineStore.
6374
+ # Corresponds to the JSON property `state`
6375
+ # @return [String]
6376
+ attr_accessor :state
6377
+
6378
+ # Output only. Timestamp when this FeatureOnlineStore was last updated.
6379
+ # Corresponds to the JSON property `updateTime`
6380
+ # @return [String]
6381
+ attr_accessor :update_time
6079
6382
 
6080
6383
  def initialize(**args)
6081
6384
  update!(**args)
@@ -6083,33 +6386,115 @@ module Google
6083
6386
 
6084
6387
  # Update properties of this object
6085
6388
  def update!(**args)
6086
- @id_matcher = args[:id_matcher] if args.key?(:id_matcher)
6389
+ @bigtable = args[:bigtable] if args.key?(:bigtable)
6390
+ @create_time = args[:create_time] if args.key?(:create_time)
6391
+ @etag = args[:etag] if args.key?(:etag)
6392
+ @labels = args[:labels] if args.key?(:labels)
6393
+ @name = args[:name] if args.key?(:name)
6394
+ @state = args[:state] if args.key?(:state)
6395
+ @update_time = args[:update_time] if args.key?(:update_time)
6087
6396
  end
6088
6397
  end
6089
6398
 
6090
- # Stats and Anomaly generated at specific timestamp for specific Feature. The
6091
- # start_time and end_time are used to define the time range of the dataset that
6092
- # current stats belongs to, e.g. prediction traffic is bucketed into prediction
6093
- # datasets by time window. If the Dataset is not defined by time window,
6094
- # start_time = end_time. Timestamp of the stats and anomalies always refers to
6095
- # end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in
6096
- # the tensorflow defined protos. Field data_stats contains almost identical
6097
- # information with the raw stats in Vertex AI defined proto, for UI to display.
6098
- class GoogleCloudAiplatformV1FeatureStatsAnomaly
6399
+ #
6400
+ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable
6099
6401
  include Google::Apis::Core::Hashable
6100
6402
 
6101
- # This is the threshold used when detecting anomalies. The threshold can be
6102
- # changed by user, so this one might be different from ThresholdConfig.value.
6103
- # Corresponds to the JSON property `anomalyDetectionThreshold`
6104
- # @return [Float]
6105
- attr_accessor :anomaly_detection_threshold
6403
+ # Required. Autoscaling config applied to Bigtable Instance.
6404
+ # Corresponds to the JSON property `autoScaling`
6405
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling]
6406
+ attr_accessor :auto_scaling
6106
6407
 
6107
- # Path of the anomaly file for current feature values in Cloud Storage bucket.
6108
- # Format: gs:////anomalies. Example: gs://monitoring_bucket/feature_name/
6109
- # anomalies. Stats are stored as binary format with Protobuf message Anoamlies
6110
- # are stored as binary format with Protobuf message [tensorflow.metadata.v0.
6111
- # AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/
6112
- # tensorflow_metadata/proto/v0/anomalies.proto).
6408
+ def initialize(**args)
6409
+ update!(**args)
6410
+ end
6411
+
6412
+ # Update properties of this object
6413
+ def update!(**args)
6414
+ @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
6415
+ end
6416
+ end
6417
+
6418
+ #
6419
+ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling
6420
+ include Google::Apis::Core::Hashable
6421
+
6422
+ # Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%.
6423
+ # When a cluster's CPU utilization exceeds the target that you have set,
6424
+ # Bigtable immediately adds nodes to the cluster. When CPU utilization is
6425
+ # substantially lower than the target, Bigtable removes nodes. If not set will
6426
+ # default to 50%.
6427
+ # Corresponds to the JSON property `cpuUtilizationTarget`
6428
+ # @return [Fixnum]
6429
+ attr_accessor :cpu_utilization_target
6430
+
6431
+ # Required. The maximum number of nodes to scale up to. Must be greater than or
6432
+ # equal to min_node_count, and less than or equal to 10 times of 'min_node_count'
6433
+ # .
6434
+ # Corresponds to the JSON property `maxNodeCount`
6435
+ # @return [Fixnum]
6436
+ attr_accessor :max_node_count
6437
+
6438
+ # Required. The minimum number of nodes to scale down to. Must be greater than
6439
+ # or equal to 1.
6440
+ # Corresponds to the JSON property `minNodeCount`
6441
+ # @return [Fixnum]
6442
+ attr_accessor :min_node_count
6443
+
6444
+ def initialize(**args)
6445
+ update!(**args)
6446
+ end
6447
+
6448
+ # Update properties of this object
6449
+ def update!(**args)
6450
+ @cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
6451
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
6452
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
6453
+ end
6454
+ end
6455
+
6456
+ # Selector for Features of an EntityType.
6457
+ class GoogleCloudAiplatformV1FeatureSelector
6458
+ include Google::Apis::Core::Hashable
6459
+
6460
+ # Matcher for Features of an EntityType by Feature ID.
6461
+ # Corresponds to the JSON property `idMatcher`
6462
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IdMatcher]
6463
+ attr_accessor :id_matcher
6464
+
6465
+ def initialize(**args)
6466
+ update!(**args)
6467
+ end
6468
+
6469
+ # Update properties of this object
6470
+ def update!(**args)
6471
+ @id_matcher = args[:id_matcher] if args.key?(:id_matcher)
6472
+ end
6473
+ end
6474
+
6475
+ # Stats and Anomaly generated at specific timestamp for specific Feature. The
6476
+ # start_time and end_time are used to define the time range of the dataset that
6477
+ # current stats belongs to, e.g. prediction traffic is bucketed into prediction
6478
+ # datasets by time window. If the Dataset is not defined by time window,
6479
+ # start_time = end_time. Timestamp of the stats and anomalies always refers to
6480
+ # end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in
6481
+ # the tensorflow defined protos. Field data_stats contains almost identical
6482
+ # information with the raw stats in Vertex AI defined proto, for UI to display.
6483
+ class GoogleCloudAiplatformV1FeatureStatsAnomaly
6484
+ include Google::Apis::Core::Hashable
6485
+
6486
+ # This is the threshold used when detecting anomalies. The threshold can be
6487
+ # changed by user, so this one might be different from ThresholdConfig.value.
6488
+ # Corresponds to the JSON property `anomalyDetectionThreshold`
6489
+ # @return [Float]
6490
+ attr_accessor :anomaly_detection_threshold
6491
+
6492
+ # Path of the anomaly file for current feature values in Cloud Storage bucket.
6493
+ # Format: gs:////anomalies. Example: gs://monitoring_bucket/feature_name/
6494
+ # anomalies. Stats are stored as binary format with Protobuf message Anoamlies
6495
+ # are stored as binary format with Protobuf message [tensorflow.metadata.v0.
6496
+ # AnomalyInfo] (https://github.com/tensorflow/metadata/blob/master/
6497
+ # tensorflow_metadata/proto/v0/anomalies.proto).
6113
6498
  # Corresponds to the JSON property `anomalyUri`
6114
6499
  # @return [String]
6115
6500
  attr_accessor :anomaly_uri
@@ -6318,6 +6703,226 @@ module Google
6318
6703
  end
6319
6704
  end
6320
6705
 
6706
+ # FeatureView is representation of values that the FeatureOnlineStore will serve
6707
+ # based on its syncConfig.
6708
+ class GoogleCloudAiplatformV1FeatureView
6709
+ include Google::Apis::Core::Hashable
6710
+
6711
+ # Optional. Configures how data is supposed to be extracted from a BigQuery
6712
+ # source to be loaded onto the FeatureOnlineStore.
6713
+ # Corresponds to the JSON property `bigQuerySource`
6714
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewBigQuerySource]
6715
+ attr_accessor :big_query_source
6716
+
6717
+ # Output only. Timestamp when this FeatureView was created.
6718
+ # Corresponds to the JSON property `createTime`
6719
+ # @return [String]
6720
+ attr_accessor :create_time
6721
+
6722
+ # Optional. Used to perform consistent read-modify-write updates. If not set, a
6723
+ # blind "overwrite" update happens.
6724
+ # Corresponds to the JSON property `etag`
6725
+ # @return [String]
6726
+ attr_accessor :etag
6727
+
6728
+ # A Feature Registry source for features that need to be synced to Online Store.
6729
+ # Corresponds to the JSON property `featureRegistrySource`
6730
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource]
6731
+ attr_accessor :feature_registry_source
6732
+
6733
+ # Optional. The labels with user-defined metadata to organize your FeatureViews.
6734
+ # Label keys and values can be no longer than 64 characters (Unicode codepoints),
6735
+ # can only contain lowercase letters, numeric characters, underscores and
6736
+ # dashes. International characters are allowed. See https://goo.gl/xmQnxf for
6737
+ # more information on and examples of labels. No more than 64 user labels can be
6738
+ # associated with one FeatureOnlineStore(System labels are excluded)." System
6739
+ # reserved label keys are prefixed with "aiplatform.googleapis.com/" and are
6740
+ # immutable.
6741
+ # Corresponds to the JSON property `labels`
6742
+ # @return [Hash<String,String>]
6743
+ attr_accessor :labels
6744
+
6745
+ # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
6746
+ # location`/featureOnlineStores/`feature_online_store`/featureViews/`
6747
+ # feature_view``
6748
+ # Corresponds to the JSON property `name`
6749
+ # @return [String]
6750
+ attr_accessor :name
6751
+
6752
+ # Configures when data is to be synced/updated for this FeatureView. At the end
6753
+ # of the sync the latest featureValues for each entityId of this FeatureView are
6754
+ # made ready for online serving.
6755
+ # Corresponds to the JSON property `syncConfig`
6756
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig]
6757
+ attr_accessor :sync_config
6758
+
6759
+ # Output only. Timestamp when this FeatureView was last updated.
6760
+ # Corresponds to the JSON property `updateTime`
6761
+ # @return [String]
6762
+ attr_accessor :update_time
6763
+
6764
+ def initialize(**args)
6765
+ update!(**args)
6766
+ end
6767
+
6768
+ # Update properties of this object
6769
+ def update!(**args)
6770
+ @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
6771
+ @create_time = args[:create_time] if args.key?(:create_time)
6772
+ @etag = args[:etag] if args.key?(:etag)
6773
+ @feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
6774
+ @labels = args[:labels] if args.key?(:labels)
6775
+ @name = args[:name] if args.key?(:name)
6776
+ @sync_config = args[:sync_config] if args.key?(:sync_config)
6777
+ @update_time = args[:update_time] if args.key?(:update_time)
6778
+ end
6779
+ end
6780
+
6781
+ #
6782
+ class GoogleCloudAiplatformV1FeatureViewBigQuerySource
6783
+ include Google::Apis::Core::Hashable
6784
+
6785
+ # Required. Columns to construct entity_id / row keys. Start by supporting 1
6786
+ # only.
6787
+ # Corresponds to the JSON property `entityIdColumns`
6788
+ # @return [Array<String>]
6789
+ attr_accessor :entity_id_columns
6790
+
6791
+ # Required. The BigQuery view URI that will be materialized on each sync trigger
6792
+ # based on FeatureView.SyncConfig.
6793
+ # Corresponds to the JSON property `uri`
6794
+ # @return [String]
6795
+ attr_accessor :uri
6796
+
6797
+ def initialize(**args)
6798
+ update!(**args)
6799
+ end
6800
+
6801
+ # Update properties of this object
6802
+ def update!(**args)
6803
+ @entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
6804
+ @uri = args[:uri] if args.key?(:uri)
6805
+ end
6806
+ end
6807
+
6808
+ # A Feature Registry source for features that need to be synced to Online Store.
6809
+ class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
6810
+ include Google::Apis::Core::Hashable
6811
+
6812
+ # Required. List of features that need to be synced to Online Store.
6813
+ # Corresponds to the JSON property `featureGroups`
6814
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup>]
6815
+ attr_accessor :feature_groups
6816
+
6817
+ def initialize(**args)
6818
+ update!(**args)
6819
+ end
6820
+
6821
+ # Update properties of this object
6822
+ def update!(**args)
6823
+ @feature_groups = args[:feature_groups] if args.key?(:feature_groups)
6824
+ end
6825
+ end
6826
+
6827
+ # Features belonging to a single feature group that will be synced to Online
6828
+ # Store.
6829
+ class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup
6830
+ include Google::Apis::Core::Hashable
6831
+
6832
+ # Required. Identifier of the feature group.
6833
+ # Corresponds to the JSON property `featureGroupId`
6834
+ # @return [String]
6835
+ attr_accessor :feature_group_id
6836
+
6837
+ # Required. Identifiers of features under the feature group.
6838
+ # Corresponds to the JSON property `featureIds`
6839
+ # @return [Array<String>]
6840
+ attr_accessor :feature_ids
6841
+
6842
+ def initialize(**args)
6843
+ update!(**args)
6844
+ end
6845
+
6846
+ # Update properties of this object
6847
+ def update!(**args)
6848
+ @feature_group_id = args[:feature_group_id] if args.key?(:feature_group_id)
6849
+ @feature_ids = args[:feature_ids] if args.key?(:feature_ids)
6850
+ end
6851
+ end
6852
+
6853
+ # FeatureViewSync is a representation of sync operation which copies data from
6854
+ # data source to Feature View in Online Store.
6855
+ class GoogleCloudAiplatformV1FeatureViewSync
6856
+ include Google::Apis::Core::Hashable
6857
+
6858
+ # Output only. Time when this FeatureViewSync is created. Creation of a
6859
+ # FeatureViewSync means that the job is pending / waiting for sufficient
6860
+ # resources but may not have started the actual data transfer yet.
6861
+ # Corresponds to the JSON property `createTime`
6862
+ # @return [String]
6863
+ attr_accessor :create_time
6864
+
6865
+ # The `Status` type defines a logical error model that is suitable for different
6866
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6867
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6868
+ # data: error code, error message, and error details. You can find out more
6869
+ # about this error model and how to work with it in the [API Design Guide](https:
6870
+ # //cloud.google.com/apis/design/errors).
6871
+ # Corresponds to the JSON property `finalStatus`
6872
+ # @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
6873
+ attr_accessor :final_status
6874
+
6875
+ # Output only. Name of the FeatureViewSync. Format: `projects/`project`/
6876
+ # locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
6877
+ # feature_view`/featureViewSyncs/`feature_view_sync``
6878
+ # Corresponds to the JSON property `name`
6879
+ # @return [String]
6880
+ attr_accessor :name
6881
+
6882
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6883
+ # Timestamp end (exclusive). The start must be less than or equal to the end.
6884
+ # When the start equals the end, the interval is empty (matches no time). When
6885
+ # both start and end are unspecified, the interval matches any time.
6886
+ # Corresponds to the JSON property `runTime`
6887
+ # @return [Google::Apis::AiplatformV1::GoogleTypeInterval]
6888
+ attr_accessor :run_time
6889
+
6890
+ def initialize(**args)
6891
+ update!(**args)
6892
+ end
6893
+
6894
+ # Update properties of this object
6895
+ def update!(**args)
6896
+ @create_time = args[:create_time] if args.key?(:create_time)
6897
+ @final_status = args[:final_status] if args.key?(:final_status)
6898
+ @name = args[:name] if args.key?(:name)
6899
+ @run_time = args[:run_time] if args.key?(:run_time)
6900
+ end
6901
+ end
6902
+
6903
+ #
6904
+ class GoogleCloudAiplatformV1FeatureViewSyncConfig
6905
+ include Google::Apis::Core::Hashable
6906
+
6907
+ # Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs.
6908
+ # To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "
6909
+ # CRON_TZ=$`IANA_TIME_ZONE`" or "TZ=$`IANA_TIME_ZONE`". The $`IANA_TIME_ZONE`
6910
+ # may only be a valid string from IANA time zone database. For example, "CRON_TZ=
6911
+ # America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
6912
+ # Corresponds to the JSON property `cron`
6913
+ # @return [String]
6914
+ attr_accessor :cron
6915
+
6916
+ def initialize(**args)
6917
+ update!(**args)
6918
+ end
6919
+
6920
+ # Update properties of this object
6921
+ def update!(**args)
6922
+ @cron = args[:cron] if args.key?(:cron)
6923
+ end
6924
+ end
6925
+
6321
6926
  # Vertex AI Feature Store provides a centralized repository for organizing,
6322
6927
  # storing, and serving ML features. The Featurestore is a top-level container
6323
6928
  # for your features and their values.
@@ -6552,12 +7157,126 @@ module Google
6552
7157
  # @return [Fixnum]
6553
7158
  attr_accessor :fixed_node_count
6554
7159
 
6555
- # Online serving scaling configuration. If min_node_count and max_node_count are
6556
- # set to the same value, the cluster will be configured with the fixed number of
6557
- # node (no auto-scaling).
6558
- # Corresponds to the JSON property `scaling`
6559
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling]
6560
- attr_accessor :scaling
7160
+ # Online serving scaling configuration. If min_node_count and max_node_count are
7161
+ # set to the same value, the cluster will be configured with the fixed number of
7162
+ # node (no auto-scaling).
7163
+ # Corresponds to the JSON property `scaling`
7164
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling]
7165
+ attr_accessor :scaling
7166
+
7167
+ def initialize(**args)
7168
+ update!(**args)
7169
+ end
7170
+
7171
+ # Update properties of this object
7172
+ def update!(**args)
7173
+ @fixed_node_count = args[:fixed_node_count] if args.key?(:fixed_node_count)
7174
+ @scaling = args[:scaling] if args.key?(:scaling)
7175
+ end
7176
+ end
7177
+
7178
+ # Online serving scaling configuration. If min_node_count and max_node_count are
7179
+ # set to the same value, the cluster will be configured with the fixed number of
7180
+ # node (no auto-scaling).
7181
+ class GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling
7182
+ include Google::Apis::Core::Hashable
7183
+
7184
+ # Optional. The cpu utilization that the Autoscaler should be trying to achieve.
7185
+ # This number is on a scale from 0 (no utilization) to 100 (total utilization),
7186
+ # and is limited between 10 and 80. When a cluster's CPU utilization exceeds the
7187
+ # target that you have set, Bigtable immediately adds nodes to the cluster. When
7188
+ # CPU utilization is substantially lower than the target, Bigtable removes nodes.
7189
+ # If not set or set to 0, default to 50.
7190
+ # Corresponds to the JSON property `cpuUtilizationTarget`
7191
+ # @return [Fixnum]
7192
+ attr_accessor :cpu_utilization_target
7193
+
7194
+ # The maximum number of nodes to scale up to. Must be greater than
7195
+ # min_node_count, and less than or equal to 10 times of 'min_node_count'.
7196
+ # Corresponds to the JSON property `maxNodeCount`
7197
+ # @return [Fixnum]
7198
+ attr_accessor :max_node_count
7199
+
7200
+ # Required. The minimum number of nodes to scale down to. Must be greater than
7201
+ # or equal to 1.
7202
+ # Corresponds to the JSON property `minNodeCount`
7203
+ # @return [Fixnum]
7204
+ attr_accessor :min_node_count
7205
+
7206
+ def initialize(**args)
7207
+ update!(**args)
7208
+ end
7209
+
7210
+ # Update properties of this object
7211
+ def update!(**args)
7212
+ @cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
7213
+ @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
7214
+ @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
7215
+ end
7216
+ end
7217
+
7218
+ # Request message for FeatureOnlineStoreService.FetchFeatureValues. All the
7219
+ # features under the requested feature view will be returned.
7220
+ class GoogleCloudAiplatformV1FetchFeatureValuesRequest
7221
+ include Google::Apis::Core::Hashable
7222
+
7223
+ # Specify response data format. If not set, KeyValue format will be used.
7224
+ # Corresponds to the JSON property `format`
7225
+ # @return [String]
7226
+ attr_accessor :format
7227
+
7228
+ # Simple ID. The whole string will be used as is to identify Entity to fetch
7229
+ # feature values for.
7230
+ # Corresponds to the JSON property `id`
7231
+ # @return [String]
7232
+ attr_accessor :id
7233
+
7234
+ def initialize(**args)
7235
+ update!(**args)
7236
+ end
7237
+
7238
+ # Update properties of this object
7239
+ def update!(**args)
7240
+ @format = args[:format] if args.key?(:format)
7241
+ @id = args[:id] if args.key?(:id)
7242
+ end
7243
+ end
7244
+
7245
+ # Response message for FeatureOnlineStoreService.FetchFeatureValues
7246
+ class GoogleCloudAiplatformV1FetchFeatureValuesResponse
7247
+ include Google::Apis::Core::Hashable
7248
+
7249
+ # Response structure in the format of key (feature name) and (feature) value
7250
+ # pair.
7251
+ # Corresponds to the JSON property `keyValues`
7252
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList]
7253
+ attr_accessor :key_values
7254
+
7255
+ # Feature values in proto Struct format.
7256
+ # Corresponds to the JSON property `protoStruct`
7257
+ # @return [Hash<String,Object>]
7258
+ attr_accessor :proto_struct
7259
+
7260
+ def initialize(**args)
7261
+ update!(**args)
7262
+ end
7263
+
7264
+ # Update properties of this object
7265
+ def update!(**args)
7266
+ @key_values = args[:key_values] if args.key?(:key_values)
7267
+ @proto_struct = args[:proto_struct] if args.key?(:proto_struct)
7268
+ end
7269
+ end
7270
+
7271
+ # Response structure in the format of key (feature name) and (feature) value
7272
+ # pair.
7273
+ class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList
7274
+ include Google::Apis::Core::Hashable
7275
+
7276
+ # List of feature names and values.
7277
+ # Corresponds to the JSON property `features`
7278
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair>]
7279
+ attr_accessor :features
6561
7280
 
6562
7281
  def initialize(**args)
6563
7282
  update!(**args)
@@ -6565,38 +7284,23 @@ module Google
6565
7284
 
6566
7285
  # Update properties of this object
6567
7286
  def update!(**args)
6568
- @fixed_node_count = args[:fixed_node_count] if args.key?(:fixed_node_count)
6569
- @scaling = args[:scaling] if args.key?(:scaling)
7287
+ @features = args[:features] if args.key?(:features)
6570
7288
  end
6571
7289
  end
6572
7290
 
6573
- # Online serving scaling configuration. If min_node_count and max_node_count are
6574
- # set to the same value, the cluster will be configured with the fixed number of
6575
- # node (no auto-scaling).
6576
- class GoogleCloudAiplatformV1FeaturestoreOnlineServingConfigScaling
7291
+ # Feature name & value pair.
7292
+ class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair
6577
7293
  include Google::Apis::Core::Hashable
6578
7294
 
6579
- # Optional. The cpu utilization that the Autoscaler should be trying to achieve.
6580
- # This number is on a scale from 0 (no utilization) to 100 (total utilization),
6581
- # and is limited between 10 and 80. When a cluster's CPU utilization exceeds the
6582
- # target that you have set, Bigtable immediately adds nodes to the cluster. When
6583
- # CPU utilization is substantially lower than the target, Bigtable removes nodes.
6584
- # If not set or set to 0, default to 50.
6585
- # Corresponds to the JSON property `cpuUtilizationTarget`
6586
- # @return [Fixnum]
6587
- attr_accessor :cpu_utilization_target
6588
-
6589
- # The maximum number of nodes to scale up to. Must be greater than
6590
- # min_node_count, and less than or equal to 10 times of 'min_node_count'.
6591
- # Corresponds to the JSON property `maxNodeCount`
6592
- # @return [Fixnum]
6593
- attr_accessor :max_node_count
7295
+ # Feature short name.
7296
+ # Corresponds to the JSON property `name`
7297
+ # @return [String]
7298
+ attr_accessor :name
6594
7299
 
6595
- # Required. The minimum number of nodes to scale down to. Must be greater than
6596
- # or equal to 1.
6597
- # Corresponds to the JSON property `minNodeCount`
6598
- # @return [Fixnum]
6599
- attr_accessor :min_node_count
7300
+ # Value for a feature.
7301
+ # Corresponds to the JSON property `value`
7302
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue]
7303
+ attr_accessor :value
6600
7304
 
6601
7305
  def initialize(**args)
6602
7306
  update!(**args)
@@ -6604,9 +7308,8 @@ module Google
6604
7308
 
6605
7309
  # Update properties of this object
6606
7310
  def update!(**args)
6607
- @cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
6608
- @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
6609
- @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
7311
+ @name = args[:name] if args.key?(:name)
7312
+ @value = args[:value] if args.key?(:value)
6610
7313
  end
6611
7314
  end
6612
7315
 
@@ -7557,6 +8260,13 @@ module Google
7557
8260
  # @return [Array<Float>]
7558
8261
  attr_accessor :feature_vector
7559
8262
 
8263
+ # Optional. List of Restrict of the datapoint, used to perform "restricted
8264
+ # searches" where boolean rule are used to filter the subset of the database
8265
+ # eligible for matching. This uses numeric comparisons.
8266
+ # Corresponds to the JSON property `numericRestricts`
8267
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapointNumericRestriction>]
8268
+ attr_accessor :numeric_restricts
8269
+
7560
8270
  # Optional. List of Restrict of the datapoint, used to perform "restricted
7561
8271
  # searches" where boolean rule are used to filter the subset of the database
7562
8272
  # eligible for matching. This uses categorical tokens. See: https://cloud.google.
@@ -7574,6 +8284,7 @@ module Google
7574
8284
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
7575
8285
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
7576
8286
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
8287
+ @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
7577
8288
  @restricts = args[:restricts] if args.key?(:restricts)
7578
8289
  end
7579
8290
  end
@@ -7603,6 +8314,50 @@ module Google
7603
8314
  end
7604
8315
  end
7605
8316
 
8317
+ # This field allows restricts to be based on numeric comparisons rather than
8318
+ # categorical tokens.
8319
+ class GoogleCloudAiplatformV1IndexDatapointNumericRestriction
8320
+ include Google::Apis::Core::Hashable
8321
+
8322
+ # The namespace of this restriction. e.g.: cost.
8323
+ # Corresponds to the JSON property `namespace`
8324
+ # @return [String]
8325
+ attr_accessor :namespace
8326
+
8327
+ # This MUST be specified for queries and must NOT be specified for datapoints.
8328
+ # Corresponds to the JSON property `op`
8329
+ # @return [String]
8330
+ attr_accessor :op
8331
+
8332
+ # Represents 64 bit float.
8333
+ # Corresponds to the JSON property `valueDouble`
8334
+ # @return [Float]
8335
+ attr_accessor :value_double
8336
+
8337
+ # Represents 32 bit float.
8338
+ # Corresponds to the JSON property `valueFloat`
8339
+ # @return [Float]
8340
+ attr_accessor :value_float
8341
+
8342
+ # Represents 64 bit integer.
8343
+ # Corresponds to the JSON property `valueInt`
8344
+ # @return [Fixnum]
8345
+ attr_accessor :value_int
8346
+
8347
+ def initialize(**args)
8348
+ update!(**args)
8349
+ end
8350
+
8351
+ # Update properties of this object
8352
+ def update!(**args)
8353
+ @namespace = args[:namespace] if args.key?(:namespace)
8354
+ @op = args[:op] if args.key?(:op)
8355
+ @value_double = args[:value_double] if args.key?(:value_double)
8356
+ @value_float = args[:value_float] if args.key?(:value_float)
8357
+ @value_int = args[:value_int] if args.key?(:value_int)
8358
+ end
8359
+ end
8360
+
7606
8361
  # Restriction of a datapoint which describe its attributes(tokens) from each of
7607
8362
  # several attribute categories(namespaces).
7608
8363
  class GoogleCloudAiplatformV1IndexDatapointRestriction
@@ -8370,6 +9125,112 @@ module Google
8370
9125
  end
8371
9126
  end
8372
9127
 
9128
+ # Response message for FeatureRegistryService.ListFeatureGroups.
9129
+ class GoogleCloudAiplatformV1ListFeatureGroupsResponse
9130
+ include Google::Apis::Core::Hashable
9131
+
9132
+ # The FeatureGroups matching the request.
9133
+ # Corresponds to the JSON property `featureGroups`
9134
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup>]
9135
+ attr_accessor :feature_groups
9136
+
9137
+ # A token, which can be sent as ListFeatureGroupsRequest.page_token to retrieve
9138
+ # the next page. If this field is omitted, there are no subsequent pages.
9139
+ # Corresponds to the JSON property `nextPageToken`
9140
+ # @return [String]
9141
+ attr_accessor :next_page_token
9142
+
9143
+ def initialize(**args)
9144
+ update!(**args)
9145
+ end
9146
+
9147
+ # Update properties of this object
9148
+ def update!(**args)
9149
+ @feature_groups = args[:feature_groups] if args.key?(:feature_groups)
9150
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9151
+ end
9152
+ end
9153
+
9154
+ # Response message for FeatureOnlineStoreAdminService.ListFeatureOnlineStores.
9155
+ class GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse
9156
+ include Google::Apis::Core::Hashable
9157
+
9158
+ # The FeatureOnlineStores matching the request.
9159
+ # Corresponds to the JSON property `featureOnlineStores`
9160
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore>]
9161
+ attr_accessor :feature_online_stores
9162
+
9163
+ # A token, which can be sent as ListFeatureOnlineStoresRequest.page_token to
9164
+ # retrieve the next page. If this field is omitted, there are no subsequent
9165
+ # pages.
9166
+ # Corresponds to the JSON property `nextPageToken`
9167
+ # @return [String]
9168
+ attr_accessor :next_page_token
9169
+
9170
+ def initialize(**args)
9171
+ update!(**args)
9172
+ end
9173
+
9174
+ # Update properties of this object
9175
+ def update!(**args)
9176
+ @feature_online_stores = args[:feature_online_stores] if args.key?(:feature_online_stores)
9177
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9178
+ end
9179
+ end
9180
+
9181
+ # Response message for FeatureOnlineStoreAdminService.ListFeatureViewSyncs.
9182
+ class GoogleCloudAiplatformV1ListFeatureViewSyncsResponse
9183
+ include Google::Apis::Core::Hashable
9184
+
9185
+ # The FeatureViewSyncs matching the request.
9186
+ # Corresponds to the JSON property `featureViewSyncs`
9187
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync>]
9188
+ attr_accessor :feature_view_syncs
9189
+
9190
+ # A token, which can be sent as ListFeatureViewSyncsRequest.page_token to
9191
+ # retrieve the next page. If this field is omitted, there are no subsequent
9192
+ # pages.
9193
+ # Corresponds to the JSON property `nextPageToken`
9194
+ # @return [String]
9195
+ attr_accessor :next_page_token
9196
+
9197
+ def initialize(**args)
9198
+ update!(**args)
9199
+ end
9200
+
9201
+ # Update properties of this object
9202
+ def update!(**args)
9203
+ @feature_view_syncs = args[:feature_view_syncs] if args.key?(:feature_view_syncs)
9204
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9205
+ end
9206
+ end
9207
+
9208
+ # Response message for FeatureOnlineStoreAdminService.ListFeatureViews.
9209
+ class GoogleCloudAiplatformV1ListFeatureViewsResponse
9210
+ include Google::Apis::Core::Hashable
9211
+
9212
+ # The FeatureViews matching the request.
9213
+ # Corresponds to the JSON property `featureViews`
9214
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView>]
9215
+ attr_accessor :feature_views
9216
+
9217
+ # A token, which can be sent as ListFeatureViewsRequest.page_token to retrieve
9218
+ # the next page. If this field is omitted, there are no subsequent pages.
9219
+ # Corresponds to the JSON property `nextPageToken`
9220
+ # @return [String]
9221
+ attr_accessor :next_page_token
9222
+
9223
+ def initialize(**args)
9224
+ update!(**args)
9225
+ end
9226
+
9227
+ # Update properties of this object
9228
+ def update!(**args)
9229
+ @feature_views = args[:feature_views] if args.key?(:feature_views)
9230
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9231
+ end
9232
+ end
9233
+
8373
9234
  # Response message for FeaturestoreService.ListFeatures. Response message for
8374
9235
  # FeatureRegistryService.ListFeatures.
8375
9236
  class GoogleCloudAiplatformV1ListFeaturesResponse
@@ -21362,7 +22223,7 @@ module Google
21362
22223
  end
21363
22224
  end
21364
22225
 
21365
- # A message representing a Study. Next id: 12
22226
+ # A message representing a Study.
21366
22227
  class GoogleCloudAiplatformV1Study
21367
22228
  include Google::Apis::Core::Hashable
21368
22229
 
@@ -22190,6 +23051,40 @@ module Google
22190
23051
  end
22191
23052
  end
22192
23053
 
23054
+ # Request message for FeatureOnlineStoreAdminService.SyncFeatureView.
23055
+ class GoogleCloudAiplatformV1SyncFeatureViewRequest
23056
+ include Google::Apis::Core::Hashable
23057
+
23058
+ def initialize(**args)
23059
+ update!(**args)
23060
+ end
23061
+
23062
+ # Update properties of this object
23063
+ def update!(**args)
23064
+ end
23065
+ end
23066
+
23067
+ # Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
23068
+ class GoogleCloudAiplatformV1SyncFeatureViewResponse
23069
+ include Google::Apis::Core::Hashable
23070
+
23071
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
23072
+ # feature_online_store`/featureViews/`feature_view`/featureViewSyncs/`
23073
+ # feature_view_sync``
23074
+ # Corresponds to the JSON property `featureViewSync`
23075
+ # @return [String]
23076
+ attr_accessor :feature_view_sync
23077
+
23078
+ def initialize(**args)
23079
+ update!(**args)
23080
+ end
23081
+
23082
+ # Update properties of this object
23083
+ def update!(**args)
23084
+ @feature_view_sync = args[:feature_view_sync] if args.key?(:feature_view_sync)
23085
+ end
23086
+ end
23087
+
22193
23088
  # The storage details for TFRecord output content.
22194
23089
  class GoogleCloudAiplatformV1TfRecordDestination
22195
23090
  include Google::Apis::Core::Hashable
@@ -22880,6 +23775,31 @@ module Google
22880
23775
  end
22881
23776
  end
22882
23777
 
23778
+ # Tokens info with a list of tokens and the corresponding list of token ids.
23779
+ class GoogleCloudAiplatformV1TokensInfo
23780
+ include Google::Apis::Core::Hashable
23781
+
23782
+ # A list of token ids from the input.
23783
+ # Corresponds to the JSON property `tokenIds`
23784
+ # @return [Array<Fixnum>]
23785
+ attr_accessor :token_ids
23786
+
23787
+ # A list of tokens from the input.
23788
+ # Corresponds to the JSON property `tokens`
23789
+ # @return [Array<String>]
23790
+ attr_accessor :tokens
23791
+
23792
+ def initialize(**args)
23793
+ update!(**args)
23794
+ end
23795
+
23796
+ # Update properties of this object
23797
+ def update!(**args)
23798
+ @token_ids = args[:token_ids] if args.key?(:token_ids)
23799
+ @tokens = args[:tokens] if args.key?(:tokens)
23800
+ end
23801
+ end
23802
+
22883
23803
  # CMLE training config. For every active learning labeling iteration, system
22884
23804
  # will train a machine learning model on CMLE. The trained model will be used by
22885
23805
  # data sampling algorithm to select DataItems.
@@ -23418,6 +24338,82 @@ module Google
23418
24338
  end
23419
24339
  end
23420
24340
 
24341
+ # Details of operations that perform update FeatureGroup.
24342
+ class GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata
24343
+ include Google::Apis::Core::Hashable
24344
+
24345
+ # Generic Metadata shared by all operations.
24346
+ # Corresponds to the JSON property `genericMetadata`
24347
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
24348
+ attr_accessor :generic_metadata
24349
+
24350
+ def initialize(**args)
24351
+ update!(**args)
24352
+ end
24353
+
24354
+ # Update properties of this object
24355
+ def update!(**args)
24356
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
24357
+ end
24358
+ end
24359
+
24360
+ # Details of operations that perform update FeatureOnlineStore.
24361
+ class GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata
24362
+ include Google::Apis::Core::Hashable
24363
+
24364
+ # Generic Metadata shared by all operations.
24365
+ # Corresponds to the JSON property `genericMetadata`
24366
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
24367
+ attr_accessor :generic_metadata
24368
+
24369
+ def initialize(**args)
24370
+ update!(**args)
24371
+ end
24372
+
24373
+ # Update properties of this object
24374
+ def update!(**args)
24375
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
24376
+ end
24377
+ end
24378
+
24379
+ # Details of operations that perform update Feature.
24380
+ class GoogleCloudAiplatformV1UpdateFeatureOperationMetadata
24381
+ include Google::Apis::Core::Hashable
24382
+
24383
+ # Generic Metadata shared by all operations.
24384
+ # Corresponds to the JSON property `genericMetadata`
24385
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
24386
+ attr_accessor :generic_metadata
24387
+
24388
+ def initialize(**args)
24389
+ update!(**args)
24390
+ end
24391
+
24392
+ # Update properties of this object
24393
+ def update!(**args)
24394
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
24395
+ end
24396
+ end
24397
+
24398
+ # Details of operations that perform update FeatureView.
24399
+ class GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata
24400
+ include Google::Apis::Core::Hashable
24401
+
24402
+ # Generic Metadata shared by all operations.
24403
+ # Corresponds to the JSON property `genericMetadata`
24404
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
24405
+ attr_accessor :generic_metadata
24406
+
24407
+ def initialize(**args)
24408
+ update!(**args)
24409
+ end
24410
+
24411
+ # Update properties of this object
24412
+ def update!(**args)
24413
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
24414
+ end
24415
+ end
24416
+
23421
24417
  # Details of operations that perform update Featurestore.
23422
24418
  class GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata
23423
24419
  include Google::Apis::Core::Hashable