google-apis-aiplatform_v1 0.1.0 → 0.2.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26b0157797450eb16685d71024fcc67c2f8e40be8a2c556be3b98de713977f2a
|
4
|
+
data.tar.gz: a5ec0f7cccdda31dd9dc4d8aa16de84c1a7583d1404735c0b5424a82c6c6086c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d9ea45c28da9ed10b9daa41d5463e2d7a3be8ac8f11ce754a0c4feaf072c62cc926895cb8b7f4d356bc169aaea55af720ad3884eb2d57914386918b15d9fc27
|
7
|
+
data.tar.gz: 68c7410a350d91b9a8fbf42c007c4b1b4e29b0ad6163b59da457f759cdf0e3b95fe168de79b2496944b171d740503e11bb97b3d56d902bfa43ae1c2ca7530520
|
data/CHANGELOG.md
CHANGED
@@ -2288,7 +2288,8 @@ module Google
|
|
2288
2288
|
end
|
2289
2289
|
end
|
2290
2290
|
|
2291
|
-
# Request message for FeaturestoreService.CreateFeature.
|
2291
|
+
# Request message for FeaturestoreService.CreateFeature. Request message for
|
2292
|
+
# FeatureRegistryService.CreateFeature.
|
2292
2293
|
class GoogleCloudAiplatformV1CreateFeatureRequest
|
2293
2294
|
include Google::Apis::Core::Hashable
|
2294
2295
|
|
@@ -2302,14 +2303,12 @@ module Google
|
|
2302
2303
|
# Required. The ID to use for the Feature, which will become the final component
|
2303
2304
|
# of the Feature's resource name. This value may be up to 128 characters, and
|
2304
2305
|
# valid characters are `[a-z0-9_]`. The first character cannot be a number. The
|
2305
|
-
# value must be unique within an EntityType
|
2306
|
+
# value must be unique within an EntityType/FeatureGroup.
|
2306
2307
|
# Corresponds to the JSON property `featureId`
|
2307
2308
|
# @return [String]
|
2308
2309
|
attr_accessor :feature_id
|
2309
2310
|
|
2310
|
-
#
|
2311
|
-
# projects/`project`/locations/`location`/featurestores/`featurestore`/
|
2312
|
-
# entityTypes/`entity_type``
|
2311
|
+
#
|
2313
2312
|
# Corresponds to the JSON property `parent`
|
2314
2313
|
# @return [String]
|
2315
2314
|
attr_accessor :parent
|
@@ -3191,6 +3190,50 @@ module Google
|
|
3191
3190
|
end
|
3192
3191
|
end
|
3193
3192
|
|
3193
|
+
# Describes the dataset version.
|
3194
|
+
class GoogleCloudAiplatformV1DatasetVersion
|
3195
|
+
include Google::Apis::Core::Hashable
|
3196
|
+
|
3197
|
+
# Output only. Name of the associated BigQuery dataset.
|
3198
|
+
# Corresponds to the JSON property `bigQueryDatasetName`
|
3199
|
+
# @return [String]
|
3200
|
+
attr_accessor :big_query_dataset_name
|
3201
|
+
|
3202
|
+
# Output only. Timestamp when this DatasetVersion was created.
|
3203
|
+
# Corresponds to the JSON property `createTime`
|
3204
|
+
# @return [String]
|
3205
|
+
attr_accessor :create_time
|
3206
|
+
|
3207
|
+
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
3208
|
+
# overwrite" update happens.
|
3209
|
+
# Corresponds to the JSON property `etag`
|
3210
|
+
# @return [String]
|
3211
|
+
attr_accessor :etag
|
3212
|
+
|
3213
|
+
# Output only. The resource name of the DatasetVersion.
|
3214
|
+
# Corresponds to the JSON property `name`
|
3215
|
+
# @return [String]
|
3216
|
+
attr_accessor :name
|
3217
|
+
|
3218
|
+
# Output only. Timestamp when this DatasetVersion was last updated.
|
3219
|
+
# Corresponds to the JSON property `updateTime`
|
3220
|
+
# @return [String]
|
3221
|
+
attr_accessor :update_time
|
3222
|
+
|
3223
|
+
def initialize(**args)
|
3224
|
+
update!(**args)
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# Update properties of this object
|
3228
|
+
def update!(**args)
|
3229
|
+
@big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
|
3230
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3231
|
+
@etag = args[:etag] if args.key?(:etag)
|
3232
|
+
@name = args[:name] if args.key?(:name)
|
3233
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3234
|
+
end
|
3235
|
+
end
|
3236
|
+
|
3194
3237
|
# A description of resources that are dedicated to a DeployedModel, and that
|
3195
3238
|
# need a higher degree of manual configuration.
|
3196
3239
|
class GoogleCloudAiplatformV1DedicatedResources
|
@@ -5389,6 +5432,15 @@ module Google
|
|
5389
5432
|
# @return [String]
|
5390
5433
|
attr_accessor :annotations_filter
|
5391
5434
|
|
5435
|
+
# Assigns input data to training, validation, and test sets based on the given
|
5436
|
+
# filters, data pieces not matched by any filter are ignored. Currently only
|
5437
|
+
# supported for Datasets containing DataItems. If any of the filters in this
|
5438
|
+
# message are to match nothing, then they can be set as '-' (the minus sign).
|
5439
|
+
# Supported only for unstructured Datasets.
|
5440
|
+
# Corresponds to the JSON property `filterSplit`
|
5441
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFilterSplit]
|
5442
|
+
attr_accessor :filter_split
|
5443
|
+
|
5392
5444
|
# Assigns the input data to training, validation, and test sets as per the given
|
5393
5445
|
# fractions. Any of `training_fraction`, `validation_fraction` and `
|
5394
5446
|
# test_fraction` may optionally be provided, they must sum to up to 1. If the
|
@@ -5411,6 +5463,7 @@ module Google
|
|
5411
5463
|
# Update properties of this object
|
5412
5464
|
def update!(**args)
|
5413
5465
|
@annotations_filter = args[:annotations_filter] if args.key?(:annotations_filter)
|
5466
|
+
@filter_split = args[:filter_split] if args.key?(:filter_split)
|
5414
5467
|
@fraction_split = args[:fraction_split] if args.key?(:fraction_split)
|
5415
5468
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
5416
5469
|
end
|
@@ -5616,6 +5669,53 @@ module Google
|
|
5616
5669
|
end
|
5617
5670
|
end
|
5618
5671
|
|
5672
|
+
# Assigns input data to training, validation, and test sets based on the given
|
5673
|
+
# filters, data pieces not matched by any filter are ignored. Currently only
|
5674
|
+
# supported for Datasets containing DataItems. If any of the filters in this
|
5675
|
+
# message are to match nothing, then they can be set as '-' (the minus sign).
|
5676
|
+
# Supported only for unstructured Datasets.
|
5677
|
+
class GoogleCloudAiplatformV1ExportFilterSplit
|
5678
|
+
include Google::Apis::Core::Hashable
|
5679
|
+
|
5680
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
5681
|
+
# filter are used to test the Model. A filter with same syntax as the one used
|
5682
|
+
# in DatasetService.ListDataItems may be used. If a single DataItem is matched
|
5683
|
+
# by more than one of the FilterSplit filters, then it is assigned to the first
|
5684
|
+
# set that applies to it in the training, validation, test order.
|
5685
|
+
# Corresponds to the JSON property `testFilter`
|
5686
|
+
# @return [String]
|
5687
|
+
attr_accessor :test_filter
|
5688
|
+
|
5689
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
5690
|
+
# filter are used to train the Model. A filter with same syntax as the one used
|
5691
|
+
# in DatasetService.ListDataItems may be used. If a single DataItem is matched
|
5692
|
+
# by more than one of the FilterSplit filters, then it is assigned to the first
|
5693
|
+
# set that applies to it in the training, validation, test order.
|
5694
|
+
# Corresponds to the JSON property `trainingFilter`
|
5695
|
+
# @return [String]
|
5696
|
+
attr_accessor :training_filter
|
5697
|
+
|
5698
|
+
# Required. A filter on DataItems of the Dataset. DataItems that match this
|
5699
|
+
# filter are used to validate the Model. A filter with same syntax as the one
|
5700
|
+
# used in DatasetService.ListDataItems may be used. If a single DataItem is
|
5701
|
+
# matched by more than one of the FilterSplit filters, then it is assigned to
|
5702
|
+
# the first set that applies to it in the training, validation, test order.
|
5703
|
+
# Corresponds to the JSON property `validationFilter`
|
5704
|
+
# @return [String]
|
5705
|
+
attr_accessor :validation_filter
|
5706
|
+
|
5707
|
+
def initialize(**args)
|
5708
|
+
update!(**args)
|
5709
|
+
end
|
5710
|
+
|
5711
|
+
# Update properties of this object
|
5712
|
+
def update!(**args)
|
5713
|
+
@test_filter = args[:test_filter] if args.key?(:test_filter)
|
5714
|
+
@training_filter = args[:training_filter] if args.key?(:training_filter)
|
5715
|
+
@validation_filter = args[:validation_filter] if args.key?(:validation_filter)
|
5716
|
+
end
|
5717
|
+
end
|
5718
|
+
|
5619
5719
|
# Assigns the input data to training, validation, and test sets as per the given
|
5620
5720
|
# fractions. Any of `training_fraction`, `validation_fraction` and `
|
5621
5721
|
# test_fraction` may optionally be provided, they must sum to up to 1. If the
|
@@ -8184,6 +8284,31 @@ module Google
|
|
8184
8284
|
end
|
8185
8285
|
end
|
8186
8286
|
|
8287
|
+
# Response message for DatasetService.ListDatasetVersions.
|
8288
|
+
class GoogleCloudAiplatformV1ListDatasetVersionsResponse
|
8289
|
+
include Google::Apis::Core::Hashable
|
8290
|
+
|
8291
|
+
# A list of DatasetVersions that matches the specified filter in the request.
|
8292
|
+
# Corresponds to the JSON property `datasetVersions`
|
8293
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion>]
|
8294
|
+
attr_accessor :dataset_versions
|
8295
|
+
|
8296
|
+
# The standard List next-page token.
|
8297
|
+
# Corresponds to the JSON property `nextPageToken`
|
8298
|
+
# @return [String]
|
8299
|
+
attr_accessor :next_page_token
|
8300
|
+
|
8301
|
+
def initialize(**args)
|
8302
|
+
update!(**args)
|
8303
|
+
end
|
8304
|
+
|
8305
|
+
# Update properties of this object
|
8306
|
+
def update!(**args)
|
8307
|
+
@dataset_versions = args[:dataset_versions] if args.key?(:dataset_versions)
|
8308
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8309
|
+
end
|
8310
|
+
end
|
8311
|
+
|
8187
8312
|
# Response message for DatasetService.ListDatasets.
|
8188
8313
|
class GoogleCloudAiplatformV1ListDatasetsResponse
|
8189
8314
|
include Google::Apis::Core::Hashable
|
@@ -8287,7 +8412,8 @@ module Google
|
|
8287
8412
|
end
|
8288
8413
|
end
|
8289
8414
|
|
8290
|
-
# Response message for FeaturestoreService.ListFeatures.
|
8415
|
+
# Response message for FeaturestoreService.ListFeatures. Response message for
|
8416
|
+
# FeatureRegistryService.ListFeatures.
|
8291
8417
|
class GoogleCloudAiplatformV1ListFeaturesResponse
|
8292
8418
|
include Google::Apis::Core::Hashable
|
8293
8419
|
|
@@ -10896,6 +11022,12 @@ module Google
|
|
10896
11022
|
attr_accessor :enable_logging
|
10897
11023
|
alias_method :enable_logging?, :enable_logging
|
10898
11024
|
|
11025
|
+
# Resource names of the NotificationChannels to send alert. Must be of the
|
11026
|
+
# format `projects//notificationChannels/`
|
11027
|
+
# Corresponds to the JSON property `notificationChannels`
|
11028
|
+
# @return [Array<String>]
|
11029
|
+
attr_accessor :notification_channels
|
11030
|
+
|
10899
11031
|
def initialize(**args)
|
10900
11032
|
update!(**args)
|
10901
11033
|
end
|
@@ -10904,6 +11036,7 @@ module Google
|
|
10904
11036
|
def update!(**args)
|
10905
11037
|
@email_alert_config = args[:email_alert_config] if args.key?(:email_alert_config)
|
10906
11038
|
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
11039
|
+
@notification_channels = args[:notification_channels] if args.key?(:notification_channels)
|
10907
11040
|
end
|
10908
11041
|
end
|
10909
11042
|
|
@@ -12099,14 +12232,14 @@ module Google
|
|
12099
12232
|
# keys and values can be no longer than 64 characters (Unicode codepoints), can
|
12100
12233
|
# only contain lowercase letters, numeric characters, underscores and dashes.
|
12101
12234
|
# International characters are allowed. No more than 64 user labels can be
|
12102
|
-
# associated with one
|
12103
|
-
# xmQnxf for more information and examples of labels. System reserved
|
12104
|
-
# are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
12105
|
-
# system labels exist for NotebookRuntime: * "aiplatform.googleapis.
|
12106
|
-
# notebook_runtime_gce_instance_id": output only, its value is the Compute
|
12235
|
+
# associated with one NotebookRuntime (System labels are excluded). See https://
|
12236
|
+
# goo.gl/xmQnxf for more information and examples of labels. System reserved
|
12237
|
+
# label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
|
12238
|
+
# Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.
|
12239
|
+
# com/notebook_runtime_gce_instance_id": output only, its value is the Compute
|
12107
12240
|
# Engine instance id. * "aiplatform.googleapis.com/
|
12108
|
-
# colab_enterprise_entry_service": its value is either "
|
12109
|
-
# if absent, it should be "
|
12241
|
+
# colab_enterprise_entry_service": its value is either "bigquery" or "vertex";
|
12242
|
+
# if absent, it should be "vertex". This is to describe the entry service,
|
12110
12243
|
# either BigQuery or Vertex.
|
12111
12244
|
# Corresponds to the JSON property `labels`
|
12112
12245
|
# @return [Hash<String,String>]
|
@@ -12122,6 +12255,11 @@ module Google
|
|
12122
12255
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef]
|
12123
12256
|
attr_accessor :notebook_runtime_template_ref
|
12124
12257
|
|
12258
|
+
# Output only. The type of the notebook runtime.
|
12259
|
+
# Corresponds to the JSON property `notebookRuntimeType`
|
12260
|
+
# @return [String]
|
12261
|
+
attr_accessor :notebook_runtime_type
|
12262
|
+
|
12125
12263
|
# Output only. The proxy endpoint used to access the NotebookRuntime.
|
12126
12264
|
# Corresponds to the JSON property `proxyUri`
|
12127
12265
|
# @return [String]
|
@@ -12166,6 +12304,7 @@ module Google
|
|
12166
12304
|
@labels = args[:labels] if args.key?(:labels)
|
12167
12305
|
@name = args[:name] if args.key?(:name)
|
12168
12306
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
12307
|
+
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
12169
12308
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
12170
12309
|
@runtime_state = args[:runtime_state] if args.key?(:runtime_state)
|
12171
12310
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
@@ -12249,6 +12388,11 @@ module Google
|
|
12249
12388
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec]
|
12250
12389
|
attr_accessor :network_spec
|
12251
12390
|
|
12391
|
+
# Optional. Immutable. The type of the notebook runtime template.
|
12392
|
+
# Corresponds to the JSON property `notebookRuntimeType`
|
12393
|
+
# @return [String]
|
12394
|
+
attr_accessor :notebook_runtime_type
|
12395
|
+
|
12252
12396
|
# The service account that the runtime workload runs as. You can use any service
|
12253
12397
|
# account within the same project, but you must have the service account user
|
12254
12398
|
# permission to use the instance. If not specified, the [Compute Engine default
|
@@ -12282,6 +12426,7 @@ module Google
|
|
12282
12426
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
12283
12427
|
@name = args[:name] if args.key?(:name)
|
12284
12428
|
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
12429
|
+
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
12285
12430
|
@service_account = args[:service_account] if args.key?(:service_account)
|
12286
12431
|
@update_time = args[:update_time] if args.key?(:update_time)
|
12287
12432
|
end
|
@@ -12482,7 +12627,9 @@ module Google
|
|
12482
12627
|
attr_accessor :template_metadata
|
12483
12628
|
|
12484
12629
|
# A template uri from where the PipelineJob.pipeline_spec, if empty, will be
|
12485
|
-
# downloaded.
|
12630
|
+
# downloaded. Currently, only uri from Vertex Template Registry & Gallery is
|
12631
|
+
# supported. Reference to https://cloud.google.com/vertex-ai/docs/pipelines/
|
12632
|
+
# create-pipeline-template.
|
12486
12633
|
# Corresponds to the JSON property `templateUri`
|
12487
12634
|
# @return [String]
|
12488
12635
|
attr_accessor :template_uri
|
@@ -16374,6 +16521,50 @@ module Google
|
|
16374
16521
|
end
|
16375
16522
|
end
|
16376
16523
|
|
16524
|
+
# The configuration for grounding checking.
|
16525
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
|
16526
|
+
include Google::Apis::Core::Hashable
|
16527
|
+
|
16528
|
+
# The sources for the grounding checking.
|
16529
|
+
# Corresponds to the JSON property `sources`
|
16530
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry>]
|
16531
|
+
attr_accessor :sources
|
16532
|
+
|
16533
|
+
def initialize(**args)
|
16534
|
+
update!(**args)
|
16535
|
+
end
|
16536
|
+
|
16537
|
+
# Update properties of this object
|
16538
|
+
def update!(**args)
|
16539
|
+
@sources = args[:sources] if args.key?(:sources)
|
16540
|
+
end
|
16541
|
+
end
|
16542
|
+
|
16543
|
+
# Single source entry for the grounding checking.
|
16544
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
|
16545
|
+
include Google::Apis::Core::Hashable
|
16546
|
+
|
16547
|
+
# The uri of the Enterprise Search data source.
|
16548
|
+
# Corresponds to the JSON property `enterpriseDatastore`
|
16549
|
+
# @return [String]
|
16550
|
+
attr_accessor :enterprise_datastore
|
16551
|
+
|
16552
|
+
# The type of the grounding checking source.
|
16553
|
+
# Corresponds to the JSON property `type`
|
16554
|
+
# @return [String]
|
16555
|
+
attr_accessor :type
|
16556
|
+
|
16557
|
+
def initialize(**args)
|
16558
|
+
update!(**args)
|
16559
|
+
end
|
16560
|
+
|
16561
|
+
# Update properties of this object
|
16562
|
+
def update!(**args)
|
16563
|
+
@enterprise_datastore = args[:enterprise_datastore] if args.key?(:enterprise_datastore)
|
16564
|
+
@type = args[:type] if args.key?(:type)
|
16565
|
+
end
|
16566
|
+
end
|
16567
|
+
|
16377
16568
|
# Prediction model parameters for Image Classification.
|
16378
16569
|
class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
|
16379
16570
|
include Google::Apis::Core::Hashable
|
@@ -17393,11 +17584,21 @@ module Google
|
|
17393
17584
|
class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata
|
17394
17585
|
include Google::Apis::Core::Hashable
|
17395
17586
|
|
17587
|
+
# Number of candidates.
|
17588
|
+
# Corresponds to the JSON property `candidateCount`
|
17589
|
+
# @return [Fixnum]
|
17590
|
+
attr_accessor :candidate_count
|
17591
|
+
|
17396
17592
|
# The Google Cloud Storage URI that stores the prompt data.
|
17397
17593
|
# Corresponds to the JSON property `gcsUri`
|
17398
17594
|
# @return [String]
|
17399
17595
|
attr_accessor :gcs_uri
|
17400
17596
|
|
17597
|
+
# The configuration for grounding checking.
|
17598
|
+
# Corresponds to the JSON property `groundingConfig`
|
17599
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig]
|
17600
|
+
attr_accessor :grounding_config
|
17601
|
+
|
17401
17602
|
# Value of the maximum number of tokens generated set when the dataset was saved.
|
17402
17603
|
# Corresponds to the JSON property `maxOutputTokens`
|
17403
17604
|
# @return [Fixnum]
|
@@ -17408,6 +17609,11 @@ module Google
|
|
17408
17609
|
# @return [String]
|
17409
17610
|
attr_accessor :prompt_type
|
17410
17611
|
|
17612
|
+
# Customized stop sequences.
|
17613
|
+
# Corresponds to the JSON property `stopSequences`
|
17614
|
+
# @return [Array<String>]
|
17615
|
+
attr_accessor :stop_sequences
|
17616
|
+
|
17411
17617
|
# Temperature value used for sampling set when the dataset was saved. This value
|
17412
17618
|
# is used to tune the degree of randomness.
|
17413
17619
|
# Corresponds to the JSON property `temperature`
|
@@ -17438,9 +17644,12 @@ module Google
|
|
17438
17644
|
|
17439
17645
|
# Update properties of this object
|
17440
17646
|
def update!(**args)
|
17647
|
+
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
17441
17648
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
17649
|
+
@grounding_config = args[:grounding_config] if args.key?(:grounding_config)
|
17442
17650
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
17443
17651
|
@prompt_type = args[:prompt_type] if args.key?(:prompt_type)
|
17652
|
+
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
17444
17653
|
@temperature = args[:temperature] if args.key?(:temperature)
|
17445
17654
|
@text = args[:text] if args.key?(:text)
|
17446
17655
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230929"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -568,6 +568,12 @@ module Google
|
|
568
568
|
include Google::Apis::Core::JsonObjectSupport
|
569
569
|
end
|
570
570
|
|
571
|
+
class GoogleCloudAiplatformV1DatasetVersion
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
571
577
|
class GoogleCloudAiplatformV1DedicatedResources
|
572
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
579
|
|
@@ -940,6 +946,12 @@ module Google
|
|
940
946
|
include Google::Apis::Core::JsonObjectSupport
|
941
947
|
end
|
942
948
|
|
949
|
+
class GoogleCloudAiplatformV1ExportFilterSplit
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
|
+
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
953
|
+
end
|
954
|
+
|
943
955
|
class GoogleCloudAiplatformV1ExportFractionSplit
|
944
956
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
945
957
|
|
@@ -1330,6 +1342,12 @@ module Google
|
|
1330
1342
|
include Google::Apis::Core::JsonObjectSupport
|
1331
1343
|
end
|
1332
1344
|
|
1345
|
+
class GoogleCloudAiplatformV1ListDatasetVersionsResponse
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
|
+
|
1348
|
+
include Google::Apis::Core::JsonObjectSupport
|
1349
|
+
end
|
1350
|
+
|
1333
1351
|
class GoogleCloudAiplatformV1ListDatasetsResponse
|
1334
1352
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
1353
|
|
@@ -2674,6 +2692,18 @@ module Google
|
|
2674
2692
|
include Google::Apis::Core::JsonObjectSupport
|
2675
2693
|
end
|
2676
2694
|
|
2695
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
|
2696
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2697
|
+
|
2698
|
+
include Google::Apis::Core::JsonObjectSupport
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
|
2702
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2703
|
+
|
2704
|
+
include Google::Apis::Core::JsonObjectSupport
|
2705
|
+
end
|
2706
|
+
|
2677
2707
|
class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
|
2678
2708
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2679
2709
|
|
@@ -4872,6 +4902,17 @@ module Google
|
|
4872
4902
|
end
|
4873
4903
|
end
|
4874
4904
|
|
4905
|
+
class GoogleCloudAiplatformV1DatasetVersion
|
4906
|
+
# @private
|
4907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4908
|
+
property :big_query_dataset_name, as: 'bigQueryDatasetName'
|
4909
|
+
property :create_time, as: 'createTime'
|
4910
|
+
property :etag, as: 'etag'
|
4911
|
+
property :name, as: 'name'
|
4912
|
+
property :update_time, as: 'updateTime'
|
4913
|
+
end
|
4914
|
+
end
|
4915
|
+
|
4875
4916
|
class GoogleCloudAiplatformV1DedicatedResources
|
4876
4917
|
# @private
|
4877
4918
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5439,6 +5480,8 @@ module Google
|
|
5439
5480
|
# @private
|
5440
5481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5441
5482
|
property :annotations_filter, as: 'annotationsFilter'
|
5483
|
+
property :filter_split, as: 'filterSplit', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFilterSplit, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFilterSplit::Representation
|
5484
|
+
|
5442
5485
|
property :fraction_split, as: 'fractionSplit', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFractionSplit, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFractionSplit::Representation
|
5443
5486
|
|
5444
5487
|
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
|
@@ -5516,6 +5559,15 @@ module Google
|
|
5516
5559
|
end
|
5517
5560
|
end
|
5518
5561
|
|
5562
|
+
class GoogleCloudAiplatformV1ExportFilterSplit
|
5563
|
+
# @private
|
5564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5565
|
+
property :test_filter, as: 'testFilter'
|
5566
|
+
property :training_filter, as: 'trainingFilter'
|
5567
|
+
property :validation_filter, as: 'validationFilter'
|
5568
|
+
end
|
5569
|
+
end
|
5570
|
+
|
5519
5571
|
class GoogleCloudAiplatformV1ExportFractionSplit
|
5520
5572
|
# @private
|
5521
5573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6201,6 +6253,15 @@ module Google
|
|
6201
6253
|
end
|
6202
6254
|
end
|
6203
6255
|
|
6256
|
+
class GoogleCloudAiplatformV1ListDatasetVersionsResponse
|
6257
|
+
# @private
|
6258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6259
|
+
collection :dataset_versions, as: 'datasetVersions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
|
6260
|
+
|
6261
|
+
property :next_page_token, as: 'nextPageToken'
|
6262
|
+
end
|
6263
|
+
end
|
6264
|
+
|
6204
6265
|
class GoogleCloudAiplatformV1ListDatasetsResponse
|
6205
6266
|
# @private
|
6206
6267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6939,6 +7000,7 @@ module Google
|
|
6939
7000
|
property :email_alert_config, as: 'emailAlertConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig::Representation
|
6940
7001
|
|
6941
7002
|
property :enable_logging, as: 'enableLogging'
|
7003
|
+
collection :notification_channels, as: 'notificationChannels'
|
6942
7004
|
end
|
6943
7005
|
end
|
6944
7006
|
|
@@ -7305,6 +7367,7 @@ module Google
|
|
7305
7367
|
property :name, as: 'name'
|
7306
7368
|
property :notebook_runtime_template_ref, as: 'notebookRuntimeTemplateRef', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplateRef::Representation
|
7307
7369
|
|
7370
|
+
property :notebook_runtime_type, as: 'notebookRuntimeType'
|
7308
7371
|
property :proxy_uri, as: 'proxyUri'
|
7309
7372
|
property :runtime_state, as: 'runtimeState'
|
7310
7373
|
property :runtime_user, as: 'runtimeUser'
|
@@ -7334,6 +7397,7 @@ module Google
|
|
7334
7397
|
property :name, as: 'name'
|
7335
7398
|
property :network_spec, as: 'networkSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec::Representation
|
7336
7399
|
|
7400
|
+
property :notebook_runtime_type, as: 'notebookRuntimeType'
|
7337
7401
|
property :service_account, as: 'serviceAccount'
|
7338
7402
|
property :update_time, as: 'updateTime'
|
7339
7403
|
end
|
@@ -8475,6 +8539,22 @@ module Google
|
|
8475
8539
|
end
|
8476
8540
|
end
|
8477
8541
|
|
8542
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
|
8543
|
+
# @private
|
8544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8545
|
+
collection :sources, as: 'sources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry::Representation
|
8546
|
+
|
8547
|
+
end
|
8548
|
+
end
|
8549
|
+
|
8550
|
+
class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
|
8551
|
+
# @private
|
8552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8553
|
+
property :enterprise_datastore, as: 'enterpriseDatastore'
|
8554
|
+
property :type, as: 'type'
|
8555
|
+
end
|
8556
|
+
end
|
8557
|
+
|
8478
8558
|
class GoogleCloudAiplatformV1SchemaPredictParamsImageClassificationPredictionParams
|
8479
8559
|
# @private
|
8480
8560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8751,9 +8831,13 @@ module Google
|
|
8751
8831
|
class GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata
|
8752
8832
|
# @private
|
8753
8833
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8834
|
+
property :candidate_count, :numeric_string => true, as: 'candidateCount'
|
8754
8835
|
property :gcs_uri, as: 'gcsUri'
|
8836
|
+
property :grounding_config, as: 'groundingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig::Representation
|
8837
|
+
|
8755
8838
|
property :max_output_tokens, :numeric_string => true, as: 'maxOutputTokens'
|
8756
8839
|
property :prompt_type, as: 'promptType'
|
8840
|
+
collection :stop_sequences, as: 'stopSequences'
|
8757
8841
|
property :temperature, as: 'temperature'
|
8758
8842
|
property :text, as: 'text'
|
8759
8843
|
property :top_k, :numeric_string => true, as: 'topK'
|
@@ -2086,6 +2086,185 @@ module Google
|
|
2086
2086
|
execute_or_queue_command(command, &block)
|
2087
2087
|
end
|
2088
2088
|
|
2089
|
+
# Create a version from a Dataset.
|
2090
|
+
# @param [String] parent
|
2091
|
+
# Required. The name of the Dataset resource. Format: `projects/`project`/
|
2092
|
+
# locations/`location`/datasets/`dataset``
|
2093
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] google_cloud_aiplatform_v1_dataset_version_object
|
2094
|
+
# @param [String] fields
|
2095
|
+
# Selector specifying which fields to include in a partial response.
|
2096
|
+
# @param [String] quota_user
|
2097
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2098
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2099
|
+
# @param [Google::Apis::RequestOptions] options
|
2100
|
+
# Request-specific options
|
2101
|
+
#
|
2102
|
+
# @yield [result, err] Result & error if block supplied
|
2103
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
2104
|
+
# @yieldparam err [StandardError] error object if request failed
|
2105
|
+
#
|
2106
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
2107
|
+
#
|
2108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2111
|
+
def create_project_location_dataset_dataset_version(parent, google_cloud_aiplatform_v1_dataset_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2112
|
+
command = make_simple_command(:post, 'v1/{+parent}/datasetVersions', options)
|
2113
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
|
2114
|
+
command.request_object = google_cloud_aiplatform_v1_dataset_version_object
|
2115
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
2116
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
2117
|
+
command.params['parent'] = parent unless parent.nil?
|
2118
|
+
command.query['fields'] = fields unless fields.nil?
|
2119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2120
|
+
execute_or_queue_command(command, &block)
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
# Deletes a Dataset version.
|
2124
|
+
# @param [String] name
|
2125
|
+
# Required. The resource name of the Dataset version to delete. Format: `
|
2126
|
+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
|
2127
|
+
# dataset_version``
|
2128
|
+
# @param [String] fields
|
2129
|
+
# Selector specifying which fields to include in a partial response.
|
2130
|
+
# @param [String] quota_user
|
2131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2133
|
+
# @param [Google::Apis::RequestOptions] options
|
2134
|
+
# Request-specific options
|
2135
|
+
#
|
2136
|
+
# @yield [result, err] Result & error if block supplied
|
2137
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
2138
|
+
# @yieldparam err [StandardError] error object if request failed
|
2139
|
+
#
|
2140
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
2141
|
+
#
|
2142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2145
|
+
def delete_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
2146
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2147
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
2148
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
2149
|
+
command.params['name'] = name unless name.nil?
|
2150
|
+
command.query['fields'] = fields unless fields.nil?
|
2151
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2152
|
+
execute_or_queue_command(command, &block)
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
# Gets a Dataset version.
|
2156
|
+
# @param [String] name
|
2157
|
+
# Required. The resource name of the Dataset version to delete. Format: `
|
2158
|
+
# projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
|
2159
|
+
# dataset_version``
|
2160
|
+
# @param [String] read_mask
|
2161
|
+
# Mask specifying which fields to read.
|
2162
|
+
# @param [String] fields
|
2163
|
+
# Selector specifying which fields to include in a partial response.
|
2164
|
+
# @param [String] quota_user
|
2165
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2166
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2167
|
+
# @param [Google::Apis::RequestOptions] options
|
2168
|
+
# Request-specific options
|
2169
|
+
#
|
2170
|
+
# @yield [result, err] Result & error if block supplied
|
2171
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion] parsed result object
|
2172
|
+
# @yieldparam err [StandardError] error object if request failed
|
2173
|
+
#
|
2174
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion]
|
2175
|
+
#
|
2176
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2177
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2178
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2179
|
+
def get_project_location_dataset_dataset_version(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2180
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2181
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion::Representation
|
2182
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetVersion
|
2183
|
+
command.params['name'] = name unless name.nil?
|
2184
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
2185
|
+
command.query['fields'] = fields unless fields.nil?
|
2186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2187
|
+
execute_or_queue_command(command, &block)
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
# Lists DatasetVersions in a Dataset.
|
2191
|
+
# @param [String] parent
|
2192
|
+
# Required. The resource name of the Dataset to list DatasetVersions from.
|
2193
|
+
# Format: `projects/`project`/locations/`location`/datasets/`dataset``
|
2194
|
+
# @param [String] filter
|
2195
|
+
# Optional. The standard list filter.
|
2196
|
+
# @param [String] order_by
|
2197
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
2198
|
+
# order. Use "desc" after a field name for descending.
|
2199
|
+
# @param [Fixnum] page_size
|
2200
|
+
# Optional. The standard list page size.
|
2201
|
+
# @param [String] page_token
|
2202
|
+
# Optional. The standard list page token.
|
2203
|
+
# @param [String] read_mask
|
2204
|
+
# Optional. Mask specifying which fields to read.
|
2205
|
+
# @param [String] fields
|
2206
|
+
# Selector specifying which fields to include in a partial response.
|
2207
|
+
# @param [String] quota_user
|
2208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2210
|
+
# @param [Google::Apis::RequestOptions] options
|
2211
|
+
# Request-specific options
|
2212
|
+
#
|
2213
|
+
# @yield [result, err] Result & error if block supplied
|
2214
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse] parsed result object
|
2215
|
+
# @yieldparam err [StandardError] error object if request failed
|
2216
|
+
#
|
2217
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse]
|
2218
|
+
#
|
2219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2222
|
+
def list_project_location_dataset_dataset_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2223
|
+
command = make_simple_command(:get, 'v1/{+parent}/datasetVersions', options)
|
2224
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse::Representation
|
2225
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDatasetVersionsResponse
|
2226
|
+
command.params['parent'] = parent unless parent.nil?
|
2227
|
+
command.query['filter'] = filter unless filter.nil?
|
2228
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2229
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2230
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2231
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
2232
|
+
command.query['fields'] = fields unless fields.nil?
|
2233
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2234
|
+
execute_or_queue_command(command, &block)
|
2235
|
+
end
|
2236
|
+
|
2237
|
+
# Restores a dataset version.
|
2238
|
+
# @param [String] name
|
2239
|
+
# Required. The name of the DatasetVersion resource. Format: `projects/`project`/
|
2240
|
+
# locations/`location`/datasets/`dataset`/datasetVersions/`dataset_version``
|
2241
|
+
# @param [String] fields
|
2242
|
+
# Selector specifying which fields to include in a partial response.
|
2243
|
+
# @param [String] quota_user
|
2244
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2245
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2246
|
+
# @param [Google::Apis::RequestOptions] options
|
2247
|
+
# Request-specific options
|
2248
|
+
#
|
2249
|
+
# @yield [result, err] Result & error if block supplied
|
2250
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
2251
|
+
# @yieldparam err [StandardError] error object if request failed
|
2252
|
+
#
|
2253
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
2254
|
+
#
|
2255
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2256
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2257
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2258
|
+
def restore_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
2259
|
+
command = make_simple_command(:get, 'v1/{+name}:restore', options)
|
2260
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
2261
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
2262
|
+
command.params['name'] = name unless name.nil?
|
2263
|
+
command.query['fields'] = fields unless fields.nil?
|
2264
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2265
|
+
execute_or_queue_command(command, &block)
|
2266
|
+
end
|
2267
|
+
|
2089
2268
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2090
2269
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2091
2270
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -4414,15 +4593,12 @@ module Google
|
|
4414
4593
|
|
4415
4594
|
# Creates a new Feature in a given EntityType.
|
4416
4595
|
# @param [String] parent
|
4417
|
-
# Required. The resource name of the EntityType to create a Feature. Format: `
|
4418
|
-
# projects/`project`/locations/`location`/featurestores/`featurestore`/
|
4419
|
-
# entityTypes/`entity_type``
|
4420
4596
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature] google_cloud_aiplatform_v1_feature_object
|
4421
4597
|
# @param [String] feature_id
|
4422
4598
|
# Required. The ID to use for the Feature, which will become the final component
|
4423
4599
|
# of the Feature's resource name. This value may be up to 128 characters, and
|
4424
4600
|
# valid characters are `[a-z0-9_]`. The first character cannot be a number. The
|
4425
|
-
# value must be unique within an EntityType
|
4601
|
+
# value must be unique within an EntityType/FeatureGroup.
|
4426
4602
|
# @param [String] fields
|
4427
4603
|
# Selector specifying which fields to include in a partial response.
|
4428
4604
|
# @param [String] quota_user
|
@@ -4457,7 +4633,8 @@ module Google
|
|
4457
4633
|
# @param [String] name
|
4458
4634
|
# Required. The name of the Features to be deleted. Format: `projects/`project`/
|
4459
4635
|
# locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
|
4460
|
-
# features/`feature``
|
4636
|
+
# features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
|
4637
|
+
# feature_group`/features/`feature``
|
4461
4638
|
# @param [String] fields
|
4462
4639
|
# Selector specifying which fields to include in a partial response.
|
4463
4640
|
# @param [String] quota_user
|
@@ -4488,7 +4665,8 @@ module Google
|
|
4488
4665
|
# Gets details of a single Feature.
|
4489
4666
|
# @param [String] name
|
4490
4667
|
# Required. The name of the Feature resource. Format: `projects/`project`/
|
4491
|
-
# locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type``
|
4668
|
+
# locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`` `
|
4669
|
+
# projects/`project`/locations/`location`/featureGroups/`feature_group``
|
4492
4670
|
# @param [String] fields
|
4493
4671
|
# Selector specifying which fields to include in a partial response.
|
4494
4672
|
# @param [String] quota_user
|
@@ -4520,7 +4698,8 @@ module Google
|
|
4520
4698
|
# @param [String] parent
|
4521
4699
|
# Required. The resource name of the Location to list Features. Format: `
|
4522
4700
|
# projects/`project`/locations/`location`/featurestores/`featurestore`/
|
4523
|
-
# entityTypes/`entity_type``
|
4701
|
+
# entityTypes/`entity_type`` `projects/`project`/locations/`location`/
|
4702
|
+
# featureGroups/`feature_group``
|
4524
4703
|
# @param [String] filter
|
4525
4704
|
# Lists the Features that match the filter expression. The following filters are
|
4526
4705
|
# supported: * `value_type`: Supports = and != comparisons. * `create_time`:
|
@@ -10025,9 +10204,10 @@ module Google
|
|
10025
10204
|
# NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `
|
10026
10205
|
# labels` supports general map functions that is: * `labels.key=value` - key:
|
10027
10206
|
# value equality * `labels.key:* or labels:key - key existence * A key including
|
10028
|
-
# a space must be quoted. `labels."a key"`.
|
10207
|
+
# a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports =
|
10208
|
+
# and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
|
10029
10209
|
# notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="
|
10030
|
-
# myDisplayName"` * `labels.myKey="myValue"`
|
10210
|
+
# myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED`
|
10031
10211
|
# @param [String] order_by
|
10032
10212
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
10033
10213
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
@@ -10270,11 +10450,13 @@ module Google
|
|
10270
10450
|
# UI only: `uiState` supports = and !=. uiState enum: [
|
10271
10451
|
# UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
|
10272
10452
|
# UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
|
10273
|
-
# UI_RESOURCE_STATE_CREATION_FAILED].
|
10274
|
-
#
|
10275
|
-
#
|
10276
|
-
# `
|
10277
|
-
#
|
10453
|
+
# UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
|
10454
|
+
# notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
|
10455
|
+
# notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `
|
10456
|
+
# displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="
|
10457
|
+
# notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` *
|
10458
|
+
# `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` *
|
10459
|
+
# `notebookRuntimeType=USER_DEFINED`
|
10278
10460
|
# @param [String] order_by
|
10279
10461
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
10280
10462
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.2.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|