google-apis-aiplatform_v1 0.23.0 → 0.25.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.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240510"
25
+ REVISION = "20240529"
26
26
  end
27
27
  end
28
28
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module AiplatformV1
24
24
 
25
- class CloudAiLargeModelsVisionFilteredText
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class CloudAiLargeModelsVisionGenerateVideoResponse
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -64,6 +58,24 @@ module Google
64
58
  include Google::Apis::Core::JsonObjectSupport
65
59
  end
66
60
 
61
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabels
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class CloudAiLargeModelsVisionSemanticFilterResponse
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -76,6 +88,12 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class GoogleApiHttpBody
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -736,6 +754,24 @@ module Google
736
754
  include Google::Apis::Core::JsonObjectSupport
737
755
  end
738
756
 
757
+ class GoogleCloudAiplatformV1DatasetDistribution
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class GoogleCloudAiplatformV1DatasetStats
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
739
775
  class GoogleCloudAiplatformV1DatasetVersion
740
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
777
 
@@ -916,6 +952,12 @@ module Google
916
952
  include Google::Apis::Core::JsonObjectSupport
917
953
  end
918
954
 
955
+ class GoogleCloudAiplatformV1DistillationDataStats
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
919
961
  class GoogleCloudAiplatformV1DoubleArray
920
962
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
963
 
@@ -1498,6 +1540,12 @@ module Google
1498
1540
  include Google::Apis::Core::JsonObjectSupport
1499
1541
  end
1500
1542
 
1543
+ class GoogleCloudAiplatformV1FunctionCallingConfig
1544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1545
+
1546
+ include Google::Apis::Core::JsonObjectSupport
1547
+ end
1548
+
1501
1549
  class GoogleCloudAiplatformV1FunctionDeclaration
1502
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1503
1551
 
@@ -1564,6 +1612,12 @@ module Google
1564
1612
  include Google::Apis::Core::JsonObjectSupport
1565
1613
  end
1566
1614
 
1615
+ class GoogleCloudAiplatformV1GoogleSearchRetrieval
1616
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1617
+
1618
+ include Google::Apis::Core::JsonObjectSupport
1619
+ end
1620
+
1567
1621
  class GoogleCloudAiplatformV1GroundingMetadata
1568
1622
  class Representation < Google::Apis::Core::JsonRepresentation; end
1569
1623
 
@@ -2056,6 +2110,12 @@ module Google
2056
2110
  include Google::Apis::Core::JsonObjectSupport
2057
2111
  end
2058
2112
 
2113
+ class GoogleCloudAiplatformV1MetadataStoreDataplexConfig
2114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2115
+
2116
+ include Google::Apis::Core::JsonObjectSupport
2117
+ end
2118
+
2059
2119
  class GoogleCloudAiplatformV1MetadataStoreMetadataStoreState
2060
2120
  class Representation < Google::Apis::Core::JsonRepresentation; end
2061
2121
 
@@ -2506,12 +2566,6 @@ module Google
2506
2566
  include Google::Apis::Core::JsonObjectSupport
2507
2567
  end
2508
2568
 
2509
- class GoogleCloudAiplatformV1NotebookReservationAffinity
2510
- class Representation < Google::Apis::Core::JsonRepresentation; end
2511
-
2512
- include Google::Apis::Core::JsonObjectSupport
2513
- end
2514
-
2515
2569
  class GoogleCloudAiplatformV1NotebookRuntime
2516
2570
  class Representation < Google::Apis::Core::JsonRepresentation; end
2517
2571
 
@@ -2830,6 +2884,12 @@ module Google
2830
2884
  include Google::Apis::Core::JsonObjectSupport
2831
2885
  end
2832
2886
 
2887
+ class GoogleCloudAiplatformV1RayMetricSpec
2888
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2889
+
2890
+ include Google::Apis::Core::JsonObjectSupport
2891
+ end
2892
+
2833
2893
  class GoogleCloudAiplatformV1RaySpec
2834
2894
  class Representation < Google::Apis::Core::JsonRepresentation; end
2835
2895
 
@@ -2932,6 +2992,12 @@ module Google
2932
2992
  include Google::Apis::Core::JsonObjectSupport
2933
2993
  end
2934
2994
 
