google-apis-aiplatform_v1 0.20.0 → 0.21.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: ccf5f233aef0eca5ddf030192a2f7399cea0e7ec97a0e944398cc12d08492d3c
4
- data.tar.gz: a24e27ef6dcdaf2f15db807aecc42107d5abaa5a0e74a38e58bf5f7168b6fe68
3
+ metadata.gz: 2de10e67e65e2e52cbe1f1afce8fda1193fb1f15cda184a66e7ccbb59fa0132a
4
+ data.tar.gz: c907c24a99721e81c07713ec207580f69b4ccfc541e834f94e194aea8c1c4191
5
5
  SHA512:
6
- metadata.gz: 0c5ee3ac44e441d759c29ccb3e9e77e7700d2ea3cfd897ea87e66a8688cd64a56bf4f571a23ee5cb0c7b87ca58a8eefc526812e15e19f2634ef0786619d8c826
7
- data.tar.gz: '05936a844dbd3c3c4fdddfb3ebc0495c6b023bf663a447b03e82307637f2c1d8c3413e905e26b162c87b90e44e07ac824a56128da9572d392356dfe3fefaa73a'
6
+ metadata.gz: 121b9f978edec725c3214328bed568e606b48a8650348251cb4c2bc532eb18b3b07d043fda54296cce00473f7b464c716de294e5ff855e47112d15e077b3f3de
7
+ data.tar.gz: 81f1ee2f207c7e4d258c8884462327ca7bbf439504065c62a79534bcaa08029abf806c2fa64139b8864ff7ca5b877cd9d4269d6cb37b3a8d479a529fe7b193f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.21.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.20.0 (2024-04-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20240328
@@ -87,6 +87,11 @@ module Google
87
87
  # @return [Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia>]
88
88
  attr_accessor :generated_samples
89
89
 
90
+ # Returns rai error message for filtered videos.
91
+ # Corresponds to the JSON property `raiErrorMessage`
92
+ # @return [String]
93
+ attr_accessor :rai_error_message
94
+
90
95
  # Returns if any videos were filtered due to RAI policies.
91
96
  # Corresponds to the JSON property `raiMediaFilteredCount`
92
97
  # @return [Fixnum]
@@ -109,6 +114,7 @@ module Google
109
114
  # Update properties of this object
110
115
  def update!(**args)
111
116
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
117
+ @rai_error_message = args[:rai_error_message] if args.key?(:rai_error_message)
112
118
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
113
119
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
114
120
  @rai_text_filtered_reason = args[:rai_text_filtered_reason] if args.key?(:rai_text_filtered_reason)
@@ -6154,6 +6160,11 @@ module Google
6154
6160
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig]
6155
6161
  attr_accessor :predict_request_response_logging_config
6156
6162
 
6163
+ # Represents configuration for private service connect.
6164
+ # Corresponds to the JSON property `privateServiceConnectConfig`
6165
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
6166
+ attr_accessor :private_service_connect_config
6167
+
6157
6168
  # A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
6158
6169
  # that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
6159
6170
  # listed in this map, then it receives no traffic. The traffic percentage values
@@ -6186,6 +6197,7 @@ module Google
6186
6197
  @name = args[:name] if args.key?(:name)
6187
6198
  @network = args[:network] if args.key?(:network)
6188
6199
  @predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
6200
+ @private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
6189
6201
  @traffic_split = args[:traffic_split] if args.key?(:traffic_split)
6190
6202
  @update_time = args[:update_time] if args.key?(:update_time)
6191
6203
  end
@@ -10038,7 +10050,7 @@ module Google
10038
10050
  attr_accessor :presence_penalty
10039
10051
 
10040
10052
  # Optional. Output response mimetype of the generated candidate text. Supported
10041
- # mimetype: `text/plain`: (default) Text output. `application/json`: JSON
10053
+ # mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON
10042
10054
  # response in the candidates. The model needs to be prompted to output the
