google-apis-aiplatform_v1 0.7.0 → 0.8.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.
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.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 = "20231111"
25
+ REVISION = "20231129"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GoogleCloudAiplatformV1Blob
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GoogleCloudAiplatformV1BlurBaselineConfig
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class GoogleCloudAiplatformV1Content
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class GoogleCloudAiplatformV1Context
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -778,6 +790,30 @@ module Google
778
790
  include Google::Apis::Core::JsonObjectSupport
779
791
  end
780
792
 
793
+ class GoogleCloudAiplatformV1DirectPredictRequest
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class GoogleCloudAiplatformV1DirectPredictResponse
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class GoogleCloudAiplatformV1DirectRawPredictRequest
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class GoogleCloudAiplatformV1DirectRawPredictResponse
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
781
817
  class GoogleCloudAiplatformV1DiskSpec
782
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
819
 
@@ -1012,6 +1048,12 @@ module Google
1012
1048
  include Google::Apis::Core::JsonObjectSupport
1013
1049
  end
1014
1050
 
1051
+ class GoogleCloudAiplatformV1ExportFilterSplit
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1015
1057
  class GoogleCloudAiplatformV1ExportFractionSplit
1016
1058
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1059
 
@@ -1258,6 +1300,12 @@ module Google
1258
1300
  include Google::Apis::Core::JsonObjectSupport
1259
1301
  end
1260
1302
 
1303
+ class GoogleCloudAiplatformV1FileData
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1261
1309
  class GoogleCloudAiplatformV1FilterSplit
1262
1310
  class Representation < Google::Apis::Core::JsonRepresentation; end
1263
1311
 
@@ -1300,6 +1348,18 @@ module Google
1300
1348
  include Google::Apis::Core::JsonObjectSupport
1301
1349
  end
1302
1350
 
1351
+ class GoogleCloudAiplatformV1FunctionCall
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1357
+ class GoogleCloudAiplatformV1FunctionResponse
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1303
1363
  class GoogleCloudAiplatformV1GcsDestination
1304
1364
  class Representation < Google::Apis::Core::JsonRepresentation; end
1305
1365
 
@@ -1882,6 +1942,12 @@ module Google
1882
1942
  include Google::Apis::Core::JsonObjectSupport
1883
1943
  end
1884
1944
 
1945
+ class GoogleCloudAiplatformV1ModelDataStats
1946
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1947
+
1948
+ include Google::Apis::Core::JsonObjectSupport
1949
+ end
1950
+
1885
1951
  class GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable
1886
1952
  class Representation < Google::Apis::Core::JsonRepresentation; end
1887
1953
 
@@ -2200,6 +2266,12 @@ module Google
2200
2266
  include Google::Apis::Core::JsonObjectSupport
2201
2267
  end
2202
2268
 
2269
+ class GoogleCloudAiplatformV1Part
2270
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2271
+
2272
+ include Google::Apis::Core::JsonObjectSupport
2273
+ end
2274
+
2203
2275
  class GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest
2204
2276
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2277
 
@@ -4102,6 +4174,18 @@ module Google
4102
4174
  include Google::Apis::Core::JsonObjectSupport
4103
4175
  end
4104
4176
 
4177
+ class GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata
4178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4179
+
4180
+ include Google::Apis::Core::JsonObjectSupport
4181
+ end
4182
+
4183
+ class GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest
4184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4185
+
4186
+ include Google::Apis::Core::JsonObjectSupport
4187
+ end
4188
+
4105
4189
  class GoogleCloudAiplatformV1UploadModelOperationMetadata
4106
4190
  class Representation < Google::Apis::Core::JsonRepresentation; end
4107
4191
 
@@ -4144,6 +4228,12 @@ module Google
4144
4228
  include Google::Apis::Core::JsonObjectSupport
4145
4229
  end
4146
4230
 
