google-apis-aiplatform_v1 0.20.0 → 0.22.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: 1e0650fb34c1825782cd68a21329bb136a2cf350884300b926d7af835b573bd2
4
+ data.tar.gz: a94b2793a558ba613002949d5f211d15a0e1481d0641407afb3f8008ee1325e2
5
5
  SHA512:
6
- metadata.gz: 0c5ee3ac44e441d759c29ccb3e9e77e7700d2ea3cfd897ea87e66a8688cd64a56bf4f571a23ee5cb0c7b87ca58a8eefc526812e15e19f2634ef0786619d8c826
7
- data.tar.gz: '05936a844dbd3c3c4fdddfb3ebc0495c6b023bf663a447b03e82307637f2c1d8c3413e905e26b162c87b90e44e07ac824a56128da9572d392356dfe3fefaa73a'
6
+ metadata.gz: 86d973767f258ae5a24a613897be7d39046be0169915898fa18d41639db593f5f5b247d8b0a132eaf0aae4745a7392fada3bff8b2be917ea57d483be1f5007a5
7
+ data.tar.gz: 39dca9aa0af9ff54723d283fc8e638f5a8ce441a92c778d7ea34a80a3ef6907df464991d34b241b1f2426d624f740ae400f1ae29804976d3875a50817dbe636c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.22.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240429
6
+
7
+ ### v0.21.0 (2024-04-28)
8
+
9
+ * Regenerated from discovery document revision 20240417
10
+
3
11
  ### v0.20.0 (2024-04-07)
4
12
 
5
13
  * 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
@@ -9677,7 +9689,7 @@ module Google
9677
9689
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexDatapoint]
9678
9690
  attr_accessor :datapoint
9679
9691
 
9680
- # The distance between the neighbor and the query vector.
9692
+ # The distance between the neighbor and the dense embedding query.
9681
9693
  # Corresponds to the JSON property `distance`
9682
9694
  # @return [Float]
9683
9695
  attr_accessor :distance
@@ -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,93 +10150,14 @@ 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
10157
+ # Google search entry point.
10158
+ # Corresponds to the JSON property `searchEntryPoint`
10159
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint]
10160
+ attr_accessor :search_entry_point
10228
10161
 
10229
10162
  # Optional. Web search queries for the following-up web search.
10230
10163
  # Corresponds to the JSON property `webSearchQueries`
@@ -10237,7 +10170,7 @@ module Google
10237
10170
 
10238
10171
  # Update properties of this object
10239
10172
  def update!(**args)
10240
- @grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
10173
+ @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
10241
10174
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
10242
10175
  end
10243
10176
  end
@@ -10859,8 +10792,8 @@ module Google
10859
10792
  # @return [String]
10860
10793
  attr_accessor :datapoint_id
10861
10794
 
10862
- # Required. Feature embedding vector. An array of numbers with the length of [
10863
- # NearestNeighborSearchConfig.dimensions].
10795
+ # Required. Feature embedding vector for dense index. An array of numbers with
10796
+ # the length of [NearestNeighborSearchConfig.dimensions].
10864
10797
  # Corresponds to the JSON property `featureVector`
10865
10798
  # @return [Array<Float>]
10866
10799
  attr_accessor :feature_vector
@@ -11160,7 +11093,7 @@ module Google
11160
11093
  # @return [Fixnum]
11161
11094
  attr_accessor :shards_count
11162
11095
 
11163
- # Output only. The number of vectors in the Index.
11096
+ # Output only. The number of dense vectors in the Index.
11164
11097
  # Corresponds to the JSON property `vectorsCount`
11165
11098
  # @return [Fixnum]
11166
11099
  attr_accessor :vectors_count
@@ -17681,6 +17614,12 @@ module Google
17681
17614
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
17682
17615
  attr_accessor :deploy_gke
17683
17616
 
17617
+ # The regional resource name or the URI. Key is region, e.g., us-central1,
17618
+ # europe-west2, global, etc..
17619
+ # Corresponds to the JSON property `fineTune`
17620
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences]
17621
+ attr_accessor :fine_tune
17622
+
17684
17623
  # The regional resource name or the URI. Key is region, e.g., us-central1,
