google-apis-aiplatform_v1 0.33.0 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240816"
25
+ REVISION = "20240916"
26
26
  end
27
27
  end
28
28
  end
@@ -718,6 +718,12 @@ module Google
718
718
  include Google::Apis::Core::JsonObjectSupport
719
719
  end
720
720
 
721
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
721
727
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
722
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
729
 
@@ -1498,6 +1504,12 @@ module Google
1498
1504
  include Google::Apis::Core::JsonObjectSupport
1499
1505
  end
1500
1506
 
1507
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
1508
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1509
+
1510
+ include Google::Apis::Core::JsonObjectSupport
1511
+ end
1512
+
1501
1513
  class GoogleCloudAiplatformV1Featurestore
1502
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1503
1515
 
@@ -2266,6 +2278,24 @@ module Google
2266
2278
  include Google::Apis::Core::JsonObjectSupport
2267
2279
  end
2268
2280
 
2281
+ class GoogleCloudAiplatformV1LogprobsResult
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2287
+ class GoogleCloudAiplatformV1LogprobsResultCandidate
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2293
+ class GoogleCloudAiplatformV1LogprobsResultTopCandidates
2294
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2295
+
2296
+ include Google::Apis::Core::JsonObjectSupport
2297
+ end
2298
+
2269
2299
  class GoogleCloudAiplatformV1LookupStudyRequest
2270
2300
  class Representation < Google::Apis::Core::JsonRepresentation; end
2271
2301
 
@@ -2818,6 +2848,12 @@ module Google
2818
2848
  include Google::Apis::Core::JsonObjectSupport
2819
2849
  end
2820
2850
 
2851
+ class GoogleCloudAiplatformV1PscAutomationConfig
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2821
2857
  class GoogleCloudAiplatformV1PairwiseMetricInput
2822
2858
  class Representation < Google::Apis::Core::JsonRepresentation; end
2823
2859
 
@@ -3424,6 +3460,12 @@ module Google
3424
3460
  include Google::Apis::Core::JsonObjectSupport
3425
3461
  end
3426
3462
 
3463
+ class GoogleCloudAiplatformV1RebaseTunedModelRequest
3464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3465
+
3466
+ include Google::Apis::Core::JsonObjectSupport
3467
+ end
3468
+
3427
3469
  class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
3428
3470
  class Representation < Google::Apis::Core::JsonRepresentation; end
3429
3471
 
@@ -5278,6 +5320,12 @@ module Google
5278
5320
  include Google::Apis::Core::JsonObjectSupport
5279
5321
  end
5280
5322
 
5323
+ class GoogleCloudAiplatformV1TunedModelRef
5324
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5325
+
5326
+ include Google::Apis::Core::JsonObjectSupport
5327
+ end
5328
+
5281
5329
  class GoogleCloudAiplatformV1TuningDataStats
5282
5330
  class Representation < Google::Apis::Core::JsonRepresentation; end
5283
5331
 
@@ -5698,6 +5746,7 @@ module Google
5698
5746
  class CloudAiLargeModelsVisionRaiInfo
5699
5747
  # @private
5700
5748
  class Representation < Google::Apis::Core::JsonRepresentation
5749
+ collection :blocked_entities, as: 'blockedEntities'
5701
5750
  collection :detected_labels, as: 'detectedLabels', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels::Representation
5702
5751
 
5703
5752
  property :model_name, as: 'modelName'
@@ -6363,6 +6412,8 @@ module Google
6363
6412
  property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata::Representation
6364
6413
 
6365
6414
  property :index, as: 'index'
6415
+ property :logprobs_result, as: 'logprobsResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult::Representation
6416
+
6366
6417
  collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating::Representation
6367
6418
 
6368
6419
  end
@@ -6559,6 +6610,8 @@ module Google
6559
6610
  class Representation < Google::Apis::Core::JsonRepresentation
6560
6611
  collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
6561
6612
 
6613
+ property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
6614
+
6562
6615
  collection :instances, as: 'instances'
6563
6616
  property :model, as: 'model'
6564
6617
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
@@ -6710,6 +6763,16 @@ module Google
6710
6763
  end
6711
6764
  end
6712
6765
 