4231
+ class GoogleCloudAiplatformV1VideoMetadata
4232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4233
+
4234
+ include Google::Apis::Core::JsonObjectSupport
4235
+ end
4236
+
4147
4237
  class GoogleCloudAiplatformV1WorkerPoolSpec
4148
4238
  class Representation < Google::Apis::Core::JsonRepresentation; end
4149
4239
 
@@ -4744,6 +4834,14 @@ module Google
4744
4834
  end
4745
4835
  end
4746
4836
 
4837
+ class GoogleCloudAiplatformV1Blob
4838
+ # @private
4839
+ class Representation < Google::Apis::Core::JsonRepresentation
4840
+ property :data, :base64 => true, as: 'data'
4841
+ property :mime_type, as: 'mimeType'
4842
+ end
4843
+ end
4844
+
4747
4845
  class GoogleCloudAiplatformV1BlurBaselineConfig
4748
4846
  # @private
4749
4847
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4876,6 +4974,15 @@ module Google
4876
4974
  end
4877
4975
  end
4878
4976
 
4977
+ class GoogleCloudAiplatformV1Content
4978
+ # @private
4979
+ class Representation < Google::Apis::Core::JsonRepresentation
4980
+ collection :parts, as: 'parts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Part, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Part::Representation
4981
+
4982
+ property :role, as: 'role'
4983
+ end
4984
+ end
4985
+
4879
4986
  class GoogleCloudAiplatformV1Context
4880
4987
  # @private
4881
4988
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4923,7 +5030,10 @@ module Google
4923
5030
  class GoogleCloudAiplatformV1CountTokensRequest
4924
5031
  # @private
4925
5032
  class Representation < Google::Apis::Core::JsonRepresentation
5033
+ collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
5034
+
4926
5035
  collection :instances, as: 'instances'
5036
+ property :model, as: 'model'
4927
5037
  end
4928
5038
  end
4929
5039
 
@@ -5447,6 +5557,7 @@ module Google
5447
5557
  # @private
5448
5558
  class Representation < Google::Apis::Core::JsonRepresentation
5449
5559
  property :deployed_index_id, as: 'deployedIndexId'
5560
+ property :display_name, as: 'displayName'
5450
5561
  property :index_endpoint, as: 'indexEndpoint'
5451
5562
  end
5452
5563
  end
@@ -5470,6 +5581,7 @@ module Google
5470
5581
  property :private_endpoints, as: 'privateEndpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateEndpoints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateEndpoints::Representation
5471
5582
 
5472
5583
  property :service_account, as: 'serviceAccount'
5584
+ property :shared_resources, as: 'sharedResources'
5473
5585
  end
5474
5586
  end
5475
5587
 
@@ -5499,6 +5611,41 @@ module Google
5499
5611
  end
5500
5612
  end
5501
5613
 
5614
+ class GoogleCloudAiplatformV1DirectPredictRequest
5615
+ # @private
5616
+ class Representation < Google::Apis::Core::JsonRepresentation
5617
+ collection :inputs, as: 'inputs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor::Representation
5618
+
5619
+ property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor::Representation
5620
+
5621
+ end
5622
+ end
5623
+
5624
+ class GoogleCloudAiplatformV1DirectPredictResponse
5625
+ # @private
5626
+ class Representation < Google::Apis::Core::JsonRepresentation
5627
+ collection :outputs, as: 'outputs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor::Representation
5628
+
5629
+ property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tensor::Representation
5630
+
5631
+ end
5632
+ end
5633
+
5634
+ class GoogleCloudAiplatformV1DirectRawPredictRequest
5635
+ # @private
5636
+ class Representation < Google::Apis::Core::JsonRepresentation
5637
+ property :input, :base64 => true, as: 'input'
5638
+ property :method_name, as: 'methodName'
5639
+ end
5640
+ end
5641
+
5642
+ class GoogleCloudAiplatformV1DirectRawPredictResponse
5643
+ # @private
5644
+ class Representation < Google::Apis::Core::JsonRepresentation
5645
+ property :output, :base64 => true, as: 'output'
5646
+ end
5647
+ end
5648
+
5502
5649
  class GoogleCloudAiplatformV1DiskSpec