17685
17624
  # europe-west2, global, etc..
17686
17625
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -17747,6 +17686,7 @@ module Google
17747
17686
  @create_application = args[:create_application] if args.key?(:create_application)
17748
17687
  @deploy = args[:deploy] if args.key?(:deploy)
17749
17688
  @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
17689
+ @fine_tune = args[:fine_tune] if args.key?(:fine_tune)
17750
17690
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
17751
17691
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
17752
17692
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -17792,6 +17732,11 @@ module Google
17792
17732
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
17793
17733
  attr_accessor :dedicated_resources
17794
17734
 
17735
+ # Optional. The name of the deploy task (e.g., "text to image generation").
17736
+ # Corresponds to the JSON property `deployTaskName`
17737
+ # @return [String]
17738
+ attr_accessor :deploy_task_name
17739
+
17795
17740
  # Contains information about the Large Model.
17796
17741
  # Corresponds to the JSON property `largeModelReference`
17797
17742
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference]
@@ -17829,6 +17774,7 @@ module Google
17829
17774
  @automatic_resources = args[:automatic_resources] if args.key?(:automatic_resources)
17830
17775
  @container_spec = args[:container_spec] if args.key?(:container_spec)
17831
17776
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
17777
+ @deploy_task_name = args[:deploy_task_name] if args.key?(:deploy_task_name)
17832
17778
  @large_model_reference = args[:large_model_reference] if args.key?(:large_model_reference)
17833
17779
  @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
17834
17780
  @public_artifact_uri = args[:public_artifact_uri] if args.key?(:public_artifact_uri)
@@ -22554,6 +22500,12 @@ module Google
22554
22500
  # @return [Array<String>]
22555
22501
  attr_accessor :stop_sequences
22556
22502
 
22503
+ # The Google Cloud Storage URI that stores the system instruction, starting with
22504
+ # gs://.
22505
+ # Corresponds to the JSON property `systemInstructionGcsUri`
22506
+ # @return [String]
22507
+ attr_accessor :system_instruction_gcs_uri
22508
+
22557
22509
  # Temperature value used for sampling set when the dataset was saved. This value
22558
22510
  # is used to tune the degree of randomness.
22559
22511
  # Corresponds to the JSON property `temperature`
@@ -22591,6 +22543,7 @@ module Google
22591
22543
  @note = args[:note] if args.key?(:note)
22592
22544
  @prompt_type = args[:prompt_type] if args.key?(:prompt_type)
22593
22545
  @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
22546
+ @system_instruction_gcs_uri = args[:system_instruction_gcs_uri] if args.key?(:system_instruction_gcs_uri)
22594
22547
  @temperature = args[:temperature] if args.key?(:temperature)
22595
22548
  @text = args[:text] if args.key?(:text)
22596
22549
  @top_k = args[:top_k] if args.key?(:top_k)
@@ -25824,6 +25777,33 @@ module Google
25824
25777
  end
25825
25778
  end
25826
25779
 
25780
+ # Google search entry point.
25781
+ class GoogleCloudAiplatformV1SearchEntryPoint
25782
+ include Google::Apis::Core::Hashable
25783
+
25784
+ # Optional. Web content snippet that can be embedded in a web page or an app
25785
+ # webview.
25786
+ # Corresponds to the JSON property `renderedContent`
25787
+ # @return [String]
25788
+ attr_accessor :rendered_content
25789
+
25790
+ # Optional. Base64 encoded JSON representing array of tuple.
25791
+ # Corresponds to the JSON property `sdkBlob`
25792
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
25793
+ # @return [String]
25794
+ attr_accessor :sdk_blob
25795
+
25796
+ def initialize(**args)
25797
+ update!(**args)
25798
+ end
25799
+
25800
+ # Update properties of this object
25801
+ def update!(**args)
25802
+ @rendered_content = args[:rendered_content] if args.key?(:rendered_content)
25803
+ @sdk_blob = args[:sdk_blob] if args.key?(:sdk_blob)
25804
+ end
25805
+ end
25806
+
25827
25807
  # Response message for FeaturestoreService.SearchFeatures.