2995
+ class GoogleCloudAiplatformV1ReinforcementLearningDataStats
2996
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2997
+
2998
+ include Google::Apis::Core::JsonObjectSupport
2999
+ end
3000
+
2935
3001
  class GoogleCloudAiplatformV1RemoveContextChildrenRequest
2936
3002
  class Representation < Google::Apis::Core::JsonRepresentation; end
2937
3003
 
@@ -4198,6 +4264,18 @@ module Google
4198
4264
  include Google::Apis::Core::JsonObjectSupport
4199
4265
  end
4200
4266
 
4267
+ class GoogleCloudAiplatformV1StructFieldValue
4268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4269
+
4270
+ include Google::Apis::Core::JsonObjectSupport
4271
+ end
4272
+
4273
+ class GoogleCloudAiplatformV1StructValue
4274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4275
+
4276
+ include Google::Apis::Core::JsonObjectSupport
4277
+ end
4278
+
4201
4279
  class GoogleCloudAiplatformV1Study
4202
4280
  class Representation < Google::Apis::Core::JsonRepresentation; end
4203
4281
 
@@ -4462,6 +4540,12 @@ module Google
4462
4540
  include Google::Apis::Core::JsonObjectSupport
4463
4541
  end
4464
4542
 
4543
+ class GoogleCloudAiplatformV1ToolConfig
4544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4545
+
4546
+ include Google::Apis::Core::JsonObjectSupport
4547
+ end
4548
+
4465
4549
  class GoogleCloudAiplatformV1TrainingConfig
4466
4550
  class Representation < Google::Apis::Core::JsonRepresentation; end
4467
4551
 
@@ -4846,26 +4930,13 @@ module Google
4846
4930
  include Google::Apis::Core::JsonObjectSupport
4847
4931
  end
4848
4932
 
4849
- class CloudAiLargeModelsVisionFilteredText
4850
- # @private
4851
- class Representation < Google::Apis::Core::JsonRepresentation
4852
- property :category, as: 'category'
4853
- property :confidence, as: 'confidence'
4854
- property :prompt, as: 'prompt'
4855
- property :score, as: 'score'
4856
- end
4857
- end
4858
-
4859
4933
  class CloudAiLargeModelsVisionGenerateVideoResponse
4860
4934
  # @private
4861
4935
  class Representation < Google::Apis::Core::JsonRepresentation
4862
4936
  collection :generated_samples, as: 'generatedSamples', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia::Representation
4863
4937
 
4864
- property :rai_error_message, as: 'raiErrorMessage'
4865
4938
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
4866
4939
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
4867
- property :rai_text_filtered_reason, as: 'raiTextFilteredReason', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText::Representation
4868
-
4869
4940
  end
4870
4941
  end
4871
4942
 
@@ -4918,11 +4989,44 @@ module Google
4918
4989
  class CloudAiLargeModelsVisionRaiInfo
4919
4990
  # @private
4920
4991
  class Representation < Google::Apis::Core::JsonRepresentation
4992
+ collection :detected_labels, as: 'detectedLabels', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels::Representation
4993
+
4921
4994
  collection :rai_categories, as: 'raiCategories'
4922
4995
  collection :scores, as: 'scores'
4923
4996
  end
4924
4997
  end
4925
4998
 
4999
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabels
5000
+ # @private
5001
+ class Representation < Google::Apis::Core::JsonRepresentation
5002
+ collection :entities, as: 'entities', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity::Representation
5003
+
5004
+ property :rai_category, as: 'raiCategory'
5005
+ end
5006
+ end
5007
+
5008
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox
5009
+ # @private
5010
+ class Representation < Google::Apis::Core::JsonRepresentation
5011
+ property :x1, as: 'x1'
5012
+ property :x2, as: 'x2'
5013
+ property :y1, as: 'y1'
5014
+ property :y2, as: 'y2'
5015
+ end
5016
+ end
5017
+
5018
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity
5019
+ # @private
5020
+ class Representation < Google::Apis::Core::JsonRepresentation
5021
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox::Representation
5022
+
5023
+ property :description, as: 'description'
5024
+ property :iou_score, as: 'iouScore'
5025
+ property :mid, as: 'mid'
5026
+ property :score, as: 'score'
5027
+ end
5028
+ end
5029
+
4926
5030
  class CloudAiLargeModelsVisionSemanticFilterResponse