10043
10055
  # appropriate response type, otherwise the behavior is undefined. This is a
10044
10056
  # preview feature.
@@ -10138,94 +10150,10 @@ module Google
10138
10150
  end
10139
10151
  end
10140
10152
 
10141
- # Tool to retrieve public web data for grounding, powered by Google.
10142
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
10143
- include Google::Apis::Core::Hashable
10144
-
10145
- # Optional. Disable using the result from this tool in detecting grounding
10146
- # attribution. This does not affect how the result is given to the model for
10147
- # generation.
10148
- # Corresponds to the JSON property `disableAttribution`
10149
- # @return [Boolean]
10150
- attr_accessor :disable_attribution
10151
- alias_method :disable_attribution?, :disable_attribution
10152
-
10153
- def initialize(**args)
10154
- update!(**args)
10155
- end
10156
-
10157
- # Update properties of this object
10158
- def update!(**args)
10159
- @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
10160
- end
10161
- end
10162
-
10163
- # Grounding attribution.
10164
- class GoogleCloudAiplatformV1GroundingAttribution
10165
- include Google::Apis::Core::Hashable
10166
-
10167
- # Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
10168
- # 1 is the most confident.
10169
- # Corresponds to the JSON property `confidenceScore`
10170
- # @return [Float]
10171
- attr_accessor :confidence_score
10172
-
10173
- # Segment of the content.
10174
- # Corresponds to the JSON property `segment`
10175
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment]
10176
- attr_accessor :segment
10177
-
10178
- # Attribution from the web.
10179
- # Corresponds to the JSON property `web`
10180
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb]
10181
- attr_accessor :web
10182
-
10183
- def initialize(**args)
10184
- update!(**args)
10185
- end
10186
-
10187
- # Update properties of this object
10188
- def update!(**args)
10189
- @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
10190
- @segment = args[:segment] if args.key?(:segment)
10191
- @web = args[:web] if args.key?(:web)
10192
- end
10193
- end
10194
-
10195
- # Attribution from the web.
10196
- class GoogleCloudAiplatformV1GroundingAttributionWeb
10197
- include Google::Apis::Core::Hashable
10198
-
10199
- # Output only. Title of the attribution.
10200
- # Corresponds to the JSON property `title`
10201
- # @return [String]
10202
- attr_accessor :title
10203
-
10204
- # Output only. URI reference of the attribution.
10205
- # Corresponds to the JSON property `uri`
10206
- # @return [String]
10207
- attr_accessor :uri
10208
-
10209
- def initialize(**args)
10210
- update!(**args)
10211
- end
10212
-
10213
- # Update properties of this object
10214
- def update!(**args)
10215
- @title = args[:title] if args.key?(:title)
10216
- @uri = args[:uri] if args.key?(:uri)
10217
- end
10218
- end
10219
-
10220
10153
  # Metadata returned to client when grounding is enabled.
10221
10154
  class GoogleCloudAiplatformV1GroundingMetadata
10222
10155
  include Google::Apis::Core::Hashable
10223
10156
 
10224
- # Optional. List of grounding attributions.
10225
- # Corresponds to the JSON property `groundingAttributions`
10226
- # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution>]
10227
- attr_accessor :grounding_attributions
10228
-
10229
10157
  # Optional. Web search queries for the following-up web search.
10230
10158
  # Corresponds to the JSON property `webSearchQueries`
10231
10159
  # @return [Array<String>]
@@ -10237,7 +10165,6 @@ module Google
10237
10165
 
10238
10166
  # Update properties of this object
10239
10167
  def update!(**args)
10240
- @grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
10241
10168
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
10242
10169
  end
10243
10170
  end
@@ -26083,39 +26010,6 @@ module Google
26083
26010
  end
26084
26011
  end
26085
26012
 