25828
25808
  class GoogleCloudAiplatformV1SearchFeaturesResponse
25829
25809
  include Google::Apis::Core::Hashable
@@ -26083,39 +26063,6 @@ module Google
26083
26063
  end
26084
26064
  end
26085
26065
 
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
26066
  # Configuration for the use of custom service account to run the workloads.
26120
26067
  class GoogleCloudAiplatformV1ServiceAccountSpec
26121
26068
  include Google::Apis::Core::Hashable
@@ -28325,11 +28272,6 @@ module Google
28325
28272
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
28326
28273
  attr_accessor :function_declarations
28327
28274
 
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
28275
  # Defines a retrieval tool that model can call to access external knowledge.
28334
28276
  # Corresponds to the JSON property `retrieval`
28335
28277
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
@@ -28342,7 +28284,6 @@ module Google
28342
28284
  # Update properties of this object
28343
28285
  def update!(**args)
28344
28286
  @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
28287
  @retrieval = args[:retrieval] if args.key?(:retrieval)
28347
28288
  end
28348
28289
  end
@@ -29526,9 +29467,9 @@ module Google
29526
29467
  class GoogleCloudAiplatformV1VertexAiSearch
29527
29468
  include Google::Apis::Core::Hashable
29528
29469
 
29529
- # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format:
29470
+ # Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: `
29530
29471
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
29531
- # dataStore`
29472
+ # dataStore``
29532
29473
  # Corresponds to the JSON property `datastore`
29533
29474
  # @return [String]
29534
29475
  attr_accessor :datastore
@@ -30864,7 +30805,8 @@ module Google
30864
30805
  class LanguageLabsAidaTrustRecitationProtoSegmentResult
30865
30806
  include Google::Apis::Core::Hashable
30866
30807
 
30867
- # The dataset the segment came from.
30808
+ # The dataset the segment came from. Datasets change often as model evolves.
30809
+ # Treat this field as informational only and avoid depending on it directly.
30868
30810
  # Corresponds to the JSON property `attributionDataset`
30869
30811
  # @return [String]
30870
30812
  attr_accessor :attribution_dataset
@@ -30906,6 +30848,12 @@ module Google
30906
30848
  # @return [String]
30907
30849
  attr_accessor :segment_recitation_action
30908
30850
 
30851
+ # The category of the source dataset where the segment came from. This is more
30852
+ # stable than Dataset.
30853
+ # Corresponds to the JSON property `sourceCategory`
30854
+ # @return [String]
30855
+ attr_accessor :source_category
30856
+
30909
30857
  # The segment boundary start (inclusive) and end index (exclusive) in the given
30910
30858
  # text. In the streaming RPC, the indexes always start from the beginning of the
30911
30859
  # first text in the entire stream. The indexes are measured in UTF-16 code units.
@@ -30926,6 +30874,7 @@ module Google
30926
30874
  @end_index = args[:end_index] if args.key?(:end_index)
30927
30875
  @raw_text = args[:raw_text] if args.key?(:raw_text)
30928
30876
  @segment_recitation_action = args[:segment_recitation_action] if args.key?(:segment_recitation_action)
30877
+ @source_category = args[:source_category] if args.key?(:source_category)
30929
30878
  @start_index = args[:start_index] if args.key?(:start_index)
30930
30879
  end
30931
30880
  end
@@ -31219,7 +31168,8 @@ module Google
31219
31168
  class LearningGenaiRecitationSegmentResult
31220
31169
  include Google::Apis::Core::Hashable
31221
31170
 
31222
- # The dataset the segment came from.
31171
+ # The dataset the segment came from. Datasets change often as model evolves.
31172
+ # Treat this field as informational only and avoid depending on it directly.
31223
31173
  # Corresponds to the JSON property `attributionDataset`
31224
31174
  # @return [String]
31225
31175
  attr_accessor :attribution_dataset
@@ -31261,6 +31211,12 @@ module Google
31261
31211
  # @return [String]