4927
5031
  # @private
4928
5032
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4940,6 +5044,14 @@ module Google
4940
5044
  end
4941
5045
  end
4942
5046
 
5047
+ class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail
5048
+ # @private
5049
+ class Representation < Google::Apis::Core::JsonRepresentation
5050
+ property :error_cause, as: 'errorCause'
5051
+ property :public_message, as: 'publicMessage'
5052
+ end
5053
+ end
5054
+
4943
5055
  class GoogleApiHttpBody
4944
5056
  # @private
4945
5057
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6000,6 +6112,48 @@ module Google
6000
6112
  end
6001
6113
  end
6002
6114
 
6115
+ class GoogleCloudAiplatformV1DatasetDistribution
6116
+ # @private
6117
+ class Representation < Google::Apis::Core::JsonRepresentation
6118
+ collection :buckets, as: 'buckets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket::Representation
6119
+
6120
+ property :max, as: 'max'
6121
+ property :mean, as: 'mean'
6122
+ property :median, as: 'median'
6123
+ property :min, as: 'min'
6124
+ property :p5, as: 'p5'
6125
+ property :p95, as: 'p95'
6126
+ property :sum, as: 'sum'
6127
+ end
6128
+ end
6129
+
6130
+ class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
6131
+ # @private
6132
+ class Representation < Google::Apis::Core::JsonRepresentation
6133
+ property :count, :numeric_string => true, as: 'count'
6134
+ property :left, as: 'left'
6135
+ property :right, as: 'right'
6136
+ end
6137
+ end
6138
+
6139
+ class GoogleCloudAiplatformV1DatasetStats
6140
+ # @private
6141
+ class Representation < Google::Apis::Core::JsonRepresentation
6142
+ property :total_billable_character_count, :numeric_string => true, as: 'totalBillableCharacterCount'
6143
+ property :total_tuning_character_count, :numeric_string => true, as: 'totalTuningCharacterCount'
6144
+ property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
6145
+ property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
6146
+ collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
6147
+
6148
+ property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
6149
+
6150
+ property :user_message_per_example_distribution, as: 'userMessagePerExampleDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
6151
+
6152
+ property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
6153
+
6154
+ end
6155
+ end
6156
+
6003
6157
  class GoogleCloudAiplatformV1DatasetVersion
6004
6158
  # @private
6005
6159
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6241,7 +6395,11 @@ module Google
6241
6395
  property :create_time, as: 'createTime'
6242
6396
  property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
6243
6397
 
6398
+ property :disable_container_logging, as: 'disableContainerLogging'
6399
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
6400
+
6244
6401
  property :name, as: 'name'
6402
+ property :service_account, as: 'serviceAccount'
6245
6403
  end
6246
6404
  end
6247
6405
 
@@ -6296,6 +6454,14 @@ module Google
6296
6454
  end
6297
6455
  end
6298
6456
 
6457
+ class GoogleCloudAiplatformV1DistillationDataStats
6458
+ # @private
6459
+ class Representation < Google::Apis::Core::JsonRepresentation
6460
+ property :training_dataset_stats, as: 'trainingDatasetStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats::Representation
6461
+
6462
+ end
6463
+ end
6464
+
6299
6465
  class GoogleCloudAiplatformV1DoubleArray
6300
6466
  # @private
6301
6467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6869,6 +7035,8 @@ module Google
6869
7035
  property :create_time, as: 'createTime'
6870
7036
  property :dedicated_serving_endpoint, as: 'dedicatedServingEndpoint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint::Representation
6871
7037
 
7038
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
7039
+
6872
7040
  property :etag, as: 'etag'
6873
7041
  hash :labels, as: 'labels'
6874
7042
  property :name, as: 'name'
@@ -6948,6 +7116,8 @@ module Google
6948
7116
  property :string_array_value, as: 'stringArrayValue', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StringArray, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StringArray::Representation
6949
7117
 
6950
7118
  property :string_value, as: 'stringValue'
7119
+ property :struct_value, as: 'structValue', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StructValue, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StructValue::Representation
7120
+
6951
7121
  end