6766
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
6767
+ # @private
6768
+ class Representation < Google::Apis::Core::JsonRepresentation
6769
+ property :notebook_execution_job, as: 'notebookExecutionJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob::Representation
6770
+
6771
+ property :notebook_execution_job_id, as: 'notebookExecutionJobId'
6772
+ property :parent, as: 'parent'
6773
+ end
6774
+ end
6775
+
6713
6776
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
6714
6777
  # @private
6715
6778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7097,6 +7160,8 @@ module Google
7097
7160
  property :index_sync_time, as: 'indexSyncTime'
7098
7161
  property :private_endpoints, as: 'privateEndpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints::Representation
7099
7162
 
7163
+ collection :psc_automation_configs, as: 'pscAutomationConfigs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig::Representation
7164
+
7100
7165
  collection :reserved_ip_ranges, as: 'reservedIpRanges'
7101
7166
  end
7102
7167
  end
@@ -7910,7 +7975,9 @@ module Google
7910
7975
  class Representation < Google::Apis::Core::JsonRepresentation
7911
7976
  property :big_query_source, as: 'bigQuerySource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource::Representation
7912
7977
 
7978
+ property :dense, as: 'dense'
7913
7979
  collection :entity_id_columns, as: 'entityIdColumns'
7980
+ property :static_data_source, as: 'staticDataSource'
7914
7981
  property :time_series, as: 'timeSeries', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries::Representation
7915
7982
 
7916
7983
  end
@@ -8092,6 +8159,8 @@ module Google
8092
8159
  property :sync_config, as: 'syncConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig::Representation
8093
8160
 
8094
8161
  property :update_time, as: 'updateTime'
8162
+ property :vertex_rag_source, as: 'vertexRagSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource::Representation
8163
+
8095
8164
  end
8096
8165
  end
8097
8166
 
@@ -8196,6 +8265,14 @@ module Google
8196
8265
  end
8197
8266
  end
8198
8267
 
8268
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
8269
+ # @private
8270
+ class Representation < Google::Apis::Core::JsonRepresentation
8271
+ property :rag_corpus_id, :numeric_string => true, as: 'ragCorpusId'
8272
+ property :uri, as: 'uri'
8273
+ end
8274
+ end
8275
+
8199
8276
  class GoogleCloudAiplatformV1Featurestore
8200
8277
  # @private
8201
8278
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8482,6 +8559,8 @@ module Google
8482
8559
  property :name, as: 'name'
8483
8560
  property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
8484
8561
 
8562
+ property :response, as: 'response', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
8563
+
8485
8564
  end
8486
8565
  end
8487
8566
 
@@ -8514,6 +8593,7 @@ module Google
8514
8593
 
8515
8594
  property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
8516
8595
 
8596
+ hash :labels, as: 'labels'
8517
8597
  collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting::Representation
8518
8598
 
8519
8599
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
@@ -8530,6 +8610,7 @@ module Google
8530
8610
  class Representation < Google::Apis::Core::JsonRepresentation
8531
8611
  collection :candidates, as: 'candidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate::Representation
8532
8612
 
8613
+ property :model_version, as: 'modelVersion'
8533
8614
  property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback::Representation
8534
8615
 
8535
8616
  property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata::Representation
@@ -8561,8 +8642,10 @@ module Google
8561
8642
  class Representation < Google::Apis::Core::JsonRepresentation
8562
8643
  property :candidate_count, as: 'candidateCount'
8563
8644
  property :frequency_penalty, as: 'frequencyPenalty'
8645
+ property :logprobs, as: 'logprobs'
8564
8646
  property :max_output_tokens, as: 'maxOutputTokens'
8565
8647
  property :presence_penalty, as: 'presencePenalty'
8648
+ property :response_logprobs, as: 'responseLogprobs'
8566
8649
  property :response_mime_type, as: 'responseMimeType'
8567
8650
  property :response_schema, as: 'responseSchema', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
8568
8651
 
@@ -9453,6 +9536,33 @@ module Google
9453
9536
  end
9454
9537
  end
9455
9538
 