31262
31212
  attr_accessor :segment_recitation_action
31263
31213
 
31214
+ # The category of the source dataset where the segment came from. This is more
31215
+ # stable than Dataset.
31216
+ # Corresponds to the JSON property `sourceCategory`
31217
+ # @return [String]
31218
+ attr_accessor :source_category
31219
+
31264
31220
  # The segment boundary start (inclusive) and end index (exclusive) in the given
31265
31221
  # text. In the streaming RPC, the indexes always start from the beginning of the
31266
31222
  # first text in the entire stream. The indexes are measured in UTF-16 code units.
@@ -31281,6 +31237,7 @@ module Google
31281
31237
  @end_index = args[:end_index] if args.key?(:end_index)
31282
31238
  @raw_text = args[:raw_text] if args.key?(:raw_text)
31283
31239
  @segment_recitation_action = args[:segment_recitation_action] if args.key?(:segment_recitation_action)
31240
+ @source_category = args[:source_category] if args.key?(:source_category)
31284
31241
  @start_index = args[:start_index] if args.key?(:start_index)
31285
31242
  end
31286
31243
  end
@@ -31474,6 +31431,31 @@ module Google
31474
31431
  end
31475
31432
  end
31476
31433
 
31434
+ # Stores all metadata relating to GenerateCode.
31435
+ class LearningGenaiRootCodeyGenerationMetadata
31436
+ include Google::Apis::Core::Hashable
31437
+
31438
+ # Last state of the sample before getting dropped/returned.
31439
+ # Corresponds to the JSON property `output`
31440
+ # @return [String]
31441
+ attr_accessor :output
31442
+
31443
+ # Last Codey postprocessing step for this sample before getting dropped/returned.
31444
+ # Corresponds to the JSON property `postInferenceStep`
31445
+ # @return [String]
31446
+ attr_accessor :post_inference_step
31447
+
31448
+ def initialize(**args)
31449
+ update!(**args)
31450
+ end
31451
+
31452
+ # Update properties of this object
31453
+ def update!(**args)
31454
+ @output = args[:output] if args.key?(:output)
31455
+ @post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
31456
+ end
31457
+ end
31458
+
31477
31459
  # Top-level wrapper used to store all things codey-related.
31478
31460
  class LearningGenaiRootCodeyOutput
31479
31461
  include Google::Apis::Core::Hashable
@@ -31488,6 +31470,11 @@ module Google
31488
31470
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata]
31489
31471
  attr_accessor :codey_completion_metadata
31490
31472
 
31473
+ # Stores all metadata relating to GenerateCode.
31474
+ # Corresponds to the JSON property `codeyGenerationMetadata`
31475
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata]
31476
+ attr_accessor :codey_generation_metadata
31477
+
31491
31478
  def initialize(**args)
31492
31479
  update!(**args)
31493
31480
  end
@@ -31496,6 +31483,7 @@ module Google
31496
31483
  def update!(**args)
31497
31484
  @codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
31498
31485
  @codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
31486
+ @codey_generation_metadata = args[:codey_generation_metadata] if args.key?(:codey_generation_metadata)
31499
31487
  end
31500
31488
  end
31501
31489
 
@@ -31524,6 +31512,113 @@ module Google
31524
31512
  end
31525
31513
  end
31526
31514
 