6952
7122
  end
6953
7123
 
@@ -7297,6 +7467,14 @@ module Google
7297
7467
  end
7298
7468
  end
7299
7469
 
7470
+ class GoogleCloudAiplatformV1FunctionCallingConfig
7471
+ # @private
7472
+ class Representation < Google::Apis::Core::JsonRepresentation
7473
+ collection :allowed_function_names, as: 'allowedFunctionNames'
7474
+ property :mode, as: 'mode'
7475
+ end
7476
+ end
7477
+
7300
7478
  class GoogleCloudAiplatformV1FunctionDeclaration
7301
7479
  # @private
7302
7480
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7340,6 +7518,8 @@ module Google
7340
7518
 
7341
7519
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
7342
7520
 
7521
+ property :tool_config, as: 'toolConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolConfig::Representation
7522
+
7343
7523
  collection :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool::Representation
7344
7524
 
7345
7525
  end
@@ -7384,7 +7564,8 @@ module Google
7384
7564
  property :max_output_tokens, as: 'maxOutputTokens'
7385
7565
  property :presence_penalty, as: 'presencePenalty'
7386
7566
  property :response_mime_type, as: 'responseMimeType'
7387
- property :response_style, as: 'responseStyle'
7567
+ property :response_schema, as: 'responseSchema', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
7568
+
7388
7569
  collection :stop_sequences, as: 'stopSequences'
7389
7570
  property :temperature, as: 'temperature'
7390
7571
  property :top_k, as: 'topK'
@@ -7409,6 +7590,12 @@ module Google
7409
7590
  end
7410
7591
  end
7411
7592
 
7593
+ class GoogleCloudAiplatformV1GoogleSearchRetrieval
7594
+ # @private
7595
+ class Representation < Google::Apis::Core::JsonRepresentation
7596
+ end
7597
+ end
7598
+
7412
7599
  class GoogleCloudAiplatformV1GroundingMetadata
7413
7600
  # @private
7414
7601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8215,6 +8402,8 @@ module Google
8215
8402
  # @private
8216
8403
  class Representation < Google::Apis::Core::JsonRepresentation
8217
8404
  property :create_time, as: 'createTime'
8405
+ property :dataplex_config, as: 'dataplexConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetadataStoreDataplexConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetadataStoreDataplexConfig::Representation
8406
+
8218
8407
  property :description, as: 'description'
8219
8408
  property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
8220
8409
 
@@ -8225,6 +8414,13 @@ module Google
8225
8414
  end
8226
8415
  end
8227
8416
 
8417
+ class GoogleCloudAiplatformV1MetadataStoreDataplexConfig
8418
+ # @private
8419
+ class Representation < Google::Apis::Core::JsonRepresentation
8420
+ property :enabled_pipelines_lineage, as: 'enabledPipelinesLineage'
8421
+ end
8422
+ end
8423
+
8228
8424
  class GoogleCloudAiplatformV1MetadataStoreMetadataStoreState
8229
8425
  # @private
8230
8426
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9052,23 +9248,18 @@ module Google
9052
9248
  end
9053
9249
  end
9054
9250
 
9055
- class GoogleCloudAiplatformV1NotebookReservationAffinity
9056
- # @private
9057
- class Representation < Google::Apis::Core::JsonRepresentation
9058
- property :consume_reservation_type, as: 'consumeReservationType'
9059
- property :key, as: 'key'
9060
- collection :values, as: 'values'
9061
- end
9062
- end
9063
-
9064
9251
  class GoogleCloudAiplatformV1NotebookRuntime
9065
9252
  # @private
9066
9253
  class Representation < Google::Apis::Core::JsonRepresentation
9067
9254
  property :create_time, as: 'createTime'
9068
9255
  property :description, as: 'description'
9069
9256
  property :display_name, as: 'displayName'
9257
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
9258
+
9070
9259
  property :expiration_time, as: 'expirationTime'
9071
9260
  property :health_state, as: 'healthState'
9261
+ property :idle_shutdown_config, as: 'idleShutdownConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookIdleShutdownConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookIdleShutdownConfig::Representation
9262
+
9072
9263
  property :is_upgradable, as: 'isUpgradable'