5503
5650
  # @private
5504
5651
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5839,11 +5986,16 @@ module Google
5839
5986
  class GoogleCloudAiplatformV1ExportDataConfig
5840
5987
  # @private
5841
5988
  class Representation < Google::Apis::Core::JsonRepresentation
5989
+ property :annotation_schema_uri, as: 'annotationSchemaUri'
5842
5990
  property :annotations_filter, as: 'annotationsFilter'
5991
+ property :export_use, as: 'exportUse'
5992
+ property :filter_split, as: 'filterSplit', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFilterSplit, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFilterSplit::Representation
5993
+
5843
5994
  property :fraction_split, as: 'fractionSplit', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFractionSplit, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExportFractionSplit::Representation
5844
5995
 
5845
5996
  property :gcs_destination, as: 'gcsDestination', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
5846
5997
 
5998
+ property :saved_query_id, as: 'savedQueryId'
5847
5999
  end
5848
6000
  end
5849
6001
 
@@ -5867,6 +6019,8 @@ module Google
5867
6019
  class GoogleCloudAiplatformV1ExportDataResponse
5868
6020
  # @private
5869
6021
  class Representation < Google::Apis::Core::JsonRepresentation
6022
+ property :data_stats, as: 'dataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDataStats::Representation
6023
+
5870
6024
  collection :exported_files, as: 'exportedFiles'
5871
6025
  end
5872
6026
  end
@@ -5917,6 +6071,15 @@ module Google
5917
6071
  end
5918
6072
  end
5919
6073
 
6074
+ class GoogleCloudAiplatformV1ExportFilterSplit
6075
+ # @private
6076
+ class Representation < Google::Apis::Core::JsonRepresentation
6077
+ property :test_filter, as: 'testFilter'
6078
+ property :training_filter, as: 'trainingFilter'
6079
+ property :validation_filter, as: 'validationFilter'
6080
+ end
6081
+ end
6082
+
5920
6083
  class GoogleCloudAiplatformV1ExportFractionSplit
5921
6084
  # @private
5922
6085
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6328,6 +6491,14 @@ module Google
6328
6491
  end
6329
6492
  end
6330
6493
 
6494
+ class GoogleCloudAiplatformV1FileData
6495
+ # @private
6496
+ class Representation < Google::Apis::Core::JsonRepresentation
6497
+ property :file_uri, as: 'fileUri'
6498
+ property :mime_type, as: 'mimeType'
6499
+ end
6500
+ end
6501
+
6331
6502
  class GoogleCloudAiplatformV1FilterSplit
6332
6503
  # @private
6333
6504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6394,6 +6565,22 @@ module Google
6394
6565
  end
6395
6566
  end
6396
6567
 
6568
+ class GoogleCloudAiplatformV1FunctionCall
6569
+ # @private
6570
+ class Representation < Google::Apis::Core::JsonRepresentation
6571
+ hash :args, as: 'args'
6572
+ property :name, as: 'name'
6573
+ end
6574
+ end
6575
+
6576
+ class GoogleCloudAiplatformV1FunctionResponse
6577
+ # @private
6578
+ class Representation < Google::Apis::Core::JsonRepresentation
6579
+ property :name, as: 'name'
6580
+ hash :response, as: 'response'
6581
+ end
6582
+ end
6583
+
6397
6584
  class GoogleCloudAiplatformV1GcsDestination
6398
6585
  # @private
6399
6586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7332,6 +7519,8 @@ module Google
7332
7519
  property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec::Representation
7333
7520
 
7334
7521
  property :create_time, as: 'createTime'