31515
+ # Score threshold for a category.
31516
+ class LearningGenaiRootControlDecodingConfigThreshold
31517
+ include Google::Apis::Core::Hashable
31518
+
31519
+ #
31520
+ # Corresponds to the JSON property `policy`
31521
+ # @return [String]
31522
+ attr_accessor :policy
31523
+
31524
+ #
31525
+ # Corresponds to the JSON property `scoreMax`
31526
+ # @return [Float]
31527
+ attr_accessor :score_max
31528
+
31529
+ def initialize(**args)
31530
+ update!(**args)
31531
+ end
31532
+
31533
+ # Update properties of this object
31534
+ def update!(**args)
31535
+ @policy = args[:policy] if args.key?(:policy)
31536
+ @score_max = args[:score_max] if args.key?(:score_max)
31537
+ end
31538
+ end
31539
+
31540
+ # Holds one control decoding record.
31541
+ class LearningGenaiRootControlDecodingRecord
31542
+ include Google::Apis::Core::Hashable
31543
+
31544
+ # Prefixes feeded into scorer.
31545
+ # Corresponds to the JSON property `prefixes`
31546
+ # @return [String]
31547
+ attr_accessor :prefixes
31548
+
31549
+ # Per policy scores returned from Scorer. Expect to have the same number of
31550
+ # scores as in `thresholds`.
31551
+ # Corresponds to the JSON property `scores`
31552
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore>]
31553
+ attr_accessor :scores
31554
+
31555
+ # Suffixes feeded into scorer.
31556
+ # Corresponds to the JSON property `suffiexes`
31557
+ # @return [String]
31558
+ attr_accessor :suffiexes
31559
+
31560
+ # Per policy thresholds from user config.
31561
+ # Corresponds to the JSON property `thresholds`
31562
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold>]
31563
+ attr_accessor :thresholds
31564
+
31565
+ def initialize(**args)
31566
+ update!(**args)
31567
+ end
31568
+
31569
+ # Update properties of this object
31570
+ def update!(**args)
31571
+ @prefixes = args[:prefixes] if args.key?(:prefixes)
31572
+ @scores = args[:scores] if args.key?(:scores)
31573
+ @suffiexes = args[:suffiexes] if args.key?(:suffiexes)
31574
+ @thresholds = args[:thresholds] if args.key?(:thresholds)
31575
+ end
31576
+ end
31577
+
31578
+ #
31579
+ class LearningGenaiRootControlDecodingRecordPolicyScore
31580
+ include Google::Apis::Core::Hashable
31581
+
31582
+ #
31583
+ # Corresponds to the JSON property `policy`
31584
+ # @return [String]
31585
+ attr_accessor :policy
31586
+
31587
+ #
31588
+ # Corresponds to the JSON property `score`
31589
+ # @return [Float]
31590
+ attr_accessor :score
31591
+
31592
+ def initialize(**args)
31593
+ update!(**args)
31594
+ end
31595
+
31596
+ # Update properties of this object
31597
+ def update!(**args)
31598
+ @policy = args[:policy] if args.key?(:policy)
31599
+ @score = args[:score] if args.key?(:score)
31600
+ end
31601
+ end
31602
+
31603
+ #
31604
+ class LearningGenaiRootControlDecodingRecords
31605
+ include Google::Apis::Core::Hashable
31606
+
31607
+ # One ControlDecodingRecord record maps to one rewind.
31608
+ # Corresponds to the JSON property `records`
31609
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord>]
31610
+ attr_accessor :records
31611
+
31612
+ def initialize(**args)
31613
+ update!(**args)
31614
+ end
31615
+
31616
+ # Update properties of this object
31617
+ def update!(**args)
31618
+ @records = args[:records] if args.key?(:records)
31619
+ end
31620
+ end
31621
+
31527
31622
  #
31528
31623
  class LearningGenaiRootDataProviderOutput
31529
31624
  include Google::Apis::Core::Hashable
@@ -31638,6 +31733,11 @@ module Google
31638
31733
  # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal]
31639
31734
  attr_accessor :rai_signal
31640
31735
 
31736
+ # Number of rewinds by controlled decoding.
31737
+ # Corresponds to the JSON property `records`
31738
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords]
31739
+ attr_accessor :records
31740
+
31641
31741
  # The recitation result for one stream input
31642
31742
  # Corresponds to the JSON property `streamRecitationResult`
31643
31743
  # @return [Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult]
@@ -31666,6 +31766,7 @@ module Google
31666
31766
  @rai_output = args[:rai_output] if args.key?(:rai_output)
31667
31767
  @rai_result = args[:rai_result] if args.key?(:rai_result)
31668
31768
  @rai_signal = args[:rai_signal] if args.key?(:rai_signal)