26086
- # Segment of the content.
26087
- class GoogleCloudAiplatformV1Segment
26088
- include Google::Apis::Core::Hashable
26089
-
26090
- # Output only. End index in the given Part, measured in bytes. Offset from the
26091
- # start of the Part, exclusive, starting at zero.
26092
- # Corresponds to the JSON property `endIndex`
26093
- # @return [Fixnum]
26094
- attr_accessor :end_index
26095
-
26096
- # Output only. The index of a Part object within its parent Content object.
26097
- # Corresponds to the JSON property `partIndex`
26098
- # @return [Fixnum]
26099
- attr_accessor :part_index
26100
-
26101
- # Output only. Start index in the given Part, measured in bytes. Offset from the
26102
- # start of the Part, inclusive, starting at zero.
26103
- # Corresponds to the JSON property `startIndex`
26104
- # @return [Fixnum]
26105
- attr_accessor :start_index
26106
-
26107
- def initialize(**args)
26108
- update!(**args)
26109
- end
26110
-
26111
- # Update properties of this object
26112
- def update!(**args)
26113
- @end_index = args[:end_index] if args.key?(:end_index)
26114
- @part_index = args[:part_index] if args.key?(:part_index)
26115
- @start_index = args[:start_index] if args.key?(:start_index)
26116
- end
26117
- end
26118
-
26119
26013
  # Configuration for the use of custom service account to run the workloads.
26120
26014
  class GoogleCloudAiplatformV1ServiceAccountSpec
26121
26015
  include Google::Apis::Core::Hashable
@@ -28325,11 +28219,6 @@ module Google
28325
28219
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
28326
28220
  attr_accessor :function_declarations
28327
28221
 
28328
- # Tool to retrieve public web data for grounding, powered by Google.
28329
- # Corresponds to the JSON property `googleSearchRetrieval`
28330
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
28331
- attr_accessor :google_search_retrieval
28332
-
28333
28222
  # Defines a retrieval tool that model can call to access external knowledge.
28334
28223
  # Corresponds to the JSON property `retrieval`
28335
28224
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
@@ -28342,7 +28231,6 @@ module Google
28342
28231
  # Update properties of this object
28343
28232
  def update!(**args)
28344
28233
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
28345
- @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
28346
28234
  @retrieval = args[:retrieval] if args.key?(:retrieval)
28347
28235
  end
28348
28236
  end
@@ -29526,9 +29414,9 @@ module Google
29526
29414
  class GoogleCloudAiplatformV1VertexAiSearch
29527
29415
  include Google::Apis::Core::Hashable
29528
29416
 
29529
- # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format:
29417
+ # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: `
29530
29418
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
29531
- # dataStore`
29419
+ # dataStore``
29532
29420
  # Corresponds to the JSON property `datastore`
29533
29421
  # @return [String]
29534
29422
  attr_accessor :datastore
@@ -31474,6 +31362,31 @@ module Google
31474
31362
  end
31475
31363
  end
31476
31364
 
31365
+ # Stores all metadata relating to GenerateCode.
31366
+ class LearningGenaiRootCodeyGenerationMetadata
31367
+ include Google::Apis::Core::Hashable
31368
+
31369
+ # Last state of the sample before getting dropped/returned.
31370
+ # Corresponds to the JSON property `output`
31371
+ # @return [String]
31372
+ attr_accessor :output
31373
+
31374
+ # Last Codey postprocessing step for this sample before getting dropped/returned.
31375
+ # Corresponds to the JSON property `postInferenceStep`
31376
+ # @return [String]
31377
+ attr_accessor :post_inference_step
31378
+
31379
+ def initialize(**args)
31380
+ update!(**args)
31381
+ end
31382
+
31383
+ # Update properties of this object
31384
+ def update!(**args)
31385
+ @output = args[:output] if args.key?(:output)
31386
+ @post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
31387
+ end
31388
+ end
31389
+
31477
31390
  # Top-level wrapper used to store all things codey-related.