7522
+ property :data_stats, as: 'dataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelDataStats::Representation
7523
+
7335
7524
  collection :deployed_models, as: 'deployedModels', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef::Representation
7336
7525
 
7337
7526
  property :description, as: 'description'
@@ -7376,6 +7565,8 @@ module Google
7376
7565
  property :deployment_timeout, as: 'deploymentTimeout'
7377
7566
  collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
7378
7567
 
7568
+ collection :grpc_ports, as: 'grpcPorts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port::Representation
7569
+
7379
7570
  property :health_probe, as: 'healthProbe', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe::Representation
7380
7571
 
7381
7572
  property :health_route, as: 'healthRoute'
@@ -7389,6 +7580,18 @@ module Google
7389
7580
  end
7390
7581
  end
7391
7582
 
7583
+ class GoogleCloudAiplatformV1ModelDataStats
7584
+ # @private
7585
+ class Representation < Google::Apis::Core::JsonRepresentation
7586
+ property :test_annotations_count, :numeric_string => true, as: 'testAnnotationsCount'
7587
+ property :test_data_items_count, :numeric_string => true, as: 'testDataItemsCount'
7588
+ property :training_annotations_count, :numeric_string => true, as: 'trainingAnnotationsCount'
7589
+ property :training_data_items_count, :numeric_string => true, as: 'trainingDataItemsCount'
7590
+ property :validation_annotations_count, :numeric_string => true, as: 'validationAnnotationsCount'
7591
+ property :validation_data_items_count, :numeric_string => true, as: 'validationDataItemsCount'
7592
+ end
7593
+ end
7594
+
7392
7595
  class GoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable
7393
7596
  # @private
7394
7597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7981,6 +8184,23 @@ module Google
7981
8184
  end
7982
8185
  end
7983
8186
 
8187
+ class GoogleCloudAiplatformV1Part
8188
+ # @private
8189
+ class Representation < Google::Apis::Core::JsonRepresentation
8190
+ property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FileData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FileData::Representation
8191
+
8192
+ property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCall, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCall::Representation
8193
+
8194
+ property :function_response, as: 'functionResponse', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse::Representation
8195
+
8196
+ property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob::Representation
8197
+
8198
+ property :text, as: 'text'
8199
+ property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoMetadata::Representation
8200
+
8201
+ end
8202
+ end
8203
+
7984
8204
  class GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest
7985
8205
  # @private
7986
8206
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9153,6 +9373,7 @@ module Google
9153
9373
  # @private
9154
9374
  class Representation < Google::Apis::Core::JsonRepresentation
9155
9375
  property :enterprise_datastore, as: 'enterpriseDatastore'
9376
+ property :inline_context, as: 'inlineContext'
9156
9377
  property :type, as: 'type'
9157
9378
  property :vertex_ai_search_datastore, as: 'vertexAiSearchDatastore'
9158
9379
  end
@@ -9439,6 +9660,7 @@ module Google
9439
9660
  property :grounding_config, as: 'groundingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig::Representation
9440
9661
 
9441
9662
  property :max_output_tokens, :numeric_string => true, as: 'maxOutputTokens'
9663
+ property :note, as: 'note'
9442
9664
  property :prompt_type, as: 'promptType'
9443
9665
  collection :stop_sequences, as: 'stopSequences'
9444
9666
  property :temperature, as: 'temperature'
@@ -11091,6 +11313,21 @@ module Google
11091
11313
  end
11092
11314
  end
11093
11315
 
11316
+ class GoogleCloudAiplatformV1UpgradeNotebookRuntimeOperationMetadata
11317
+ # @private
11318
+ class Representation < Google::Apis::Core::JsonRepresentation
11319
+ property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata::Representation
11320
+
11321
+ property :progress_message, as: 'progressMessage'
11322
+ end
11323
+ end
11324
+
11325
+ class GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest
11326
+ # @private
11327
+ class Representation < Google::Apis::Core::JsonRepresentation
11328
+ end
11329
+ end
11330
+
11094
11331
  class GoogleCloudAiplatformV1UploadModelOperationMetadata