31769
+ @records = args[:records] if args.key?(:records)
31669
31770
  @stream_recitation_result = args[:stream_recitation_result] if args.key?(:stream_recitation_result)
31670
31771
  @takedown_result = args[:takedown_result] if args.key?(:takedown_result)
31671
31772
  @toxicity_result = args[:toxicity_result] if args.key?(:toxicity_result)
@@ -32935,8 +33036,9 @@ module Google
32935
33036
  attr_accessor :stream_terminated
32936
33037
  alias_method :stream_terminated?, :stream_terminated
32937
33038
 
32938
- # NOT YET IMPLEMENTED. Aggregated number of total tokens decoded so far. For
32939
- # streaming, this is sum of all the tokens decoded so far i.e. aggregated count.
33039
+ # Total tokens decoded so far per response_candidate. For streaming: Count of
33040
+ # all the tokens decoded so far (aggregated count). For unary: Count of all the
33041
+ # tokens decoded per response_candidate.
32940
33042
  # Corresponds to the JSON property `totalDecodedTokenCount`
32941
33043
  # @return [Fixnum]
32942
33044
  attr_accessor :total_decoded_token_count
@@ -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.22.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 = "20240429"
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
 
@@ -4234,6 +4216,12 @@ module Google
4234
4216
  include Google::Apis::Core::JsonObjectSupport
4235
4217
  end
4236
4218
 
4219
+ class GoogleCloudAiplatformV1SearchEntryPoint
4220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4221
+
4222
+ include Google::Apis::Core::JsonObjectSupport
4223
+ end
4224
+
4237
4225
  class GoogleCloudAiplatformV1SearchFeaturesResponse
4238
4226
  class Representation < Google::Apis::Core::JsonRepresentation; end
4239
4227
 
@@ -4282,12 +4270,6 @@ module Google
4282
4270
  include Google::Apis::Core::JsonObjectSupport
4283
4271
  end
4284
4272
 
4285
- class GoogleCloudAiplatformV1Segment
4286
- class Representation < Google::Apis::Core::JsonRepresentation; end
4287
-
4288
- include Google::Apis::Core::JsonObjectSupport
4289
- end
4290
-
4291
4273
  class GoogleCloudAiplatformV1ServiceAccountSpec
4292
4274
  class Representation < Google::Apis::Core::JsonRepresentation; end
4293
4275
 
@@ -5116,6 +5098,12 @@ module Google
5116
5098
  include Google::Apis::Core::JsonObjectSupport
5117
5099
  end
5118
5100
 
5101
+ class LearningGenaiRootCodeyGenerationMetadata
5102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5103
+
5104
+ include Google::Apis::Core::JsonObjectSupport
5105
+ end
5106
+
5119
5107
  class LearningGenaiRootCodeyOutput
5120
5108
  class Representation < Google::Apis::Core::JsonRepresentation; end
5121
5109
 
@@ -5128,6 +5116,30 @@ module Google
5128
5116
  include Google::Apis::Core::JsonObjectSupport
5129
5117
  end
5130
5118
 
5119
+ class LearningGenaiRootControlDecodingConfigThreshold
5120
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5121
+
5122
+ include Google::Apis::Core::JsonObjectSupport
5123
+ end
5124
+
5125
+ class LearningGenaiRootControlDecodingRecord
5126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5127
+
5128
+ include Google::Apis::Core::JsonObjectSupport
5129
+ end
5130
+
5131
+ class LearningGenaiRootControlDecodingRecordPolicyScore
5132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5133
+
5134
+ include Google::Apis::Core::JsonObjectSupport
5135
+ end
5136
+
5137
+ class LearningGenaiRootControlDecodingRecords
5138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5139
+
5140
+ include Google::Apis::Core::JsonObjectSupport
5141
+ end
5142
+
5131
5143
  class LearningGenaiRootDataProviderOutput
5132
5144
  class Representation < Google::Apis::Core::JsonRepresentation; end
5133
5145
 
@@ -5426,6 +5438,7 @@ module Google
5426
5438
  class Representation < Google::Apis::Core::JsonRepresentation