9073
9264
  hash :labels, as: 'labels'
9074
9265
  property :name, as: 'name'
@@ -9077,8 +9268,6 @@ module Google
9077
9268
 
9078
9269
  property :notebook_runtime_type, as: 'notebookRuntimeType'
9079
9270
  property :proxy_uri, as: 'proxyUri'
9080
- property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity::Representation
9081
-
9082
9271
  property :runtime_state, as: 'runtimeState'
9083
9272
  property :runtime_user, as: 'runtimeUser'
9084
9273
  property :satisfies_pzi, as: 'satisfiesPzi'
@@ -9097,6 +9286,8 @@ module Google
9097
9286
 
9098
9287
  property :description, as: 'description'
9099
9288
  property :display_name, as: 'displayName'
9289
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
9290
+
9100
9291
  property :etag, as: 'etag'
9101
9292
  property :euc_config, as: 'eucConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookEucConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookEucConfig::Representation
9102
9293
 
@@ -9111,8 +9302,6 @@ module Google
9111
9302
 
9112
9303
  collection :network_tags, as: 'networkTags'
9113
9304
  property :notebook_runtime_type, as: 'notebookRuntimeType'
9114
- property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity::Representation
9115
-
9116
9305
  property :service_account, as: 'serviceAccount'
9117
9306
  property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig::Representation
9118
9307
 
@@ -9672,9 +9861,21 @@ module Google
9672
9861
  end
9673
9862
  end
9674
9863
 
9864
+ class GoogleCloudAiplatformV1RayMetricSpec
9865
+ # @private
9866
+ class Representation < Google::Apis::Core::JsonRepresentation
9867
+ property :disabled, as: 'disabled'
9868
+ end
9869
+ end
9870
+
9675
9871
  class GoogleCloudAiplatformV1RaySpec
9676
9872
  # @private
9677
9873
  class Representation < Google::Apis::Core::JsonRepresentation
9874
+ property :head_node_resource_pool_id, as: 'headNodeResourcePoolId'
9875
+ property :image_uri, as: 'imageUri'
9876
+ property :ray_metric_spec, as: 'rayMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec::Representation
9877
+
9878
+ hash :resource_pool_images, as: 'resourcePoolImages'
9678
9879
  end
9679
9880
  end
9680
9881
 
@@ -9810,6 +10011,16 @@ module Google
9810
10011
  end
9811
10012
  end
9812
10013
 
10014
+ class GoogleCloudAiplatformV1ReinforcementLearningDataStats
10015
+ # @private
10016
+ class Representation < Google::Apis::Core::JsonRepresentation
10017
+ property :preference_dataset_stats, as: 'preferenceDatasetStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats::Representation
10018
+
10019
+ property :prompt_dataset_stats, as: 'promptDatasetStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats::Representation
10020
+
10021
+ end
10022
+ end
10023
+
9813
10024
  class GoogleCloudAiplatformV1RemoveContextChildrenRequest
9814
10025
  # @private
9815
10026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9862,6 +10073,7 @@ module Google
9862
10073
  class GoogleCloudAiplatformV1ResourceRuntime
9863
10074
  # @private
9864
10075
  class Representation < Google::Apis::Core::JsonRepresentation
10076
+ hash :access_uris, as: 'accessUris'
9865
10077
  end
9866
10078
  end
9867
10079
 
@@ -10812,10 +11024,12 @@ module Google
10812
11024
  property :gcs_uri, as: 'gcsUri'
10813
11025
  property :grounding_config, as: 'groundingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig::Representation
10814
11026
 
11027
+ property :has_prompt_variable, as: 'hasPromptVariable'
10815
11028
  property :max_output_tokens, :numeric_string => true, as: 'maxOutputTokens'
10816
11029
  property :note, as: 'note'
10817
11030
  property :prompt_type, as: 'promptType'
10818
11031
  collection :stop_sequences, as: 'stopSequences'
11032
+ property :system_instruction, as: 'systemInstruction'
10819
11033
  property :system_instruction_gcs_uri, as: 'systemInstructionGcsUri'
10820
11034
  property :temperature, as: 'temperature'
10821
11035
  property :text, as: 'text'
@@ -11879,6 +12093,23 @@ module Google
11879
12093
  end