31478
31391
  class LearningGenaiRootCodeyOutput
31479
31392
  include Google::Apis::Core::Hashable
@@ -31488,6 +31401,11 @@ module Google
31488
31401
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata]
31489
31402
  attr_accessor :codey_completion_metadata
31490
31403
 
31404
+ # Stores all metadata relating to GenerateCode.
31405
+ # Corresponds to the JSON property `codeyGenerationMetadata`
31406
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata]
31407
+ attr_accessor :codey_generation_metadata
31408
+
31491
31409
  def initialize(**args)
31492
31410
  update!(**args)
31493
31411
  end
@@ -31496,6 +31414,7 @@ module Google
31496
31414
  def update!(**args)
31497
31415
  @codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
31498
31416
  @codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
31417
+ @codey_generation_metadata = args[:codey_generation_metadata] if args.key?(:codey_generation_metadata)
31499
31418
  end
31500
31419
  end
31501
31420
 
@@ -31524,6 +31443,113 @@ module Google
31524
31443
  end
31525
31444
  end
31526
31445
 
31446
+ # Score threshold for a category.
31447
+ class LearningGenaiRootControlDecodingConfigThreshold
31448
+ include Google::Apis::Core::Hashable
31449
+
31450
+ #
31451
+ # Corresponds to the JSON property `policy`
31452
+ # @return [String]
31453
+ attr_accessor :policy
31454
+
31455
+ #
31456
+ # Corresponds to the JSON property `scoreMax`
31457
+ # @return [Float]
31458
+ attr_accessor :score_max
31459
+
31460
+ def initialize(**args)
31461
+ update!(**args)
31462
+ end
31463
+
31464
+ # Update properties of this object
31465
+ def update!(**args)
31466
+ @policy = args[:policy] if args.key?(:policy)
31467
+ @score_max = args[:score_max] if args.key?(:score_max)
31468
+ end
31469
+ end
31470
+
31471
+ # Holds one control decoding record.
31472
+ class LearningGenaiRootControlDecodingRecord
31473
+ include Google::Apis::Core::Hashable
31474
+
31475
+ # Prefixes feeded into scorer.
31476
+ # Corresponds to the JSON property `prefixes`
31477
+ # @return [String]
31478
+ attr_accessor :prefixes
31479
+
31480
+ # Per policy scores returned from Scorer. Expect to have the same number of
31481
+ # scores as in `thresholds`.
31482
+ # Corresponds to the JSON property `scores`
31483
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore>]
31484
+ attr_accessor :scores
31485
+
31486
+ # Suffixes feeded into scorer.
31487
+ # Corresponds to the JSON property `suffiexes`
31488
+ # @return [String]
31489
+ attr_accessor :suffiexes
31490
+
31491
+ # Per policy thresholds from user config.
31492
+ # Corresponds to the JSON property `thresholds`
31493
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold>]
31494
+ attr_accessor :thresholds
31495
+
31496
+ def initialize(**args)
31497
+ update!(**args)
31498
+ end
31499
+
31500
+ # Update properties of this object
31501
+ def update!(**args)
31502
+ @prefixes = args[:prefixes] if args.key?(:prefixes)
31503
+ @scores = args[:scores] if args.key?(:scores)
31504
+ @suffiexes = args[:suffiexes] if args.key?(:suffiexes)
31505
+ @thresholds = args[:thresholds] if args.key?(:thresholds)
31506
+ end
31507
+ end
31508
+
31509
+ #
31510
+ class LearningGenaiRootControlDecodingRecordPolicyScore
31511
+ include Google::Apis::Core::Hashable
31512
+
31513
+ #
31514
+ # Corresponds to the JSON property `policy`
31515
+ # @return [String]
31516
+ attr_accessor :policy
31517
+
31518
+ #
31519
+ # Corresponds to the JSON property `score`
31520
+ # @return [Float]
31521
+ attr_accessor :score
31522
+
31523
+ def initialize(**args)
31524
+ update!(**args)
31525
+ end
31526
+
31527
+ # Update properties of this object
31528
+ def update!(**args)
31529
+ @policy = args[:policy] if args.key?(:policy)
31530
+ @score = args[:score] if args.key?(:score)
31531
+ end
31532
+ end
31533
+
31534
+ #
31535
+ class LearningGenaiRootControlDecodingRecords
31536
+ include Google::Apis::Core::Hashable
31537
+
31538
+ # One ControlDecodingRecord record maps to one rewind.
31539
+ # Corresponds to the JSON property `records`
31540
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord>]
31541
+ attr_accessor :records
31542
+
31543
+ def initialize(**args)
31544
+ update!(**args)
31545
+ end
31546
+
31547
+ # Update properties of this object
31548
+ def update!(**args)
31549
+ @records = args[:records] if args.key?(:records)
31550
+ end
31551
+ end
31552
+
31527
31553
  #
