google-apis-aiplatform_v1 0.4.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
@@ -2774,9 +2938,8 @@ module Google
2774
2938
  attr_accessor :network
2775
2939
 
2776
2940
  # The ID of the location to store protected artifacts. e.g. us-central1.
2777
- # Populate only when the location is different than CustomJob location. For
2778
- # unprotected artifacts, the value of this field is ignored. List of supported
2779
- # locations: https://cloud.google.com/vertex-ai/docs/general/locations
2941
+ # Populate only when the location is different than CustomJob location. List of
2942
+ # supported locations: https://cloud.google.com/vertex-ai/docs/general/locations
2780
2943
  # Corresponds to the JSON property `protectedArtifactLocationId`
2781
2944
  # @return [String]
2782
2945
  attr_accessor :protected_artifact_location_id
@@ -5968,6 +6131,13 @@ module Google
5968
6131
  # @return [String]
5969
6132
  attr_accessor :value_type
5970
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
+
5971
6141
  def initialize(**args)
5972
6142
  update!(**args)
5973
6143
  end
@@ -5983,6 +6153,96 @@ module Google
5983
6153
  @name = args[:name] if args.key?(:name)
5984
6154
  @update_time = args[:update_time] if args.key?(:update_time)
5985
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)
5986
6246
  end
5987
6247
  end
5988
6248
 
@@ -6069,6 +6329,130 @@ module Google
6069
6329
  end
6070
6330
  end
6071
6331
 
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
6336
+ include Google::Apis::Core::Hashable
6337
+
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
6382
+
6383
+ def initialize(**args)
6384
+ update!(**args)
6385
+ end
6386
+
6387
+ # Update properties of this object
6388
+ def update!(**args)
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)
6396
+ end
6397
+ end
6398
+
6399
+ #
6400
+ class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable
6401
+ include Google::Apis::Core::Hashable
6402
+
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
6407
+
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
+
6072
6456
  # Selector for Features of an EntityType.
6073
6457
  class GoogleCloudAiplatformV1FeatureSelector
6074
6458
  include Google::Apis::Core::Hashable
@@ -6319,6 +6703,226 @@ module Google
6319
6703
  end
6320
6704
  end
6321
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
+
6322
6926
  # Vertex AI Feature Store provides a centralized repository for organizing,
6323
6927
  # storing, and serving ML features. The Featurestore is a top-level container
6324
6928
  # for your features and their values.
@@ -6605,9 +7209,107 @@ module Google
6605
7209
 
6606
7210
  # Update properties of this object
6607
7211
  def update!(**args)
6608
- @cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
6609
- @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
6610
- @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
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
7280
+
7281
+ def initialize(**args)
7282
+ update!(**args)
7283
+ end
7284
+
7285
+ # Update properties of this object
7286
+ def update!(**args)
7287
+ @features = args[:features] if args.key?(:features)
7288
+ end
7289
+ end
7290
+
7291
+ # Feature name & value pair.
7292
+ class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair
7293
+ include Google::Apis::Core::Hashable
7294
+
7295
+ # Feature short name.
7296
+ # Corresponds to the JSON property `name`
7297
+ # @return [String]
7298
+ attr_accessor :name
7299
+
7300
+ # Value for a feature.
7301
+ # Corresponds to the JSON property `value`
7302
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue]
7303
+ attr_accessor :value
7304
+
7305
+ def initialize(**args)
7306
+ update!(**args)
7307
+ end
7308
+
7309
+ # Update properties of this object
7310
+ def update!(**args)
7311
+ @name = args[:name] if args.key?(:name)
7312
+ @value = args[:value] if args.key?(:value)
6611
7313
  end
6612
7314
  end
6613
7315
 
@@ -7558,6 +8260,13 @@ module Google
7558
8260
  # @return [Array<Float>]
7559
8261
  attr_accessor :feature_vector
7560
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
+
7561
8270
  # Optional. List of Restrict of the datapoint, used to perform "restricted