11095
11332
  # @private
11096
11333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11150,6 +11387,14 @@ module Google
11150
11387
  end
11151
11388
  end
11152
11389
 
11390
+ class GoogleCloudAiplatformV1VideoMetadata
11391
+ # @private
11392
+ class Representation < Google::Apis::Core::JsonRepresentation
11393
+ property :end_offset, as: 'endOffset'
11394
+ property :start_offset, as: 'startOffset'
11395
+ end
11396
+ end
11397
+
11153
11398
  class GoogleCloudAiplatformV1WorkerPoolSpec
11154
11399
  # @private
11155
11400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3251,6 +3251,75 @@ module Google
3251
3251
  execute_or_queue_command(command, &block)
3252
3252
  end
3253
3253
 
3254
+ # Perform an unary online prediction request for Vertex first-party products and
3255
+ # frameworks.
3256
+ # @param [String] endpoint
3257
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3258
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3259
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictRequest] google_cloud_aiplatform_v1_direct_predict_request_object
3260
+ # @param [String] fields
3261
+ # Selector specifying which fields to include in a partial response.
3262
+ # @param [String] quota_user
3263
+ # Available to use for quota purposes for server-side applications. Can be any
3264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3265
+ # @param [Google::Apis::RequestOptions] options
3266
+ # Request-specific options
3267
+ #
3268
+ # @yield [result, err] Result & error if block supplied
3269
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse] parsed result object
3270
+ # @yieldparam err [StandardError] error object if request failed
3271
+ #
3272
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse]
3273
+ #
3274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3277
+ def direct_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1_direct_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3278
+ command = make_simple_command(:post, 'v1/{+endpoint}:directPredict', options)
3279
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictRequest::Representation
3280
+ command.request_object = google_cloud_aiplatform_v1_direct_predict_request_object
3281
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse::Representation
3282
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse
3283
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3284
+ command.query['fields'] = fields unless fields.nil?
3285
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3286
+ execute_or_queue_command(command, &block)
3287
+ end
3288
+
3289
+ # Perform an online prediction request through gRPC.
3290
+ # @param [String] endpoint
3291
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3292
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3293
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictRequest] google_cloud_aiplatform_v1_direct_raw_predict_request_object
3294
+ # @param [String] fields
3295
+ # Selector specifying which fields to include in a partial response.
3296
+ # @param [String] quota_user
3297
+ # Available to use for quota purposes for server-side applications. Can be any
3298
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3299
+ # @param [Google::Apis::RequestOptions] options
3300
+ # Request-specific options
3301
+ #
3302
+ # @yield [result, err] Result & error if block supplied
3303
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse] parsed result object
3304
+ # @yieldparam err [StandardError] error object if request failed
3305
+ #
3306
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse]
3307
+ #
3308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3311
+ def direct_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1_direct_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3312
+ command = make_simple_command(:post, 'v1/{+endpoint}:directRawPredict', options)
3313
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictRequest::Representation
3314
+ command.request_object = google_cloud_aiplatform_v1_direct_raw_predict_request_object
3315
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse::Representation
3316
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse
3317
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3318
+ command.query['fields'] = fields unless fields.nil?
3319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3320
+ execute_or_queue_command(command, &block)
3321
+ end
3322
+
3254
3323
  # Perform an online explanation. If deployed_model_id is specified, the
3255
3324
  # corresponding DeployModel must have explanation_spec populated. If
3256
3325
  # deployed_model_id is not specified, all DeployedModels must have
@@ -3939,7 +4008,7 @@ module Google
3939
4008
 
3940
4009
  # Updates the parameters of a single FeatureGroup.
3941
4010
  # @param [String] name