31528
31554
  class LearningGenaiRootDataProviderOutput
31529
31555
  include Google::Apis::Core::Hashable
@@ -31638,6 +31664,11 @@ module Google
31638
31664
  # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal]
31639
31665
  attr_accessor :rai_signal
31640
31666
 
31667
+ # Number of rewinds by controlled decoding.
31668
+ # Corresponds to the JSON property `records`
31669
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords]
31670
+ attr_accessor :records
31671
+
31641
31672
  # The recitation result for one stream input
31642
31673
  # Corresponds to the JSON property `streamRecitationResult`
31643
31674
  # @return [Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult]
@@ -31666,6 +31697,7 @@ module Google
31666
31697
  @rai_output = args[:rai_output] if args.key?(:rai_output)
31667
31698
  @rai_result = args[:rai_result] if args.key?(:rai_result)
31668
31699
  @rai_signal = args[:rai_signal] if args.key?(:rai_signal)
31700
+ @records = args[:records] if args.key?(:records)
31669
31701
  @stream_recitation_result = args[:stream_recitation_result] if args.key?(:stream_recitation_result)
31670
31702
  @takedown_result = args[:takedown_result] if args.key?(:takedown_result)
31671
31703
  @toxicity_result = args[:toxicity_result] if args.key?(:toxicity_result)
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240328"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -1720,24 +1720,6 @@ module Google
1720
1720
  include Google::Apis::Core::JsonObjectSupport
1721
1721
  end
1722
1722
 
1723
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
1724
- class Representation < Google::Apis::Core::JsonRepresentation; end
1725
-
1726
- include Google::Apis::Core::JsonObjectSupport
1727
- end
1728
-
1729
- class GoogleCloudAiplatformV1GroundingAttribution
1730
- class Representation < Google::Apis::Core::JsonRepresentation; end
1731
-
1732
- include Google::Apis::Core::JsonObjectSupport
1733
- end
1734
-
1735
- class GoogleCloudAiplatformV1GroundingAttributionWeb
1736
- class Representation < Google::Apis::Core::JsonRepresentation; end
1737
-
1738
- include Google::Apis::Core::JsonObjectSupport
1739
- end
1740
-
1741
1723
  class GoogleCloudAiplatformV1GroundingMetadata
1742
1724
  class Representation < Google::Apis::Core::JsonRepresentation; end
1743
1725
 
@@ -4282,12 +4264,6 @@ module Google
4282
4264
  include Google::Apis::Core::JsonObjectSupport
4283
4265
  end
4284
4266
 
4285
- class GoogleCloudAiplatformV1Segment
4286
- class Representation < Google::Apis::Core::JsonRepresentation; end
4287
-
4288
- include Google::Apis::Core::JsonObjectSupport
4289
- end
4290
-
4291
4267
  class GoogleCloudAiplatformV1ServiceAccountSpec