5427
5439
  collection :generated_samples, as: 'generatedSamples', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionMedia::Representation
5428
5440
 
5441
+ property :rai_error_message, as: 'raiErrorMessage'
5429
5442
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
5430
5443
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
5431
5444
  property :rai_text_filtered_reason, as: 'raiTextFilteredReason', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionFilteredText::Representation
@@ -7176,6 +7189,8 @@ module Google
7176
7189
  property :network, as: 'network'
7177
7190
  property :predict_request_response_logging_config, as: 'predictRequestResponseLoggingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::Representation
7178
7191
 
7192
+ property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation
7193
+
7179
7194
  hash :traffic_split, as: 'trafficSplit'
7180
7195
  property :update_time, as: 'updateTime'
7181
7196
  end
@@ -8244,36 +8259,10 @@ module Google
8244
8259
  end
8245
8260
  end
8246
8261
 
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
8262
  class GoogleCloudAiplatformV1GroundingMetadata
8274
8263
  # @private
8275
8264
  class Representation < Google::Apis::Core::JsonRepresentation
8276
- collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation
8265
+ property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint::Representation
8277
8266
 
8278
8267
  collection :web_search_queries, as: 'webSearchQueries'
8279
8268
  end
@@ -10306,6 +10295,8 @@ module Google
10306
10295
 
10307
10296
  property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke::Representation
10308
10297
 
10298
+ property :fine_tune, as: 'fineTune', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
10299
+
10309
10300
  property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
10310
10301
 
10311
10302
  property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
@@ -10339,6 +10330,7 @@ module Google
10339
10330
 
10340
10331
  property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
10341
10332
 
10333
+ property :deploy_task_name, as: 'deployTaskName'
10342
10334
  property :large_model_reference, as: 'largeModelReference', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LargeModelReference::Representation
10343
10335
 
10344
10336
  property :model_display_name, as: 'modelDisplayName'
@@ -11659,6 +11651,7 @@ module Google
11659
11651
  property :note, as: 'note'
11660
11652
  property :prompt_type, as: 'promptType'
11661
11653
  collection :stop_sequences, as: 'stopSequences'
11654
+ property :system_instruction_gcs_uri, as: 'systemInstructionGcsUri'
11662
11655
  property :temperature, as: 'temperature'
11663
11656
  property :text, as: 'text'
11664
11657
  property :top_k, :numeric_string => true, as: 'topK'
@@ -12526,6 +12519,14 @@ module Google
12526
12519
  end
12527
12520
  end
12528
12521
 
12522
+ class GoogleCloudAiplatformV1SearchEntryPoint
12523
+ # @private
12524
+ class Representation < Google::Apis::Core::JsonRepresentation
12525
+ property :rendered_content, as: 'renderedContent'
12526
+ property :sdk_blob, :base64 => true, as: 'sdkBlob'
12527
+ end
12528
+ end
12529
+
12529
12530
  class GoogleCloudAiplatformV1SearchFeaturesResponse
12530
12531
  # @private
12531
12532
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12601,15 +12602,6 @@ module Google
12601
12602
  end
12602
12603
  end
12603
12604
 
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
12605
  class GoogleCloudAiplatformV1ServiceAccountSpec
12614
12606
  # @private
12615
12607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13193,8 +13185,6 @@ module Google
13193
13185
  class Representation < Google::Apis::Core::JsonRepresentation
13194
13186
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
13195
13187
 
13196
- property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
13197
-
13198
13188
  property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
13199
13189
 
13200
13190
  end
@@ -13875,6 +13865,7 @@ module Google
13875
13865
  property :end_index, as: 'endIndex'
13876
13866
  property :raw_text, as: 'rawText'
13877
13867
  property :segment_recitation_action, as: 'segmentRecitationAction'
13868
+ property :source_category, as: 'sourceCategory'
13878
13869
  property :start_index, as: 'startIndex'
13879
13870
  end
13880
13871
  end
@@ -13948,6 +13939,7 @@ module Google
13948
13939
  property :end_index, as: 'endIndex'
13949
13940
  property :raw_text, as: 'rawText'
