google-apis-aiplatform_v1 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1/classes.rb +1343 -51
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +669 -2
- data/lib/google/apis/aiplatform_v1/service.rb +2024 -113
- metadata +3 -3
@@ -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
|
@@ -2231,6 +2319,54 @@ module Google
|
|
2231
2319
|
end
|
2232
2320
|
end
|
2233
2321
|
|
2322
|
+
# Runtime operation information for CreateDeploymentResourcePool method.
|
2323
|
+
class GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata
|
2324
|
+
include Google::Apis::Core::Hashable
|
2325
|
+
|
2326
|
+
# Generic Metadata shared by all operations.
|
2327
|
+
# Corresponds to the JSON property `genericMetadata`
|
2328
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
2329
|
+
attr_accessor :generic_metadata
|
2330
|
+
|
2331
|
+
def initialize(**args)
|
2332
|
+
update!(**args)
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
# Update properties of this object
|
2336
|
+
def update!(**args)
|
2337
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2338
|
+
end
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
# Request message for CreateDeploymentResourcePool method.
|
2342
|
+
class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest
|
2343
|
+
include Google::Apis::Core::Hashable
|
2344
|
+
|
2345
|
+
# A description of resources that can be shared by multiple DeployedModels,
|
2346
|
+
# whose underlying specification consists of a DedicatedResources.
|
2347
|
+
# Corresponds to the JSON property `deploymentResourcePool`
|
2348
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool]
|
2349
|
+
attr_accessor :deployment_resource_pool
|
2350
|
+
|
2351
|
+
# Required. The ID to use for the DeploymentResourcePool, which will become the
|
2352
|
+
# final component of the DeploymentResourcePool's resource name. The maximum
|
2353
|
+
# length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]`0,61`[a-
|
2354
|
+
# z0-9])?$/`.
|
2355
|
+
# Corresponds to the JSON property `deploymentResourcePoolId`
|
2356
|
+
# @return [String]
|
2357
|
+
attr_accessor :deployment_resource_pool_id
|
2358
|
+
|
2359
|
+
def initialize(**args)
|
2360
|
+
update!(**args)
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
# Update properties of this object
|
2364
|
+
def update!(**args)
|
2365
|
+
@deployment_resource_pool = args[:deployment_resource_pool] if args.key?(:deployment_resource_pool)
|
2366
|
+
@deployment_resource_pool_id = args[:deployment_resource_pool_id] if args.key?(:deployment_resource_pool_id)
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
|
2234
2370
|
# Runtime operation information for EndpointService.CreateEndpoint.
|
2235
2371
|
class GoogleCloudAiplatformV1CreateEndpointOperationMetadata
|
2236
2372
|
include Google::Apis::Core::Hashable
|
@@ -2269,6 +2405,44 @@ module Google
|
|
2269
2405
|
end
|
2270
2406
|
end
|
2271
2407
|
|
2408
|
+
# Details of operations that perform create FeatureGroup.
|
2409
|
+
class GoogleCloudAiplatformV1CreateFeatureGroupOperationMetadata
|
2410
|
+
include Google::Apis::Core::Hashable
|
2411
|
+
|
2412
|
+
# Generic Metadata shared by all operations.
|
2413
|
+
# Corresponds to the JSON property `genericMetadata`
|
2414
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
2415
|
+
attr_accessor :generic_metadata
|
2416
|
+
|
2417
|
+
def initialize(**args)
|
2418
|
+
update!(**args)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# Update properties of this object
|
2422
|
+
def update!(**args)
|
2423
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2424
|
+
end
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
# Details of operations that perform create FeatureOnlineStore.
|
2428
|
+
class GoogleCloudAiplatformV1CreateFeatureOnlineStoreOperationMetadata
|
2429
|
+
include Google::Apis::Core::Hashable
|
2430
|
+
|
2431
|
+
# Generic Metadata shared by all operations.
|
2432
|
+
# Corresponds to the JSON property `genericMetadata`
|
2433
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
2434
|
+
attr_accessor :generic_metadata
|
2435
|
+
|
2436
|
+
def initialize(**args)
|
2437
|
+
update!(**args)
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
# Update properties of this object
|
2441
|
+
def update!(**args)
|
2442
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2443
|
+
end
|
2444
|
+
end
|
2445
|
+
|
2272
2446
|
# Details of operations that perform create Feature.
|
2273
2447
|
class GoogleCloudAiplatformV1CreateFeatureOperationMetadata
|
2274
2448
|
include Google::Apis::Core::Hashable
|
@@ -2328,6 +2502,25 @@ module Google
|
|
2328
2502
|
end
|
2329
2503
|
end
|
2330
2504
|
|
2505
|
+
# Details of operations that perform create FeatureView.
|
2506
|
+
class GoogleCloudAiplatformV1CreateFeatureViewOperationMetadata
|
2507
|
+
include Google::Apis::Core::Hashable
|
2508
|
+
|
2509
|
+
# Generic Metadata shared by all operations.
|
2510
|
+
# Corresponds to the JSON property `genericMetadata`
|
2511
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
2512
|
+
attr_accessor :generic_metadata
|
2513
|
+
|
2514
|
+
def initialize(**args)
|
2515
|
+
update!(**args)
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
# Update properties of this object
|
2519
|
+
def update!(**args)
|
2520
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2521
|
+
end
|
2522
|
+
end
|
2523
|
+
|
2331
2524
|
# Details of operations that perform create Featurestore.
|
2332
2525
|
class GoogleCloudAiplatformV1CreateFeaturestoreOperationMetadata
|
2333
2526
|
include Google::Apis::Core::Hashable
|
@@ -2464,6 +2657,25 @@ module Google
|
|
2464
2657
|
end
|
2465
2658
|
end
|
2466
2659
|
|
2660
|
+
# Details of operations that perform create FeatureGroup.
|
2661
|
+
class GoogleCloudAiplatformV1CreateRegistryFeatureOperationMetadata
|
2662
|
+
include Google::Apis::Core::Hashable
|
2663
|
+
|
2664
|
+
# Generic Metadata shared by all operations.
|
2665
|
+
# Corresponds to the JSON property `genericMetadata`
|
2666
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
2667
|
+
attr_accessor :generic_metadata
|
2668
|
+
|
2669
|
+
def initialize(**args)
|
2670
|
+
update!(**args)
|
2671
|
+
end
|
2672
|
+
|
2673
|
+
# Update properties of this object
|
2674
|
+
def update!(**args)
|
2675
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2676
|
+
end
|
2677
|
+
end
|
2678
|
+
|
2467
2679
|
# Runtime operation information for SpecialistPoolService.CreateSpecialistPool.
|
2468
2680
|
class GoogleCloudAiplatformV1CreateSpecialistPoolOperationMetadata
|
2469
2681
|
include Google::Apis::Core::Hashable
|
@@ -4018,6 +4230,41 @@ module Google
|
|
4018
4230
|
end
|
4019
4231
|
end
|
4020
4232
|
|
4233
|
+
# A description of resources that can be shared by multiple DeployedModels,
|
4234
|
+
# whose underlying specification consists of a DedicatedResources.
|
4235
|
+
class GoogleCloudAiplatformV1DeploymentResourcePool
|
4236
|
+
include Google::Apis::Core::Hashable
|
4237
|
+
|
4238
|
+
# Output only. Timestamp when this DeploymentResourcePool was created.
|
4239
|
+
# Corresponds to the JSON property `createTime`
|
4240
|
+
# @return [String]
|
4241
|
+
attr_accessor :create_time
|
4242
|
+
|
4243
|
+
# A description of resources that are dedicated to a DeployedModel, and that
|
4244
|
+
# need a higher degree of manual configuration.
|
4245
|
+
# Corresponds to the JSON property `dedicatedResources`
|
4246
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
|
4247
|
+
attr_accessor :dedicated_resources
|
4248
|
+
|
4249
|
+
# Immutable. The resource name of the DeploymentResourcePool. Format: `projects/`
|
4250
|
+
# project`/locations/`location`/deploymentResourcePools/`
|
4251
|
+
# deployment_resource_pool``
|
4252
|
+
# Corresponds to the JSON property `name`
|
4253
|
+
# @return [String]
|
4254
|
+
attr_accessor :name
|
4255
|
+
|
4256
|
+
def initialize(**args)
|
4257
|
+
update!(**args)
|
4258
|
+
end
|
4259
|
+
|
4260
|
+
# Update properties of this object
|
4261
|
+
def update!(**args)
|
4262
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4263
|
+
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
4264
|
+
@name = args[:name] if args.key?(:name)
|
4265
|
+
end
|
4266
|
+
end
|
4267
|
+
|
4021
4268
|
#
|
4022
4269
|
class GoogleCloudAiplatformV1DestinationFeatureSetting
|
4023
4270
|
include Google::Apis::Core::Hashable
|
@@ -5967,6 +6214,13 @@ module Google
|
|
5967
6214
|
# @return [String]
|
5968
6215
|
attr_accessor :value_type
|
5969
6216
|
|
6217
|
+
# Only applicable for Vertex AI Feature Store. The name of the BigQuery Table/
|
6218
|
+
# View columnn hosting data for this version. If no value is provided, will use
|
6219
|
+
# feature_id.
|
6220
|
+
# Corresponds to the JSON property `versionColumnName`
|
6221
|
+
# @return [String]
|
6222
|
+
attr_accessor :version_column_name
|
6223
|
+
|
5970
6224
|
def initialize(**args)
|
5971
6225
|
update!(**args)
|
5972
6226
|
end
|
@@ -5982,6 +6236,96 @@ module Google
|
|
5982
6236
|
@name = args[:name] if args.key?(:name)
|
5983
6237
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5984
6238
|
@value_type = args[:value_type] if args.key?(:value_type)
|
6239
|
+
@version_column_name = args[:version_column_name] if args.key?(:version_column_name)
|
6240
|
+
end
|
6241
|
+
end
|
6242
|
+
|
6243
|
+
# Vertex AI Feature Group.
|
6244
|
+
class GoogleCloudAiplatformV1FeatureGroup
|
6245
|
+
include Google::Apis::Core::Hashable
|
6246
|
+
|
6247
|
+
# Input source type for BigQuery Tables and Views.
|
6248
|
+
# Corresponds to the JSON property `bigQuery`
|
6249
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQuery]
|
6250
|
+
attr_accessor :big_query
|
6251
|
+
|
6252
|
+
# Output only. Timestamp when this FeatureGroup was created.
|
6253
|
+
# Corresponds to the JSON property `createTime`
|
6254
|
+
# @return [String]
|
6255
|
+
attr_accessor :create_time
|
6256
|
+
|
6257
|
+
# Optional. Description of the FeatureGroup.
|
6258
|
+
# Corresponds to the JSON property `description`
|
6259
|
+
# @return [String]
|
6260
|
+
attr_accessor :description
|
6261
|
+
|
6262
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
6263
|
+
# blind "overwrite" update happens.
|
6264
|
+
# Corresponds to the JSON property `etag`
|
6265
|
+
# @return [String]
|
6266
|
+
attr_accessor :etag
|
6267
|
+
|
6268
|
+
# Optional. The labels with user-defined metadata to organize your FeatureGroup.
|
6269
|
+
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
6270
|
+
# can only contain lowercase letters, numeric characters, underscores and
|
6271
|
+
# dashes. International characters are allowed. See https://goo.gl/xmQnxf for
|
6272
|
+
# more information on and examples of labels. No more than 64 user labels can be
|
6273
|
+
# associated with one FeatureGroup(System labels are excluded)." System reserved
|
6274
|
+
# label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
6275
|
+
# Corresponds to the JSON property `labels`
|
6276
|
+
# @return [Hash<String,String>]
|
6277
|
+
attr_accessor :labels
|
6278
|
+
|
6279
|
+
# Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
|
6280
|
+
# location`/featureGroups/`featureGroup``
|
6281
|
+
# Corresponds to the JSON property `name`
|
6282
|
+
# @return [String]
|
6283
|
+
attr_accessor :name
|
6284
|
+
|
6285
|
+
# Output only. Timestamp when this FeatureGroup was last updated.
|
6286
|
+
# Corresponds to the JSON property `updateTime`
|
6287
|
+
# @return [String]
|
6288
|
+
attr_accessor :update_time
|
6289
|
+
|
6290
|
+
def initialize(**args)
|
6291
|
+
update!(**args)
|
6292
|
+
end
|
6293
|
+
|
6294
|
+
# Update properties of this object
|
6295
|
+
def update!(**args)
|
6296
|
+
@big_query = args[:big_query] if args.key?(:big_query)
|
6297
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6298
|
+
@description = args[:description] if args.key?(:description)
|
6299
|
+
@etag = args[:etag] if args.key?(:etag)
|
6300
|
+
@labels = args[:labels] if args.key?(:labels)
|
6301
|
+
@name = args[:name] if args.key?(:name)
|
6302
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6303
|
+
end
|
6304
|
+
end
|
6305
|
+
|
6306
|
+
# Input source type for BigQuery Tables and Views.
|
6307
|
+
class GoogleCloudAiplatformV1FeatureGroupBigQuery
|
6308
|
+
include Google::Apis::Core::Hashable
|
6309
|
+
|
6310
|
+
# The BigQuery location for the input content.
|
6311
|
+
# Corresponds to the JSON property `bigQuerySource`
|
6312
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
|
6313
|
+
attr_accessor :big_query_source
|
6314
|
+
|
6315
|
+
# Optional. Columns to construct entity_id / row keys. Currently only supports 1
|
6316
|
+
# entity_id_column. If not provided defaults to `entity_id`.
|
6317
|
+
# Corresponds to the JSON property `entityIdColumns`
|
6318
|
+
# @return [Array<String>]
|
6319
|
+
attr_accessor :entity_id_columns
|
6320
|
+
|
6321
|
+
def initialize(**args)
|
6322
|
+
update!(**args)
|
6323
|
+
end
|
6324
|
+
|
6325
|
+
# Update properties of this object
|
6326
|
+
def update!(**args)
|
6327
|
+
@big_query_source = args[:big_query_source] if args.key?(:big_query_source)
|
6328
|
+
@entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
|
5985
6329
|
end
|
5986
6330
|
end
|
5987
6331
|
|
@@ -6068,7 +6412,131 @@ module Google
|
|
6068
6412
|
end
|
6069
6413
|
end
|
6070
6414
|
|
6071
|
-
#
|
6415
|
+
# Vertex AI Feature Online Store provides a centralized repository for serving
|
6416
|
+
# ML features and embedding indexes at low latency. The Feature Online Store is
|
6417
|
+
# a top-level container.
|
6418
|
+
class GoogleCloudAiplatformV1FeatureOnlineStore
|
6419
|
+
include Google::Apis::Core::Hashable
|
6420
|
+
|
6421
|
+
# Contains settings for the Cloud Bigtable instance that will be created to
|
6422
|
+
# serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
6423
|
+
# Corresponds to the JSON property `bigtable`
|
6424
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtable]
|
6425
|
+
attr_accessor :bigtable
|
6426
|
+
|
6427
|
+
# Output only. Timestamp when this FeatureOnlineStore was created.
|
6428
|
+
# Corresponds to the JSON property `createTime`
|
6429
|
+
# @return [String]
|
6430
|
+
attr_accessor :create_time
|
6431
|
+
|
6432
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
6433
|
+
# blind "overwrite" update happens.
|
6434
|
+
# Corresponds to the JSON property `etag`
|
6435
|
+
# @return [String]
|
6436
|
+
attr_accessor :etag
|
6437
|
+
|
6438
|
+
# Optional. The labels with user-defined metadata to organize your
|
6439
|
+
# FeatureOnlineStore. Label keys and values can be no longer than 64 characters (
|
6440
|
+
# Unicode codepoints), can only contain lowercase letters, numeric characters,
|
6441
|
+
# underscores and dashes. International characters are allowed. See https://goo.
|
6442
|
+
# gl/xmQnxf for more information on and examples of labels. No more than 64 user
|
6443
|
+
# labels can be associated with one FeatureOnlineStore(System labels are
|
6444
|
+
# excluded)." System reserved label keys are prefixed with "aiplatform.
|
6445
|
+
# googleapis.com/" and are immutable.
|
6446
|
+
# Corresponds to the JSON property `labels`
|
6447
|
+
# @return [Hash<String,String>]
|
6448
|
+
attr_accessor :labels
|
6449
|
+
|
6450
|
+
# Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
|
6451
|
+
# locations/`location`/featureOnlineStores/`featureOnlineStore``
|
6452
|
+
# Corresponds to the JSON property `name`
|
6453
|
+
# @return [String]
|
6454
|
+
attr_accessor :name
|
6455
|
+
|
6456
|
+
# Output only. State of the featureOnlineStore.
|
6457
|
+
# Corresponds to the JSON property `state`
|
6458
|
+
# @return [String]
|
6459
|
+
attr_accessor :state
|
6460
|
+
|
6461
|
+
# Output only. Timestamp when this FeatureOnlineStore was last updated.
|
6462
|
+
# Corresponds to the JSON property `updateTime`
|
6463
|
+
# @return [String]
|
6464
|
+
attr_accessor :update_time
|
6465
|
+
|
6466
|
+
def initialize(**args)
|
6467
|
+
update!(**args)
|
6468
|
+
end
|
6469
|
+
|
6470
|
+
# Update properties of this object
|
6471
|
+
def update!(**args)
|
6472
|
+
@bigtable = args[:bigtable] if args.key?(:bigtable)
|
6473
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6474
|
+
@etag = args[:etag] if args.key?(:etag)
|
6475
|
+
@labels = args[:labels] if args.key?(:labels)
|
6476
|
+
@name = args[:name] if args.key?(:name)
|
6477
|
+
@state = args[:state] if args.key?(:state)
|
6478
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6479
|
+
end
|
6480
|
+
end
|
6481
|
+
|
6482
|
+
#
|
6483
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreBigtable
|
6484
|
+
include Google::Apis::Core::Hashable
|
6485
|
+
|
6486
|
+
# Required. Autoscaling config applied to Bigtable Instance.
|
6487
|
+
# Corresponds to the JSON property `autoScaling`
|
6488
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling]
|
6489
|
+
attr_accessor :auto_scaling
|
6490
|
+
|
6491
|
+
def initialize(**args)
|
6492
|
+
update!(**args)
|
6493
|
+
end
|
6494
|
+
|
6495
|
+
# Update properties of this object
|
6496
|
+
def update!(**args)
|
6497
|
+
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
6498
|
+
end
|
6499
|
+
end
|
6500
|
+
|
6501
|
+
#
|
6502
|
+
class GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling
|
6503
|
+
include Google::Apis::Core::Hashable
|
6504
|
+
|
6505
|
+
# Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%.
|
6506
|
+
# When a cluster's CPU utilization exceeds the target that you have set,
|
6507
|
+
# Bigtable immediately adds nodes to the cluster. When CPU utilization is
|
6508
|
+
# substantially lower than the target, Bigtable removes nodes. If not set will
|
6509
|
+
# default to 50%.
|
6510
|
+
# Corresponds to the JSON property `cpuUtilizationTarget`
|
6511
|
+
# @return [Fixnum]
|
6512
|
+
attr_accessor :cpu_utilization_target
|
6513
|
+
|
6514
|
+
# Required. The maximum number of nodes to scale up to. Must be greater than or
|
6515
|
+
# equal to min_node_count, and less than or equal to 10 times of 'min_node_count'
|
6516
|
+
# .
|
6517
|
+
# Corresponds to the JSON property `maxNodeCount`
|
6518
|
+
# @return [Fixnum]
|
6519
|
+
attr_accessor :max_node_count
|
6520
|
+
|
6521
|
+
# Required. The minimum number of nodes to scale down to. Must be greater than
|
6522
|
+
# or equal to 1.
|
6523
|
+
# Corresponds to the JSON property `minNodeCount`
|
6524
|
+
# @return [Fixnum]
|
6525
|
+
attr_accessor :min_node_count
|
6526
|
+
|
6527
|
+
def initialize(**args)
|
6528
|
+
update!(**args)
|
6529
|
+
end
|
6530
|
+
|
6531
|
+
# Update properties of this object
|
6532
|
+
def update!(**args)
|
6533
|
+
@cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
|
6534
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
6535
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
6536
|
+
end
|
6537
|
+
end
|
6538
|
+
|
6539
|
+
# Selector for Features of an EntityType.
|
6072
6540
|
class GoogleCloudAiplatformV1FeatureSelector
|
6073
6541
|
include Google::Apis::Core::Hashable
|
6074
6542
|
|
@@ -6318,6 +6786,245 @@ module Google
|
|
6318
6786
|
end
|
6319
6787
|
end
|
6320
6788
|
|
6789
|
+
# FeatureView is representation of values that the FeatureOnlineStore will serve
|
6790
|
+
# based on its syncConfig.
|
6791
|
+
class GoogleCloudAiplatformV1FeatureView
|
6792
|
+
include Google::Apis::Core::Hashable
|
6793
|
+
|
6794
|
+
# Optional. Configures how data is supposed to be extracted from a BigQuery
|
6795
|
+
# source to be loaded onto the FeatureOnlineStore.
|
6796
|
+
# Corresponds to the JSON property `bigQuerySource`
|
6797
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewBigQuerySource]
|
6798
|
+
attr_accessor :big_query_source
|
6799
|
+
|
6800
|
+
# Output only. Timestamp when this FeatureView was created.
|
6801
|
+
# Corresponds to the JSON property `createTime`
|
6802
|
+
# @return [String]
|
6803
|
+
attr_accessor :create_time
|
6804
|
+
|
6805
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
6806
|
+
# blind "overwrite" update happens.
|
6807
|
+
# Corresponds to the JSON property `etag`
|
6808
|
+
# @return [String]
|
6809
|
+
attr_accessor :etag
|
6810
|
+
|
6811
|
+
# A Feature Registry source for features that need to be synced to Online Store.
|
6812
|
+
# Corresponds to the JSON property `featureRegistrySource`
|
6813
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource]
|
6814
|
+
attr_accessor :feature_registry_source
|
6815
|
+
|
6816
|
+
# Optional. The labels with user-defined metadata to organize your FeatureViews.
|
6817
|
+
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
6818
|
+
# can only contain lowercase letters, numeric characters, underscores and
|
6819
|
+
# dashes. International characters are allowed. See https://goo.gl/xmQnxf for
|
6820
|
+
# more information on and examples of labels. No more than 64 user labels can be
|
6821
|
+
# associated with one FeatureOnlineStore(System labels are excluded)." System
|
6822
|
+
# reserved label keys are prefixed with "aiplatform.googleapis.com/" and are
|
6823
|
+
# immutable.
|
6824
|
+
# Corresponds to the JSON property `labels`
|
6825
|
+
# @return [Hash<String,String>]
|
6826
|
+
attr_accessor :labels
|
6827
|
+
|
6828
|
+
# Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
|
6829
|
+
# location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
6830
|
+
# feature_view``
|
6831
|
+
# Corresponds to the JSON property `name`
|
6832
|
+
# @return [String]
|
6833
|
+
attr_accessor :name
|
6834
|
+
|
6835
|
+
# Configures when data is to be synced/updated for this FeatureView. At the end
|
6836
|
+
# of the sync the latest featureValues for each entityId of this FeatureView are
|
6837
|
+
# made ready for online serving.
|
6838
|
+
# Corresponds to the JSON property `syncConfig`
|
6839
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig]
|
6840
|
+
attr_accessor :sync_config
|
6841
|
+
|
6842
|
+
# Output only. Timestamp when this FeatureView was last updated.
|
6843
|
+
# Corresponds to the JSON property `updateTime`
|
6844
|
+
# @return [String]
|
6845
|
+
attr_accessor :update_time
|
6846
|
+
|
6847
|
+
def initialize(**args)
|
6848
|
+
update!(**args)
|
6849
|
+
end
|
6850
|
+
|
6851
|
+
# Update properties of this object
|
6852
|
+
def update!(**args)
|
6853
|
+
@big_query_source = args[:big_query_source] if args.key?(:big_query_source)
|
6854
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6855
|
+
@etag = args[:etag] if args.key?(:etag)
|
6856
|
+
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
6857
|
+
@labels = args[:labels] if args.key?(:labels)
|
6858
|
+
@name = args[:name] if args.key?(:name)
|
6859
|
+
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
6860
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6861
|
+
end
|
6862
|
+
end
|
6863
|
+
|
6864
|
+
#
|
6865
|
+
class GoogleCloudAiplatformV1FeatureViewBigQuerySource
|
6866
|
+
include Google::Apis::Core::Hashable
|
6867
|
+
|
6868
|
+
# Required. Columns to construct entity_id / row keys. Start by supporting 1
|
6869
|
+
# only.
|
6870
|
+
# Corresponds to the JSON property `entityIdColumns`
|
6871
|
+
# @return [Array<String>]
|
6872
|
+
attr_accessor :entity_id_columns
|
6873
|
+
|
6874
|
+
# Required. The BigQuery view URI that will be materialized on each sync trigger
|
6875
|
+
# based on FeatureView.SyncConfig.
|
6876
|
+
# Corresponds to the JSON property `uri`
|
6877
|
+
# @return [String]
|
6878
|
+
attr_accessor :uri
|
6879
|
+
|
6880
|
+
def initialize(**args)
|
6881
|
+
update!(**args)
|
6882
|
+
end
|
6883
|
+
|
6884
|
+
# Update properties of this object
|
6885
|
+
def update!(**args)
|
6886
|
+
@entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
|
6887
|
+
@uri = args[:uri] if args.key?(:uri)
|
6888
|
+
end
|
6889
|
+
end
|
6890
|
+
|
6891
|
+
# Lookup key for a feature view.
|
6892
|
+
class GoogleCloudAiplatformV1FeatureViewDataKey
|
6893
|
+
include Google::Apis::Core::Hashable
|
6894
|
+
|
6895
|
+
# String key to use for lookup.
|
6896
|
+
# Corresponds to the JSON property `key`
|
6897
|
+
# @return [String]
|
6898
|
+
attr_accessor :key
|
6899
|
+
|
6900
|
+
def initialize(**args)
|
6901
|
+
update!(**args)
|
6902
|
+
end
|
6903
|
+
|
6904
|
+
# Update properties of this object
|
6905
|
+
def update!(**args)
|
6906
|
+
@key = args[:key] if args.key?(:key)
|
6907
|
+
end
|
6908
|
+
end
|
6909
|
+
|
6910
|
+
# A Feature Registry source for features that need to be synced to Online Store.
|
6911
|
+
class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
|
6912
|
+
include Google::Apis::Core::Hashable
|
6913
|
+
|
6914
|
+
# Required. List of features that need to be synced to Online Store.
|
6915
|
+
# Corresponds to the JSON property `featureGroups`
|
6916
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup>]
|
6917
|
+
attr_accessor :feature_groups
|
6918
|
+
|
6919
|
+
def initialize(**args)
|
6920
|
+
update!(**args)
|
6921
|
+
end
|
6922
|
+
|
6923
|
+
# Update properties of this object
|
6924
|
+
def update!(**args)
|
6925
|
+
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
6926
|
+
end
|
6927
|
+
end
|
6928
|
+
|
6929
|
+
# Features belonging to a single feature group that will be synced to Online
|
6930
|
+
# Store.
|
6931
|
+
class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup
|
6932
|
+
include Google::Apis::Core::Hashable
|
6933
|
+
|
6934
|
+
# Required. Identifier of the feature group.
|
6935
|
+
# Corresponds to the JSON property `featureGroupId`
|
6936
|
+
# @return [String]
|
6937
|
+
attr_accessor :feature_group_id
|
6938
|
+
|
6939
|
+
# Required. Identifiers of features under the feature group.
|
6940
|
+
# Corresponds to the JSON property `featureIds`
|
6941
|
+
# @return [Array<String>]
|
6942
|
+
attr_accessor :feature_ids
|
6943
|
+
|
6944
|
+
def initialize(**args)
|
6945
|
+
update!(**args)
|
6946
|
+
end
|
6947
|
+
|
6948
|
+
# Update properties of this object
|
6949
|
+
def update!(**args)
|
6950
|
+
@feature_group_id = args[:feature_group_id] if args.key?(:feature_group_id)
|
6951
|
+
@feature_ids = args[:feature_ids] if args.key?(:feature_ids)
|
6952
|
+
end
|
6953
|
+
end
|
6954
|
+
|
6955
|
+
# FeatureViewSync is a representation of sync operation which copies data from
|
6956
|
+
# data source to Feature View in Online Store.
|
6957
|
+
class GoogleCloudAiplatformV1FeatureViewSync
|
6958
|
+
include Google::Apis::Core::Hashable
|
6959
|
+
|
6960
|
+
# Output only. Time when this FeatureViewSync is created. Creation of a
|
6961
|
+
# FeatureViewSync means that the job is pending / waiting for sufficient
|
6962
|
+
# resources but may not have started the actual data transfer yet.
|
6963
|
+
# Corresponds to the JSON property `createTime`
|
6964
|
+
# @return [String]
|
6965
|
+
attr_accessor :create_time
|
6966
|
+
|
6967
|
+
# The `Status` type defines a logical error model that is suitable for different
|
6968
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
6969
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
6970
|
+
# data: error code, error message, and error details. You can find out more
|
6971
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
6972
|
+
# //cloud.google.com/apis/design/errors).
|
6973
|
+
# Corresponds to the JSON property `finalStatus`
|
6974
|
+
# @return [Google::Apis::AiplatformV1::GoogleRpcStatus]
|
6975
|
+
attr_accessor :final_status
|
6976
|
+
|
6977
|
+
# Output only. Name of the FeatureViewSync. Format: `projects/`project`/
|
6978
|
+
# locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
6979
|
+
# feature_view`/featureViewSyncs/`feature_view_sync``
|
6980
|
+
# Corresponds to the JSON property `name`
|
6981
|
+
# @return [String]
|
6982
|
+
attr_accessor :name
|
6983
|
+
|
6984
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
6985
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
6986
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
6987
|
+
# both start and end are unspecified, the interval matches any time.
|
6988
|
+
# Corresponds to the JSON property `runTime`
|
6989
|
+
# @return [Google::Apis::AiplatformV1::GoogleTypeInterval]
|
6990
|
+
attr_accessor :run_time
|
6991
|
+
|
6992
|
+
def initialize(**args)
|
6993
|
+
update!(**args)
|
6994
|
+
end
|
6995
|
+
|
6996
|
+
# Update properties of this object
|
6997
|
+
def update!(**args)
|
6998
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6999
|
+
@final_status = args[:final_status] if args.key?(:final_status)
|
7000
|
+
@name = args[:name] if args.key?(:name)
|
7001
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
7002
|
+
end
|
7003
|
+
end
|
7004
|
+
|
7005
|
+
#
|
7006
|
+
class GoogleCloudAiplatformV1FeatureViewSyncConfig
|
7007
|
+
include Google::Apis::Core::Hashable
|
7008
|
+
|
7009
|
+
# Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs.
|
7010
|
+
# To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "
|
7011
|
+
# CRON_TZ=$`IANA_TIME_ZONE`" or "TZ=$`IANA_TIME_ZONE`". The $`IANA_TIME_ZONE`
|
7012
|
+
# may only be a valid string from IANA time zone database. For example, "CRON_TZ=
|
7013
|
+
# America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
|
7014
|
+
# Corresponds to the JSON property `cron`
|
7015
|
+
# @return [String]
|
7016
|
+
attr_accessor :cron
|
7017
|
+
|
7018
|
+
def initialize(**args)
|
7019
|
+
update!(**args)
|
7020
|
+
end
|
7021
|
+
|
7022
|
+
# Update properties of this object
|
7023
|
+
def update!(**args)
|
7024
|
+
@cron = args[:cron] if args.key?(:cron)
|
7025
|
+
end
|
7026
|
+
end
|
7027
|
+
|
6321
7028
|
# Vertex AI Feature Store provides a centralized repository for organizing,
|
6322
7029
|
# storing, and serving ML features. The Featurestore is a top-level container
|
6323
7030
|
# for your features and their values.
|
@@ -6610,6 +7317,104 @@ module Google
|
|
6610
7317
|
end
|
6611
7318
|
end
|
6612
7319
|
|
7320
|
+
# Request message for FeatureOnlineStoreService.FetchFeatureValues. All the
|
7321
|
+
# features under the requested feature view will be returned.
|
7322
|
+
class GoogleCloudAiplatformV1FetchFeatureValuesRequest
|
7323
|
+
include Google::Apis::Core::Hashable
|
7324
|
+
|
7325
|
+
# Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE
|
7326
|
+
# will be used.
|
7327
|
+
# Corresponds to the JSON property `dataFormat`
|
7328
|
+
# @return [String]
|
7329
|
+
attr_accessor :data_format
|
7330
|
+
|
7331
|
+
# Lookup key for a feature view.
|
7332
|
+
# Corresponds to the JSON property `dataKey`
|
7333
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKey]
|
7334
|
+
attr_accessor :data_key
|
7335
|
+
|
7336
|
+
def initialize(**args)
|
7337
|
+
update!(**args)
|
7338
|
+
end
|
7339
|
+
|
7340
|
+
# Update properties of this object
|
7341
|
+
def update!(**args)
|
7342
|
+
@data_format = args[:data_format] if args.key?(:data_format)
|
7343
|
+
@data_key = args[:data_key] if args.key?(:data_key)
|
7344
|
+
end
|
7345
|
+
end
|
7346
|
+
|
7347
|
+
# Response message for FeatureOnlineStoreService.FetchFeatureValues
|
7348
|
+
class GoogleCloudAiplatformV1FetchFeatureValuesResponse
|
7349
|
+
include Google::Apis::Core::Hashable
|
7350
|
+
|
7351
|
+
# Response structure in the format of key (feature name) and (feature) value
|
7352
|
+
# pair.
|
7353
|
+
# Corresponds to the JSON property `keyValues`
|
7354
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList]
|
7355
|
+
attr_accessor :key_values
|
7356
|
+
|
7357
|
+
# Feature values in proto Struct format.
|
7358
|
+
# Corresponds to the JSON property `protoStruct`
|
7359
|
+
# @return [Hash<String,Object>]
|
7360
|
+
attr_accessor :proto_struct
|
7361
|
+
|
7362
|
+
def initialize(**args)
|
7363
|
+
update!(**args)
|
7364
|
+
end
|
7365
|
+
|
7366
|
+
# Update properties of this object
|
7367
|
+
def update!(**args)
|
7368
|
+
@key_values = args[:key_values] if args.key?(:key_values)
|
7369
|
+
@proto_struct = args[:proto_struct] if args.key?(:proto_struct)
|
7370
|
+
end
|
7371
|
+
end
|
7372
|
+
|
7373
|
+
# Response structure in the format of key (feature name) and (feature) value
|
7374
|
+
# pair.
|
7375
|
+
class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList
|
7376
|
+
include Google::Apis::Core::Hashable
|
7377
|
+
|
7378
|
+
# List of feature names and values.
|
7379
|
+
# Corresponds to the JSON property `features`
|
7380
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair>]
|
7381
|
+
attr_accessor :features
|
7382
|
+
|
7383
|
+
def initialize(**args)
|
7384
|
+
update!(**args)
|
7385
|
+
end
|
7386
|
+
|
7387
|
+
# Update properties of this object
|
7388
|
+
def update!(**args)
|
7389
|
+
@features = args[:features] if args.key?(:features)
|
7390
|
+
end
|
7391
|
+
end
|
7392
|
+
|
7393
|
+
# Feature name & value pair.
|
7394
|
+
class GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair
|
7395
|
+
include Google::Apis::Core::Hashable
|
7396
|
+
|
7397
|
+
# Feature short name.
|
7398
|
+
# Corresponds to the JSON property `name`
|
7399
|
+
# @return [String]
|
7400
|
+
attr_accessor :name
|
7401
|
+
|
7402
|
+
# Value for a feature.
|
7403
|
+
# Corresponds to the JSON property `value`
|
7404
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue]
|
7405
|
+
attr_accessor :value
|
7406
|
+
|
7407
|
+
def initialize(**args)
|
7408
|
+
update!(**args)
|
7409
|
+
end
|
7410
|
+
|
7411
|
+
# Update properties of this object
|
7412
|
+
def update!(**args)
|
7413
|
+
@name = args[:name] if args.key?(:name)
|
7414
|
+
@value = args[:value] if args.key?(:value)
|
7415
|
+
end
|
7416
|
+
end
|
7417
|
+
|
6613
7418
|
# Assigns input data to training, validation, and test sets based on the given
|
6614
7419
|
# filters, data pieces not matched by any filter are ignored. Currently only
|
6615
7420
|
# supported for Datasets containing DataItems. If any of the filters in this
|
@@ -7557,6 +8362,13 @@ module Google
|
|
7557
8362
|
# @return [Array<Float>]
|
7558
8363
|
attr_accessor :feature_vector
|
7559
8364
|
|
8365
|
+
# Optional. List of Restrict of the datapoint, used to perform "restricted
|
8366
|
+
# searches" where boolean rule are used to filter the subset of the database
|
8367
|
+
# eligible for matching. This uses numeric comparisons.
|
8368
|
+
# Corresponds to the JSON property `numericRestricts`
|
8369
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapointNumericRestriction>]
|
8370
|
+
attr_accessor :numeric_restricts
|
8371
|
+
|
7560
8372
|
# Optional. List of Restrict of the datapoint, used to perform "restricted
|
7561
8373
|
# searches" where boolean rule are used to filter the subset of the database
|
7562
8374
|
# eligible for matching. This uses categorical tokens. See: https://cloud.google.
|
@@ -7574,6 +8386,7 @@ module Google
|
|
7574
8386
|
@crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
|
7575
8387
|
@datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
|
7576
8388
|
@feature_vector = args[:feature_vector] if args.key?(:feature_vector)
|
8389
|
+
@numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
|
7577
8390
|
@restricts = args[:restricts] if args.key?(:restricts)
|
7578
8391
|
end
|
7579
8392
|
end
|
@@ -7603,6 +8416,50 @@ module Google
|
|
7603
8416
|
end
|
7604
8417
|
end
|
7605
8418
|
|
8419
|
+
# This field allows restricts to be based on numeric comparisons rather than
|
8420
|
+
# categorical tokens.
|
8421
|
+
class GoogleCloudAiplatformV1IndexDatapointNumericRestriction
|
8422
|
+
include Google::Apis::Core::Hashable
|
8423
|
+
|
8424
|
+
# The namespace of this restriction. e.g.: cost.
|
8425
|
+
# Corresponds to the JSON property `namespace`
|
8426
|
+
# @return [String]
|
8427
|
+
attr_accessor :namespace
|
8428
|
+
|
8429
|
+
# This MUST be specified for queries and must NOT be specified for datapoints.
|
8430
|
+
# Corresponds to the JSON property `op`
|
8431
|
+
# @return [String]
|
8432
|
+
attr_accessor :op
|
8433
|
+
|
8434
|
+
# Represents 64 bit float.
|
8435
|
+
# Corresponds to the JSON property `valueDouble`
|
8436
|
+
# @return [Float]
|
8437
|
+
attr_accessor :value_double
|
8438
|
+
|
8439
|
+
# Represents 32 bit float.
|
8440
|
+
# Corresponds to the JSON property `valueFloat`
|
8441
|
+
# @return [Float]
|
8442
|
+
attr_accessor :value_float
|
8443
|
+
|
8444
|
+
# Represents 64 bit integer.
|
8445
|
+
# Corresponds to the JSON property `valueInt`
|
8446
|
+
# @return [Fixnum]
|
8447
|
+
attr_accessor :value_int
|
8448
|
+
|
8449
|
+
def initialize(**args)
|
8450
|
+
update!(**args)
|
8451
|
+
end
|
8452
|
+
|
8453
|
+
# Update properties of this object
|
8454
|
+
def update!(**args)
|
8455
|
+
@namespace = args[:namespace] if args.key?(:namespace)
|
8456
|
+
@op = args[:op] if args.key?(:op)
|
8457
|
+
@value_double = args[:value_double] if args.key?(:value_double)
|
8458
|
+
@value_float = args[:value_float] if args.key?(:value_float)
|
8459
|
+
@value_int = args[:value_int] if args.key?(:value_int)
|
8460
|
+
end
|
8461
|
+
end
|
8462
|
+
|
7606
8463
|
# Restriction of a datapoint which describe its attributes(tokens) from each of
|
7607
8464
|
# several attribute categories(namespaces).
|
7608
8465
|
class GoogleCloudAiplatformV1IndexDatapointRestriction
|
@@ -8237,21 +9094,150 @@ module Google
|
|
8237
9094
|
|
8238
9095
|
# Update properties of this object
|
8239
9096
|
def update!(**args)
|
8240
|
-
@data_labeling_jobs = args[:data_labeling_jobs] if args.key?(:data_labeling_jobs)
|
9097
|
+
@data_labeling_jobs = args[:data_labeling_jobs] if args.key?(:data_labeling_jobs)
|
9098
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9099
|
+
end
|
9100
|
+
end
|
9101
|
+
|
9102
|
+
# Response message for DatasetService.ListDatasetVersions.
|
9103
|
+
class GoogleCloudAiplatformV1ListDatasetVersionsResponse
|
9104
|
+
include Google::Apis::Core::Hashable
|
9105
|
+
|
9106
|
+
# A list of DatasetVersions that matches the specified filter in the request.
|
9107
|
+
# Corresponds to the JSON property `datasetVersions`
|
9108
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion>]
|
9109
|
+
attr_accessor :dataset_versions
|
9110
|
+
|
9111
|
+
# The standard List next-page token.
|
9112
|
+
# Corresponds to the JSON property `nextPageToken`
|
9113
|
+
# @return [String]
|
9114
|
+
attr_accessor :next_page_token
|
9115
|
+
|
9116
|
+
def initialize(**args)
|
9117
|
+
update!(**args)
|
9118
|
+
end
|
9119
|
+
|
9120
|
+
# Update properties of this object
|
9121
|
+
def update!(**args)
|
9122
|
+
@dataset_versions = args[:dataset_versions] if args.key?(:dataset_versions)
|
9123
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9124
|
+
end
|
9125
|
+
end
|
9126
|
+
|
9127
|
+
# Response message for DatasetService.ListDatasets.
|
9128
|
+
class GoogleCloudAiplatformV1ListDatasetsResponse
|
9129
|
+
include Google::Apis::Core::Hashable
|
9130
|
+
|
9131
|
+
# A list of Datasets that matches the specified filter in the request.
|
9132
|
+
# Corresponds to the JSON property `datasets`
|
9133
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset>]
|
9134
|
+
attr_accessor :datasets
|
9135
|
+
|
9136
|
+
# The standard List next-page token.
|
9137
|
+
# Corresponds to the JSON property `nextPageToken`
|
9138
|
+
# @return [String]
|
9139
|
+
attr_accessor :next_page_token
|
9140
|
+
|
9141
|
+
def initialize(**args)
|
9142
|
+
update!(**args)
|
9143
|
+
end
|
9144
|
+
|
9145
|
+
# Update properties of this object
|
9146
|
+
def update!(**args)
|
9147
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
9148
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9149
|
+
end
|
9150
|
+
end
|
9151
|
+
|
9152
|
+
# Response message for ListDeploymentResourcePools method.
|
9153
|
+
class GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
|
9154
|
+
include Google::Apis::Core::Hashable
|
9155
|
+
|
9156
|
+
# The DeploymentResourcePools from the specified location.
|
9157
|
+
# Corresponds to the JSON property `deploymentResourcePools`
|
9158
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool>]
|
9159
|
+
attr_accessor :deployment_resource_pools
|
9160
|
+
|
9161
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
9162
|
+
# field is omitted, there are no subsequent pages.
|
9163
|
+
# Corresponds to the JSON property `nextPageToken`
|
9164
|
+
# @return [String]
|
9165
|
+
attr_accessor :next_page_token
|
9166
|
+
|
9167
|
+
def initialize(**args)
|
9168
|
+
update!(**args)
|
9169
|
+
end
|
9170
|
+
|
9171
|
+
# Update properties of this object
|
9172
|
+
def update!(**args)
|
9173
|
+
@deployment_resource_pools = args[:deployment_resource_pools] if args.key?(:deployment_resource_pools)
|
9174
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9175
|
+
end
|
9176
|
+
end
|
9177
|
+
|
9178
|
+
# Response message for EndpointService.ListEndpoints.
|
9179
|
+
class GoogleCloudAiplatformV1ListEndpointsResponse
|
9180
|
+
include Google::Apis::Core::Hashable
|
9181
|
+
|
9182
|
+
# List of Endpoints in the requested page.
|
9183
|
+
# Corresponds to the JSON property `endpoints`
|
9184
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Endpoint>]
|
9185
|
+
attr_accessor :endpoints
|
9186
|
+
|
9187
|
+
# A token to retrieve the next page of results. Pass to ListEndpointsRequest.
|
9188
|
+
# page_token to obtain that page.
|
9189
|
+
# Corresponds to the JSON property `nextPageToken`
|
9190
|
+
# @return [String]
|
9191
|
+
attr_accessor :next_page_token
|
9192
|
+
|
9193
|
+
def initialize(**args)
|
9194
|
+
update!(**args)
|
9195
|
+
end
|
9196
|
+
|
9197
|
+
# Update properties of this object
|
9198
|
+
def update!(**args)
|
9199
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
9200
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9201
|
+
end
|
9202
|
+
end
|
9203
|
+
|
9204
|
+
# Response message for FeaturestoreService.ListEntityTypes.
|
9205
|
+
class GoogleCloudAiplatformV1ListEntityTypesResponse
|
9206
|
+
include Google::Apis::Core::Hashable
|
9207
|
+
|
9208
|
+
# The EntityTypes matching the request.
|
9209
|
+
# Corresponds to the JSON property `entityTypes`
|
9210
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EntityType>]
|
9211
|
+
attr_accessor :entity_types
|
9212
|
+
|
9213
|
+
# A token, which can be sent as ListEntityTypesRequest.page_token to retrieve
|
9214
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
9215
|
+
# Corresponds to the JSON property `nextPageToken`
|
9216
|
+
# @return [String]
|
9217
|
+
attr_accessor :next_page_token
|
9218
|
+
|
9219
|
+
def initialize(**args)
|
9220
|
+
update!(**args)
|
9221
|
+
end
|
9222
|
+
|
9223
|
+
# Update properties of this object
|
9224
|
+
def update!(**args)
|
9225
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
8241
9226
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8242
9227
|
end
|
8243
9228
|
end
|
8244
9229
|
|
8245
|
-
# Response message for
|
8246
|
-
class
|
9230
|
+
# Response message for MetadataService.ListExecutions.
|
9231
|
+
class GoogleCloudAiplatformV1ListExecutionsResponse
|
8247
9232
|
include Google::Apis::Core::Hashable
|
8248
9233
|
|
8249
|
-
#
|
8250
|
-
# Corresponds to the JSON property `
|
8251
|
-
# @return [Array<Google::Apis::AiplatformV1::
|
8252
|
-
attr_accessor :
|
9234
|
+
# The Executions retrieved from the MetadataStore.
|
9235
|
+
# Corresponds to the JSON property `executions`
|
9236
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Execution>]
|
9237
|
+
attr_accessor :executions
|
8253
9238
|
|
8254
|
-
#
|
9239
|
+
# A token, which can be sent as ListExecutionsRequest.page_token to retrieve the
|
9240
|
+
# next page. If this field is not populated, there are no subsequent pages.
|
8255
9241
|
# Corresponds to the JSON property `nextPageToken`
|
8256
9242
|
# @return [String]
|
8257
9243
|
attr_accessor :next_page_token
|
@@ -8262,21 +9248,22 @@ module Google
|
|
8262
9248
|
|
8263
9249
|
# Update properties of this object
|
8264
9250
|
def update!(**args)
|
8265
|
-
@
|
9251
|
+
@executions = args[:executions] if args.key?(:executions)
|
8266
9252
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8267
9253
|
end
|
8268
9254
|
end
|
8269
9255
|
|
8270
|
-
# Response message for
|
8271
|
-
class
|
9256
|
+
# Response message for FeatureRegistryService.ListFeatureGroups.
|
9257
|
+
class GoogleCloudAiplatformV1ListFeatureGroupsResponse
|
8272
9258
|
include Google::Apis::Core::Hashable
|
8273
9259
|
|
8274
|
-
#
|
8275
|
-
# Corresponds to the JSON property `
|
8276
|
-
# @return [Array<Google::Apis::AiplatformV1::
|
8277
|
-
attr_accessor :
|
9260
|
+
# The FeatureGroups matching the request.
|
9261
|
+
# Corresponds to the JSON property `featureGroups`
|
9262
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup>]
|
9263
|
+
attr_accessor :feature_groups
|
8278
9264
|
|
8279
|
-
#
|
9265
|
+
# A token, which can be sent as ListFeatureGroupsRequest.page_token to retrieve
|
9266
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
8280
9267
|
# Corresponds to the JSON property `nextPageToken`
|
8281
9268
|
# @return [String]
|
8282
9269
|
attr_accessor :next_page_token
|
@@ -8287,22 +9274,23 @@ module Google
|
|
8287
9274
|
|
8288
9275
|
# Update properties of this object
|
8289
9276
|
def update!(**args)
|
8290
|
-
@
|
9277
|
+
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
8291
9278
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8292
9279
|
end
|
8293
9280
|
end
|
8294
9281
|
|
8295
|
-
# Response message for
|
8296
|
-
class
|
9282
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureOnlineStores.
|
9283
|
+
class GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse
|
8297
9284
|
include Google::Apis::Core::Hashable
|
8298
9285
|
|
8299
|
-
#
|
8300
|
-
# Corresponds to the JSON property `
|
8301
|
-
# @return [Array<Google::Apis::AiplatformV1::
|
8302
|
-
attr_accessor :
|
9286
|
+
# The FeatureOnlineStores matching the request.
|
9287
|
+
# Corresponds to the JSON property `featureOnlineStores`
|
9288
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore>]
|
9289
|
+
attr_accessor :feature_online_stores
|
8303
9290
|
|
8304
|
-
# A token
|
8305
|
-
#
|
9291
|
+
# A token, which can be sent as ListFeatureOnlineStoresRequest.page_token to
|
9292
|
+
# retrieve the next page. If this field is omitted, there are no subsequent
|
9293
|
+
# pages.
|
8306
9294
|
# Corresponds to the JSON property `nextPageToken`
|
8307
9295
|
# @return [String]
|
8308
9296
|
attr_accessor :next_page_token
|
@@ -8313,22 +9301,23 @@ module Google
|
|
8313
9301
|
|
8314
9302
|
# Update properties of this object
|
8315
9303
|
def update!(**args)
|
8316
|
-
@
|
9304
|
+
@feature_online_stores = args[:feature_online_stores] if args.key?(:feature_online_stores)
|
8317
9305
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8318
9306
|
end
|
8319
9307
|
end
|
8320
9308
|
|
8321
|
-
# Response message for
|
8322
|
-
class
|
9309
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureViewSyncs.
|
9310
|
+
class GoogleCloudAiplatformV1ListFeatureViewSyncsResponse
|
8323
9311
|
include Google::Apis::Core::Hashable
|
8324
9312
|
|
8325
|
-
# The
|
8326
|
-
# Corresponds to the JSON property `
|
8327
|
-
# @return [Array<Google::Apis::AiplatformV1::
|
8328
|
-
attr_accessor :
|
9313
|
+
# The FeatureViewSyncs matching the request.
|
9314
|
+
# Corresponds to the JSON property `featureViewSyncs`
|
9315
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSync>]
|
9316
|
+
attr_accessor :feature_view_syncs
|
8329
9317
|
|
8330
|
-
# A token, which can be sent as
|
8331
|
-
# the next page. If this field is omitted, there are no subsequent
|
9318
|
+
# A token, which can be sent as ListFeatureViewSyncsRequest.page_token to
|
9319
|
+
# retrieve the next page. If this field is omitted, there are no subsequent
|
9320
|
+
# pages.
|
8332
9321
|
# Corresponds to the JSON property `nextPageToken`
|
8333
9322
|
# @return [String]
|
8334
9323
|
attr_accessor :next_page_token
|
@@ -8339,22 +9328,22 @@ module Google
|
|
8339
9328
|
|
8340
9329
|
# Update properties of this object
|
8341
9330
|
def update!(**args)
|
8342
|
-
@
|
9331
|
+
@feature_view_syncs = args[:feature_view_syncs] if args.key?(:feature_view_syncs)
|
8343
9332
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8344
9333
|
end
|
8345
9334
|
end
|
8346
9335
|
|
8347
|
-
# Response message for
|
8348
|
-
class
|
9336
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureViews.
|
9337
|
+
class GoogleCloudAiplatformV1ListFeatureViewsResponse
|
8349
9338
|
include Google::Apis::Core::Hashable
|
8350
9339
|
|
8351
|
-
# The
|
8352
|
-
# Corresponds to the JSON property `
|
8353
|
-
# @return [Array<Google::Apis::AiplatformV1::
|
8354
|
-
attr_accessor :
|
9340
|
+
# The FeatureViews matching the request.
|
9341
|
+
# Corresponds to the JSON property `featureViews`
|
9342
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView>]
|
9343
|
+
attr_accessor :feature_views
|
8355
9344
|
|
8356
|
-
# A token, which can be sent as
|
8357
|
-
# next page. If this field is
|
9345
|
+
# A token, which can be sent as ListFeatureViewsRequest.page_token to retrieve
|
9346
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
8358
9347
|
# Corresponds to the JSON property `nextPageToken`
|
8359
9348
|
# @return [String]
|
8360
9349
|
attr_accessor :next_page_token
|
@@ -8365,7 +9354,7 @@ module Google
|
|
8365
9354
|
|
8366
9355
|
# Update properties of this object
|
8367
9356
|
def update!(**args)
|
8368
|
-
@
|
9357
|
+
@feature_views = args[:feature_views] if args.key?(:feature_views)
|
8369
9358
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8370
9359
|
end
|
8371
9360
|
end
|
@@ -10147,6 +11136,12 @@ module Google
|
|
10147
11136
|
# @return [Array<String>]
|
10148
11137
|
attr_accessor :command
|
10149
11138
|
|
11139
|
+
# Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before
|
11140
|
+
# exposing.
|
11141
|
+
# Corresponds to the JSON property `deploymentTimeout`
|
11142
|
+
# @return [String]
|
11143
|
+
attr_accessor :deployment_timeout
|
11144
|
+
|
10150
11145
|
# Immutable. List of environment variables to set in the container. After the
|
10151
11146
|
# container starts running, code running in the container can read these
|
10152
11147
|
# environment variables. Additionally, the command and args fields can reference
|
@@ -10162,6 +11157,12 @@ module Google
|
|
10162
11157
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar>]
|
10163
11158
|
attr_accessor :env
|
10164
11159
|
|
11160
|
+
# Probe describes a health check to be performed against a container to
|
11161
|
+
# determine whether it is alive or ready to receive traffic.
|
11162
|
+
# Corresponds to the JSON property `healthProbe`
|
11163
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
|
11164
|
+
attr_accessor :health_probe
|
11165
|
+
|
10165
11166
|
# Immutable. HTTP path on the container to send health checks to. Vertex AI
|
10166
11167
|
# intermittently sends GET requests to this path on the container's IP address
|
10167
11168
|
# and port to check that the container is healthy. Read more about [health
|
@@ -10237,6 +11238,18 @@ module Google
|
|
10237
11238
|
# @return [String]
|
10238
11239
|
attr_accessor :predict_route
|
10239
11240
|
|
11241
|
+
# Immutable. The amount of the VM memory to reserve as the shared memory for the
|
11242
|
+
# model in megabytes. TODO (b/306244185): Revise documentation before exposing.
|
11243
|
+
# Corresponds to the JSON property `sharedMemorySizeMb`
|
11244
|
+
# @return [Fixnum]
|
11245
|
+
attr_accessor :shared_memory_size_mb
|
11246
|
+
|
11247
|
+
# Probe describes a health check to be performed against a container to
|
11248
|
+
# determine whether it is alive or ready to receive traffic.
|
11249
|
+
# Corresponds to the JSON property `startupProbe`
|
11250
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
|
11251
|
+
attr_accessor :startup_probe
|
11252
|
+
|
10240
11253
|
def initialize(**args)
|
10241
11254
|
update!(**args)
|
10242
11255
|
end
|
@@ -10245,11 +11258,15 @@ module Google
|
|
10245
11258
|
def update!(**args)
|
10246
11259
|
@args = args[:args] if args.key?(:args)
|
10247
11260
|
@command = args[:command] if args.key?(:command)
|
11261
|
+
@deployment_timeout = args[:deployment_timeout] if args.key?(:deployment_timeout)
|
10248
11262
|
@env = args[:env] if args.key?(:env)
|
11263
|
+
@health_probe = args[:health_probe] if args.key?(:health_probe)
|
10249
11264
|
@health_route = args[:health_route] if args.key?(:health_route)
|
10250
11265
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
10251
11266
|
@ports = args[:ports] if args.key?(:ports)
|
10252
11267
|
@predict_route = args[:predict_route] if args.key?(:predict_route)
|
11268
|
+
@shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
|
11269
|
+
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
10253
11270
|
end
|
10254
11271
|
end
|
10255
11272
|
|
@@ -13336,6 +14353,66 @@ module Google
|
|
13336
14353
|
end
|
13337
14354
|
end
|
13338
14355
|
|
14356
|
+
# Probe describes a health check to be performed against a container to
|
14357
|
+
# determine whether it is alive or ready to receive traffic.
|
14358
|
+
class GoogleCloudAiplatformV1Probe
|
14359
|
+
include Google::Apis::Core::Hashable
|
14360
|
+
|
14361
|
+
# ExecAction specifies a command to execute.
|
14362
|
+
# Corresponds to the JSON property `exec`
|
14363
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction]
|
14364
|
+
attr_accessor :exec
|
14365
|
+
|
14366
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
14367
|
+
# value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
|
14368
|
+
# argument 'periodSeconds'.
|
14369
|
+
# Corresponds to the JSON property `periodSeconds`
|
14370
|
+
# @return [Fixnum]
|
14371
|
+
attr_accessor :period_seconds
|
14372
|
+
|
14373
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
14374
|
+
# Minimum value is 1. Must be greater or equal to period_seconds. Maps to
|
14375
|
+
# Kubernetes probe argument 'timeoutSeconds'.
|
14376
|
+
# Corresponds to the JSON property `timeoutSeconds`
|
14377
|
+
# @return [Fixnum]
|
14378
|
+
attr_accessor :timeout_seconds
|
14379
|
+
|
14380
|
+
def initialize(**args)
|
14381
|
+
update!(**args)
|
14382
|
+
end
|
14383
|
+
|
14384
|
+
# Update properties of this object
|
14385
|
+
def update!(**args)
|
14386
|
+
@exec = args[:exec] if args.key?(:exec)
|
14387
|
+
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
14388
|
+
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
14389
|
+
end
|
14390
|
+
end
|
14391
|
+
|
14392
|
+
# ExecAction specifies a command to execute.
|
14393
|
+
class GoogleCloudAiplatformV1ProbeExecAction
|
14394
|
+
include Google::Apis::Core::Hashable
|
14395
|
+
|
14396
|
+
# Command is the command line to execute inside the container, the working
|
14397
|
+
# directory for the command is root ('/') in the container's filesystem. The
|
14398
|
+
# command is simply exec'd, it is not run inside a shell, so traditional shell
|
14399
|
+
# instructions ('|', etc) won't work. To use a shell, you need to explicitly
|
14400
|
+
# call out to that shell. Exit status of 0 is treated as live/healthy and non-
|
14401
|
+
# zero is unhealthy.
|
14402
|
+
# Corresponds to the JSON property `command`
|
14403
|
+
# @return [Array<String>]
|
14404
|
+
attr_accessor :command
|
14405
|
+
|
14406
|
+
def initialize(**args)
|
14407
|
+
update!(**args)
|
14408
|
+
end
|
14409
|
+
|
14410
|
+
# Update properties of this object
|
14411
|
+
def update!(**args)
|
14412
|
+
@command = args[:command] if args.key?(:command)
|
14413
|
+
end
|
14414
|
+
end
|
14415
|
+
|
13339
14416
|
# A Model Garden Publisher Model.
|
13340
14417
|
class GoogleCloudAiplatformV1PublisherModel
|
13341
14418
|
include Google::Apis::Core::Hashable
|
@@ -13931,6 +15008,52 @@ module Google
|
|
13931
15008
|
end
|
13932
15009
|
end
|
13933
15010
|
|
15011
|
+
# Response message for QueryDeployedModels method.
|
15012
|
+
class GoogleCloudAiplatformV1QueryDeployedModelsResponse
|
15013
|
+
include Google::Apis::Core::Hashable
|
15014
|
+
|
15015
|
+
# References to the DeployedModels that share the specified
|
15016
|
+
# deploymentResourcePool.
|
15017
|
+
# Corresponds to the JSON property `deployedModelRefs`
|
15018
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef>]
|
15019
|
+
attr_accessor :deployed_model_refs
|
15020
|
+
|
15021
|
+
# DEPRECATED Use deployed_model_refs instead.
|
15022
|
+
# Corresponds to the JSON property `deployedModels`
|
15023
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModel>]
|
15024
|
+
attr_accessor :deployed_models
|
15025
|
+
|
15026
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
15027
|
+
# field is omitted, there are no subsequent pages.
|
15028
|
+
# Corresponds to the JSON property `nextPageToken`
|
15029
|
+
# @return [String]
|
15030
|
+
attr_accessor :next_page_token
|
15031
|
+
|
15032
|
+
# The total number of DeployedModels on this DeploymentResourcePool.
|
15033
|
+
# Corresponds to the JSON property `totalDeployedModelCount`
|
15034
|
+
# @return [Fixnum]
|
15035
|
+
attr_accessor :total_deployed_model_count
|
15036
|
+
|
15037
|
+
# The total number of Endpoints that have DeployedModels on this
|
15038
|
+
# DeploymentResourcePool.
|
15039
|
+
# Corresponds to the JSON property `totalEndpointCount`
|
15040
|
+
# @return [Fixnum]
|
15041
|
+
attr_accessor :total_endpoint_count
|
15042
|
+
|
15043
|
+
def initialize(**args)
|
15044
|
+
update!(**args)
|
15045
|
+
end
|
15046
|
+
|
15047
|
+
# Update properties of this object
|
15048
|
+
def update!(**args)
|
15049
|
+
@deployed_model_refs = args[:deployed_model_refs] if args.key?(:deployed_model_refs)
|
15050
|
+
@deployed_models = args[:deployed_models] if args.key?(:deployed_models)
|
15051
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
15052
|
+
@total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
|
15053
|
+
@total_endpoint_count = args[:total_endpoint_count] if args.key?(:total_endpoint_count)
|
15054
|
+
end
|
15055
|
+
end
|
15056
|
+
|
13934
15057
|
# Request message for PredictionService.RawPredict.
|
13935
15058
|
class GoogleCloudAiplatformV1RawPredictRequest
|
13936
15059
|
include Google::Apis::Core::Hashable
|
@@ -16490,6 +17613,12 @@ module Google
|
|
16490
17613
|
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
|
16491
17614
|
include Google::Apis::Core::Hashable
|
16492
17615
|
|
17616
|
+
# If set, skip finding claim attributions (i.e not generate grounding citation).
|
17617
|
+
# Corresponds to the JSON property `disableAttribution`
|
17618
|
+
# @return [Boolean]
|
17619
|
+
attr_accessor :disable_attribution
|
17620
|
+
alias_method :disable_attribution?, :disable_attribution
|
17621
|
+
|
16493
17622
|
# The sources for the grounding checking.
|
16494
17623
|
# Corresponds to the JSON property `sources`
|
16495
17624
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry>]
|
@@ -16501,6 +17630,7 @@ module Google
|
|
16501
17630
|
|
16502
17631
|
# Update properties of this object
|
16503
17632
|
def update!(**args)
|
17633
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
16504
17634
|
@sources = args[:sources] if args.key?(:sources)
|
16505
17635
|
end
|
16506
17636
|
end
|
@@ -16509,7 +17639,8 @@ module Google
|
|
16509
17639
|
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
|
16510
17640
|
include Google::Apis::Core::Hashable
|
16511
17641
|
|
16512
|
-
# The uri of the
|
17642
|
+
# The uri of the Vertex AI Search data source. Deprecated. Use
|
17643
|
+
# vertex_ai_search_datastore instead.
|
16513
17644
|
# Corresponds to the JSON property `enterpriseDatastore`
|
16514
17645
|
# @return [String]
|
16515
17646
|
attr_accessor :enterprise_datastore
|
@@ -16519,6 +17650,11 @@ module Google
|
|
16519
17650
|
# @return [String]
|
16520
17651
|
attr_accessor :type
|
16521
17652
|
|
17653
|
+
# The uri of the Vertex AI Search data source.
|
17654
|
+
# Corresponds to the JSON property `vertexAiSearchDatastore`
|
17655
|
+
# @return [String]
|
17656
|
+
attr_accessor :vertex_ai_search_datastore
|
17657
|
+
|
16522
17658
|
def initialize(**args)
|
16523
17659
|
update!(**args)
|
16524
17660
|
end
|
@@ -16527,6 +17663,7 @@ module Google
|
|
16527
17663
|
def update!(**args)
|
16528
17664
|
@enterprise_datastore = args[:enterprise_datastore] if args.key?(:enterprise_datastore)
|
16529
17665
|
@type = args[:type] if args.key?(:type)
|
17666
|
+
@vertex_ai_search_datastore = args[:vertex_ai_search_datastore] if args.key?(:vertex_ai_search_datastore)
|
16530
17667
|
end
|
16531
17668
|
end
|
16532
17669
|
|
@@ -21362,7 +22499,7 @@ module Google
|
|
21362
22499
|
end
|
21363
22500
|
end
|
21364
22501
|
|
21365
|
-
# A message representing a Study.
|
22502
|
+
# A message representing a Study.
|
21366
22503
|
class GoogleCloudAiplatformV1Study
|
21367
22504
|
include Google::Apis::Core::Hashable
|
21368
22505
|
|
@@ -22190,6 +23327,40 @@ module Google
|
|
22190
23327
|
end
|
22191
23328
|
end
|
22192
23329
|
|
23330
|
+
# Request message for FeatureOnlineStoreAdminService.SyncFeatureView.
|
23331
|
+
class GoogleCloudAiplatformV1SyncFeatureViewRequest
|
23332
|
+
include Google::Apis::Core::Hashable
|
23333
|
+
|
23334
|
+
def initialize(**args)
|
23335
|
+
update!(**args)
|
23336
|
+
end
|
23337
|
+
|
23338
|
+
# Update properties of this object
|
23339
|
+
def update!(**args)
|
23340
|
+
end
|
23341
|
+
end
|
23342
|
+
|
23343
|
+
# Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
|
23344
|
+
class GoogleCloudAiplatformV1SyncFeatureViewResponse
|
23345
|
+
include Google::Apis::Core::Hashable
|
23346
|
+
|
23347
|
+
# Format: `projects/`project`/locations/`location`/featureOnlineStores/`
|
23348
|
+
# feature_online_store`/featureViews/`feature_view`/featureViewSyncs/`
|
23349
|
+
# feature_view_sync``
|
23350
|
+
# Corresponds to the JSON property `featureViewSync`
|
23351
|
+
# @return [String]
|
23352
|
+
attr_accessor :feature_view_sync
|
23353
|
+
|
23354
|
+
def initialize(**args)
|
23355
|
+
update!(**args)
|
23356
|
+
end
|
23357
|
+
|
23358
|
+
# Update properties of this object
|
23359
|
+
def update!(**args)
|
23360
|
+
@feature_view_sync = args[:feature_view_sync] if args.key?(:feature_view_sync)
|
23361
|
+
end
|
23362
|
+
end
|
23363
|
+
|
22193
23364
|
# The storage details for TFRecord output content.
|
22194
23365
|
class GoogleCloudAiplatformV1TfRecordDestination
|
22195
23366
|
include Google::Apis::Core::Hashable
|
@@ -22880,6 +24051,31 @@ module Google
|
|
22880
24051
|
end
|
22881
24052
|
end
|
22882
24053
|
|
24054
|
+
# Tokens info with a list of tokens and the corresponding list of token ids.
|
24055
|
+
class GoogleCloudAiplatformV1TokensInfo
|
24056
|
+
include Google::Apis::Core::Hashable
|
24057
|
+
|
24058
|
+
# A list of token ids from the input.
|
24059
|
+
# Corresponds to the JSON property `tokenIds`
|
24060
|
+
# @return [Array<Fixnum>]
|
24061
|
+
attr_accessor :token_ids
|
24062
|
+
|
24063
|
+
# A list of tokens from the input.
|
24064
|
+
# Corresponds to the JSON property `tokens`
|
24065
|
+
# @return [Array<String>]
|
24066
|
+
attr_accessor :tokens
|
24067
|
+
|
24068
|
+
def initialize(**args)
|
24069
|
+
update!(**args)
|
24070
|
+
end
|
24071
|
+
|
24072
|
+
# Update properties of this object
|
24073
|
+
def update!(**args)
|
24074
|
+
@token_ids = args[:token_ids] if args.key?(:token_ids)
|
24075
|
+
@tokens = args[:tokens] if args.key?(:tokens)
|
24076
|
+
end
|
24077
|
+
end
|
24078
|
+
|
22883
24079
|
# CMLE training config. For every active learning labeling iteration, system
|
22884
24080
|
# will train a machine learning model on CMLE. The trained model will be used by
|
22885
24081
|
# data sampling algorithm to select DataItems.
|
@@ -23366,6 +24562,25 @@ module Google
|
|
23366
24562
|
end
|
23367
24563
|
end
|
23368
24564
|
|
24565
|
+
# Runtime operation information for UpdateDeploymentResourcePool method.
|
24566
|
+
class GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata
|
24567
|
+
include Google::Apis::Core::Hashable
|
24568
|
+
|
24569
|
+
# Generic Metadata shared by all operations.
|
24570
|
+
# Corresponds to the JSON property `genericMetadata`
|
24571
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
24572
|
+
attr_accessor :generic_metadata
|
24573
|
+
|
24574
|
+
def initialize(**args)
|
24575
|
+
update!(**args)
|
24576
|
+
end
|
24577
|
+
|
24578
|
+
# Update properties of this object
|
24579
|
+
def update!(**args)
|
24580
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24581
|
+
end
|
24582
|
+
end
|
24583
|
+
|
23369
24584
|
# Runtime operation information for ModelService.UpdateExplanationDataset.
|
23370
24585
|
class GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata
|
23371
24586
|
include Google::Apis::Core::Hashable
|
@@ -23418,6 +24633,82 @@ module Google
|
|
23418
24633
|
end
|
23419
24634
|
end
|
23420
24635
|
|
24636
|
+
# Details of operations that perform update FeatureGroup.
|
24637
|
+
class GoogleCloudAiplatformV1UpdateFeatureGroupOperationMetadata
|
24638
|
+
include Google::Apis::Core::Hashable
|
24639
|
+
|
24640
|
+
# Generic Metadata shared by all operations.
|
24641
|
+
# Corresponds to the JSON property `genericMetadata`
|
24642
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
24643
|
+
attr_accessor :generic_metadata
|
24644
|
+
|
24645
|
+
def initialize(**args)
|
24646
|
+
update!(**args)
|
24647
|
+
end
|
24648
|
+
|
24649
|
+
# Update properties of this object
|
24650
|
+
def update!(**args)
|
24651
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24652
|
+
end
|
24653
|
+
end
|
24654
|
+
|
24655
|
+
# Details of operations that perform update FeatureOnlineStore.
|
24656
|
+
class GoogleCloudAiplatformV1UpdateFeatureOnlineStoreOperationMetadata
|
24657
|
+
include Google::Apis::Core::Hashable
|
24658
|
+
|
24659
|
+
# Generic Metadata shared by all operations.
|
24660
|
+
# Corresponds to the JSON property `genericMetadata`
|
24661
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
24662
|
+
attr_accessor :generic_metadata
|
24663
|
+
|
24664
|
+
def initialize(**args)
|
24665
|
+
update!(**args)
|
24666
|
+
end
|
24667
|
+
|
24668
|
+
# Update properties of this object
|
24669
|
+
def update!(**args)
|
24670
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24671
|
+
end
|
24672
|
+
end
|
24673
|
+
|
24674
|
+
# Details of operations that perform update Feature.
|
24675
|
+
class GoogleCloudAiplatformV1UpdateFeatureOperationMetadata
|
24676
|
+
include Google::Apis::Core::Hashable
|
24677
|
+
|
24678
|
+
# Generic Metadata shared by all operations.
|
24679
|
+
# Corresponds to the JSON property `genericMetadata`
|
24680
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
24681
|
+
attr_accessor :generic_metadata
|
24682
|
+
|
24683
|
+
def initialize(**args)
|
24684
|
+
update!(**args)
|
24685
|
+
end
|
24686
|
+
|
24687
|
+
# Update properties of this object
|
24688
|
+
def update!(**args)
|
24689
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24690
|
+
end
|
24691
|
+
end
|
24692
|
+
|
24693
|
+
# Details of operations that perform update FeatureView.
|
24694
|
+
class GoogleCloudAiplatformV1UpdateFeatureViewOperationMetadata
|
24695
|
+
include Google::Apis::Core::Hashable
|
24696
|
+
|
24697
|
+
# Generic Metadata shared by all operations.
|
24698
|
+
# Corresponds to the JSON property `genericMetadata`
|
24699
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
24700
|
+
attr_accessor :generic_metadata
|
24701
|
+
|
24702
|
+
def initialize(**args)
|
24703
|
+
update!(**args)
|
24704
|
+
end
|
24705
|
+
|
24706
|
+
# Update properties of this object
|
24707
|
+
def update!(**args)
|
24708
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
24709
|
+
end
|
24710
|
+
end
|
24711
|
+
|
23421
24712
|
# Details of operations that perform update Featurestore.
|
23422
24713
|
class GoogleCloudAiplatformV1UpdateFeaturestoreOperationMetadata
|
23423
24714
|
include Google::Apis::Core::Hashable
|
@@ -23572,10 +24863,11 @@ module Google
|
|
23572
24863
|
|
23573
24864
|
# Optional. The user-provided custom service account to use to do the model
|
23574
24865
|
# upload. If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/
|
23575
|
-
# docs/general/access-control#service-agents) will be used
|
23576
|
-
#
|
23577
|
-
#
|
23578
|
-
#
|
24866
|
+
# docs/general/access-control#service-agents) will be used to access resources
|
24867
|
+
# needed to upload the model. This account must belong to the target project
|
24868
|
+
# where the model is uploaded to, i.e., the project specified in the `parent`
|
24869
|
+
# field of this request and have necessary read permissions (to Google Cloud
|
24870
|
+
# Storage, Artifact Registry, etc.).
|
23579
24871
|
# Corresponds to the JSON property `serviceAccount`
|
23580
24872
|
# @return [String]
|
23581
24873
|
attr_accessor :service_account
|