4292
4268
  class Representation < Google::Apis::Core::JsonRepresentation; end
4293
4269
 
@@ -5116,6 +5092,12 @@ module Google
5116
5092
  include Google::Apis::Core::JsonObjectSupport
5117
5093
  end
5118
5094
 
5095
+ class LearningGenaiRootCodeyGenerationMetadata
5096
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5097
+
5098
+ include Google::Apis::Core::JsonObjectSupport
5099
+ end
5100
+
5119
5101
  class LearningGenaiRootCodeyOutput
5120
5102
  class Representation < Google::Apis::Core::JsonRepresentation; end
5121
5103
 
@@ -5128,6 +5110,30 @@ module Google
5128
5110
  include Google::Apis::Core::JsonObjectSupport
5129
5111
  end
5130
5112
 
5113
+ class LearningGenaiRootControlDecodingConfigThreshold
5114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5115
+
5116
+ include Google::Apis::Core::JsonObjectSupport
5117
+ end
5118
+
5119
+ class LearningGenaiRootControlDecodingRecord
5120
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5121
+
5122
+ include Google::Apis::Core::JsonObjectSupport
5123
+ end
5124
+
5125
+ class LearningGenaiRootControlDecodingRecordPolicyScore
5126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5127
+
5128
+ include Google::Apis::Core::JsonObjectSupport
5129
+ end
5130
+
5131
+ class LearningGenaiRootControlDecodingRecords
5132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5133
+
5134
+ include Google::Apis::Core::JsonObjectSupport
5135
+ end
5136
+
5131
5137
  class LearningGenaiRootDataProviderOutput
5132
5138
  class Representation < Google::Apis::Core::JsonRepresentation; end
5133
5139
 
@@ -5426,6 +5432,7 @@ module Google
5426
5432
  class Representation < Google::Apis::Core::JsonRepresentation
5427
5433
  collection :generated_samples, as: 'generatedSamples', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia::Representation
5428
5434
 
5435
+ property :rai_error_message, as: 'raiErrorMessage'
5429
5436
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
5430
5437
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
5431
5438
  property :rai_text_filtered_reason, as: 'raiTextFilteredReason', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText::Representation
@@ -7176,6 +7183,8 @@ module Google
7176
7183
  property :network, as: 'network'
7177
7184
  property :predict_request_response_logging_config, as: 'predictRequestResponseLoggingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::Representation
7178
7185
 
7186
+ property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation
7187
+
7179
7188
  hash :traffic_split, as: 'trafficSplit'
7180
7189
  property :update_time, as: 'updateTime'
7181
7190
  end
@@ -8244,37 +8253,9 @@ module Google
8244
8253
  end
8245
8254
  end
8246
8255
 
8247
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
8248
- # @private
8249
- class Representation < Google::Apis::Core::JsonRepresentation
8250
- property :disable_attribution, as: 'disableAttribution'
8251
- end
8252
- end
8253
-
8254
- class GoogleCloudAiplatformV1GroundingAttribution
8255
- # @private
8256
- class Representation < Google::Apis::Core::JsonRepresentation
8257
- property :confidence_score, as: 'confidenceScore'
8258
- property :segment, as: 'segment', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment::Representation
8259
-
8260
- property :web, as: 'web', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb::Representation
8261
-
8262
- end
8263
- end
8264
-
8265
- class GoogleCloudAiplatformV1GroundingAttributionWeb
8266
- # @private
8267
- class Representation < Google::Apis::Core::JsonRepresentation
8268
- property :title, as: 'title'
8269
- property :uri, as: 'uri'
8270
- end
8271
- end
8272
-
8273
8256
  class GoogleCloudAiplatformV1GroundingMetadata
8274
8257
  # @private
8275
8258
  class Representation < Google::Apis::Core::JsonRepresentation
8276
- collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation
8277
-
8278
8259
  collection :web_search_queries, as: 'webSearchQueries'
