google-apis-aiplatform_v1beta1 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1611 -114
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +774 -3
- data/lib/google/apis/aiplatform_v1beta1/service.rb +1461 -184
- metadata +3 -3
@@ -2424,6 +2424,44 @@ module Google
|
|
2424
2424
|
end
|
2425
2425
|
end
|
2426
2426
|
|
2427
|
+
# Details of operations that perform create FeatureGroup.
|
2428
|
+
class GoogleCloudAiplatformV1beta1CreateFeatureGroupOperationMetadata
|
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::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
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
|
+
|
2446
|
+
# Details of operations that perform create FeatureOnlineStore.
|
2447
|
+
class GoogleCloudAiplatformV1beta1CreateFeatureOnlineStoreOperationMetadata
|
2448
|
+
include Google::Apis::Core::Hashable
|
2449
|
+
|
2450
|
+
# Generic Metadata shared by all operations.
|
2451
|
+
# Corresponds to the JSON property `genericMetadata`
|
2452
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
2453
|
+
attr_accessor :generic_metadata
|
2454
|
+
|
2455
|
+
def initialize(**args)
|
2456
|
+
update!(**args)
|
2457
|
+
end
|
2458
|
+
|
2459
|
+
# Update properties of this object
|
2460
|
+
def update!(**args)
|
2461
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
|
2427
2465
|
# Details of operations that perform create Feature.
|
2428
2466
|
class GoogleCloudAiplatformV1beta1CreateFeatureOperationMetadata
|
2429
2467
|
include Google::Apis::Core::Hashable
|
@@ -2443,7 +2481,8 @@ module Google
|
|
2443
2481
|
end
|
2444
2482
|
end
|
2445
2483
|
|
2446
|
-
# Request message for FeaturestoreService.CreateFeature.
|
2484
|
+
# Request message for FeaturestoreService.CreateFeature. Request message for
|
2485
|
+
# FeatureRegistryService.CreateFeature.
|
2447
2486
|
class GoogleCloudAiplatformV1beta1CreateFeatureRequest
|
2448
2487
|
include Google::Apis::Core::Hashable
|
2449
2488
|
|
@@ -2457,14 +2496,12 @@ module Google
|
|
2457
2496
|
# Required. The ID to use for the Feature, which will become the final component
|
2458
2497
|
# of the Feature's resource name. This value may be up to 128 characters, and
|
2459
2498
|
# valid characters are `[a-z0-9_]`. The first character cannot be a number. The
|
2460
|
-
# value must be unique within an EntityType
|
2499
|
+
# value must be unique within an EntityType/FeatureGroup.
|
2461
2500
|
# Corresponds to the JSON property `featureId`
|
2462
2501
|
# @return [String]
|
2463
2502
|
attr_accessor :feature_id
|
2464
2503
|
|
2465
|
-
#
|
2466
|
-
# projects/`project`/locations/`location`/featurestores/`featurestore`/
|
2467
|
-
# entityTypes/`entity_type``
|
2504
|
+
#
|
2468
2505
|
# Corresponds to the JSON property `parent`
|
2469
2506
|
# @return [String]
|
2470
2507
|
attr_accessor :parent
|
@@ -2481,6 +2518,25 @@ module Google
|
|
2481
2518
|
end
|
2482
2519
|
end
|
2483
2520
|
|
2521
|
+
# Details of operations that perform create FeatureView.
|
2522
|
+
class GoogleCloudAiplatformV1beta1CreateFeatureViewOperationMetadata
|
2523
|
+
include Google::Apis::Core::Hashable
|
2524
|
+
|
2525
|
+
# Generic Metadata shared by all operations.
|
2526
|
+
# Corresponds to the JSON property `genericMetadata`
|
2527
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
2528
|
+
attr_accessor :generic_metadata
|
2529
|
+
|
2530
|
+
def initialize(**args)
|
2531
|
+
update!(**args)
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
# Update properties of this object
|
2535
|
+
def update!(**args)
|
2536
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
|
2484
2540
|
# Details of operations that perform create Featurestore.
|
2485
2541
|
class GoogleCloudAiplatformV1beta1CreateFeaturestoreOperationMetadata
|
2486
2542
|
include Google::Apis::Core::Hashable
|
@@ -2636,6 +2692,25 @@ module Google
|
|
2636
2692
|
end
|
2637
2693
|
end
|
2638
2694
|
|
2695
|
+
# Details of operations that perform create FeatureGroup.
|
2696
|
+
class GoogleCloudAiplatformV1beta1CreateRegistryFeatureOperationMetadata
|
2697
|
+
include Google::Apis::Core::Hashable
|
2698
|
+
|
2699
|
+
# Generic Metadata shared by all operations.
|
2700
|
+
# Corresponds to the JSON property `genericMetadata`
|
2701
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
2702
|
+
attr_accessor :generic_metadata
|
2703
|
+
|
2704
|
+
def initialize(**args)
|
2705
|
+
update!(**args)
|
2706
|
+
end
|
2707
|
+
|
2708
|
+
# Update properties of this object
|
2709
|
+
def update!(**args)
|
2710
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
2711
|
+
end
|
2712
|
+
end
|
2713
|
+
|
2639
2714
|
# Runtime operation information for SolverService.CreateSolver.
|
2640
2715
|
class GoogleCloudAiplatformV1beta1CreateSolverOperationMetadata
|
2641
2716
|
include Google::Apis::Core::Hashable
|
@@ -3394,6 +3469,50 @@ module Google
|
|
3394
3469
|
end
|
3395
3470
|
end
|
3396
3471
|
|
3472
|
+
# Describes the dataset version.
|
3473
|
+
class GoogleCloudAiplatformV1beta1DatasetVersion
|
3474
|
+
include Google::Apis::Core::Hashable
|
3475
|
+
|
3476
|
+
# Output only. Name of the associated BigQuery dataset.
|
3477
|
+
# Corresponds to the JSON property `bigQueryDatasetName`
|
3478
|
+
# @return [String]
|
3479
|
+
attr_accessor :big_query_dataset_name
|
3480
|
+
|
3481
|
+
# Output only. Timestamp when this DatasetVersion was created.
|
3482
|
+
# Corresponds to the JSON property `createTime`
|
3483
|
+
# @return [String]
|
3484
|
+
attr_accessor :create_time
|
3485
|
+
|
3486
|
+
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
3487
|
+
# overwrite" update happens.
|
3488
|
+
# Corresponds to the JSON property `etag`
|
3489
|
+
# @return [String]
|
3490
|
+
attr_accessor :etag
|
3491
|
+
|
3492
|
+
# Output only. The resource name of the DatasetVersion.
|
3493
|
+
# Corresponds to the JSON property `name`
|
3494
|
+
# @return [String]
|
3495
|
+
attr_accessor :name
|
3496
|
+
|
3497
|
+
# Output only. Timestamp when this DatasetVersion was last updated.
|
3498
|
+
# Corresponds to the JSON property `updateTime`
|
3499
|
+
# @return [String]
|
3500
|
+
attr_accessor :update_time
|
3501
|
+
|
3502
|
+
def initialize(**args)
|
3503
|
+
update!(**args)
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
# Update properties of this object
|
3507
|
+
def update!(**args)
|
3508
|
+
@big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
|
3509
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3510
|
+
@etag = args[:etag] if args.key?(:etag)
|
3511
|
+
@name = args[:name] if args.key?(:name)
|
3512
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3513
|
+
end
|
3514
|
+
end
|
3515
|
+
|
3397
3516
|
# A description of resources that are dedicated to a DeployedModel, and that
|
3398
3517
|
# need a higher degree of manual configuration.
|
3399
3518
|
class GoogleCloudAiplatformV1beta1DedicatedResources
|
@@ -5666,6 +5785,15 @@ module Google
|
|
5666
5785
|
# @return [String]
|
5667
5786
|
attr_accessor :annotations_filter
|
5668
5787
|
|
5788
|
+
# Assigns input data to training, validation, and test sets based on the given
|
5789
|
+
# filters, data pieces not matched by any filter are ignored. Currently only
|
5790
|
+
# supported for Datasets containing DataItems. If any of the filters in this
|
5791
|
+
# message are to match nothing, then they can be set as '-' (the minus sign).
|
5792
|
+
# Supported only for unstructured Datasets.
|
5793
|
+
# Corresponds to the JSON property `filterSplit`
|
5794
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportFilterSplit]
|
5795
|
+
attr_accessor :filter_split
|
5796
|
+
|
5669
5797
|
# Assigns the input data to training, validation, and test sets as per the given
|
5670
5798
|
# fractions. Any of `training_fraction`, `validation_fraction` and `
|
5671
5799
|
# test_fraction` may optionally be provided, they must sum to up to 1. If the
|
@@ -5688,6 +5816,7 @@ module Google
|
|
5688
5816
|
# Update properties of this object
|
5689
5817
|
def update!(**args)
|
5690
5818
|
@annotations_filter = args[:annotations_filter] if args.key?(:annotations_filter)
|
5819
|
+
@filter_split = args[:filter_split] if args.key?(:filter_split)
|
5691
5820
|
@fraction_split = args[:fraction_split] if args.key?(:fraction_split)
|
5692
5821
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
5693
5822
|
end
|
@@ -5950,6 +6079,53 @@ module Google
|
|
5950
6079
|
end
|
5951
6080
|
end
|
5952
6081
|
|
6082
|
+
# Assigns input data to training, validation, and test sets based on the given
|
6083
|
+
# filters, data pieces not matched by any filter are ignored. Currently only
|
6084
|
+
# supported for Datasets containing DataItems. If any of the filters in this
|
6085
|
+
# message are to match nothing, then they can be set as '-' (the minus sign).
|
6086
|
+
# Supported only for unstructured Datasets.
|
6087
|
+
class GoogleCloudAiplatformV1beta1ExportFilterSplit
|
6088
|
+
include Google::Apis::Core::Hashable
|
6089
|
+
|
6090
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
6091
|
+
# filter are used to test the Model. A filter with same syntax as the one used
|
6092
|
+
# in DatasetService.ListDataItems may be used. If a single DataItem is matched
|
6093
|
+
# by more than one of the FilterSplit filters, then it is assigned to the first
|
6094
|
+
# set that applies to it in the training, validation, test order.
|
6095
|
+
# Corresponds to the JSON property `testFilter`
|
6096
|
+
# @return [String]
|
6097
|
+
attr_accessor :test_filter
|
6098
|
+
|
6099
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
6100
|
+
# filter are used to train the Model. A filter with same syntax as the one used
|
6101
|
+
# in DatasetService.ListDataItems may be used. If a single DataItem is matched
|
6102
|
+
# by more than one of the FilterSplit filters, then it is assigned to the first
|
6103
|
+
# set that applies to it in the training, validation, test order.
|
6104
|
+
# Corresponds to the JSON property `trainingFilter`
|
6105
|
+
# @return [String]
|
6106
|
+
attr_accessor :training_filter
|
6107
|
+
|
6108
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
6109
|
+
# filter are used to validate the Model. A filter with same syntax as the one
|
6110
|
+
# used in DatasetService.ListDataItems may be used. If a single DataItem is
|
6111
|
+
# matched by more than one of the FilterSplit filters, then it is assigned to
|
6112
|
+
# the first set that applies to it in the training, validation, test order.
|
6113
|
+
# Corresponds to the JSON property `validationFilter`
|
6114
|
+
# @return [String]
|
6115
|
+
attr_accessor :validation_filter
|
6116
|
+
|
6117
|
+
def initialize(**args)
|
6118
|
+
update!(**args)
|
6119
|
+
end
|
6120
|
+
|
6121
|
+
# Update properties of this object
|
6122
|
+
def update!(**args)
|
6123
|
+
@test_filter = args[:test_filter] if args.key?(:test_filter)
|
6124
|
+
@training_filter = args[:training_filter] if args.key?(:training_filter)
|
6125
|
+
@validation_filter = args[:validation_filter] if args.key?(:validation_filter)
|
6126
|
+
end
|
6127
|
+
end
|
6128
|
+
|
5953
6129
|
# Assigns the input data to training, validation, and test sets as per the given
|
5954
6130
|
# fractions. Any of `training_fraction`, `validation_fraction` and `
|
5955
6131
|
# test_fraction` may optionally be provided, they must sum to up to 1. If the
|
@@ -6274,6 +6450,95 @@ module Google
|
|
6274
6450
|
end
|
6275
6451
|
end
|
6276
6452
|
|
6453
|
+
# Vertex AI Feature Group.
|
6454
|
+
class GoogleCloudAiplatformV1beta1FeatureGroup
|
6455
|
+
include Google::Apis::Core::Hashable
|
6456
|
+
|
6457
|
+
# Input source type for BigQuery Tables and Views.
|
6458
|
+
# Corresponds to the JSON property `bigQuery`
|
6459
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroupBigQuery]
|
6460
|
+
attr_accessor :big_query
|
6461
|
+
|
6462
|
+
# Output only. Timestamp when this FeatureGroup was created.
|
6463
|
+
# Corresponds to the JSON property `createTime`
|
6464
|
+
# @return [String]
|
6465
|
+
attr_accessor :create_time
|
6466
|
+
|
6467
|
+
# Optional. Description of the FeatureGroup.
|
6468
|
+
# Corresponds to the JSON property `description`
|
6469
|
+
# @return [String]
|
6470
|
+
attr_accessor :description
|
6471
|
+
|
6472
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
6473
|
+
# blind "overwrite" update happens.
|
6474
|
+
# Corresponds to the JSON property `etag`
|
6475
|
+
# @return [String]
|
6476
|
+
attr_accessor :etag
|
6477
|
+
|
6478
|
+
# Optional. The labels with user-defined metadata to organize your FeatureGroup.
|
6479
|
+
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
6480
|
+
# can only contain lowercase letters, numeric characters, underscores and
|
6481
|
+
# dashes. International characters are allowed. See https://goo.gl/xmQnxf for
|
6482
|
+
# more information on and examples of labels. No more than 64 user labels can be
|
6483
|
+
# associated with one FeatureGroup(System labels are excluded)." System reserved
|
6484
|
+
# label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
6485
|
+
# Corresponds to the JSON property `labels`
|
6486
|
+
# @return [Hash<String,String>]
|
6487
|
+
attr_accessor :labels
|
6488
|
+
|
6489
|
+
# Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
|
6490
|
+
# location`/featureGroups/`featureGroup``
|
6491
|
+
# Corresponds to the JSON property `name`
|
6492
|
+
# @return [String]
|
6493
|
+
attr_accessor :name
|
6494
|
+
|
6495
|
+
# Output only. Timestamp when this FeatureGroup was last updated.
|
6496
|
+
# Corresponds to the JSON property `updateTime`
|
6497
|
+
# @return [String]
|
6498
|
+
attr_accessor :update_time
|
6499
|
+
|
6500
|
+
def initialize(**args)
|
6501
|
+
update!(**args)
|
6502
|
+
end
|
6503
|
+
|
6504
|
+
# Update properties of this object
|
6505
|
+
def update!(**args)
|
6506
|
+
@big_query = args[:big_query] if args.key?(:big_query)
|
6507
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6508
|
+
@description = args[:description] if args.key?(:description)
|
6509
|
+
@etag = args[:etag] if args.key?(:etag)
|
6510
|
+
@labels = args[:labels] if args.key?(:labels)
|
6511
|
+
@name = args[:name] if args.key?(:name)
|
6512
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6513
|
+
end
|
6514
|
+
end
|
6515
|
+
|
6516
|
+
# Input source type for BigQuery Tables and Views.
|
6517
|
+
class GoogleCloudAiplatformV1beta1FeatureGroupBigQuery
|
6518
|
+
include Google::Apis::Core::Hashable
|
6519
|
+
|
6520
|
+
# The BigQuery location for the input content.
|
6521
|
+
# Corresponds to the JSON property `bigQuerySource`
|
6522
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQuerySource]
|
6523
|
+
attr_accessor :big_query_source
|
6524
|
+
|
6525
|
+
# Optional. Columns to construct entity_id / row keys. Currently only supports 1
|
6526
|
+
# entity_id_column. If not provided defaults to `entity_id`.
|
6527
|
+
# Corresponds to the JSON property `entityIdColumns`
|
6528
|
+
# @return [Array<String>]
|
6529
|
+
attr_accessor :entity_id_columns
|
6530
|
+
|
6531
|
+
def initialize(**args)
|
6532
|
+
update!(**args)
|
6533
|
+
end
|
6534
|
+
|
6535
|
+
# Update properties of this object
|
6536
|
+
def update!(**args)
|
6537
|
+
@big_query_source = args[:big_query_source] if args.key?(:big_query_source)
|
6538
|
+
@entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
|
6539
|
+
end
|
6540
|
+
end
|
6541
|
+
|
6277
6542
|
# A list of historical SnapshotAnalysis or ImportFeaturesAnalysis stats
|
6278
6543
|
# requested by user, sorted by FeatureStatsAnomaly.start_time descending.
|
6279
6544
|
class GoogleCloudAiplatformV1beta1FeatureMonitoringStatsAnomaly
|
@@ -6357,41 +6622,219 @@ module Google
|
|
6357
6622
|
end
|
6358
6623
|
end
|
6359
6624
|
|
6360
|
-
#
|
6361
|
-
|
6625
|
+
# Vertex AI Feature Online Store provides a centralized repository for serving
|
6626
|
+
# ML features and embedding indexes at low latency. The Feature Online Store is
|
6627
|
+
# a top-level container.
|
6628
|
+
class GoogleCloudAiplatformV1beta1FeatureOnlineStore
|
6362
6629
|
include Google::Apis::Core::Hashable
|
6363
6630
|
|
6364
|
-
#
|
6365
|
-
#
|
6366
|
-
#
|
6367
|
-
|
6631
|
+
# Contains settings for the Cloud Bigtable instance that will be created to
|
6632
|
+
# serve featureValues for all FeatureViews under this FeatureOnlineStore.
|
6633
|
+
# Corresponds to the JSON property `bigtable`
|
6634
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable]
|
6635
|
+
attr_accessor :bigtable
|
6368
6636
|
|
6369
|
-
|
6370
|
-
|
6371
|
-
|
6637
|
+
# Output only. Timestamp when this FeatureOnlineStore was created.
|
6638
|
+
# Corresponds to the JSON property `createTime`
|
6639
|
+
# @return [String]
|
6640
|
+
attr_accessor :create_time
|
6372
6641
|
|
6373
|
-
#
|
6374
|
-
|
6375
|
-
|
6376
|
-
|
6377
|
-
end
|
6642
|
+
# The dedicated serving endpoint for this FeatureOnlineStore.
|
6643
|
+
# Corresponds to the JSON property `dedicatedServingEndpoint`
|
6644
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint]
|
6645
|
+
attr_accessor :dedicated_serving_endpoint
|
6378
6646
|
|
6379
|
-
|
6380
|
-
|
6381
|
-
|
6382
|
-
|
6383
|
-
# start_time = end_time. Timestamp of the stats and anomalies always refers to
|
6384
|
-
# end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in
|
6385
|
-
# the tensorflow defined protos. Field data_stats contains almost identical
|
6386
|
-
# information with the raw stats in Vertex AI defined proto, for UI to display.
|
6387
|
-
class GoogleCloudAiplatformV1beta1FeatureStatsAnomaly
|
6388
|
-
include Google::Apis::Core::Hashable
|
6647
|
+
# Contains settings for embedding management.
|
6648
|
+
# Corresponds to the JSON property `embeddingManagement`
|
6649
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement]
|
6650
|
+
attr_accessor :embedding_management
|
6389
6651
|
|
6390
|
-
#
|
6391
|
-
#
|
6392
|
-
# Corresponds to the JSON property `
|
6393
|
-
# @return [
|
6394
|
-
attr_accessor :
|
6652
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
6653
|
+
# blind "overwrite" update happens.
|
6654
|
+
# Corresponds to the JSON property `etag`
|
6655
|
+
# @return [String]
|
6656
|
+
attr_accessor :etag
|
6657
|
+
|
6658
|
+
# Optional. The labels with user-defined metadata to organize your
|
6659
|
+
# FeatureOnlineStore. Label keys and values can be no longer than 64 characters (
|
6660
|
+
# Unicode codepoints), can only contain lowercase letters, numeric characters,
|
6661
|
+
# underscores and dashes. International characters are allowed. See https://goo.
|
6662
|
+
# gl/xmQnxf for more information on and examples of labels. No more than 64 user
|
6663
|
+
# labels can be associated with one FeatureOnlineStore(System labels are
|
6664
|
+
# excluded)." System reserved label keys are prefixed with "aiplatform.
|
6665
|
+
# googleapis.com/" and are immutable.
|
6666
|
+
# Corresponds to the JSON property `labels`
|
6667
|
+
# @return [Hash<String,String>]
|
6668
|
+
attr_accessor :labels
|
6669
|
+
|
6670
|
+
# Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
|
6671
|
+
# locations/`location`/featureOnlineStores/`featureOnlineStore``
|
6672
|
+
# Corresponds to the JSON property `name`
|
6673
|
+
# @return [String]
|
6674
|
+
attr_accessor :name
|
6675
|
+
|
6676
|
+
# Output only. State of the featureOnlineStore.
|
6677
|
+
# Corresponds to the JSON property `state`
|
6678
|
+
# @return [String]
|
6679
|
+
attr_accessor :state
|
6680
|
+
|
6681
|
+
# Output only. Timestamp when this FeatureOnlineStore was last updated.
|
6682
|
+
# Corresponds to the JSON property `updateTime`
|
6683
|
+
# @return [String]
|
6684
|
+
attr_accessor :update_time
|
6685
|
+
|
6686
|
+
def initialize(**args)
|
6687
|
+
update!(**args)
|
6688
|
+
end
|
6689
|
+
|
6690
|
+
# Update properties of this object
|
6691
|
+
def update!(**args)
|
6692
|
+
@bigtable = args[:bigtable] if args.key?(:bigtable)
|
6693
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6694
|
+
@dedicated_serving_endpoint = args[:dedicated_serving_endpoint] if args.key?(:dedicated_serving_endpoint)
|
6695
|
+
@embedding_management = args[:embedding_management] if args.key?(:embedding_management)
|
6696
|
+
@etag = args[:etag] if args.key?(:etag)
|
6697
|
+
@labels = args[:labels] if args.key?(:labels)
|
6698
|
+
@name = args[:name] if args.key?(:name)
|
6699
|
+
@state = args[:state] if args.key?(:state)
|
6700
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6701
|
+
end
|
6702
|
+
end
|
6703
|
+
|
6704
|
+
#
|
6705
|
+
class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtable
|
6706
|
+
include Google::Apis::Core::Hashable
|
6707
|
+
|
6708
|
+
# Required. Autoscaling config applied to Bigtable Instance.
|
6709
|
+
# Corresponds to the JSON property `autoScaling`
|
6710
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling]
|
6711
|
+
attr_accessor :auto_scaling
|
6712
|
+
|
6713
|
+
def initialize(**args)
|
6714
|
+
update!(**args)
|
6715
|
+
end
|
6716
|
+
|
6717
|
+
# Update properties of this object
|
6718
|
+
def update!(**args)
|
6719
|
+
@auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
|
6720
|
+
end
|
6721
|
+
end
|
6722
|
+
|
6723
|
+
#
|
6724
|
+
class GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling
|
6725
|
+
include Google::Apis::Core::Hashable
|
6726
|
+
|
6727
|
+
# Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%.
|
6728
|
+
# When a cluster's CPU utilization exceeds the target that you have set,
|
6729
|
+
# Bigtable immediately adds nodes to the cluster. When CPU utilization is
|
6730
|
+
# substantially lower than the target, Bigtable removes nodes. If not set will
|
6731
|
+
# default to 50%.
|
6732
|
+
# Corresponds to the JSON property `cpuUtilizationTarget`
|
6733
|
+
# @return [Fixnum]
|
6734
|
+
attr_accessor :cpu_utilization_target
|
6735
|
+
|
6736
|
+
# Required. The maximum number of nodes to scale up to. Must be greater than or
|
6737
|
+
# equal to min_node_count, and less than or equal to 10 times of 'min_node_count'
|
6738
|
+
# .
|
6739
|
+
# Corresponds to the JSON property `maxNodeCount`
|
6740
|
+
# @return [Fixnum]
|
6741
|
+
attr_accessor :max_node_count
|
6742
|
+
|
6743
|
+
# Required. The minimum number of nodes to scale down to. Must be greater than
|
6744
|
+
# or equal to 1.
|
6745
|
+
# Corresponds to the JSON property `minNodeCount`
|
6746
|
+
# @return [Fixnum]
|
6747
|
+
attr_accessor :min_node_count
|
6748
|
+
|
6749
|
+
def initialize(**args)
|
6750
|
+
update!(**args)
|
6751
|
+
end
|
6752
|
+
|
6753
|
+
# Update properties of this object
|
6754
|
+
def update!(**args)
|
6755
|
+
@cpu_utilization_target = args[:cpu_utilization_target] if args.key?(:cpu_utilization_target)
|
6756
|
+
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
6757
|
+
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
6758
|
+
end
|
6759
|
+
end
|
6760
|
+
|
6761
|
+
# The dedicated serving endpoint for this FeatureOnlineStore.
|
6762
|
+
class GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint
|
6763
|
+
include Google::Apis::Core::Hashable
|
6764
|
+
|
6765
|
+
# Output only. This field will be populated with the domain name to use for this
|
6766
|
+
# FeatureOnlineStore
|
6767
|
+
# Corresponds to the JSON property `publicEndpointDomainName`
|
6768
|
+
# @return [String]
|
6769
|
+
attr_accessor :public_endpoint_domain_name
|
6770
|
+
|
6771
|
+
def initialize(**args)
|
6772
|
+
update!(**args)
|
6773
|
+
end
|
6774
|
+
|
6775
|
+
# Update properties of this object
|
6776
|
+
def update!(**args)
|
6777
|
+
@public_endpoint_domain_name = args[:public_endpoint_domain_name] if args.key?(:public_endpoint_domain_name)
|
6778
|
+
end
|
6779
|
+
end
|
6780
|
+
|
6781
|
+
# Contains settings for embedding management.
|
6782
|
+
class GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement
|
6783
|
+
include Google::Apis::Core::Hashable
|
6784
|
+
|
6785
|
+
# Optional. Immutable. Whether to enable embedding management in this
|
6786
|
+
# FeatureOnlineStore. It's immutable after creation to ensure the
|
6787
|
+
# FeatureOnlineStore availability.
|
6788
|
+
# Corresponds to the JSON property `enabled`
|
6789
|
+
# @return [Boolean]
|
6790
|
+
attr_accessor :enabled
|
6791
|
+
alias_method :enabled?, :enabled
|
6792
|
+
|
6793
|
+
def initialize(**args)
|
6794
|
+
update!(**args)
|
6795
|
+
end
|
6796
|
+
|
6797
|
+
# Update properties of this object
|
6798
|
+
def update!(**args)
|
6799
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6800
|
+
end
|
6801
|
+
end
|
6802
|
+
|
6803
|
+
# Selector for Features of an EntityType.
|
6804
|
+
class GoogleCloudAiplatformV1beta1FeatureSelector
|
6805
|
+
include Google::Apis::Core::Hashable
|
6806
|
+
|
6807
|
+
# Matcher for Features of an EntityType by Feature ID.
|
6808
|
+
# Corresponds to the JSON property `idMatcher`
|
6809
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IdMatcher]
|
6810
|
+
attr_accessor :id_matcher
|
6811
|
+
|
6812
|
+
def initialize(**args)
|
6813
|
+
update!(**args)
|
6814
|
+
end
|
6815
|
+
|
6816
|
+
# Update properties of this object
|
6817
|
+
def update!(**args)
|
6818
|
+
@id_matcher = args[:id_matcher] if args.key?(:id_matcher)
|
6819
|
+
end
|
6820
|
+
end
|
6821
|
+
|
6822
|
+
# Stats and Anomaly generated at specific timestamp for specific Feature. The
|
6823
|
+
# start_time and end_time are used to define the time range of the dataset that
|
6824
|
+
# current stats belongs to, e.g. prediction traffic is bucketed into prediction
|
6825
|
+
# datasets by time window. If the Dataset is not defined by time window,
|
6826
|
+
# start_time = end_time. Timestamp of the stats and anomalies always refers to
|
6827
|
+
# end_time. Raw stats and anomalies are stored in stats_uri or anomaly_uri in
|
6828
|
+
# the tensorflow defined protos. Field data_stats contains almost identical
|
6829
|
+
# information with the raw stats in Vertex AI defined proto, for UI to display.
|
6830
|
+
class GoogleCloudAiplatformV1beta1FeatureStatsAnomaly
|
6831
|
+
include Google::Apis::Core::Hashable
|
6832
|
+
|
6833
|
+
# This is the threshold used when detecting anomalies. The threshold can be
|
6834
|
+
# changed by user, so this one might be different from ThresholdConfig.value.
|
6835
|
+
# Corresponds to the JSON property `anomalyDetectionThreshold`
|
6836
|
+
# @return [Float]
|
6837
|
+
attr_accessor :anomaly_detection_threshold
|
6395
6838
|
|
6396
6839
|
# Path of the anomaly file for current feature values in Cloud Storage bucket.
|
6397
6840
|
# Format: gs:////anomalies. Example: gs://monitoring_bucket/feature_name/
|
@@ -6607,6 +7050,329 @@ module Google
|
|
6607
7050
|
end
|
6608
7051
|
end
|
6609
7052
|
|
7053
|
+
# FeatureView is representation of values that the FeatureOnlineStore will serve
|
7054
|
+
# based on its syncConfig.
|
7055
|
+
class GoogleCloudAiplatformV1beta1FeatureView
|
7056
|
+
include Google::Apis::Core::Hashable
|
7057
|
+
|
7058
|
+
# Optional. Configures how data is supposed to be extracted from a BigQuery
|
7059
|
+
# source to be loaded onto the FeatureOnlineStore.
|
7060
|
+
# Corresponds to the JSON property `bigQuerySource`
|
7061
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource]
|
7062
|
+
attr_accessor :big_query_source
|
7063
|
+
|
7064
|
+
# Output only. Timestamp when this FeatureView was created.
|
7065
|
+
# Corresponds to the JSON property `createTime`
|
7066
|
+
# @return [String]
|
7067
|
+
attr_accessor :create_time
|
7068
|
+
|
7069
|
+
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
7070
|
+
# blind "overwrite" update happens.
|
7071
|
+
# Corresponds to the JSON property `etag`
|
7072
|
+
# @return [String]
|
7073
|
+
attr_accessor :etag
|
7074
|
+
|
7075
|
+
# A Feature Registry source for features that need to be synced to Online Store.
|
7076
|
+
# Corresponds to the JSON property `featureRegistrySource`
|
7077
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource]
|
7078
|
+
attr_accessor :feature_registry_source
|
7079
|
+
|
7080
|
+
# Optional. The labels with user-defined metadata to organize your FeatureViews.
|
7081
|
+
# Label keys and values can be no longer than 64 characters (Unicode codepoints),
|
7082
|
+
# can only contain lowercase letters, numeric characters, underscores and
|
7083
|
+
# dashes. International characters are allowed. See https://goo.gl/xmQnxf for
|
7084
|
+
# more information on and examples of labels. No more than 64 user labels can be
|
7085
|
+
# associated with one FeatureOnlineStore(System labels are excluded)." System
|
7086
|
+
# reserved label keys are prefixed with "aiplatform.googleapis.com/" and are
|
7087
|
+
# immutable.
|
7088
|
+
# Corresponds to the JSON property `labels`
|
7089
|
+
# @return [Hash<String,String>]
|
7090
|
+
attr_accessor :labels
|
7091
|
+
|
7092
|
+
# Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
|
7093
|
+
# location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
7094
|
+
# feature_view``
|
7095
|
+
# Corresponds to the JSON property `name`
|
7096
|
+
# @return [String]
|
7097
|
+
attr_accessor :name
|
7098
|
+
|
7099
|
+
# Configures when data is to be synced/updated for this FeatureView. At the end
|
7100
|
+
# of the sync the latest featureValues for each entityId of this FeatureView are
|
7101
|
+
# made ready for online serving.
|
7102
|
+
# Corresponds to the JSON property `syncConfig`
|
7103
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig]
|
7104
|
+
attr_accessor :sync_config
|
7105
|
+
|
7106
|
+
# Output only. Timestamp when this FeatureView was last updated.
|
7107
|
+
# Corresponds to the JSON property `updateTime`
|
7108
|
+
# @return [String]
|
7109
|
+
attr_accessor :update_time
|
7110
|
+
|
7111
|
+
# Configuration for vector search.
|
7112
|
+
# Corresponds to the JSON property `vectorSearchConfig`
|
7113
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig]
|
7114
|
+
attr_accessor :vector_search_config
|
7115
|
+
|
7116
|
+
def initialize(**args)
|
7117
|
+
update!(**args)
|
7118
|
+
end
|
7119
|
+
|
7120
|
+
# Update properties of this object
|
7121
|
+
def update!(**args)
|
7122
|
+
@big_query_source = args[:big_query_source] if args.key?(:big_query_source)
|
7123
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
7124
|
+
@etag = args[:etag] if args.key?(:etag)
|
7125
|
+
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
7126
|
+
@labels = args[:labels] if args.key?(:labels)
|
7127
|
+
@name = args[:name] if args.key?(:name)
|
7128
|
+
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
7129
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
7130
|
+
@vector_search_config = args[:vector_search_config] if args.key?(:vector_search_config)
|
7131
|
+
end
|
7132
|
+
end
|
7133
|
+
|
7134
|
+
#
|
7135
|
+
class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource
|
7136
|
+
include Google::Apis::Core::Hashable
|
7137
|
+
|
7138
|
+
# Required. Columns to construct entity_id / row keys. Start by supporting 1
|
7139
|
+
# only.
|
7140
|
+
# Corresponds to the JSON property `entityIdColumns`
|
7141
|
+
# @return [Array<String>]
|
7142
|
+
attr_accessor :entity_id_columns
|
7143
|
+
|
7144
|
+
# Required. The Bigquery View URI that will be materialized on each sync trigger
|
7145
|
+
# based on FeatureView.SyncConfig.
|
7146
|
+
# Corresponds to the JSON property `uri`
|
7147
|
+
# @return [String]
|
7148
|
+
attr_accessor :uri
|
7149
|
+
|
7150
|
+
def initialize(**args)
|
7151
|
+
update!(**args)
|
7152
|
+
end
|
7153
|
+
|
7154
|
+
# Update properties of this object
|
7155
|
+
def update!(**args)
|
7156
|
+
@entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
|
7157
|
+
@uri = args[:uri] if args.key?(:uri)
|
7158
|
+
end
|
7159
|
+
end
|
7160
|
+
|
7161
|
+
# A Feature Registry source for features that need to be synced to Online Store.
|
7162
|
+
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
|
7163
|
+
include Google::Apis::Core::Hashable
|
7164
|
+
|
7165
|
+
# Required. List of features that need to be synced to Online Store.
|
7166
|
+
# Corresponds to the JSON property `featureGroups`
|
7167
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup>]
|
7168
|
+
attr_accessor :feature_groups
|
7169
|
+
|
7170
|
+
def initialize(**args)
|
7171
|
+
update!(**args)
|
7172
|
+
end
|
7173
|
+
|
7174
|
+
# Update properties of this object
|
7175
|
+
def update!(**args)
|
7176
|
+
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
7177
|
+
end
|
7178
|
+
end
|
7179
|
+
|
7180
|
+
# Features belonging to a single feature group that will be synced to Online
|
7181
|
+
# Store.
|
7182
|
+
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup
|
7183
|
+
include Google::Apis::Core::Hashable
|
7184
|
+
|
7185
|
+
# Required. Identifier of the feature group.
|
7186
|
+
# Corresponds to the JSON property `featureGroupId`
|
7187
|
+
# @return [String]
|
7188
|
+
attr_accessor :feature_group_id
|
7189
|
+
|
7190
|
+
# Required. Identifiers of features under the feature group.
|
7191
|
+
# Corresponds to the JSON property `featureIds`
|
7192
|
+
# @return [Array<String>]
|
7193
|
+
attr_accessor :feature_ids
|
7194
|
+
|
7195
|
+
def initialize(**args)
|
7196
|
+
update!(**args)
|
7197
|
+
end
|
7198
|
+
|
7199
|
+
# Update properties of this object
|
7200
|
+
def update!(**args)
|
7201
|
+
@feature_group_id = args[:feature_group_id] if args.key?(:feature_group_id)
|
7202
|
+
@feature_ids = args[:feature_ids] if args.key?(:feature_ids)
|
7203
|
+
end
|
7204
|
+
end
|
7205
|
+
|
7206
|
+
# FeatureViewSync is a representation of sync operation which copies data from
|
7207
|
+
# data source to Feature View in Online Store.
|
7208
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSync
|
7209
|
+
include Google::Apis::Core::Hashable
|
7210
|
+
|
7211
|
+
# Output only. Time when this FeatureViewSync is created. Creation of a
|
7212
|
+
# FeatureViewSync means that the job is pending / waiting for sufficient
|
7213
|
+
# resources but may not have started the actual data transfer yet.
|
7214
|
+
# Corresponds to the JSON property `createTime`
|
7215
|
+
# @return [String]
|
7216
|
+
attr_accessor :create_time
|
7217
|
+
|
7218
|
+
# The `Status` type defines a logical error model that is suitable for different
|
7219
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
7220
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
7221
|
+
# data: error code, error message, and error details. You can find out more
|
7222
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
7223
|
+
# //cloud.google.com/apis/design/errors).
|
7224
|
+
# Corresponds to the JSON property `finalStatus`
|
7225
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleRpcStatus]
|
7226
|
+
attr_accessor :final_status
|
7227
|
+
|
7228
|
+
# Output only. Name of the FeatureViewSync. Format: `projects/`project`/
|
7229
|
+
# locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
7230
|
+
# feature_view`/featureViewSyncs/`feature_view_sync``
|
7231
|
+
# Corresponds to the JSON property `name`
|
7232
|
+
# @return [String]
|
7233
|
+
attr_accessor :name
|
7234
|
+
|
7235
|
+
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
7236
|
+
# Timestamp end (exclusive). The start must be less than or equal to the end.
|
7237
|
+
# When the start equals the end, the interval is empty (matches no time). When
|
7238
|
+
# both start and end are unspecified, the interval matches any time.
|
7239
|
+
# Corresponds to the JSON property `runTime`
|
7240
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleTypeInterval]
|
7241
|
+
attr_accessor :run_time
|
7242
|
+
|
7243
|
+
def initialize(**args)
|
7244
|
+
update!(**args)
|
7245
|
+
end
|
7246
|
+
|
7247
|
+
# Update properties of this object
|
7248
|
+
def update!(**args)
|
7249
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
7250
|
+
@final_status = args[:final_status] if args.key?(:final_status)
|
7251
|
+
@name = args[:name] if args.key?(:name)
|
7252
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
7253
|
+
end
|
7254
|
+
end
|
7255
|
+
|
7256
|
+
#
|
7257
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSyncConfig
|
7258
|
+
include Google::Apis::Core::Hashable
|
7259
|
+
|
7260
|
+
# Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs.
|
7261
|
+
# To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "
|
7262
|
+
# CRON_TZ=$`IANA_TIME_ZONE`" or "TZ=$`IANA_TIME_ZONE`". The $`IANA_TIME_ZONE`
|
7263
|
+
# may only be a valid string from IANA time zone database. For example, "CRON_TZ=
|
7264
|
+
# America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
|
7265
|
+
# Corresponds to the JSON property `cron`
|
7266
|
+
# @return [String]
|
7267
|
+
attr_accessor :cron
|
7268
|
+
|
7269
|
+
def initialize(**args)
|
7270
|
+
update!(**args)
|
7271
|
+
end
|
7272
|
+
|
7273
|
+
# Update properties of this object
|
7274
|
+
def update!(**args)
|
7275
|
+
@cron = args[:cron] if args.key?(:cron)
|
7276
|
+
end
|
7277
|
+
end
|
7278
|
+
|
7279
|
+
# Configuration for vector search.
|
7280
|
+
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
|
7281
|
+
include Google::Apis::Core::Hashable
|
7282
|
+
|
7283
|
+
# Optional. Configuration options for using brute force search, which simply
|
7284
|
+
# implements the standard linear search in the database for each query. It is
|
7285
|
+
# primarily meant for benchmarking and to generate the ground truth for
|
7286
|
+
# approximate search.
|
7287
|
+
# Corresponds to the JSON property `bruteForceConfig`
|
7288
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig]
|
7289
|
+
attr_accessor :brute_force_config
|
7290
|
+
|
7291
|
+
# Optional. Column of crowding. This column contains crowding attribute which is
|
7292
|
+
# a constraint on a neighbor list produced by nearest neighbor search requiring
|
7293
|
+
# that no more than some value k' of the k neighbors returned have the same
|
7294
|
+
# value of crowding_attribute.
|
7295
|
+
# Corresponds to the JSON property `crowdingColumn`
|
7296
|
+
# @return [String]
|
7297
|
+
attr_accessor :crowding_column
|
7298
|
+
|
7299
|
+
# Optional. The distance measure used in nearest neighbor search.
|
7300
|
+
# Corresponds to the JSON property `distanceMeasureType`
|
7301
|
+
# @return [String]
|
7302
|
+
attr_accessor :distance_measure_type
|
7303
|
+
|
7304
|
+
# Optional. Column of embedding. This column contains the source data to create
|
7305
|
+
# index for vector search. embedding_column must be set when using vector search.
|
7306
|
+
# Corresponds to the JSON property `embeddingColumn`
|
7307
|
+
# @return [String]
|
7308
|
+
attr_accessor :embedding_column
|
7309
|
+
|
7310
|
+
# Optional. The number of dimensions of the input embedding.
|
7311
|
+
# Corresponds to the JSON property `embeddingDimension`
|
7312
|
+
# @return [Fixnum]
|
7313
|
+
attr_accessor :embedding_dimension
|
7314
|
+
|
7315
|
+
# Optional. Columns of features that're used to filter vector search results.
|
7316
|
+
# Corresponds to the JSON property `filterColumns`
|
7317
|
+
# @return [Array<String>]
|
7318
|
+
attr_accessor :filter_columns
|
7319
|
+
|
7320
|
+
# Optional. Configuration options for the tree-AH algorithm (Shallow tree +
|
7321
|
+
# Asymmetric Hashing). Please refer to this paper for more details: https://
|
7322
|
+
# arxiv.org/abs/1908.10396
|
7323
|
+
# Corresponds to the JSON property `treeAhConfig`
|
7324
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAhConfig]
|
7325
|
+
attr_accessor :tree_ah_config
|
7326
|
+
|
7327
|
+
def initialize(**args)
|
7328
|
+
update!(**args)
|
7329
|
+
end
|
7330
|
+
|
7331
|
+
# Update properties of this object
|
7332
|
+
def update!(**args)
|
7333
|
+
@brute_force_config = args[:brute_force_config] if args.key?(:brute_force_config)
|
7334
|
+
@crowding_column = args[:crowding_column] if args.key?(:crowding_column)
|
7335
|
+
@distance_measure_type = args[:distance_measure_type] if args.key?(:distance_measure_type)
|
7336
|
+
@embedding_column = args[:embedding_column] if args.key?(:embedding_column)
|
7337
|
+
@embedding_dimension = args[:embedding_dimension] if args.key?(:embedding_dimension)
|
7338
|
+
@filter_columns = args[:filter_columns] if args.key?(:filter_columns)
|
7339
|
+
@tree_ah_config = args[:tree_ah_config] if args.key?(:tree_ah_config)
|
7340
|
+
end
|
7341
|
+
end
|
7342
|
+
|
7343
|
+
#
|
7344
|
+
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigBruteForceConfig
|
7345
|
+
include Google::Apis::Core::Hashable
|
7346
|
+
|
7347
|
+
def initialize(**args)
|
7348
|
+
update!(**args)
|
7349
|
+
end
|
7350
|
+
|
7351
|
+
# Update properties of this object
|
7352
|
+
def update!(**args)
|
7353
|
+
end
|
7354
|
+
end
|
7355
|
+
|
7356
|
+
#
|
7357
|
+
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfigTreeAhConfig
|
7358
|
+
include Google::Apis::Core::Hashable
|
7359
|
+
|
7360
|
+
# Optional. Number of embeddings on each leaf node. The default value is 1000 if
|
7361
|
+
# not set.
|
7362
|
+
# Corresponds to the JSON property `leafNodeEmbeddingCount`
|
7363
|
+
# @return [Fixnum]
|
7364
|
+
attr_accessor :leaf_node_embedding_count
|
7365
|
+
|
7366
|
+
def initialize(**args)
|
7367
|
+
update!(**args)
|
7368
|
+
end
|
7369
|
+
|
7370
|
+
# Update properties of this object
|
7371
|
+
def update!(**args)
|
7372
|
+
@leaf_node_embedding_count = args[:leaf_node_embedding_count] if args.key?(:leaf_node_embedding_count)
|
7373
|
+
end
|
7374
|
+
end
|
7375
|
+
|
6610
7376
|
# Vertex AI Feature Store provides a centralized repository for organizing,
|
6611
7377
|
# storing, and serving ML features. The Featurestore is a top-level container
|
6612
7378
|
# for your features and their values.
|
@@ -6908,6 +7674,104 @@ module Google
|
|
6908
7674
|
end
|
6909
7675
|
end
|
6910
7676
|
|
7677
|
+
# Request message for FeatureOnlineStoreService.FetchFeatureValues. All the
|
7678
|
+
# features under the requested feature view will be returned.
|
7679
|
+
class GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest
|
7680
|
+
include Google::Apis::Core::Hashable
|
7681
|
+
|
7682
|
+
# Specify response data format. If not set, KeyValue format will be used.
|
7683
|
+
# Corresponds to the JSON property `format`
|
7684
|
+
# @return [String]
|
7685
|
+
attr_accessor :format
|
7686
|
+
|
7687
|
+
# Simple ID. The whole string will be used as is to identify Entity to fetch
|
7688
|
+
# feature values for.
|
7689
|
+
# Corresponds to the JSON property `id`
|
7690
|
+
# @return [String]
|
7691
|
+
attr_accessor :id
|
7692
|
+
|
7693
|
+
def initialize(**args)
|
7694
|
+
update!(**args)
|
7695
|
+
end
|
7696
|
+
|
7697
|
+
# Update properties of this object
|
7698
|
+
def update!(**args)
|
7699
|
+
@format = args[:format] if args.key?(:format)
|
7700
|
+
@id = args[:id] if args.key?(:id)
|
7701
|
+
end
|
7702
|
+
end
|
7703
|
+
|
7704
|
+
# Response message for FeatureOnlineStoreService.FetchFeatureValues
|
7705
|
+
class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse
|
7706
|
+
include Google::Apis::Core::Hashable
|
7707
|
+
|
7708
|
+
# Response structure in the format of key (feature name) and (feature) value
|
7709
|
+
# pair.
|
7710
|
+
# Corresponds to the JSON property `keyValues`
|
7711
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairList]
|
7712
|
+
attr_accessor :key_values
|
7713
|
+
|
7714
|
+
# Feature values in proto Struct format.
|
7715
|
+
# Corresponds to the JSON property `protoStruct`
|
7716
|
+
# @return [Hash<String,Object>]
|
7717
|
+
attr_accessor :proto_struct
|
7718
|
+
|
7719
|
+
def initialize(**args)
|
7720
|
+
update!(**args)
|
7721
|
+
end
|
7722
|
+
|
7723
|
+
# Update properties of this object
|
7724
|
+
def update!(**args)
|
7725
|
+
@key_values = args[:key_values] if args.key?(:key_values)
|
7726
|
+
@proto_struct = args[:proto_struct] if args.key?(:proto_struct)
|
7727
|
+
end
|
7728
|
+
end
|
7729
|
+
|
7730
|
+
# Response structure in the format of key (feature name) and (feature) value
|
7731
|
+
# pair.
|
7732
|
+
class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairList
|
7733
|
+
include Google::Apis::Core::Hashable
|
7734
|
+
|
7735
|
+
# List of feature names and values.
|
7736
|
+
# Corresponds to the JSON property `features`
|
7737
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair>]
|
7738
|
+
attr_accessor :features
|
7739
|
+
|
7740
|
+
def initialize(**args)
|
7741
|
+
update!(**args)
|
7742
|
+
end
|
7743
|
+
|
7744
|
+
# Update properties of this object
|
7745
|
+
def update!(**args)
|
7746
|
+
@features = args[:features] if args.key?(:features)
|
7747
|
+
end
|
7748
|
+
end
|
7749
|
+
|
7750
|
+
# Feature name & value pair.
|
7751
|
+
class GoogleCloudAiplatformV1beta1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair
|
7752
|
+
include Google::Apis::Core::Hashable
|
7753
|
+
|
7754
|
+
# Feature short name.
|
7755
|
+
# Corresponds to the JSON property `name`
|
7756
|
+
# @return [String]
|
7757
|
+
attr_accessor :name
|
7758
|
+
|
7759
|
+
# Value for a feature.
|
7760
|
+
# Corresponds to the JSON property `value`
|
7761
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue]
|
7762
|
+
attr_accessor :value
|
7763
|
+
|
7764
|
+
def initialize(**args)
|
7765
|
+
update!(**args)
|
7766
|
+
end
|
7767
|
+
|
7768
|
+
# Update properties of this object
|
7769
|
+
def update!(**args)
|
7770
|
+
@name = args[:name] if args.key?(:name)
|
7771
|
+
@value = args[:value] if args.key?(:value)
|
7772
|
+
end
|
7773
|
+
end
|
7774
|
+
|
6911
7775
|
# Assigns input data to training, validation, and test sets based on the given
|
6912
7776
|
# filters, data pieces not matched by any filter are ignored. Currently only
|
6913
7777
|
# supported for Datasets containing DataItems. If any of the filters in this
|
@@ -7278,7 +8142,29 @@ module Google
|
|
7278
8142
|
# operation has finished (successfully or not), this is the finish time.
|
7279
8143
|
# Corresponds to the JSON property `updateTime`
|
7280
8144
|
# @return [String]
|
7281
|
-
attr_accessor :update_time
|
8145
|
+
attr_accessor :update_time
|
8146
|
+
|
8147
|
+
def initialize(**args)
|
8148
|
+
update!(**args)
|
8149
|
+
end
|
8150
|
+
|
8151
|
+
# Update properties of this object
|
8152
|
+
def update!(**args)
|
8153
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8154
|
+
@partial_failures = args[:partial_failures] if args.key?(:partial_failures)
|
8155
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8156
|
+
end
|
8157
|
+
end
|
8158
|
+
|
8159
|
+
# Contains information about the source of the models generated from Generative
|
8160
|
+
# AI Studio.
|
8161
|
+
class GoogleCloudAiplatformV1beta1GenieSource
|
8162
|
+
include Google::Apis::Core::Hashable
|
8163
|
+
|
8164
|
+
# Required. The public base model URI.
|
8165
|
+
# Corresponds to the JSON property `baseModelUri`
|
8166
|
+
# @return [String]
|
8167
|
+
attr_accessor :base_model_uri
|
7282
8168
|
|
7283
8169
|
def initialize(**args)
|
7284
8170
|
update!(**args)
|
@@ -7286,9 +8172,7 @@ module Google
|
|
7286
8172
|
|
7287
8173
|
# Update properties of this object
|
7288
8174
|
def update!(**args)
|
7289
|
-
@
|
7290
|
-
@partial_failures = args[:partial_failures] if args.key?(:partial_failures)
|
7291
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
8175
|
+
@base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
|
7292
8176
|
end
|
7293
8177
|
end
|
7294
8178
|
|
@@ -8619,6 +9503,31 @@ module Google
|
|
8619
9503
|
end
|
8620
9504
|
end
|
8621
9505
|
|
9506
|
+
# Response message for DatasetService.ListDatasetVersions.
|
9507
|
+
class GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse
|
9508
|
+
include Google::Apis::Core::Hashable
|
9509
|
+
|
9510
|
+
# A list of DatasetVersions that matches the specified filter in the request.
|
9511
|
+
# Corresponds to the JSON property `datasetVersions`
|
9512
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion>]
|
9513
|
+
attr_accessor :dataset_versions
|
9514
|
+
|
9515
|
+
# The standard List next-page token.
|
9516
|
+
# Corresponds to the JSON property `nextPageToken`
|
9517
|
+
# @return [String]
|
9518
|
+
attr_accessor :next_page_token
|
9519
|
+
|
9520
|
+
def initialize(**args)
|
9521
|
+
update!(**args)
|
9522
|
+
end
|
9523
|
+
|
9524
|
+
# Update properties of this object
|
9525
|
+
def update!(**args)
|
9526
|
+
@dataset_versions = args[:dataset_versions] if args.key?(:dataset_versions)
|
9527
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9528
|
+
end
|
9529
|
+
end
|
9530
|
+
|
8622
9531
|
# Response message for DatasetService.ListDatasets.
|
8623
9532
|
class GoogleCloudAiplatformV1beta1ListDatasetsResponse
|
8624
9533
|
include Google::Apis::Core::Hashable
|
@@ -8748,7 +9657,114 @@ module Google
|
|
8748
9657
|
end
|
8749
9658
|
end
|
8750
9659
|
|
8751
|
-
# Response message for
|
9660
|
+
# Response message for FeatureRegistryService.ListFeatureGroups.
|
9661
|
+
class GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse
|
9662
|
+
include Google::Apis::Core::Hashable
|
9663
|
+
|
9664
|
+
# The FeatureGroups matching the request.
|
9665
|
+
# Corresponds to the JSON property `featureGroups`
|
9666
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup>]
|
9667
|
+
attr_accessor :feature_groups
|
9668
|
+
|
9669
|
+
# A token, which can be sent as ListFeatureGroupsRequest.page_token to retrieve
|
9670
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
9671
|
+
# Corresponds to the JSON property `nextPageToken`
|
9672
|
+
# @return [String]
|
9673
|
+
attr_accessor :next_page_token
|
9674
|
+
|
9675
|
+
def initialize(**args)
|
9676
|
+
update!(**args)
|
9677
|
+
end
|
9678
|
+
|
9679
|
+
# Update properties of this object
|
9680
|
+
def update!(**args)
|
9681
|
+
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
9682
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9683
|
+
end
|
9684
|
+
end
|
9685
|
+
|
9686
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureOnlineStores.
|
9687
|
+
class GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse
|
9688
|
+
include Google::Apis::Core::Hashable
|
9689
|
+
|
9690
|
+
# The FeatureOnlineStores matching the request.
|
9691
|
+
# Corresponds to the JSON property `featureOnlineStores`
|
9692
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore>]
|
9693
|
+
attr_accessor :feature_online_stores
|
9694
|
+
|
9695
|
+
# A token, which can be sent as ListFeatureOnlineStoresRequest.page_token to
|
9696
|
+
# retrieve the next page. If this field is omitted, there are no subsequent
|
9697
|
+
# pages.
|
9698
|
+
# Corresponds to the JSON property `nextPageToken`
|
9699
|
+
# @return [String]
|
9700
|
+
attr_accessor :next_page_token
|
9701
|
+
|
9702
|
+
def initialize(**args)
|
9703
|
+
update!(**args)
|
9704
|
+
end
|
9705
|
+
|
9706
|
+
# Update properties of this object
|
9707
|
+
def update!(**args)
|
9708
|
+
@feature_online_stores = args[:feature_online_stores] if args.key?(:feature_online_stores)
|
9709
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9710
|
+
end
|
9711
|
+
end
|
9712
|
+
|
9713
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureViewSyncs.
|
9714
|
+
class GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse
|
9715
|
+
include Google::Apis::Core::Hashable
|
9716
|
+
|
9717
|
+
# The FeatureViewSyncs matching the request.
|
9718
|
+
# Corresponds to the JSON property `featureViewSyncs`
|
9719
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSync>]
|
9720
|
+
attr_accessor :feature_view_syncs
|
9721
|
+
|
9722
|
+
# A token, which can be sent as ListFeatureViewSyncsRequest.page_token to
|
9723
|
+
# retrieve the next page. If this field is omitted, there are no subsequent
|
9724
|
+
# pages.
|
9725
|
+
# Corresponds to the JSON property `nextPageToken`
|
9726
|
+
# @return [String]
|
9727
|
+
attr_accessor :next_page_token
|
9728
|
+
|
9729
|
+
def initialize(**args)
|
9730
|
+
update!(**args)
|
9731
|
+
end
|
9732
|
+
|
9733
|
+
# Update properties of this object
|
9734
|
+
def update!(**args)
|
9735
|
+
@feature_view_syncs = args[:feature_view_syncs] if args.key?(:feature_view_syncs)
|
9736
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9737
|
+
end
|
9738
|
+
end
|
9739
|
+
|
9740
|
+
# Response message for FeatureOnlineStoreAdminService.ListFeatureViews.
|
9741
|
+
class GoogleCloudAiplatformV1beta1ListFeatureViewsResponse
|
9742
|
+
include Google::Apis::Core::Hashable
|
9743
|
+
|
9744
|
+
# The FeatureViews matching the request.
|
9745
|
+
# Corresponds to the JSON property `featureViews`
|
9746
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView>]
|
9747
|
+
attr_accessor :feature_views
|
9748
|
+
|
9749
|
+
# A token, which can be sent as ListFeatureViewsRequest.page_token to retrieve
|
9750
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
9751
|
+
# Corresponds to the JSON property `nextPageToken`
|
9752
|
+
# @return [String]
|
9753
|
+
attr_accessor :next_page_token
|
9754
|
+
|
9755
|
+
def initialize(**args)
|
9756
|
+
update!(**args)
|
9757
|
+
end
|
9758
|
+
|
9759
|
+
# Update properties of this object
|
9760
|
+
def update!(**args)
|
9761
|
+
@feature_views = args[:feature_views] if args.key?(:feature_views)
|
9762
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
9763
|
+
end
|
9764
|
+
end
|
9765
|
+
|
9766
|
+
# Response message for FeaturestoreService.ListFeatures. Response message for
|
9767
|
+
# FeatureRegistryService.ListFeatures.
|
8752
9768
|
class GoogleCloudAiplatformV1beta1ListFeaturesResponse
|
8753
9769
|
include Google::Apis::Core::Hashable
|
8754
9770
|
|
@@ -9254,6 +10270,32 @@ module Google
|
|
9254
10270
|
end
|
9255
10271
|
end
|
9256
10272
|
|
10273
|
+
# Response message for ModelGardenService.ListPublisherModels.
|
10274
|
+
class GoogleCloudAiplatformV1beta1ListPublisherModelsResponse
|
10275
|
+
include Google::Apis::Core::Hashable
|
10276
|
+
|
10277
|
+
# A token to retrieve next page of results. Pass to ListPublisherModels.
|
10278
|
+
# page_token to obtain that page.
|
10279
|
+
# Corresponds to the JSON property `nextPageToken`
|
10280
|
+
# @return [String]
|
10281
|
+
attr_accessor :next_page_token
|
10282
|
+
|
10283
|
+
# List of PublisherModels in the requested page.
|
10284
|
+
# Corresponds to the JSON property `publisherModels`
|
10285
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModel>]
|
10286
|
+
attr_accessor :publisher_models
|
10287
|
+
|
10288
|
+
def initialize(**args)
|
10289
|
+
update!(**args)
|
10290
|
+
end
|
10291
|
+
|
10292
|
+
# Update properties of this object
|
10293
|
+
def update!(**args)
|
10294
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
10295
|
+
@publisher_models = args[:publisher_models] if args.key?(:publisher_models)
|
10296
|
+
end
|
10297
|
+
end
|
10298
|
+
|
9257
10299
|
# Response message for DatasetService.ListSavedQueries.
|
9258
10300
|
class GoogleCloudAiplatformV1beta1ListSavedQueriesResponse
|
9259
10301
|
include Google::Apis::Core::Hashable
|
@@ -10273,6 +11315,12 @@ module Google
|
|
10273
11315
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExplanationSpec]
|
10274
11316
|
attr_accessor :explanation_spec
|
10275
11317
|
|
11318
|
+
# Used to specify the source of the Model Garden model or Genie models. Only
|
11319
|
+
# present for models created or tuned from Model Garden and Genie.
|
11320
|
+
# Corresponds to the JSON property `generatedModelSource`
|
11321
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGeneratedModelSource]
|
11322
|
+
attr_accessor :generated_model_source
|
11323
|
+
|
10276
11324
|
# The labels with user-defined metadata to organize your Models. Label keys and
|
10277
11325
|
# values can be no longer than 64 characters (Unicode codepoints), can only
|
10278
11326
|
# contain lowercase letters, numeric characters, underscores and dashes.
|
@@ -10446,6 +11494,7 @@ module Google
|
|
10446
11494
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
10447
11495
|
@etag = args[:etag] if args.key?(:etag)
|
10448
11496
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
11497
|
+
@generated_model_source = args[:generated_model_source] if args.key?(:generated_model_source)
|
10449
11498
|
@labels = args[:labels] if args.key?(:labels)
|
10450
11499
|
@metadata = args[:metadata] if args.key?(:metadata)
|
10451
11500
|
@metadata_artifact = args[:metadata_artifact] if args.key?(:metadata_artifact)
|
@@ -11367,6 +12416,54 @@ module Google
|
|
11367
12416
|
end
|
11368
12417
|
end
|
11369
12418
|
|
12419
|
+
# Contains information about the source of the models generated from Model
|
12420
|
+
# Garden.
|
12421
|
+
class GoogleCloudAiplatformV1beta1ModelGardenSource
|
12422
|
+
include Google::Apis::Core::Hashable
|
12423
|
+
|
12424
|
+
# Required. The model garden source model resource name.
|
12425
|
+
# Corresponds to the JSON property `publicModelName`
|
12426
|
+
# @return [String]
|
12427
|
+
attr_accessor :public_model_name
|
12428
|
+
|
12429
|
+
def initialize(**args)
|
12430
|
+
update!(**args)
|
12431
|
+
end
|
12432
|
+
|
12433
|
+
# Update properties of this object
|
12434
|
+
def update!(**args)
|
12435
|
+
@public_model_name = args[:public_model_name] if args.key?(:public_model_name)
|
12436
|
+
end
|
12437
|
+
end
|
12438
|
+
|
12439
|
+
# Used to specify the source of the Model Garden model or Genie models. Only
|
12440
|
+
# present for models created or tuned from Model Garden and Genie.
|
12441
|
+
class GoogleCloudAiplatformV1beta1ModelGeneratedModelSource
|
12442
|
+
include Google::Apis::Core::Hashable
|
12443
|
+
|
12444
|
+
# Contains information about the source of the models generated from Generative
|
12445
|
+
# AI Studio.
|
12446
|
+
# Corresponds to the JSON property `genieSource`
|
12447
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource]
|
12448
|
+
attr_accessor :genie_source
|
12449
|
+
|
12450
|
+
# Contains information about the source of the models generated from Model
|
12451
|
+
# Garden.
|
12452
|
+
# Corresponds to the JSON property `modelGardenSource`
|
12453
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource]
|
12454
|
+
attr_accessor :model_garden_source
|
12455
|
+
|
12456
|
+
def initialize(**args)
|
12457
|
+
update!(**args)
|
12458
|
+
end
|
12459
|
+
|
12460
|
+
# Update properties of this object
|
12461
|
+
def update!(**args)
|
12462
|
+
@genie_source = args[:genie_source] if args.key?(:genie_source)
|
12463
|
+
@model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
|
12464
|
+
end
|
12465
|
+
end
|
12466
|
+
|
11370
12467
|
#
|
11371
12468
|
class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
|
11372
12469
|
include Google::Apis::Core::Hashable
|
@@ -12262,20 +13359,164 @@ module Google
|
|
12262
13359
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Measurement]
|
12263
13360
|
attr_accessor :final_measurement
|
12264
13361
|
|
12265
|
-
# Output only. The identifier of the NasTrial assigned by the service.
|
12266
|
-
# Corresponds to the JSON property `id`
|
12267
|
-
# @return [String]
|
12268
|
-
attr_accessor :id
|
13362
|
+
# Output only. The identifier of the NasTrial assigned by the service.
|
13363
|
+
# Corresponds to the JSON property `id`
|
13364
|
+
# @return [String]
|
13365
|
+
attr_accessor :id
|
13366
|
+
|
13367
|
+
# Output only. Time when the NasTrial was started.
|
13368
|
+
# Corresponds to the JSON property `startTime`
|
13369
|
+
# @return [String]
|
13370
|
+
attr_accessor :start_time
|
13371
|
+
|
13372
|
+
# Output only. The detailed state of the NasTrial.
|
13373
|
+
# Corresponds to the JSON property `state`
|
13374
|
+
# @return [String]
|
13375
|
+
attr_accessor :state
|
13376
|
+
|
13377
|
+
def initialize(**args)
|
13378
|
+
update!(**args)
|
13379
|
+
end
|
13380
|
+
|
13381
|
+
# Update properties of this object
|
13382
|
+
def update!(**args)
|
13383
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
13384
|
+
@final_measurement = args[:final_measurement] if args.key?(:final_measurement)
|
13385
|
+
@id = args[:id] if args.key?(:id)
|
13386
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
13387
|
+
@state = args[:state] if args.key?(:state)
|
13388
|
+
end
|
13389
|
+
end
|
13390
|
+
|
13391
|
+
# Represents a NasTrial details along with its parameters. If there is a
|
13392
|
+
# corresponding train NasTrial, the train NasTrial is also returned.
|
13393
|
+
class GoogleCloudAiplatformV1beta1NasTrialDetail
|
13394
|
+
include Google::Apis::Core::Hashable
|
13395
|
+
|
13396
|
+
# Output only. Resource name of the NasTrialDetail.
|
13397
|
+
# Corresponds to the JSON property `name`
|
13398
|
+
# @return [String]
|
13399
|
+
attr_accessor :name
|
13400
|
+
|
13401
|
+
# The parameters for the NasJob NasTrial.
|
13402
|
+
# Corresponds to the JSON property `parameters`
|
13403
|
+
# @return [String]
|
13404
|
+
attr_accessor :parameters
|
13405
|
+
|
13406
|
+
# Represents a uCAIP NasJob trial.
|
13407
|
+
# Corresponds to the JSON property `searchTrial`
|
13408
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial]
|
13409
|
+
attr_accessor :search_trial
|
13410
|
+
|
13411
|
+
# Represents a uCAIP NasJob trial.
|
13412
|
+
# Corresponds to the JSON property `trainTrial`
|
13413
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial]
|
13414
|
+
attr_accessor :train_trial
|
13415
|
+
|
13416
|
+
def initialize(**args)
|
13417
|
+
update!(**args)
|
13418
|
+
end
|
13419
|
+
|
13420
|
+
# Update properties of this object
|
13421
|
+
def update!(**args)
|
13422
|
+
@name = args[:name] if args.key?(:name)
|
13423
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
13424
|
+
@search_trial = args[:search_trial] if args.key?(:search_trial)
|
13425
|
+
@train_trial = args[:train_trial] if args.key?(:train_trial)
|
13426
|
+
end
|
13427
|
+
end
|
13428
|
+
|
13429
|
+
# A query to find a number of similar entities.
|
13430
|
+
class GoogleCloudAiplatformV1beta1NearestNeighborQuery
|
13431
|
+
include Google::Apis::Core::Hashable
|
13432
|
+
|
13433
|
+
# The embedding vector.
|
13434
|
+
# Corresponds to the JSON property `embedding`
|
13435
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborQueryEmbedding]
|
13436
|
+
attr_accessor :embedding
|
13437
|
+
|
13438
|
+
# Optional. The entity id whose similar entities should be searched for. If
|
13439
|
+
# embedding is set, search will use embedding instead of entity_id.
|
13440
|
+
# Corresponds to the JSON property `entityId`
|
13441
|
+
# @return [String]
|
13442
|
+
attr_accessor :entity_id
|
13443
|
+
|
13444
|
+
# Optional. The number of similar entities to be retrieved from feature view for
|
13445
|
+
# each query.
|
13446
|
+
# Corresponds to the JSON property `neighborCount`
|
13447
|
+
# @return [Fixnum]
|
13448
|
+
attr_accessor :neighbor_count
|
13449
|
+
|
13450
|
+
# Parameters that can be overrided in each query to tune query latency and
|
13451
|
+
# recall.
|
13452
|
+
# Corresponds to the JSON property `parameters`
|
13453
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters]
|
13454
|
+
attr_accessor :parameters
|
13455
|
+
|
13456
|
+
# Optional. Crowding is a constraint on a neighbor list produced by nearest
|
13457
|
+
# neighbor search requiring that no more than
|
13458
|
+
# sper_crowding_attribute_neighbor_count of the k neighbors returned have the
|
13459
|
+
# same value of crowding_attribute. It's used for improving result diversity.
|
13460
|
+
# Corresponds to the JSON property `perCrowdingAttributeNeighborCount`
|
13461
|
+
# @return [Fixnum]
|
13462
|
+
attr_accessor :per_crowding_attribute_neighbor_count
|
13463
|
+
|
13464
|
+
# Optional. The list of string filters.
|
13465
|
+
# Corresponds to the JSON property `stringFilters`
|
13466
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter>]
|
13467
|
+
attr_accessor :string_filters
|
13468
|
+
|
13469
|
+
def initialize(**args)
|
13470
|
+
update!(**args)
|
13471
|
+
end
|
13472
|
+
|
13473
|
+
# Update properties of this object
|
13474
|
+
def update!(**args)
|
13475
|
+
@embedding = args[:embedding] if args.key?(:embedding)
|
13476
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
13477
|
+
@neighbor_count = args[:neighbor_count] if args.key?(:neighbor_count)
|
13478
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
13479
|
+
@per_crowding_attribute_neighbor_count = args[:per_crowding_attribute_neighbor_count] if args.key?(:per_crowding_attribute_neighbor_count)
|
13480
|
+
@string_filters = args[:string_filters] if args.key?(:string_filters)
|
13481
|
+
end
|
13482
|
+
end
|
13483
|
+
|
13484
|
+
# The embedding vector.
|
13485
|
+
class GoogleCloudAiplatformV1beta1NearestNeighborQueryEmbedding
|
13486
|
+
include Google::Apis::Core::Hashable
|
13487
|
+
|
13488
|
+
# Optional. Individual value in the embedding.
|
13489
|
+
# Corresponds to the JSON property `value`
|
13490
|
+
# @return [Array<Float>]
|
13491
|
+
attr_accessor :value
|
13492
|
+
|
13493
|
+
def initialize(**args)
|
13494
|
+
update!(**args)
|
13495
|
+
end
|
13496
|
+
|
13497
|
+
# Update properties of this object
|
13498
|
+
def update!(**args)
|
13499
|
+
@value = args[:value] if args.key?(:value)
|
13500
|
+
end
|
13501
|
+
end
|
13502
|
+
|
13503
|
+
# Parameters that can be overrided in each query to tune query latency and
|
13504
|
+
# recall.
|
13505
|
+
class GoogleCloudAiplatformV1beta1NearestNeighborQueryParameters
|
13506
|
+
include Google::Apis::Core::Hashable
|
12269
13507
|
|
12270
|
-
#
|
12271
|
-
#
|
12272
|
-
#
|
12273
|
-
|
13508
|
+
# Optional. The number of neighbors to find via approximate search before exact
|
13509
|
+
# reordering is performed; if set, this value must be > neighbor_count.
|
13510
|
+
# Corresponds to the JSON property `approximateNeighborCandidates`
|
13511
|
+
# @return [Fixnum]
|
13512
|
+
attr_accessor :approximate_neighbor_candidates
|
12274
13513
|
|
12275
|
-
#
|
12276
|
-
#
|
12277
|
-
#
|
12278
|
-
|
13514
|
+
# Optional. The fraction of the number of leaves to search, set at query time
|
13515
|
+
# allows user to tune search performance. This value increase result in both
|
13516
|
+
# search accuracy and latency increase. The value should be between 0.0 and 1.0.
|
13517
|
+
# Corresponds to the JSON property `leafNodesSearchFraction`
|
13518
|
+
# @return [Float]
|
13519
|
+
attr_accessor :leaf_nodes_search_fraction
|
12279
13520
|
|
12280
13521
|
def initialize(**args)
|
12281
13522
|
update!(**args)
|
@@ -12283,49 +13524,44 @@ module Google
|
|
12283
13524
|
|
12284
13525
|
# Update properties of this object
|
12285
13526
|
def update!(**args)
|
12286
|
-
@
|
12287
|
-
@
|
12288
|
-
@id = args[:id] if args.key?(:id)
|
12289
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
12290
|
-
@state = args[:state] if args.key?(:state)
|
13527
|
+
@approximate_neighbor_candidates = args[:approximate_neighbor_candidates] if args.key?(:approximate_neighbor_candidates)
|
13528
|
+
@leaf_nodes_search_fraction = args[:leaf_nodes_search_fraction] if args.key?(:leaf_nodes_search_fraction)
|
12291
13529
|
end
|
12292
13530
|
end
|
12293
13531
|
|
12294
|
-
#
|
12295
|
-
#
|
12296
|
-
|
13532
|
+
# String filter is used to search a subset of the entities by using boolean
|
13533
|
+
# rules. For example: if a query specifies string filter with 'name = color,
|
13534
|
+
# allow_tokens = `red, blue`, deny_tokens = `purple`',' then that query will
|
13535
|
+
# match entities that are red or blue, but if those points are also purple, then
|
13536
|
+
# they will be excluded even if they are red/blue. Only string filter is
|
13537
|
+
# supported for now, numeric filter will be supported in the near future.
|
13538
|
+
class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter
|
12297
13539
|
include Google::Apis::Core::Hashable
|
12298
13540
|
|
12299
|
-
#
|
13541
|
+
# Optional. The allowed tokens.
|
13542
|
+
# Corresponds to the JSON property `allowTokens`
|
13543
|
+
# @return [Array<String>]
|
13544
|
+
attr_accessor :allow_tokens
|
13545
|
+
|
13546
|
+
# Optional. The denied tokens.
|
13547
|
+
# Corresponds to the JSON property `denyTokens`
|
13548
|
+
# @return [Array<String>]
|
13549
|
+
attr_accessor :deny_tokens
|
13550
|
+
|
13551
|
+
# Required. Column names in BigQuery that used as filters.
|
12300
13552
|
# Corresponds to the JSON property `name`
|
12301
13553
|
# @return [String]
|
12302
13554
|
attr_accessor :name
|
12303
13555
|
|
12304
|
-
# The parameters for the NasJob NasTrial.
|
12305
|
-
# Corresponds to the JSON property `parameters`
|
12306
|
-
# @return [String]
|
12307
|
-
attr_accessor :parameters
|
12308
|
-
|
12309
|
-
# Represents a uCAIP NasJob trial.
|
12310
|
-
# Corresponds to the JSON property `searchTrial`
|
12311
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial]
|
12312
|
-
attr_accessor :search_trial
|
12313
|
-
|
12314
|
-
# Represents a uCAIP NasJob trial.
|
12315
|
-
# Corresponds to the JSON property `trainTrial`
|
12316
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NasTrial]
|
12317
|
-
attr_accessor :train_trial
|
12318
|
-
|
12319
13556
|
def initialize(**args)
|
12320
13557
|
update!(**args)
|
12321
13558
|
end
|
12322
13559
|
|
12323
13560
|
# Update properties of this object
|
12324
13561
|
def update!(**args)
|
13562
|
+
@allow_tokens = args[:allow_tokens] if args.key?(:allow_tokens)
|
13563
|
+
@deny_tokens = args[:deny_tokens] if args.key?(:deny_tokens)
|
12325
13564
|
@name = args[:name] if args.key?(:name)
|
12326
|
-
@parameters = args[:parameters] if args.key?(:parameters)
|
12327
|
-
@search_trial = args[:search_trial] if args.key?(:search_trial)
|
12328
|
-
@train_trial = args[:train_trial] if args.key?(:train_trial)
|
12329
13565
|
end
|
12330
13566
|
end
|
12331
13567
|
|
@@ -12441,6 +13677,56 @@ module Google
|
|
12441
13677
|
end
|
12442
13678
|
end
|
12443
13679
|
|
13680
|
+
# Nearest neighbors for one query.
|
13681
|
+
class GoogleCloudAiplatformV1beta1NearestNeighbors
|
13682
|
+
include Google::Apis::Core::Hashable
|
13683
|
+
|
13684
|
+
# All its neighbors.
|
13685
|
+
# Corresponds to the JSON property `neighbors`
|
13686
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborsNeighbor>]
|
13687
|
+
attr_accessor :neighbors
|
13688
|
+
|
13689
|
+
def initialize(**args)
|
13690
|
+
update!(**args)
|
13691
|
+
end
|
13692
|
+
|
13693
|
+
# Update properties of this object
|
13694
|
+
def update!(**args)
|
13695
|
+
@neighbors = args[:neighbors] if args.key?(:neighbors)
|
13696
|
+
end
|
13697
|
+
end
|
13698
|
+
|
13699
|
+
# A neighbor of the query vector.
|
13700
|
+
class GoogleCloudAiplatformV1beta1NearestNeighborsNeighbor
|
13701
|
+
include Google::Apis::Core::Hashable
|
13702
|
+
|
13703
|
+
# The distance between the neighbor and the query vector.
|
13704
|
+
# Corresponds to the JSON property `distance`
|
13705
|
+
# @return [Float]
|
13706
|
+
attr_accessor :distance
|
13707
|
+
|
13708
|
+
# The id of the similar entity.
|
13709
|
+
# Corresponds to the JSON property `entityId`
|
13710
|
+
# @return [String]
|
13711
|
+
attr_accessor :entity_id
|
13712
|
+
|
13713
|
+
# Response message for FeatureOnlineStoreService.FetchFeatureValues
|
13714
|
+
# Corresponds to the JSON property `entityKeyValues`
|
13715
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse]
|
13716
|
+
attr_accessor :entity_key_values
|
13717
|
+
|
13718
|
+
def initialize(**args)
|
13719
|
+
update!(**args)
|
13720
|
+
end
|
13721
|
+
|
13722
|
+
# Update properties of this object
|
13723
|
+
def update!(**args)
|
13724
|
+
@distance = args[:distance] if args.key?(:distance)
|
13725
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
13726
|
+
@entity_key_values = args[:entity_key_values] if args.key?(:entity_key_values)
|
13727
|
+
end
|
13728
|
+
end
|
13729
|
+
|
12444
13730
|
# Neighbors for example-based explanations.
|
12445
13731
|
class GoogleCloudAiplatformV1beta1Neighbor
|
12446
13732
|
include Google::Apis::Core::Hashable
|
@@ -12637,14 +13923,14 @@ module Google
|
|
12637
13923
|
# keys and values can be no longer than 64 characters (Unicode codepoints), can
|
12638
13924
|
# only contain lowercase letters, numeric characters, underscores and dashes.
|
12639
13925
|
# International characters are allowed. No more than 64 user labels can be
|
12640
|
-
# associated with one
|
12641
|
-
# xmQnxf for more information and examples of labels. System reserved
|
12642
|
-
# are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
12643
|
-
# system labels exist for NotebookRuntime: * "aiplatform.googleapis.
|
12644
|
-
# notebook_runtime_gce_instance_id": output only, its value is the Compute
|
13926
|
+
# associated with one NotebookRuntime (System labels are excluded). See https://
|
13927
|
+
# goo.gl/xmQnxf for more information and examples of labels. System reserved
|
13928
|
+
# label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
13929
|
+
# Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.
|
13930
|
+
# com/notebook_runtime_gce_instance_id": output only, its value is the Compute
|
12645
13931
|
# Engine instance id. * "aiplatform.googleapis.com/
|
12646
|
-
# colab_enterprise_entry_service": its value is either "
|
12647
|
-
# if absent, it should be "
|
13932
|
+
# colab_enterprise_entry_service": its value is either "bigquery" or "vertex";
|
13933
|
+
# if absent, it should be "vertex". This is to describe the entry service,
|
12648
13934
|
# either BigQuery or Vertex.
|
12649
13935
|
# Corresponds to the JSON property `labels`
|
12650
13936
|
# @return [Hash<String,String>]
|
@@ -12660,6 +13946,11 @@ module Google
|
|
12660
13946
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplateRef]
|
12661
13947
|
attr_accessor :notebook_runtime_template_ref
|
12662
13948
|
|
13949
|
+
# Output only. The type of the notebook runtime.
|
13950
|
+
# Corresponds to the JSON property `notebookRuntimeType`
|
13951
|
+
# @return [String]
|
13952
|
+
attr_accessor :notebook_runtime_type
|
13953
|
+
|
12663
13954
|
# Output only. The proxy endpoint used to access the NotebookRuntime.
|
12664
13955
|
# Corresponds to the JSON property `proxyUri`
|
12665
13956
|
# @return [String]
|
@@ -12704,6 +13995,7 @@ module Google
|
|
12704
13995
|
@labels = args[:labels] if args.key?(:labels)
|
12705
13996
|
@name = args[:name] if args.key?(:name)
|
12706
13997
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
13998
|
+
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
12707
13999
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
12708
14000
|
@runtime_state = args[:runtime_state] if args.key?(:runtime_state)
|
12709
14001
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
@@ -12787,6 +14079,11 @@ module Google
|
|
12787
14079
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec]
|
12788
14080
|
attr_accessor :network_spec
|
12789
14081
|
|
14082
|
+
# Optional. Immutable. The type of the notebook runtime template.
|
14083
|
+
# Corresponds to the JSON property `notebookRuntimeType`
|
14084
|
+
# @return [String]
|
14085
|
+
attr_accessor :notebook_runtime_type
|
14086
|
+
|
12790
14087
|
# The service account that the runtime workload runs as. You can use any service
|
12791
14088
|
# account within the same project, but you must have the service account user
|
12792
14089
|
# permission to use the instance. If not specified, the [Compute Engine default
|
@@ -12820,6 +14117,7 @@ module Google
|
|
12820
14117
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
12821
14118
|
@name = args[:name] if args.key?(:name)
|
12822
14119
|
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
14120
|
+
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
12823
14121
|
@service_account = args[:service_account] if args.key?(:service_account)
|
12824
14122
|
@update_time = args[:update_time] if args.key?(:update_time)
|
12825
14123
|
end
|
@@ -12953,16 +14251,16 @@ module Google
|
|
12953
14251
|
# in `12345`, and `network` is a network name. To specify this field, you must
|
12954
14252
|
# have already [configured VPC Network Peering for Vertex AI](https://cloud.
|
12955
14253
|
# google.com/vertex-ai/docs/general/vpc-peering). If this field is left
|
12956
|
-
# unspecified, the resources
|
14254
|
+
# unspecified, the resources aren't peered with any network.
|
12957
14255
|
# Corresponds to the JSON property `network`
|
12958
14256
|
# @return [String]
|
12959
14257
|
attr_accessor :network
|
12960
14258
|
|
12961
|
-
# Optional. A list of names for the reserved
|
14259
|
+
# Optional. A list of names for the reserved IP ranges under the VPC network
|
12962
14260
|
# that can be used for this persistent resource. If set, we will deploy the
|
12963
|
-
# persistent resource within the provided
|
12964
|
-
# resource
|
12965
|
-
#
|
14261
|
+
# persistent resource within the provided IP ranges. Otherwise, the persistent
|
14262
|
+
# resource is deployed to any IP ranges under the provided VPC network. Example:
|
14263
|
+
# ['vertex-ai-ip-range'].
|
12966
14264
|
# Corresponds to the JSON property `reservedIpRanges`
|
12967
14265
|
# @return [Array<String>]
|
12968
14266
|
attr_accessor :reserved_ip_ranges
|
@@ -12977,9 +14275,9 @@ module Google
|
|
12977
14275
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ResourceRuntime]
|
12978
14276
|
attr_accessor :resource_runtime
|
12979
14277
|
|
12980
|
-
#
|
12981
|
-
# limited to: * Service accounts used to run the workloads
|
12982
|
-
# dedicated Ray Cluster
|
14278
|
+
# Configuration for the runtime on a PersistentResource instance, including but
|
14279
|
+
# not limited to: * Service accounts used to run the workloads. * Whether to
|
14280
|
+
# make it a dedicated Ray Cluster.
|
12983
14281
|
# Corresponds to the JSON property `resourceRuntimeSpec`
|
12984
14282
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ResourceRuntimeSpec]
|
12985
14283
|
attr_accessor :resource_runtime_spec
|
@@ -13145,7 +14443,9 @@ module Google
|
|
13145
14443
|
attr_accessor :template_metadata
|
13146
14444
|
|
13147
14445
|
# A template uri from where the PipelineJob.pipeline_spec, if empty, will be
|
13148
|
-
# downloaded.
|
14446
|
+
# downloaded. Currently, only uri from Vertex Template Registry & Gallery is
|
14447
|
+
# supported. Reference to https://cloud.google.com/vertex-ai/docs/pipelines/
|
14448
|
+
# create-pipeline-template.
|
13149
14449
|
# Corresponds to the JSON property `templateUri`
|
13150
14450
|
# @return [String]
|
13151
14451
|
attr_accessor :template_uri
|
@@ -14602,22 +15902,22 @@ module Google
|
|
14602
15902
|
|
14603
15903
|
# Optional. This will be used to indicate which resource pool will serve as the
|
14604
15904
|
# Ray head node(the first node within that pool). Will use the machine from the
|
14605
|
-
# first workerpool as the head node by default if this field
|
15905
|
+
# first workerpool as the head node by default if this field isn't set.
|
14606
15906
|
# Corresponds to the JSON property `headNodeResourcePoolId`
|
14607
15907
|
# @return [String]
|
14608
15908
|
attr_accessor :head_node_resource_pool_id
|
14609
15909
|
|
14610
|
-
# Optional. Default image for user to choose a preferred ML framework(
|
14611
|
-
#
|
14612
|
-
# google.com/vertex-ai/docs/training/pre-built-containers). Either
|
14613
|
-
# resource_pool_images is required. Use this field if you need all
|
14614
|
-
# pools to have the same Ray image
|
15910
|
+
# Optional. Default image for user to choose a preferred ML framework (for
|
15911
|
+
# example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](
|
15912
|
+
# https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either
|
15913
|
+
# this or the resource_pool_images is required. Use this field if you need all
|
15914
|
+
# the resource pools to have the same Ray image. Otherwise, use the `@code
|
14615
15915
|
# resource_pool_images` field.
|
14616
15916
|
# Corresponds to the JSON property `imageUri`
|
14617
15917
|
# @return [String]
|
14618
15918
|
attr_accessor :image_uri
|
14619
15919
|
|
14620
|
-
# Optional. Required if image_uri
|
15920
|
+
# Optional. Required if image_uri isn't set. A map of resource_pool_id to
|
14621
15921
|
# prebuild Ray image if user need to use different images for different head/
|
14622
15922
|
# worker pools. This map needs to cover all the resource pool ids. Example: ` "
|
14623
15923
|
# ray_head_node_pool": "head image" "ray_worker_node_pool1": "worker image" "
|
@@ -15020,6 +16320,45 @@ module Google
|
|
15020
16320
|
end
|
15021
16321
|
end
|
15022
16322
|
|
16323
|
+
# Request message for NotebookInternalService.ReportExecutionEvent.
|
16324
|
+
class GoogleCloudAiplatformV1beta1ReportExecutionEventRequest
|
16325
|
+
include Google::Apis::Core::Hashable
|
16326
|
+
|
16327
|
+
# Required. The type of the event.
|
16328
|
+
# Corresponds to the JSON property `eventType`
|
16329
|
+
# @return [String]
|
16330
|
+
attr_accessor :event_type
|
16331
|
+
|
16332
|
+
# Required. The VM identity token (a JWT) for authenticating the VM. https://
|
16333
|
+
# cloud.google.com/compute/docs/instances/verifying-instance-identity
|
16334
|
+
# Corresponds to the JSON property `vmToken`
|
16335
|
+
# @return [String]
|
16336
|
+
attr_accessor :vm_token
|
16337
|
+
|
16338
|
+
def initialize(**args)
|
16339
|
+
update!(**args)
|
16340
|
+
end
|
16341
|
+
|
16342
|
+
# Update properties of this object
|
16343
|
+
def update!(**args)
|
16344
|
+
@event_type = args[:event_type] if args.key?(:event_type)
|
16345
|
+
@vm_token = args[:vm_token] if args.key?(:vm_token)
|
16346
|
+
end
|
16347
|
+
end
|
16348
|
+
|
16349
|
+
# Response message for NotebookInternalService.ReportExecutionEvent.
|
16350
|
+
class GoogleCloudAiplatformV1beta1ReportExecutionEventResponse
|
16351
|
+
include Google::Apis::Core::Hashable
|
16352
|
+
|
16353
|
+
def initialize(**args)
|
16354
|
+
update!(**args)
|
16355
|
+
end
|
16356
|
+
|
16357
|
+
# Update properties of this object
|
16358
|
+
def update!(**args)
|
16359
|
+
end
|
16360
|
+
end
|
16361
|
+
|
15023
16362
|
# LINT.IfChange(report_event_message_types) Request message for
|
15024
16363
|
# NotebookInternalService.ReportRuntimeEvent.
|
15025
16364
|
class GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest
|
@@ -15073,8 +16412,8 @@ module Google
|
|
15073
16412
|
end
|
15074
16413
|
end
|
15075
16414
|
|
15076
|
-
# Represents the spec a group of resources of same type,
|
15077
|
-
# accelerators, in a PersistentResource.
|
16415
|
+
# Represents the spec of a group of resources of the same type, for example
|
16416
|
+
# machine type, disk, and accelerators, in a PersistentResource.
|
15078
16417
|
class GoogleCloudAiplatformV1beta1ResourcePool
|
15079
16418
|
include Google::Apis::Core::Hashable
|
15080
16419
|
|
@@ -15088,8 +16427,8 @@ module Google
|
|
15088
16427
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec]
|
15089
16428
|
attr_accessor :disk_spec
|
15090
16429
|
|
15091
|
-
# Immutable. The unique ID in a PersistentResource
|
15092
|
-
# pool. User can specify it if
|
16430
|
+
# Immutable. The unique ID in a PersistentResource for referring to this
|
16431
|
+
# resource pool. User can specify it if necessary. Otherwise, it's generated
|
15093
16432
|
# automatically.
|
15094
16433
|
# Corresponds to the JSON property `id`
|
15095
16434
|
# @return [String]
|
@@ -15183,9 +16522,9 @@ module Google
|
|
15183
16522
|
end
|
15184
16523
|
end
|
15185
16524
|
|
15186
|
-
#
|
15187
|
-
# limited to: * Service accounts used to run the workloads
|
15188
|
-
# dedicated Ray Cluster
|
16525
|
+
# Configuration for the runtime on a PersistentResource instance, including but
|
16526
|
+
# not limited to: * Service accounts used to run the workloads. * Whether to
|
16527
|
+
# make it a dedicated Ray Cluster.
|
15189
16528
|
class GoogleCloudAiplatformV1beta1ResourceRuntimeSpec
|
15190
16529
|
include Google::Apis::Core::Hashable
|
15191
16530
|
|
@@ -21803,14 +23142,62 @@ module Google
|
|
21803
23142
|
end
|
21804
23143
|
end
|
21805
23144
|
|
23145
|
+
# The request message for FeatureOnlineStoreService.SearchNearestEntities.
|
23146
|
+
class GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest
|
23147
|
+
include Google::Apis::Core::Hashable
|
23148
|
+
|
23149
|
+
# A query to find a number of similar entities.
|
23150
|
+
# Corresponds to the JSON property `query`
|
23151
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighborQuery]
|
23152
|
+
attr_accessor :query
|
23153
|
+
|
23154
|
+
# Optional. If set to true, the full entities (including all vector values and
|
23155
|
+
# metadata) of the nearest neighbors are returned; otherwise only entity id of
|
23156
|
+
# the nearest neighbors will be returned. Note that returning full entities will
|
23157
|
+
# significantly increase the latency and cost of the query.
|
23158
|
+
# Corresponds to the JSON property `returnFullEntity`
|
23159
|
+
# @return [Boolean]
|
23160
|
+
attr_accessor :return_full_entity
|
23161
|
+
alias_method :return_full_entity?, :return_full_entity
|
23162
|
+
|
23163
|
+
def initialize(**args)
|
23164
|
+
update!(**args)
|
23165
|
+
end
|
23166
|
+
|
23167
|
+
# Update properties of this object
|
23168
|
+
def update!(**args)
|
23169
|
+
@query = args[:query] if args.key?(:query)
|
23170
|
+
@return_full_entity = args[:return_full_entity] if args.key?(:return_full_entity)
|
23171
|
+
end
|
23172
|
+
end
|
23173
|
+
|
23174
|
+
# Response message for FeatureOnlineStoreService.SearchNearestEntities
|
23175
|
+
class GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse
|
23176
|
+
include Google::Apis::Core::Hashable
|
23177
|
+
|
23178
|
+
# Nearest neighbors for one query.
|
23179
|
+
# Corresponds to the JSON property `nearestNeighbors`
|
23180
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NearestNeighbors]
|
23181
|
+
attr_accessor :nearest_neighbors
|
23182
|
+
|
23183
|
+
def initialize(**args)
|
23184
|
+
update!(**args)
|
23185
|
+
end
|
23186
|
+
|
23187
|
+
# Update properties of this object
|
23188
|
+
def update!(**args)
|
23189
|
+
@nearest_neighbors = args[:nearest_neighbors] if args.key?(:nearest_neighbors)
|
23190
|
+
end
|
23191
|
+
end
|
23192
|
+
|
21806
23193
|
# Configuration for the use of custom service account to run the workloads.
|
21807
23194
|
class GoogleCloudAiplatformV1beta1ServiceAccountSpec
|
21808
23195
|
include Google::Apis::Core::Hashable
|
21809
23196
|
|
21810
23197
|
# Required. If true, custom user-managed service account is enforced to run any
|
21811
|
-
# workloads (
|
23198
|
+
# workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [
|
21812
23199
|
# Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/
|
21813
|
-
# general/access-control#service-agents)
|
23200
|
+
# general/access-control#service-agents).
|
21814
23201
|
# Corresponds to the JSON property `enableCustomServiceAccount`
|
21815
23202
|
# @return [Boolean]
|
21816
23203
|
attr_accessor :enable_custom_service_account
|
@@ -21818,11 +23205,11 @@ module Google
|
|
21818
23205
|
|
21819
23206
|
# Optional. Default service account that this PersistentResource's workloads run
|
21820
23207
|
# as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec`
|
21821
|
-
# on creation time,
|
21822
|
-
# other service account specified in the job specs. Only works when custom
|
23208
|
+
# on creation time, for example, Ray. * Jobs submitted to PersistentResource, if
|
23209
|
+
# no other service account specified in the job specs. Only works when custom
|
21823
23210
|
# service account is enabled and users have the `iam.serviceAccounts.actAs`
|
21824
|
-
# permission on this service account. Required if any containers specified
|
21825
|
-
# ResourceRuntimeSpec`.
|
23211
|
+
# permission on this service account. Required if any containers are specified
|
23212
|
+
# in `ResourceRuntimeSpec`.
|
21826
23213
|
# Corresponds to the JSON property `serviceAccount`
|
21827
23214
|
# @return [String]
|
21828
23215
|
attr_accessor :service_account
|
@@ -22978,6 +24365,40 @@ module Google
|
|
22978
24365
|
end
|
22979
24366
|
end
|
22980
24367
|
|
24368
|
+
# Request message for FeatureOnlineStoreAdminService.SyncFeatureView.
|
24369
|
+
class GoogleCloudAiplatformV1beta1SyncFeatureViewRequest
|
24370
|
+
include Google::Apis::Core::Hashable
|
24371
|
+
|
24372
|
+
def initialize(**args)
|
24373
|
+
update!(**args)
|
24374
|
+
end
|
24375
|
+
|
24376
|
+
# Update properties of this object
|
24377
|
+
def update!(**args)
|
24378
|
+
end
|
24379
|
+
end
|
24380
|
+
|
24381
|
+
# Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
|
24382
|
+
class GoogleCloudAiplatformV1beta1SyncFeatureViewResponse
|
24383
|
+
include Google::Apis::Core::Hashable
|
24384
|
+
|
24385
|
+
# Format: `projects/`project`/locations/`location`/featureOnlineStores/`
|
24386
|
+
# feature_online_store`/featureViews/`feature_view`/featureViewSyncs/`
|
24387
|
+
# feature_view_sync``
|
24388
|
+
# Corresponds to the JSON property `featureViewSync`
|
24389
|
+
# @return [String]
|
24390
|
+
attr_accessor :feature_view_sync
|
24391
|
+
|
24392
|
+
def initialize(**args)
|
24393
|
+
update!(**args)
|
24394
|
+
end
|
24395
|
+
|
24396
|
+
# Update properties of this object
|
24397
|
+
def update!(**args)
|
24398
|
+
@feature_view_sync = args[:feature_view_sync] if args.key?(:feature_view_sync)
|
24399
|
+
end
|
24400
|
+
end
|
24401
|
+
|
22981
24402
|
# The storage details for TFRecord output content.
|
22982
24403
|
class GoogleCloudAiplatformV1beta1TfRecordDestination
|
22983
24404
|
include Google::Apis::Core::Hashable
|
@@ -24244,6 +25665,82 @@ module Google
|
|
24244
25665
|
end
|
24245
25666
|
end
|
24246
25667
|
|
25668
|
+
# Details of operations that perform update FeatureGroup.
|
25669
|
+
class GoogleCloudAiplatformV1beta1UpdateFeatureGroupOperationMetadata
|
25670
|
+
include Google::Apis::Core::Hashable
|
25671
|
+
|
25672
|
+
# Generic Metadata shared by all operations.
|
25673
|
+
# Corresponds to the JSON property `genericMetadata`
|
25674
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
25675
|
+
attr_accessor :generic_metadata
|
25676
|
+
|
25677
|
+
def initialize(**args)
|
25678
|
+
update!(**args)
|
25679
|
+
end
|
25680
|
+
|
25681
|
+
# Update properties of this object
|
25682
|
+
def update!(**args)
|
25683
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
25684
|
+
end
|
25685
|
+
end
|
25686
|
+
|
25687
|
+
# Details of operations that perform update FeatureOnlineStore.
|
25688
|
+
class GoogleCloudAiplatformV1beta1UpdateFeatureOnlineStoreOperationMetadata
|
25689
|
+
include Google::Apis::Core::Hashable
|
25690
|
+
|
25691
|
+
# Generic Metadata shared by all operations.
|
25692
|
+
# Corresponds to the JSON property `genericMetadata`
|
25693
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
25694
|
+
attr_accessor :generic_metadata
|
25695
|
+
|
25696
|
+
def initialize(**args)
|
25697
|
+
update!(**args)
|
25698
|
+
end
|
25699
|
+
|
25700
|
+
# Update properties of this object
|
25701
|
+
def update!(**args)
|
25702
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
25703
|
+
end
|
25704
|
+
end
|
25705
|
+
|
25706
|
+
# Details of operations that perform update Feature.
|
25707
|
+
class GoogleCloudAiplatformV1beta1UpdateFeatureOperationMetadata
|
25708
|
+
include Google::Apis::Core::Hashable
|
25709
|
+
|
25710
|
+
# Generic Metadata shared by all operations.
|
25711
|
+
# Corresponds to the JSON property `genericMetadata`
|
25712
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
25713
|
+
attr_accessor :generic_metadata
|
25714
|
+
|
25715
|
+
def initialize(**args)
|
25716
|
+
update!(**args)
|
25717
|
+
end
|
25718
|
+
|
25719
|
+
# Update properties of this object
|
25720
|
+
def update!(**args)
|
25721
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
25722
|
+
end
|
25723
|
+
end
|
25724
|
+
|
25725
|
+
# Details of operations that perform update FeatureView.
|
25726
|
+
class GoogleCloudAiplatformV1beta1UpdateFeatureViewOperationMetadata
|
25727
|
+
include Google::Apis::Core::Hashable
|
25728
|
+
|
25729
|
+
# Generic Metadata shared by all operations.
|
25730
|
+
# Corresponds to the JSON property `genericMetadata`
|
25731
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
25732
|
+
attr_accessor :generic_metadata
|
25733
|
+
|
25734
|
+
def initialize(**args)
|
25735
|
+
update!(**args)
|
25736
|
+
end
|
25737
|
+
|
25738
|
+
# Update properties of this object
|
25739
|
+
def update!(**args)
|
25740
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
25741
|
+
end
|
25742
|
+
end
|
25743
|
+
|
24247
25744
|
# Details of operations that perform update Featurestore.
|
24248
25745
|
class GoogleCloudAiplatformV1beta1UpdateFeaturestoreOperationMetadata
|
24249
25746
|
include Google::Apis::Core::Hashable
|