3942
- # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
4011
+ # Identifier. Name of the FeatureGroup. Format: `projects/`project`/locations/`
3943
4012
  # location`/featureGroups/`featureGroup``
3944
4013
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3945
4014
  # @param [String] update_mask
@@ -4124,8 +4193,8 @@ module Google
4124
4193
  # A page token, received from a previous FeaturestoreService.ListFeatures call
4125
4194
  # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
4126
4195
  # subsequent page. When paginating, all other parameters provided to
4127
- # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
4128
- # must match the call that provided the page token.
4196
+ # FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
4197
+ # match the call that provided the page token.
4129
4198
  # @param [String] read_mask
4130
4199
  # Mask specifying which fields to read.
4131
4200
  # @param [String] fields
@@ -4669,7 +4738,7 @@ module Google
4669
4738
 
4670
4739
  # Updates the parameters of a single FeatureOnlineStore.
4671
4740
  # @param [String] name
4672
- # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
4741
+ # Identifier. Name of the FeatureOnlineStore. Format: `projects/`project`/
4673
4742
  # locations/`location`/featureOnlineStores/`featureOnlineStore``
4674
4743
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4675
4744
  # @param [String] update_mask
@@ -4915,7 +4984,7 @@ module Google
4915
4984
 
4916
4985
  # Updates the parameters of a single FeatureView.
4917
4986
  # @param [String] name
4918
- # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
4987
+ # Identifier. Name of the FeatureView. Format: `projects/`project`/locations/`
4919
4988
  # location`/featureOnlineStores/`feature_online_store`/featureViews/`
4920
4989
  # feature_view``
4921
4990
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
@@ -6579,8 +6648,8 @@ module Google
6579
6648
  # A page token, received from a previous FeaturestoreService.ListFeatures call
6580
6649
  # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
6581
6650
  # subsequent page. When paginating, all other parameters provided to
6582
- # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
6583
- # must match the call that provided the page token.
6651
+ # FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
6652
+ # match the call that provided the page token.
6584
6653
  # @param [String] read_mask
6585
6654
  # Mask specifying which fields to read.
6586
6655
  # @param [String] fields
@@ -12390,6 +12459,42 @@ module Google
12390
12459
  execute_or_queue_command(command, &block)
12391
12460
  end
12392
12461
 
12462
+ # Upgrades a NotebookRuntime.
12463
+ # @param [String] name
12464
+ # Required. The name of the NotebookRuntime resource to be upgrade. Instead of
12465
+ # checking whether the name is in valid NotebookRuntime resource name format,
12466
+ # directly throw NotFound exception if there is no such NotebookRuntime in
12467
+ # spanner.
12468
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest] google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object
12469
+ # @param [String] fields
12470
+ # Selector specifying which fields to include in a partial response.
12471
+ # @param [String] quota_user
12472
+ # Available to use for quota purposes for server-side applications. Can be any
12473
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12474
+ # @param [Google::Apis::RequestOptions] options
12475
+ # Request-specific options
12476
+ #
12477
+ # @yield [result, err] Result & error if block supplied
12478
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
12479
+ # @yieldparam err [StandardError] error object if request failed
12480
+ #
12481
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
12482
+ #
12483
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12484
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12485
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12486
+ def upgrade_project_location_notebook_runtime(name, google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12487
+ command = make_simple_command(:post, 'v1/{+name}:upgrade', options)
12488
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest::Representation
12489
+ command.request_object = google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object
12490
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
12491
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
12492
+ command.params['name'] = name unless name.nil?
12493
+ command.query['fields'] = fields unless fields.nil?
12494
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12495
+ execute_or_queue_command(command, &block)
12496
+ end
12497
+
12393
12498
  # Starts asynchronous cancellation on a long-running operation. The server makes
12394
12499
  # a best effort to cancel the operation, but success is not guaranteed. If the
12395
12500
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
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.7.0
4
+ version: 0.8.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-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-10 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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.8.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: []