7562
8271
  # searches" where boolean rule are used to filter the subset of the database
7563
8272
  # eligible for matching. This uses categorical tokens. See: https://cloud.google.
@@ -7575,6 +8284,7 @@ module Google
7575
8284
  @crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
7576
8285
  @datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
7577
8286
  @feature_vector = args[:feature_vector] if args.key?(:feature_vector)
8287
+ @numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
7578
8288
  @restricts = args[:restricts] if args.key?(:restricts)
7579
8289
  end
7580
8290
  end
@@ -7604,6 +8314,50 @@ module Google
7604
8314
  end
7605
8315
  end
7606
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
+
7607
8361
  # Restriction of a datapoint which describe its attributes(tokens) from each of
7608
8362
  # several attribute categories(namespaces).
7609
8363
  class GoogleCloudAiplatformV1IndexDatapointRestriction
@@ -8371,6 +9125,112 @@ module Google
8371
9125
  end
8372
9126
  end
8373
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
+
8374
9234
  # Response message for FeaturestoreService.ListFeatures. Response message for
8375
9235
  # FeatureRegistryService.ListFeatures.
8376
9236
  class GoogleCloudAiplatformV1ListFeaturesResponse
@@ -21476,6 +22336,12 @@ module Google
21476
22336
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpec>]
21477
22337
  attr_accessor :parameters
21478
22338
 
22339
+ # The configuration (stopping conditions) for automated stopping of a Study.
22340
+ # Conditions include trial budgets, time budgets, and convergence detection.
22341
+ # Corresponds to the JSON property `studyStoppingConfig`
22342
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecStudyStoppingConfig]
22343
+ attr_accessor :study_stopping_config
22344
+
21479
22345
  def initialize(**args)
21480
22346
  update!(**args)
21481
22347
  end
@@ -21490,6 +22356,7 @@ module Google
21490
22356
  @metrics = args[:metrics] if args.key?(:metrics)
21491
22357
  @observation_noise = args[:observation_noise] if args.key?(:observation_noise)
21492
22358
  @parameters = args[:parameters] if args.key?(:parameters)
22359
+ @study_stopping_config = args[:study_stopping_config] if args.key?(:study_stopping_config)
21493
22360
  end
21494
22361
  end
21495
22362
 
@@ -21973,6 +22840,93 @@ module Google
21973
22840
  end
21974
22841
  end
21975
22842
 