11880
12094
  end
11881
12095
 
12096
+ class GoogleCloudAiplatformV1StructFieldValue
12097
+ # @private
12098
+ class Representation < Google::Apis::Core::JsonRepresentation
12099
+ property :name, as: 'name'
12100
+ property :value, as: 'value', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureValue::Representation
12101
+
12102
+ end
12103
+ end
12104
+
12105
+ class GoogleCloudAiplatformV1StructValue
12106
+ # @private
12107
+ class Representation < Google::Apis::Core::JsonRepresentation
12108
+ collection :values, as: 'values', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StructFieldValue, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StructFieldValue::Representation
12109
+
12110
+ end
12111
+ end
12112
+
11882
12113
  class GoogleCloudAiplatformV1Study
11883
12114
  # @private
11884
12115
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12350,11 +12581,21 @@ module Google
12350
12581
  class Representation < Google::Apis::Core::JsonRepresentation
12351
12582
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
12352
12583
 
12584
+ property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
12585
+
12353
12586
  property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
12354
12587
 
12355
12588
  end
12356
12589
  end
12357
12590
 
12591
+ class GoogleCloudAiplatformV1ToolConfig
12592
+ # @private
12593
+ class Representation < Google::Apis::Core::JsonRepresentation
12594
+ property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCallingConfig::Representation
12595
+
12596
+ end
12597
+ end
12598
+
12358
12599
  class GoogleCloudAiplatformV1TrainingConfig
12359
12600
  # @private
12360
12601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12438,6 +12679,10 @@ module Google
12438
12679
  class GoogleCloudAiplatformV1TuningDataStats
12439
12680
  # @private
12440
12681
  class Representation < Google::Apis::Core::JsonRepresentation
12682
+ property :distillation_data_stats, as: 'distillationDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DistillationDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DistillationDataStats::Representation
12683
+
12684
+ property :reinforcement_learning_data_stats, as: 'reinforcementLearningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReinforcementLearningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReinforcementLearningDataStats::Representation
12685
+
12441
12686
  property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats::Representation
12442
12687
 
12443
12688
  end
@@ -13209,6 +13209,44 @@ module Google
13209
13209
  execute_or_queue_command(command, &block)
13210
13210
  end
13211
13211
 
13212
+ # Updates a NotebookRuntimeTemplate.
13213
+ # @param [String] name
13214
+ # The resource name of the NotebookRuntimeTemplate.
13215
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate] google_cloud_aiplatform_v1_notebook_runtime_template_object
13216
+ # @param [String] update_mask
13217
+ # Required. The update mask applies to the resource. For the `FieldMask`
13218
+ # definition, see google.protobuf.FieldMask. Input format: ``paths: "$`
13219
+ # updated_filed`"`` Updatable fields: * `encryption_spec.kms_key_name`
13220
+ # @param [String] fields
13221
+ # Selector specifying which fields to include in a partial response.
13222
+ # @param [String] quota_user
13223
+ # Available to use for quota purposes for server-side applications. Can be any
13224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13225
+ # @param [Google::Apis::RequestOptions] options
13226
+ # Request-specific options
13227
+ #
13228
+ # @yield [result, err] Result & error if block supplied
13229
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate] parsed result object
13230
+ # @yieldparam err [StandardError] error object if request failed
13231
+ #
13232
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate]
13233
+ #
13234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13237
+ def patch_project_location_notebook_runtime_template(name, google_cloud_aiplatform_v1_notebook_runtime_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
13238
+ command = make_simple_command(:patch, 'v1/{+name}', options)
13239
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate::Representation
13240
+ command.request_object = google_cloud_aiplatform_v1_notebook_runtime_template_object
13241
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate::Representation
13242
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookRuntimeTemplate
13243
+ command.params['name'] = name unless name.nil?
13244
+ command.query['updateMask'] = update_mask unless update_mask.nil?
13245
+ command.query['fields'] = fields unless fields.nil?
13246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13247
+ execute_or_queue_command(command, &block)
13248
+ end
13249
+
13212
13250
  # Sets the access control policy on the specified resource. Replaces any
13213
13251
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
13214
13252
  # PERMISSION_DENIED` errors.