9539
+ class GoogleCloudAiplatformV1LogprobsResult
9540
+ # @private
9541
+ class Representation < Google::Apis::Core::JsonRepresentation
9542
+ collection :chosen_candidates, as: 'chosenCandidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate::Representation
9543
+
9544
+ collection :top_candidates, as: 'topCandidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates::Representation
9545
+
9546
+ end
9547
+ end
9548
+
9549
+ class GoogleCloudAiplatformV1LogprobsResultCandidate
9550
+ # @private
9551
+ class Representation < Google::Apis::Core::JsonRepresentation
9552
+ property :log_probability, as: 'logProbability'
9553
+ property :token, as: 'token'
9554
+ property :token_id, as: 'tokenId'
9555
+ end
9556
+ end
9557
+
9558
+ class GoogleCloudAiplatformV1LogprobsResultTopCandidates
9559
+ # @private
9560
+ class Representation < Google::Apis::Core::JsonRepresentation
9561
+ collection :candidates, as: 'candidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate::Representation
9562
+
9563
+ end
9564
+ end
9565
+
9456
9566
  class GoogleCloudAiplatformV1LookupStudyRequest
9457
9567
  # @private
9458
9568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10504,6 +10614,14 @@ module Google
10504
10614
  end
10505
10615
  end
10506
10616
 
10617
+ class GoogleCloudAiplatformV1PscAutomationConfig
10618
+ # @private
10619
+ class Representation < Google::Apis::Core::JsonRepresentation
10620
+ property :network, as: 'network'
10621
+ property :project_id, as: 'projectId'
10622
+ end
10623
+ end
10624
+
10507
10625
  class GoogleCloudAiplatformV1PairwiseMetricInput
10508
10626
  # @private
10509
10627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11503,6 +11621,19 @@ module Google
11503
11621
  end
11504
11622
  end
11505
11623
 
11624
+ class GoogleCloudAiplatformV1RebaseTunedModelRequest
11625
+ # @private
11626
+ class Representation < Google::Apis::Core::JsonRepresentation
11627
+ property :artifact_destination, as: 'artifactDestination', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
11628
+
11629
+ property :deploy_to_same_endpoint, as: 'deployToSameEndpoint'
11630
+ property :tuned_model_ref, as: 'tunedModelRef', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef::Representation
11631
+
11632
+ property :tuning_job, as: 'tuningJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
11633
+
11634
+ end
11635
+ end
11636
+
11506
11637
  class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
11507
11638
  # @private
11508
11639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11787,6 +11918,8 @@ module Google
11787
11918
  class Representation < Google::Apis::Core::JsonRepresentation
11788
11919
  property :allow_queueing, as: 'allowQueueing'
11789
11920
  property :catch_up, as: 'catchUp'
11921
+ property :create_notebook_execution_job_request, as: 'createNotebookExecutionJobRequest', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest::Representation
11922
+
11790
11923
  property :create_pipeline_job_request, as: 'createPipelineJobRequest', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest::Representation
11791
11924
 
11792
11925
  property :create_time, as: 'createTime'
@@ -11830,6 +11963,8 @@ module Google
11830
11963
  class GoogleCloudAiplatformV1Schema
11831
11964
  # @private
11832
11965
  class Representation < Google::Apis::Core::JsonRepresentation
11966
+ collection :any_of, as: 'anyOf', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
11967
+
11833
11968
  property :default, as: 'default'
11834
11969
  property :description, as: 'description'
11835
11970
  collection :enum, as: 'enum'
@@ -11849,6 +11984,7 @@ module Google
11849
11984
  property :pattern, as: 'pattern'
11850
11985
  hash :properties, as: 'properties', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
11851
11986
 
11987
+ collection :property_ordering, as: 'propertyOrdering'
11852
11988
  collection :required, as: 'required'
11853
11989
  property :title, as: 'title'
11854
11990
  property :type, as: 'type'
@@ -14546,6 +14682,15 @@ module Google
14546
14682
  end
14547
14683
  end
14548
14684
 
14685
+ class GoogleCloudAiplatformV1TunedModelRef
14686
+ # @private
14687
+ class Representation < Google::Apis::Core::JsonRepresentation
14688
+ property :pipeline_job, as: 'pipelineJob'
14689
+ property :tuned_model, as: 'tunedModel'
14690
+ property :tuning_job, as: 'tuningJob'
14691
+ end
14692
+ end
14693
+
14549
14694
  class GoogleCloudAiplatformV1TuningDataStats
14550
14695
  # @private
14551
14696
  class Representation < Google::Apis::Core::JsonRepresentation