8279
8260
  end
8280
8261
  end
@@ -12601,15 +12582,6 @@ module Google
12601
12582
  end
12602
12583
  end
12603
12584
 
12604
- class GoogleCloudAiplatformV1Segment
12605
- # @private
12606
- class Representation < Google::Apis::Core::JsonRepresentation
12607
- property :end_index, as: 'endIndex'
12608
- property :part_index, as: 'partIndex'
12609
- property :start_index, as: 'startIndex'
12610
- end
12611
- end
12612
-
12613
12585
  class GoogleCloudAiplatformV1ServiceAccountSpec
12614
12586
  # @private
12615
12587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13193,8 +13165,6 @@ module Google
13193
13165
  class Representation < Google::Apis::Core::JsonRepresentation
13194
13166
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
13195
13167
 
13196
- property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
13197
-
13198
13168
  property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
13199
13169
 
13200
13170
  end
@@ -14019,6 +13989,14 @@ module Google
14019
13989
  end
14020
13990
  end
14021
13991
 
13992
+ class LearningGenaiRootCodeyGenerationMetadata
13993
+ # @private
13994
+ class Representation < Google::Apis::Core::JsonRepresentation
13995
+ property :output, as: 'output'
13996
+ property :post_inference_step, as: 'postInferenceStep'
13997
+ end
13998
+ end
13999
+
14022
14000
  class LearningGenaiRootCodeyOutput
14023
14001
  # @private
14024
14002
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14026,6 +14004,8 @@ module Google
14026
14004
 
14027
14005
  property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata::Representation
14028
14006
 
14007
+ property :codey_generation_metadata, as: 'codeyGenerationMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata::Representation
14008
+
14029
14009
  end
14030
14010
  end
14031
14011
 
@@ -14037,6 +14017,42 @@ module Google
14037
14017
  end
14038
14018
  end
14039
14019
 
14020
+ class LearningGenaiRootControlDecodingConfigThreshold
14021
+ # @private
14022
+ class Representation < Google::Apis::Core::JsonRepresentation
14023
+ property :policy, as: 'policy'
14024
+ property :score_max, as: 'scoreMax'
14025
+ end
14026
+ end
14027
+
14028
+ class LearningGenaiRootControlDecodingRecord
14029
+ # @private
14030
+ class Representation < Google::Apis::Core::JsonRepresentation
14031
+ property :prefixes, as: 'prefixes'
14032
+ collection :scores, as: 'scores', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore::Representation
14033
+
14034
+ property :suffiexes, as: 'suffiexes'
14035
+ collection :thresholds, as: 'thresholds', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold::Representation
14036
+
14037
+ end
14038
+ end
14039
+
14040
+ class LearningGenaiRootControlDecodingRecordPolicyScore
14041
+ # @private
14042
+ class Representation < Google::Apis::Core::JsonRepresentation
14043
+ property :policy, as: 'policy'
14044
+ property :score, as: 'score'
14045
+ end
14046
+ end
14047
+
14048
+ class LearningGenaiRootControlDecodingRecords
14049
+ # @private
14050
+ class Representation < Google::Apis::Core::JsonRepresentation
14051
+ collection :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord::Representation
14052
+
14053
+ end
14054
+ end
14055
+
14040
14056
  class LearningGenaiRootDataProviderOutput
14041
14057
  # @private
14042
14058
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14074,6 +14090,8 @@ module Google
14074
14090
 
14075
14091
  property :rai_signal, as: 'raiSignal', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal::Representation
14076
14092
 
14093
+ property :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords::Representation
14094
+
14077
14095
  property :stream_recitation_result, as: 'streamRecitationResult', class: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult, decorator: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult::Representation
14078
14096
 
14079
14097
  property :takedown_result, as: 'takedownResult', class: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult, decorator: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult::Representation
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.20.0
4
+ version: 0.21.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: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-28 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.21.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: []