13950
13941
  property :segment_recitation_action, as: 'segmentRecitationAction'
13942
+ property :source_category, as: 'sourceCategory'
13951
13943
  property :start_index, as: 'startIndex'
13952
13944
  end
13953
13945
  end
@@ -14019,6 +14011,14 @@ module Google
14019
14011
  end
14020
14012
  end
14021
14013
 
14014
+ class LearningGenaiRootCodeyGenerationMetadata
14015
+ # @private
14016
+ class Representation < Google::Apis::Core::JsonRepresentation
14017
+ property :output, as: 'output'
14018
+ property :post_inference_step, as: 'postInferenceStep'
14019
+ end
14020
+ end
14021
+
14022
14022
  class LearningGenaiRootCodeyOutput
14023
14023
  # @private
14024
14024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14026,6 +14026,8 @@ module Google
14026
14026
 
14027
14027
  property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata::Representation
14028
14028
 
14029
+ property :codey_generation_metadata, as: 'codeyGenerationMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyGenerationMetadata::Representation
14030
+
14029
14031
  end
14030
14032
  end
14031
14033
 
@@ -14037,6 +14039,42 @@ module Google
14037
14039
  end
14038
14040
  end
14039
14041
 
14042
+ class LearningGenaiRootControlDecodingConfigThreshold
14043
+ # @private
14044
+ class Representation < Google::Apis::Core::JsonRepresentation
14045
+ property :policy, as: 'policy'
14046
+ property :score_max, as: 'scoreMax'
14047
+ end
14048
+ end
14049
+
14050
+ class LearningGenaiRootControlDecodingRecord
14051
+ # @private
14052
+ class Representation < Google::Apis::Core::JsonRepresentation
14053
+ property :prefixes, as: 'prefixes'
14054
+ collection :scores, as: 'scores', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecordPolicyScore::Representation
14055
+
14056
+ property :suffiexes, as: 'suffiexes'
14057
+ collection :thresholds, as: 'thresholds', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingConfigThreshold::Representation
14058
+
14059
+ end
14060
+ end
14061
+
14062
+ class LearningGenaiRootControlDecodingRecordPolicyScore
14063
+ # @private
14064
+ class Representation < Google::Apis::Core::JsonRepresentation
14065
+ property :policy, as: 'policy'
14066
+ property :score, as: 'score'
14067
+ end
14068
+ end
14069
+
14070
+ class LearningGenaiRootControlDecodingRecords
14071
+ # @private
14072
+ class Representation < Google::Apis::Core::JsonRepresentation
14073
+ collection :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecord::Representation
14074
+
14075
+ end
14076
+ end
14077
+
14040
14078
  class LearningGenaiRootDataProviderOutput
14041
14079
  # @private
14042
14080
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14074,6 +14112,8 @@ module Google
14074
14112
 
14075
14113
  property :rai_signal, as: 'raiSignal', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal::Representation
14076
14114
 
14115
+ property :records, as: 'records', class: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords, decorator: Google::Apis::AiplatformV1::LearningGenaiRootControlDecodingRecords::Representation
14116
+
14077
14117
  property :stream_recitation_result, as: 'streamRecitationResult', class: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult, decorator: Google::Apis::AiplatformV1::LanguageLabsAidaTrustRecitationProtoStreamRecitationResult::Representation
14078
14118
 
14079
14119
  property :takedown_result, as: 'takedownResult', class: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult, decorator: Google::Apis::AiplatformV1::LearningGenaiRootTakedownResult::Representation
@@ -3953,7 +3953,7 @@ module Google
3953
3953
  # Creates a new FeatureGroup in a given project and location.
3954
3954
  # @param [String] parent
3955
3955
  # Required. The resource name of the Location to create FeatureGroups. Format: `
3956
- # projects/`project`/locations/`location`'`
3956
+ # projects/`project`/locations/`location``
3957
3957
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3958
3958
  # @param [String] feature_group_id
3959
3959
  # Required. The ID to use for this FeatureGroup, which will become the final
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.22.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-05-05 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.22.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: []