22843
+ # The configuration (stopping conditions) for automated stopping of a Study.
22844
+ # Conditions include trial budgets, time budgets, and convergence detection.
22845
+ class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
22846
+ include Google::Apis::Core::Hashable
22847
+
22848
+ # If the objective value has not improved for this much time, stop the study.
22849
+ # WARNING: Effective only for single-objective studies.
22850
+ # Corresponds to the JSON property `maxDurationNoProgress`
22851
+ # @return [String]
22852
+ attr_accessor :max_duration_no_progress
22853
+
22854
+ # If there are more than this many trials, stop the study.
22855
+ # Corresponds to the JSON property `maxNumTrials`
22856
+ # @return [Fixnum]
22857
+ attr_accessor :max_num_trials
22858
+
22859
+ # If the objective value has not improved for this many consecutive trials, stop
22860
+ # the study. WARNING: Effective only for single-objective studies.
22861
+ # Corresponds to the JSON property `maxNumTrialsNoProgress`
22862
+ # @return [Fixnum]
22863
+ attr_accessor :max_num_trials_no_progress
22864
+
22865
+ # Time-based Constraint for Study
22866
+ # Corresponds to the JSON property `maximumRuntimeConstraint`
22867
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint]
22868
+ attr_accessor :maximum_runtime_constraint
22869
+
22870
+ # If there are fewer than this many COMPLETED trials, do not stop the study.
22871
+ # Corresponds to the JSON property `minNumTrials`
22872
+ # @return [Fixnum]
22873
+ attr_accessor :min_num_trials
22874
+
22875
+ # Time-based Constraint for Study
22876
+ # Corresponds to the JSON property `minimumRuntimeConstraint`
22877
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint]
22878
+ attr_accessor :minimum_runtime_constraint
22879
+
22880
+ # If true, a Study enters STOPPING_ASAP whenever it would normally enters
22881
+ # STOPPING state. The bottom line is: set to true if you want to interrupt on-
22882
+ # going evaluations of Trials as soon as the study stopping condition is met. (
22883
+ # Please see Study.State documentation for the source of truth).
22884
+ # Corresponds to the JSON property `shouldStopAsap`
22885
+ # @return [Boolean]
22886
+ attr_accessor :should_stop_asap
22887
+ alias_method :should_stop_asap?, :should_stop_asap
22888
+
22889
+ def initialize(**args)
22890
+ update!(**args)
22891
+ end
22892
+
22893
+ # Update properties of this object
22894
+ def update!(**args)
22895
+ @max_duration_no_progress = args[:max_duration_no_progress] if args.key?(:max_duration_no_progress)
22896
+ @max_num_trials = args[:max_num_trials] if args.key?(:max_num_trials)
22897
+ @max_num_trials_no_progress = args[:max_num_trials_no_progress] if args.key?(:max_num_trials_no_progress)
22898
+ @maximum_runtime_constraint = args[:maximum_runtime_constraint] if args.key?(:maximum_runtime_constraint)
22899
+ @min_num_trials = args[:min_num_trials] if args.key?(:min_num_trials)
22900
+ @minimum_runtime_constraint = args[:minimum_runtime_constraint] if args.key?(:minimum_runtime_constraint)
22901
+ @should_stop_asap = args[:should_stop_asap] if args.key?(:should_stop_asap)
22902
+ end
22903
+ end
22904
+
22905
+ # Time-based Constraint for Study
22906
+ class GoogleCloudAiplatformV1StudyTimeConstraint
22907
+ include Google::Apis::Core::Hashable
22908
+
22909
+ # Compares the wallclock time to this time. Must use UTC timezone.
22910
+ # Corresponds to the JSON property `endTime`
22911
+ # @return [String]
22912
+ attr_accessor :end_time
22913
+
22914
+ # Counts the wallclock time passed since the creation of this Study.
22915
+ # Corresponds to the JSON property `maxDuration`
22916
+ # @return [String]
22917
+ attr_accessor :max_duration
22918
+
22919
+ def initialize(**args)
22920
+ update!(**args)
22921
+ end
22922
+
22923
+ # Update properties of this object
22924
+ def update!(**args)
22925
+ @end_time = args[:end_time] if args.key?(:end_time)
22926
+ @max_duration = args[:max_duration] if args.key?(:max_duration)
22927
+ end
22928
+ end
22929
+
21976
22930
  # Details of operations that perform Trials suggestion.
21977
22931
  class GoogleCloudAiplatformV1SuggestTrialsMetadata
21978
22932
  include Google::Apis::Core::Hashable
@@ -22097,6 +23051,40 @@ module Google
22097
23051
  end
22098
23052
  end
22099
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
+
22100
23088
  # The storage details for TFRecord output content.
22101
23089
  class GoogleCloudAiplatformV1TfRecordDestination
22102
23090
  include Google::Apis::Core::Hashable
@@ -22787,6 +23775,31 @@ module Google
22787
23775
  end
22788
23776
  end
22789
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
+
22790
23803
  # CMLE training config. For every active learning labeling iteration, system
22791
23804
  # will train a machine learning model on CMLE. The trained model will be used by
22792
23805
  # data sampling algorithm to select DataItems.
@@ -23325,6 +24338,82 @@ module Google
23325
24338
  end
23326
24339
  end
23327
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
+
23328
24417
  # Details of operations that perform update Featurestore.
23329
24418
  class GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata
23330
24419
  include Google::Apis::Core::Hashable