google-apis-aiplatform_v1 0.98.0 → 0.99.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: 6f4d424599e5dca32370a0041c577fefa593516403ef70152c96a50e62307ec8
4
- data.tar.gz: 684e97c280cd3a867094013e56d62ed3b60a395681958f188bd3fe9455e8087f
3
+ metadata.gz: e9c3935526210ea6323839d283addd55ca69ed6763889596cd5095654a64a6bd
4
+ data.tar.gz: 8802b6e3cc057a8624bfb022e89867f709988157a2aabc0d1b87aedd72a115de
5
5
  SHA512:
6
- metadata.gz: 0b9b025433b0c13bf71636da41fd9a19eb798e6a27080a485ec5c77ac97d7609676a4435adbf5d89e55e05b8c1f3e7b0682b8c0717202a5dd2eef7576eb866b4
7
- data.tar.gz: b27f0cc083e4b1b5c10d7f2a3679b996b6200711e73008b717d335eb5d777974e46166dae35e5b10d0e7ef52e49b3d6f1fac4096212b03f80f1d524ecdd4ee15
6
+ metadata.gz: a890f837d3469ada87c38c76e09b3ae7e1512544cf8386fd156ce8695ea1722321c3bcda039a5553df527645b4a0f105da30661dd1d30d509c9a22c4cbc9faa8
7
+ data.tar.gz: 19bcab8fad9e6ea5a13933d07460bb2f363b67fa8a693c2cd4e51e5beede82f03cd8bb6dd86aa39cd5be9b648885973daf17bc9207a557a71c793164e3cd635a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.99.0 (2026-11-01)
4
+
5
+ * Regenerated from discovery document revision 20261028
6
+
3
7
  ### v0.98.0 (2026-10-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20261012
@@ -160,6 +160,11 @@ module Google
160
160
  # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig]
161
161
  attr_accessor :outpaint_config
162
162
 
163
+ # Configuration for Omni Perf 3D estimation.
164
+ # Corresponds to the JSON property `perfEstimationConfig`
165
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig]
166
+ attr_accessor :perf_estimation_config
167
+
163
168
  # Configuration for Pro Edit.
164
169
  # Corresponds to the JSON property `proEdit`
165
170
  # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig]
@@ -247,6 +252,7 @@ module Google
247
252
  @omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
248
253
  @original_request_json = args[:original_request_json] if args.key?(:original_request_json)
249
254
  @outpaint_config = args[:outpaint_config] if args.key?(:outpaint_config)
255
+ @perf_estimation_config = args[:perf_estimation_config] if args.key?(:perf_estimation_config)
250
256
  @pro_edit = args[:pro_edit] if args.key?(:pro_edit)
251
257
  @prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
252
258
  @request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
@@ -289,6 +295,49 @@ module Google
289
295
  end
290
296
  end
291
297
 
298
+ #
299
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # The bottom coordinate (exclusive) of the bounding box.
303
+ # Corresponds to the JSON property `bottom`
304
+ # @return [Fixnum]
305
+ attr_accessor :bottom
306
+
307
+ # The frame index of the bounding box.
308
+ # Corresponds to the JSON property `frameIndex`
309
+ # @return [Fixnum]
310
+ attr_accessor :frame_index
311
+
312
+ # The left coordinate of the bounding box.
313
+ # Corresponds to the JSON property `left`
314
+ # @return [Fixnum]
315
+ attr_accessor :left
316
+
317
+ # The right coordinate (exclusive) of the bounding box.
318
+ # Corresponds to the JSON property `right`
319
+ # @return [Fixnum]
320
+ attr_accessor :right
321
+
322
+ # The top coordinate of the bounding box.
323
+ # Corresponds to the JSON property `top`
324
+ # @return [Fixnum]
325
+ attr_accessor :top
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @bottom = args[:bottom] if args.key?(:bottom)
334
+ @frame_index = args[:frame_index] if args.key?(:frame_index)
335
+ @left = args[:left] if args.key?(:left)
336
+ @right = args[:right] if args.key?(:right)
337
+ @top = args[:top] if args.key?(:top)
338
+ end
339
+ end
340
+
292
341
  # Configuration for color alignment.
293
342
  class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
294
343
  include Google::Apis::Core::Hashable
@@ -367,7 +416,7 @@ module Google
367
416
  # @return [String]
368
417
  attr_accessor :resolved_path
369
418
 
370
- # The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 1.0].
419
+ # The blending scale/weight of the LoRA adapter. Must be in the range (0.0, 2.0].
371
420
  # Default is 1.0.
372
421
  # Corresponds to the JSON property `weight`
373
422
  # @return [Float]
@@ -472,6 +521,81 @@ module Google
472
521
  end
473
522
  end
474
523
 
524
+ # Configuration for Omni Perf 3D estimation.
525
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig
526
+ include Google::Apis::Core::Hashable
527
+
528
+ # Optional. Whether to export the USD file.
529
+ # Corresponds to the JSON property `exportUsd`
530
+ # @return [Boolean]
531
+ attr_accessor :export_usd
532
+ alias_method :export_usd?, :export_usd
533
+
534
+ # Required. The bounding box of the object in the source video.
535
+ # Corresponds to the JSON property `sourceBoundingBox`
536
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox]
537
+ attr_accessor :source_bounding_box
538
+
539
+ # Required. The source video for the 3D estimation.
540
+ # Corresponds to the JSON property `sourceVideo`
541
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo]
542
+ attr_accessor :source_video
543
+
544
+ # Optional. The character reference images/videos.
545
+ # Corresponds to the JSON property `targetCharacterReferences`
546
+ # @return [Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference>]
547
+ attr_accessor :target_character_references
548
+
549
+ # Optional.
550
+ # Corresponds to the JSON property `temporalSmoothness`
551
+ # @return [Float]
552
+ attr_accessor :temporal_smoothness
553
+
554
+ def initialize(**args)
555
+ update!(**args)
556
+ end
557
+
558
+ # Update properties of this object
559
+ def update!(**args)
560
+ @export_usd = args[:export_usd] if args.key?(:export_usd)
561
+ @source_bounding_box = args[:source_bounding_box] if args.key?(:source_bounding_box)
562
+ @source_video = args[:source_video] if args.key?(:source_video)
563
+ @target_character_references = args[:target_character_references] if args.key?(:target_character_references)
564
+ @temporal_smoothness = args[:temporal_smoothness] if args.key?(:temporal_smoothness)
565
+ end
566
+ end
567
+
568
+ #
569
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference
570
+ include Google::Apis::Core::Hashable
571
+
572
+ # Required. The bounding box of the character in the reference image/video.
573
+ # Corresponds to the JSON property `boundingBox`
574
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox]
575
+ attr_accessor :bounding_box
576
+
577
+ # The image bytes or Cloud Storage URI to make the prediction on.
578
+ # Corresponds to the JSON property `referenceImage`
579
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestImage]
580
+ attr_accessor :reference_image
581
+
582
+ #
583
+ # Corresponds to the JSON property `referenceVideo`
584
+ # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo]
585
+ attr_accessor :reference_video
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
594
+ @reference_image = args[:reference_image] if args.key?(:reference_image)
595
+ @reference_video = args[:reference_video] if args.key?(:reference_video)
596
+ end
597
+ end
598
+
475
599
  # Configuration for Pro Edit.
476
600
  class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
477
601
  include Google::Apis::Core::Hashable
@@ -535,6 +659,11 @@ module Google
535
659
  # @return [String]
536
660
  attr_accessor :mode
537
661
 
662
+ # Number of diffusion denoising steps (1 or 2).
663
+ # Corresponds to the JSON property `steps`
664
+ # @return [Fixnum]
665
+ attr_accessor :steps
666
+
538
667
  # Smooths the seams between the tiles the model upscales separately.
539
668
  # Corresponds to the JSON property `tileSmoothing`
540
669
  # @return [Boolean]
@@ -548,6 +677,7 @@ module Google
548
677
  # Update properties of this object
549
678
  def update!(**args)
550
679
  @mode = args[:mode] if args.key?(:mode)
680
+ @steps = args[:steps] if args.key?(:steps)
551
681
  @tile_smoothing = args[:tile_smoothing] if args.key?(:tile_smoothing)
552
682
  end
553
683
  end
@@ -6172,6 +6302,13 @@ module Google
6172
6302
  class GoogleCloudAiplatformV1Agent
6173
6303
  include Google::Apis::Core::Hashable
6174
6304
 
6305
+ # Output only. The resource name of the AI Application provisioned for this
6306
+ # agent. Format: `projects/`project`/locations/`location`/aiApplications/`
6307
+ # ai_application``.
6308
+ # Corresponds to the JSON property `aiApplication`
6309
+ # @return [String]
6310
+ attr_accessor :ai_application
6311
+
6175
6312
  # Required. Immutable. The base agent for the agent. Supported values: * `
6176
6313
  # antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change,
6177
6314
  # including clearing it. The kind of agent this is gets derived from this field
@@ -6261,6 +6398,7 @@ module Google
6261
6398
 
6262
6399
  # Update properties of this object
6263
6400
  def update!(**args)
6401
+ @ai_application = args[:ai_application] if args.key?(:ai_application)
6264
6402
  @base_agent = args[:base_agent] if args.key?(:base_agent)
6265
6403
  @base_environment = args[:base_environment] if args.key?(:base_environment)
6266
6404
  @created = args[:created] if args.key?(:created)
@@ -8030,6 +8168,74 @@ module Google
8030
8168
  end
8031
8169
  end
8032
8170
 
8171
+ # Request message for PredictionService.BatchEmbedContents.
8172
+ class GoogleCloudAiplatformV1BatchEmbedContentsRequest
8173
+ include Google::Apis::Core::Hashable
8174
+
8175
+ # Required. Embed requests for the batch. The model in each of these requests
8176
+ # must either be empty or match the model specified in `
8177
+ # BatchEmbedContentsRequest.model`. All the requests in a batch must have the
8178
+ # same output dimensionality and auto truncation parameters.
8179
+ # Corresponds to the JSON property `requests`
8180
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequest>]
8181
+ attr_accessor :requests
8182
+
8183
+ def initialize(**args)
8184
+ update!(**args)
8185
+ end
8186
+
8187
+ # Update properties of this object
8188
+ def update!(**args)
8189
+ @requests = args[:requests] if args.key?(:requests)
8190
+ end
8191
+ end
8192
+
8193
+ # Response message for PredictionService.BatchEmbedContents.
8194
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponse
8195
+ include Google::Apis::Core::Hashable
8196
+
8197
+ # The embeddings for each request, in the same order as provided in the batch
8198
+ # request.
8199
+ # Corresponds to the JSON property `embeddings`
8200
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding>]
8201
+ attr_accessor :embeddings
8202
+
8203
+ # Usage metadata about the content generation request and response. This message
8204
+ # provides a detailed breakdown of token usage and other relevant metrics.
8205
+ # Corresponds to the JSON property `usageMetadata`
8206
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UsageMetadata]
8207
+ attr_accessor :usage_metadata
8208
+
8209
+ def initialize(**args)
8210
+ update!(**args)
8211
+ end
8212
+
8213
+ # Update properties of this object
8214
+ def update!(**args)
8215
+ @embeddings = args[:embeddings] if args.key?(:embeddings)
8216
+ @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
8217
+ end
8218
+ end
8219
+
8220
+ # A list of floats representing an embedding.
8221
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding
8222
+ include Google::Apis::Core::Hashable
8223
+
8224
+ # Embedding vector values.
8225
+ # Corresponds to the JSON property `values`
8226
+ # @return [Array<Float>]
8227
+ attr_accessor :values
8228
+
8229
+ def initialize(**args)
8230
+ update!(**args)
8231
+ end
8232
+
8233
+ # Update properties of this object
8234
+ def update!(**args)
8235
+ @values = args[:values] if args.key?(:values)
8236
+ end
8237
+ end
8238
+
8033
8239
  # Request message for ModelService.BatchImportEvaluatedAnnotations
8034
8240
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
8035
8241
  include Google::Apis::Core::Hashable
@@ -9930,6 +10136,78 @@ module Google
9930
10136
  end
9931
10137
  end
9932
10138
 
10139
+ # A file that can be referenced by ID from subsequent Claude model requests. The
10140
+ # JSON representation of this message matches the Claude Files API File object
10141
+ # field-for-field, so that code written against that API parses these responses
10142
+ # unchanged.
10143
+ class GoogleCloudAiplatformV1ClaudeFile
10144
+ include Google::Apis::Core::Hashable
10145
+
10146
+ # Output only. The time at which the file was created.
10147
+ # Corresponds to the JSON property `created_at`
10148
+ # @return [String]
10149
+ attr_accessor :created_at
10150
+
10151
+ # Output only. Whether the contents of this file can be retrieved with `
10152
+ # DownloadFile`. False for user-uploaded files, true for tool-generated ones.
10153
+ # Corresponds to the JSON property `downloadable`
10154
+ # @return [Boolean]
10155
+ attr_accessor :downloadable
10156
+ alias_method :downloadable?, :downloadable
10157
+
10158
+ # Output only. The time at which the file expires and is deleted, set from the `
10159
+ # expires_in_seconds` upload form field. Unset for files that do not expire,
10160
+ # which is serialised as `null`.
10161
+ # Corresponds to the JSON property `expires_at`
10162
+ # @return [String]
10163
+ attr_accessor :expires_at
10164
+
10165
+ # Output only. The original name of the uploaded file, taken from the `Content-
10166
+ # Disposition` header on upload. Between 1 and 255 characters. Control
10167
+ # characters and the characters `<>:"|?*\/` are not accepted.
10168
+ # Corresponds to the JSON property `filename`
10169
+ # @return [String]
10170
+ attr_accessor :filename
10171
+
10172
+ # Output only. The server-assigned identifier of the file, for example `
10173
+ # file_abc123`. This is the ID to pass in subsequent model requests.
10174
+ # Corresponds to the JSON property `id`
10175
+ # @return [String]
10176
+ attr_accessor :id
10177
+
10178
+ # Output only. The media type of the file, taken from the `Content-Type` header
10179
+ # of the file part on upload.
10180
+ # Corresponds to the JSON property `mime_type`
10181
+ # @return [String]
10182
+ attr_accessor :mime_type
10183
+
10184
+ # Output only. The size of the file in bytes.
10185
+ # Corresponds to the JSON property `size_bytes`
10186
+ # @return [Fixnum]
10187
+ attr_accessor :size_bytes
10188
+
10189
+ # Output only. The object type. Always `file`.
10190
+ # Corresponds to the JSON property `type`
10191
+ # @return [String]
10192
+ attr_accessor :type
10193
+
10194
+ def initialize(**args)
10195
+ update!(**args)
10196
+ end
10197
+
10198
+ # Update properties of this object
10199
+ def update!(**args)
10200
+ @created_at = args[:created_at] if args.key?(:created_at)
10201
+ @downloadable = args[:downloadable] if args.key?(:downloadable)
10202
+ @expires_at = args[:expires_at] if args.key?(:expires_at)
10203
+ @filename = args[:filename] if args.key?(:filename)
10204
+ @id = args[:id] if args.key?(:id)
10205
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
10206
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
10207
+ @type = args[:type] if args.key?(:type)
10208
+ end
10209
+ end
10210
+
9933
10211
  # Configurations (e.g. inference timeout) that are applied on your endpoints.
9934
10212
  class GoogleCloudAiplatformV1ClientConnectionConfig
9935
10213
  include Google::Apis::Core::Hashable
@@ -11369,6 +11647,19 @@ module Google
11369
11647
  end
11370
11648
  end
11371
11649
 
11650
+ # Request message for ClaudeFileService.CreateFile.
11651
+ class GoogleCloudAiplatformV1CreateFileRequest
11652
+ include Google::Apis::Core::Hashable
11653
+
11654
+ def initialize(**args)
11655
+ update!(**args)
11656
+ end
11657
+
11658
+ # Update properties of this object
11659
+ def update!(**args)
11660
+ end
11661
+ end
11662
+
11372
11663
  # Runtime operation information for IndexEndpointService.CreateIndexEndpoint.
11373
11664
  class GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata
11374
11665
  include Google::Apis::Core::Hashable
@@ -13028,6 +13319,32 @@ module Google
13028
13319
  end
13029
13320
  end
13030
13321
 
13322
+ # Response message for ClaudeFileService.DeleteFile. Returns ``id, type: "
13323
+ # file_deleted"`` rather than an empty body, matching the Claude Files API.
13324
+ class GoogleCloudAiplatformV1DeleteFileResponse
13325
+ include Google::Apis::Core::Hashable
13326
+
13327
+ # The ID of the deleted file.
13328
+ # Corresponds to the JSON property `id`
13329
+ # @return [String]
13330
+ attr_accessor :id
13331
+
13332
+ # The object type. Always `file_deleted`.
13333
+ # Corresponds to the JSON property `type`
13334
+ # @return [String]
13335
+ attr_accessor :type
13336
+
13337
+ def initialize(**args)
13338
+ update!(**args)
13339
+ end
13340
+
13341
+ # Update properties of this object
13342
+ def update!(**args)
13343
+ @id = args[:id] if args.key?(:id)
13344
+ @type = args[:type] if args.key?(:type)
13345
+ end
13346
+ end
13347
+
13031
13348
  # Details of operations that perform MetadataService.DeleteMetadataStore.
13032
13349
  class GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata
13033
13350
  include Google::Apis::Core::Hashable
@@ -14308,6 +14625,19 @@ module Google
14308
14625
  end
14309
14626
  end
14310
14627
 
14628
+ # Response message for ClaudeFileService.DownloadFile.
14629
+ class GoogleCloudAiplatformV1DownloadFileResponse
14630
+ include Google::Apis::Core::Hashable
14631
+
14632
+ def initialize(**args)
14633
+ update!(**args)
14634
+ end
14635
+
14636
+ # Update properties of this object
14637
+ def update!(**args)
14638
+ end
14639
+ end
14640
+
14311
14641
  # Describes the options to customize dynamic retrieval.
14312
14642
  class GoogleCloudAiplatformV1DynamicRetrievalConfig
14313
14643
  include Google::Apis::Core::Hashable
@@ -14358,6 +14688,12 @@ module Google
14358
14688
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig]
14359
14689
  attr_accessor :embed_content_config
14360
14690
 
14691
+ # Required. The name of the publisher model requested to serve the prediction.
14692
+ # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
14693
+ # Corresponds to the JSON property `model`
14694
+ # @return [String]
14695
+ attr_accessor :model
14696
+
14361
14697
  # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
14362
14698
  # instead. Reduced dimension for the output embedding. If set, excessive values
14363
14699
  # in the output embedding are truncated from the end.
@@ -14386,6 +14722,7 @@ module Google
14386
14722
  @auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
14387
14723
  @content = args[:content] if args.key?(:content)
14388
14724
  @embed_content_config = args[:embed_content_config] if args.key?(:embed_content_config)
14725
+ @model = args[:model] if args.key?(:model)
14389
14726
  @output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
14390
14727
  @task_type = args[:task_type] if args.key?(:task_type)
14391
14728
  @title = args[:title] if args.key?(:title)
@@ -22509,6 +22846,14 @@ module Google
22509
22846
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
22510
22847
  attr_accessor :contents
22511
22848
 
22849
+ # Optional. An opaque continuation token used to resume generation from a
22850
+ # previous `GenerateContent` or `StreamGenerateContent` response that stopped
22851
+ # with `finish_reason` set to `CONTINUATION`.
22852
+ # Corresponds to the JSON property `continuationToken`
22853
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
22854
+ # @return [String]
22855
+ attr_accessor :continuation_token
22856
+
22512
22857
  # Configuration for content generation. This message contains all the parameters
22513
22858
  # that control how the model generates content. It allows you to influence the
22514
22859
  # randomness, length, and structure of the output.
@@ -22533,6 +22878,11 @@ module Google
22533
22878
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig]
22534
22879
  attr_accessor :model_armor_config
22535
22880
 
22881
+ # Configuration for persisting output assets to external storage.
22882
+ # Corresponds to the JSON property `outputConfig`
22883
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequestOutputConfig]
22884
+ attr_accessor :output_config
22885
+
22536
22886
  # Optional. Per request settings for blocking unsafe content. Enforced on
22537
22887
  # GenerateContentResponse.candidates.
22538
22888
  # Corresponds to the JSON property `safetySettings`
@@ -22567,9 +22917,11 @@ module Google
22567
22917
  def update!(**args)
22568
22918
  @cached_content = args[:cached_content] if args.key?(:cached_content)
22569
22919
  @contents = args[:contents] if args.key?(:contents)
22920
+ @continuation_token = args[:continuation_token] if args.key?(:continuation_token)
22570
22921
  @generation_config = args[:generation_config] if args.key?(:generation_config)
22571
22922
  @labels = args[:labels] if args.key?(:labels)
22572
22923
  @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
22924
+ @output_config = args[:output_config] if args.key?(:output_config)
22573
22925
  @safety_settings = args[:safety_settings] if args.key?(:safety_settings)
22574
22926
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
22575
22927
  @tool_config = args[:tool_config] if args.key?(:tool_config)
@@ -22577,6 +22929,28 @@ module Google
22577
22929
  end
22578
22930
  end
22579
22931
 
22932
+ # Configuration for persisting output assets to external storage.
22933
+ class GoogleCloudAiplatformV1GenerateContentRequestOutputConfig
22934
+ include Google::Apis::Core::Hashable
22935
+
22936
+ # Optional. The Cloud Storage URI prefix or directory where generated media
22937
+ # assets should be written (e.g. `gs://my-bucket/prefix/`). Supported URI
22938
+ # schemes: `gs://`. When set, media bytes are written directly to this location
22939
+ # and returned as `FileData` with a `file_uri` instead of raw inline bytes.
22940
+ # Corresponds to the JSON property `outputUriPrefix`
22941
+ # @return [String]
22942
+ attr_accessor :output_uri_prefix
22943
+
22944
+ def initialize(**args)
22945
+ update!(**args)
22946
+ end
22947
+
22948
+ # Update properties of this object
22949
+ def update!(**args)
22950
+ @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
22951
+ end
22952
+ end
22953
+
22580
22954
  # Response message for [PredictionService.GenerateContent].
22581
22955
  class GoogleCloudAiplatformV1GenerateContentResponse
22582
22956
  include Google::Apis::Core::Hashable
@@ -27313,6 +27687,32 @@ module Google
27313
27687
  end
27314
27688
  end
27315
27689
 
27690
+ # Response message for ClaudeFileService.ListFiles.
27691
+ class GoogleCloudAiplatformV1ListFilesResponse
27692
+ include Google::Apis::Core::Hashable
27693
+
27694
+ # The files.
27695
+ # Corresponds to the JSON property `data`
27696
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile>]
27697
+ attr_accessor :data
27698
+
27699
+ # Opaque cursor for the next page. Unset on the last page, and always unset when
27700
+ # `ids` was supplied, since batch fetch is single-page.
27701
+ # Corresponds to the JSON property `next_page`
27702
+ # @return [String]
27703
+ attr_accessor :next_page
27704
+
27705
+ def initialize(**args)
27706
+ update!(**args)
27707
+ end
27708
+
27709
+ # Update properties of this object
27710
+ def update!(**args)
27711
+ @data = args[:data] if args.key?(:data)
27712
+ @next_page = args[:next_page] if args.key?(:next_page)
27713
+ end
27714
+ end
27715
+
27316
27716
  # Response message for JobService.ListHyperparameterTuningJobs
27317
27717
  class GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse
27318
27718
  include Google::Apis::Core::Hashable
@@ -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.98.0"
19
+ GEM_VERSION = "0.99.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20261012"
25
+ REVISION = "20261028"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -88,6 +94,18 @@ module Google
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
91
109
  class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
92
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
111
 
@@ -1510,6 +1528,24 @@ module Google
1510
1528
  include Google::Apis::Core::JsonObjectSupport
1511
1529
  end
1512
1530
 
1531
+ class GoogleCloudAiplatformV1BatchEmbedContentsRequest
1532
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1533
+
1534
+ include Google::Apis::Core::JsonObjectSupport
1535
+ end
1536
+
1537
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponse
1538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1539
+
1540
+ include Google::Apis::Core::JsonObjectSupport
1541
+ end
1542
+
1543
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding
1544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1545
+
1546
+ include Google::Apis::Core::JsonObjectSupport
1547
+ end
1548
+
1513
1549
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
1514
1550
  class Representation < Google::Apis::Core::JsonRepresentation; end
1515
1551
 
@@ -1852,6 +1888,12 @@ module Google
1852
1888
  include Google::Apis::Core::JsonObjectSupport
1853
1889
  end
1854
1890
 
1891
+ class GoogleCloudAiplatformV1ClaudeFile
1892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1893
+
1894
+ include Google::Apis::Core::JsonObjectSupport
1895
+ end
1896
+
1855
1897
  class GoogleCloudAiplatformV1ClientConnectionConfig
1856
1898
  class Representation < Google::Apis::Core::JsonRepresentation; end
1857
1899
 
@@ -2152,6 +2194,12 @@ module Google
2152
2194
  include Google::Apis::Core::JsonObjectSupport
2153
2195
  end
2154
2196
 
2197
+ class GoogleCloudAiplatformV1CreateFileRequest
2198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2199
+
2200
+ include Google::Apis::Core::JsonObjectSupport
2201
+ end
2202
+
2155
2203
  class GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata
2156
2204
  class Representation < Google::Apis::Core::JsonRepresentation; end
2157
2205
 
@@ -2386,6 +2434,12 @@ module Google
2386
2434
  include Google::Apis::Core::JsonObjectSupport
2387
2435
  end
2388
2436
 
2437
+ class GoogleCloudAiplatformV1DeleteFileResponse
2438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2439
+
2440
+ include Google::Apis::Core::JsonObjectSupport
2441
+ end
2442
+
2389
2443
  class GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata
2390
2444
  class Representation < Google::Apis::Core::JsonRepresentation; end
2391
2445
 
@@ -2584,6 +2638,12 @@ module Google
2584
2638
  include Google::Apis::Core::JsonObjectSupport
2585
2639
  end
2586
2640
 
2641
+ class GoogleCloudAiplatformV1DownloadFileResponse
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2587
2647
  class GoogleCloudAiplatformV1DynamicRetrievalConfig
2588
2648
  class Representation < Google::Apis::Core::JsonRepresentation; end
2589
2649
 
@@ -3802,6 +3862,12 @@ module Google
3802
3862
  include Google::Apis::Core::JsonObjectSupport
3803
3863
  end
3804
3864
 
3865
+ class GoogleCloudAiplatformV1GenerateContentRequestOutputConfig
3866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3867
+
3868
+ include Google::Apis::Core::JsonObjectSupport
3869
+ end
3870
+
3805
3871
  class GoogleCloudAiplatformV1GenerateContentResponse
3806
3872
  class Representation < Google::Apis::Core::JsonRepresentation; end
3807
3873
 
@@ -4540,6 +4606,12 @@ module Google
4540
4606
  include Google::Apis::Core::JsonObjectSupport
4541
4607
  end
4542
4608
 
4609
+ class GoogleCloudAiplatformV1ListFilesResponse
4610
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4611
+
4612
+ include Google::Apis::Core::JsonObjectSupport
4613
+ end
4614
+
4543
4615
  class GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse
4544
4616
  class Representation < Google::Apis::Core::JsonRepresentation; end
4545
4617
 
@@ -9946,6 +10018,8 @@ module Google
9946
10018
  property :original_request_json, as: 'originalRequestJson'
9947
10019
  property :outpaint_config, as: 'outpaintConfig', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig::Representation
9948
10020
 
10021
+ property :perf_estimation_config, as: 'perfEstimationConfig', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig::Representation
10022
+
9949
10023
  property :pro_edit, as: 'proEdit', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig::Representation
9950
10024
 
9951
10025
  property :prompt_inputs, as: 'promptInputs', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs::Representation
@@ -9976,6 +10050,17 @@ module Google
9976
10050
  end
9977
10051
  end
9978
10052
 
10053
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox
10054
+ # @private
10055
+ class Representation < Google::Apis::Core::JsonRepresentation
10056
+ property :bottom, as: 'bottom'
10057
+ property :frame_index, as: 'frameIndex'
10058
+ property :left, as: 'left'
10059
+ property :right, as: 'right'
10060
+ property :top, as: 'top'
10061
+ end
10062
+ end
10063
+
9979
10064
  class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
9980
10065
  # @private
9981
10066
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10035,6 +10120,32 @@ module Google
10035
10120
  end
10036
10121
  end
10037
10122
 
10123
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfig
10124
+ # @private
10125
+ class Representation < Google::Apis::Core::JsonRepresentation
10126
+ property :export_usd, as: 'exportUsd'
10127
+ property :source_bounding_box, as: 'sourceBoundingBox', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox::Representation
10128
+
10129
+ property :source_video, as: 'sourceVideo', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo::Representation
10130
+
10131
+ collection :target_character_references, as: 'targetCharacterReferences', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference::Representation
10132
+
10133
+ property :temporal_smoothness, as: 'temporalSmoothness'
10134
+ end
10135
+ end
10136
+
10137
+ class CloudAiLargeModelsVisionGenerateVideoExperimentsPerfEstimationConfigCharacterReference
10138
+ # @private
10139
+ class Representation < Google::Apis::Core::JsonRepresentation
10140
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsBoundingBox::Representation
10141
+
10142
+ property :reference_image, as: 'referenceImage', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestImage, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestImage::Representation
10143
+
10144
+ property :reference_video, as: 'referenceVideo', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo::Representation
10145
+
10146
+ end
10147
+ end
10148
+
10038
10149
  class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
10039
10150
  # @private
10040
10151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10055,6 +10166,7 @@ module Google
10055
10166
  # @private
10056
10167
  class Representation < Google::Apis::Core::JsonRepresentation
10057
10168
  property :mode, as: 'mode'
10169
+ property :steps, as: 'steps'
10058
10170
  property :tile_smoothing, as: 'tileSmoothing'
10059
10171
  end
10060
10172
  end
@@ -11855,6 +11967,7 @@ module Google
11855
11967
  class GoogleCloudAiplatformV1Agent
11856
11968
  # @private
11857
11969
  class Representation < Google::Apis::Core::JsonRepresentation
11970
+ property :ai_application, as: 'aiApplication'
11858
11971
  property :base_agent, as: 'base_agent'
11859
11972
  property :base_environment, as: 'base_environment'
11860
11973
  property :created, as: 'created'
@@ -12372,6 +12485,31 @@ module Google
12372
12485
  end
12373
12486
  end
12374
12487
 
12488
+ class GoogleCloudAiplatformV1BatchEmbedContentsRequest
12489
+ # @private
12490
+ class Representation < Google::Apis::Core::JsonRepresentation
12491
+ collection :requests, as: 'requests', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequest, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequest::Representation
12492
+
12493
+ end
12494
+ end
12495
+
12496
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponse
12497
+ # @private
12498
+ class Representation < Google::Apis::Core::JsonRepresentation
12499
+ collection :embeddings, as: 'embeddings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding::Representation
12500
+
12501
+ property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UsageMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UsageMetadata::Representation
12502
+
12503
+ end
12504
+ end
12505
+
12506
+ class GoogleCloudAiplatformV1BatchEmbedContentsResponseEmbedding
12507
+ # @private
12508
+ class Representation < Google::Apis::Core::JsonRepresentation
12509
+ collection :values, as: 'values'
12510
+ end
12511
+ end
12512
+
12375
12513
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
12376
12514
  # @private
12377
12515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12933,6 +13071,20 @@ module Google
12933
13071
  end
12934
13072
  end
12935
13073
 
13074
+ class GoogleCloudAiplatformV1ClaudeFile
13075
+ # @private
13076
+ class Representation < Google::Apis::Core::JsonRepresentation
13077
+ property :created_at, as: 'created_at'
13078
+ property :downloadable, as: 'downloadable'
13079
+ property :expires_at, as: 'expires_at'
13080
+ property :filename, as: 'filename'
13081
+ property :id, as: 'id'
13082
+ property :mime_type, as: 'mime_type'
13083
+ property :size_bytes, as: 'size_bytes'
13084
+ property :type, as: 'type'
13085
+ end
13086
+ end
13087
+
12936
13088
  class GoogleCloudAiplatformV1ClientConnectionConfig
12937
13089
  # @private
12938
13090
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13383,6 +13535,12 @@ module Google
13383
13535
  end
13384
13536
  end
13385
13537
 
13538
+ class GoogleCloudAiplatformV1CreateFileRequest
13539
+ # @private
13540
+ class Representation < Google::Apis::Core::JsonRepresentation
13541
+ end
13542
+ end
13543
+
13386
13544
  class GoogleCloudAiplatformV1CreateIndexEndpointOperationMetadata
13387
13545
  # @private
13388
13546
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13811,6 +13969,14 @@ module Google
13811
13969
  end
13812
13970
  end
13813
13971
 
13972
+ class GoogleCloudAiplatformV1DeleteFileResponse
13973
+ # @private
13974
+ class Representation < Google::Apis::Core::JsonRepresentation
13975
+ property :id, as: 'id'
13976
+ property :type, as: 'type'
13977
+ end
13978
+ end
13979
+
13814
13980
  class GoogleCloudAiplatformV1DeleteMetadataStoreOperationMetadata
13815
13981
  # @private
13816
13982
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14155,6 +14321,12 @@ module Google
14155
14321
  end
14156
14322
  end
14157
14323
 
14324
+ class GoogleCloudAiplatformV1DownloadFileResponse
14325
+ # @private
14326
+ class Representation < Google::Apis::Core::JsonRepresentation
14327
+ end
14328
+ end
14329
+
14158
14330
  class GoogleCloudAiplatformV1DynamicRetrievalConfig
14159
14331
  # @private
14160
14332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14171,6 +14343,7 @@ module Google
14171
14343
 
14172
14344
  property :embed_content_config, as: 'embedContentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig::Representation
14173
14345
 
14346
+ property :model, as: 'model'
14174
14347
  property :output_dimensionality, as: 'outputDimensionality'
14175
14348
  property :task_type, as: 'taskType'
14176
14349
  property :title, as: 'title'
@@ -16451,11 +16624,14 @@ module Google
16451
16624
  property :cached_content, as: 'cachedContent'
16452
16625
  collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
16453
16626
 
16627
+ property :continuation_token, :base64 => true, as: 'continuationToken'
16454
16628
  property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
16455
16629
 
16456
16630
  hash :labels, as: 'labels'
16457
16631
  property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig::Representation
16458
16632
 
16633
+ property :output_config, as: 'outputConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequestOutputConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentRequestOutputConfig::Representation
16634
+
16459
16635
  collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting::Representation
16460
16636
 
16461
16637
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
@@ -16467,6 +16643,13 @@ module Google
16467
16643
  end
16468
16644
  end
16469
16645
 
16646
+ class GoogleCloudAiplatformV1GenerateContentRequestOutputConfig
16647
+ # @private
16648
+ class Representation < Google::Apis::Core::JsonRepresentation
16649
+ property :output_uri_prefix, as: 'outputUriPrefix'
16650
+ end
16651
+ end
16652
+
16470
16653
  class GoogleCloudAiplatformV1GenerateContentResponse
16471
16654
  # @private
16472
16655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17802,6 +17985,15 @@ module Google
17802
17985
  end
17803
17986
  end
17804
17987
 
17988
+ class GoogleCloudAiplatformV1ListFilesResponse
17989
+ # @private
17990
+ class Representation < Google::Apis::Core::JsonRepresentation
17991
+ collection :data, as: 'data', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile::Representation
17992
+
17993
+ property :next_page, as: 'next_page'
17994
+ end
17995
+ end
17996
+
17805
17997
  class GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse
17806
17998
  # @private
17807
17999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8508,6 +8508,9 @@ module Google
8508
8508
  # Required. The resource name of the location to create the agent in. Format: `
8509
8509
  # projects/`project`/locations/`location``.
8510
8510
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Agent] google_cloud_aiplatform_v1_agent_object
8511
+ # @param [String] idp_nonce
8512
+ # Optional. Optional. One-time cryptographic nonce issued by the trusted IdP
8513
+ # provisioning iframe for session and device non-repudiation.
8511
8514
  # @param [String] fields
8512
8515
  # Selector specifying which fields to include in a partial response.
8513
8516
  # @param [String] quota_user
@@ -8525,13 +8528,14 @@ module Google
8525
8528
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8526
8529
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8527
8530
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8528
- def create_project_location_agent(parent, google_cloud_aiplatform_v1_agent_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8531
+ def create_project_location_agent(parent, google_cloud_aiplatform_v1_agent_object = nil, idp_nonce: nil, fields: nil, quota_user: nil, options: nil, &block)
8529
8532
  command = make_simple_command(:post, 'v1/{+parent}/agents', options)
8530
8533
  command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Agent::Representation
8531
8534
  command.request_object = google_cloud_aiplatform_v1_agent_object
8532
8535
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
8533
8536
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
8534
8537
  command.params['parent'] = parent unless parent.nil?
8538
+ command.query['idpNonce'] = idp_nonce unless idp_nonce.nil?
8535
8539
  command.query['fields'] = fields unless fields.nil?
8536
8540
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8537
8541
  execute_or_queue_command(command, &block)
@@ -27865,6 +27869,238 @@ module Google
27865
27869
  execute_or_queue_command(command, &block)
27866
27870
  end
27867
27871
 
27872
+ # Deletes the given file. Returns the deleted file's ID rather than an empty
27873
+ # body. See `DeleteFileResponse`.
27874
+ # @param [String] name
27875
+ # Required. The name of the file to delete. Format: `projects/`project`/
27876
+ # locations/`location`/publishers/`publisher`/files/`file``
27877
+ # @param [String] fields
27878
+ # Selector specifying which fields to include in a partial response.
27879
+ # @param [String] quota_user
27880
+ # Available to use for quota purposes for server-side applications. Can be any
27881
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27882
+ # @param [Google::Apis::RequestOptions] options
27883
+ # Request-specific options
27884
+ #
27885
+ # @yield [result, err] Result & error if block supplied
27886
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeleteFileResponse] parsed result object
27887
+ # @yieldparam err [StandardError] error object if request failed
27888
+ #
27889
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeleteFileResponse]
27890
+ #
27891
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27892
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27893
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27894
+ def delete_project_location_publisher_file(name, fields: nil, quota_user: nil, options: nil, &block)
27895
+ command = make_simple_command(:delete, 'v1/{+name}', options)
27896
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeleteFileResponse::Representation
27897
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeleteFileResponse
27898
+ command.params['name'] = name unless name.nil?
27899
+ command.query['fields'] = fields unless fields.nil?
27900
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27901
+ execute_or_queue_command(command, &block)
27902
+ end
27903
+
27904
+ # Downloads the contents of the given file. Only files marked `downloadable` can
27905
+ # be retrieved this way; user-uploaded files are not downloadable.
27906
+ # @param [String] name
27907
+ # Required. The name of the file to download. Format: `projects/`project`/
27908
+ # locations/`location`/publishers/`publisher`/files/`file``
27909
+ # @param [String] fields
27910
+ # Selector specifying which fields to include in a partial response.
27911
+ # @param [String] quota_user
27912
+ # Available to use for quota purposes for server-side applications. Can be any
27913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27914
+ # @param [IO, String] download_dest
27915
+ # IO stream or filename to receive content download
27916
+ # @param [Google::Apis::RequestOptions] options
27917
+ # Request-specific options
27918
+ #
27919
+ # @yield [result, err] Result & error if block supplied
27920
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DownloadFileResponse] parsed result object
27921
+ # @yieldparam err [StandardError] error object if request failed
27922
+ #
27923
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DownloadFileResponse]
27924
+ #
27925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27928
+ def download_project_location_publisher_file(name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
27929
+ if download_dest.nil?
27930
+ command = make_simple_command(:get, 'v1/{+name}/content', options)
27931
+ else
27932
+ command = make_download_command(:get, 'v1/{+name}/content', options)
27933
+ command.download_dest = download_dest
27934
+ end
27935
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DownloadFileResponse::Representation
27936
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DownloadFileResponse
27937
+ command.params['name'] = name unless name.nil?
27938
+ command.query['fields'] = fields unless fields.nil?
27939
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27940
+ execute_or_queue_command(command, &block)
27941
+ end
27942
+
27943
+ # Gets the metadata for the given file.
27944
+ # @param [String] name
27945
+ # Required. The name of the file to get. Format: `projects/`project`/locations/`
27946
+ # location`/publishers/`publisher`/files/`file``
27947
+ # @param [String] fields
27948
+ # Selector specifying which fields to include in a partial response.
27949
+ # @param [String] quota_user
27950
+ # Available to use for quota purposes for server-side applications. Can be any
27951
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27952
+ # @param [Google::Apis::RequestOptions] options
27953
+ # Request-specific options
27954
+ #
27955
+ # @yield [result, err] Result & error if block supplied
27956
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile] parsed result object
27957
+ # @yieldparam err [StandardError] error object if request failed
27958
+ #
27959
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile]
27960
+ #
27961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27964
+ def get_project_location_publisher_file(name, fields: nil, quota_user: nil, options: nil, &block)
27965
+ command = make_simple_command(:get, 'v1/{+name}', options)
27966
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile::Representation
27967
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile
27968
+ command.params['name'] = name unless name.nil?
27969
+ command.query['fields'] = fields unless fields.nil?
27970
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27971
+ execute_or_queue_command(command, &block)
27972
+ end
27973
+
27974
+ # Lists the files owned by the requesting project and location. Supports two
27975
+ # mutually exclusive modes: paginated listing via an opaque `page` cursor, or
27976
+ # batch fetch by `ids`. See `ListFilesRequest`.
27977
+ # @param [String] parent
27978
+ # Required. The location to list files under. Format: `projects/`project`/
27979
+ # locations/`location``
27980
+ # @param [String] publishers_id
27981
+ # @param [Array<String>, String] ids
27982
+ # Optional. Batch fetch: return only these files, up to 100 IDs after de-
27983
+ # duplication. Mutually exclusive with both `page` and `limit`. Serialised as a
27984
+ # repeated `ids` query parameter, one occurrence per ID.
27985
+ # @param [Fixnum] limit
27986
+ # Optional. The number of files to return per page. Defaults to 20 if unset,
27987
+ # maximum 1000. Mutually exclusive with `ids`.
27988
+ # @param [String] page
27989
+ # Optional. Opaque pagination cursor. Pass the previous response's `next_page`
27990
+ # to fetch the next page. Mutually exclusive with `ids`.
27991
+ # @param [String] fields
27992
+ # Selector specifying which fields to include in a partial response.
27993
+ # @param [String] quota_user
27994
+ # Available to use for quota purposes for server-side applications. Can be any
27995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27996
+ # @param [Google::Apis::RequestOptions] options
27997
+ # Request-specific options
27998
+ #
27999
+ # @yield [result, err] Result & error if block supplied
28000
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFilesResponse] parsed result object
28001
+ # @yieldparam err [StandardError] error object if request failed
28002
+ #
28003
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFilesResponse]
28004
+ #
28005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28008
+ def list_project_location_publisher_files(parent, publishers_id, ids: nil, limit: nil, page: nil, fields: nil, quota_user: nil, options: nil, &block)
28009
+ command = make_simple_command(:get, 'v1/{+parent}/publishers/{publishersId}/files', options)
28010
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFilesResponse::Representation
28011
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListFilesResponse
28012
+ command.params['parent'] = parent unless parent.nil?
28013
+ command.params['publishersId'] = publishers_id unless publishers_id.nil?
28014
+ command.query['ids'] = ids unless ids.nil?
28015
+ command.query['limit'] = limit unless limit.nil?
28016
+ command.query['page'] = page unless page.nil?
28017
+ command.query['fields'] = fields unless fields.nil?
28018
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28019
+ execute_or_queue_command(command, &block)
28020
+ end
28021
+
28022
+ # Uploads a file that can be referenced by ID from subsequent Claude model
28023
+ # requests.
28024
+ # @param [String] parent
28025
+ # Required. The location to create the file under. Format: `projects/`project`/
28026
+ # locations/`location``
28027
+ # @param [String] publishers_id
28028
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateFileRequest] google_cloud_aiplatform_v1_create_file_request_object
28029
+ # @param [String] fields
28030
+ # Selector specifying which fields to include in a partial response.
28031
+ # @param [String] quota_user
28032
+ # Available to use for quota purposes for server-side applications. Can be any
28033
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28034
+ # @param [IO, String] upload_source
28035
+ # IO stream or filename containing content to upload
28036
+ # @param [String] content_type
28037
+ # Content type of the uploaded content.
28038
+ # @param [Google::Apis::RequestOptions] options
28039
+ # Request-specific options
28040
+ #
28041
+ # @yield [result, err] Result & error if block supplied
28042
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile] parsed result object
28043
+ # @yieldparam err [StandardError] error object if request failed
28044
+ #
28045
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile]
28046
+ #
28047
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28048
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28049
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28050
+ def upload_project_location_publisher_file(parent, publishers_id, google_cloud_aiplatform_v1_create_file_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
28051
+ if upload_source.nil?
28052
+ command = make_simple_command(:post, 'v1/{+parent}/publishers/{publishersId}/files', options)
28053
+ else
28054
+ command = make_upload_command(:post, 'v1/{+parent}/publishers/{publishersId}/files', options)
28055
+ command.upload_source = upload_source
28056
+ command.upload_content_type = content_type
28057
+ end
28058
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateFileRequest::Representation
28059
+ command.request_object = google_cloud_aiplatform_v1_create_file_request_object
28060
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile::Representation
28061
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClaudeFile
28062
+ command.params['parent'] = parent unless parent.nil?
28063
+ command.params['publishersId'] = publishers_id unless publishers_id.nil?
28064
+ command.query['fields'] = fields unless fields.nil?
28065
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28066
+ execute_or_queue_command(command, &block)
28067
+ end
28068
+
28069
+ # Generates embeddings directly from multiple contents.
28070
+ # @param [String] model
28071
+ # Required. The name of the publisher model requested to serve the prediction.
28072
+ # Format: `projects/`project`/locations/`location`/publishers/`publisher`/models/
28073
+ # `model``
28074
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsRequest] google_cloud_aiplatform_v1_batch_embed_contents_request_object
28075
+ # @param [String] fields
28076
+ # Selector specifying which fields to include in a partial response.
28077
+ # @param [String] quota_user
28078
+ # Available to use for quota purposes for server-side applications. Can be any
28079
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28080
+ # @param [Google::Apis::RequestOptions] options
28081
+ # Request-specific options
28082
+ #
28083
+ # @yield [result, err] Result & error if block supplied
28084
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponse] parsed result object
28085
+ # @yieldparam err [StandardError] error object if request failed
28086
+ #
28087
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponse]
28088
+ #
28089
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28090
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28091
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28092
+ def batch_project_location_publisher_model_embed_contents(model, google_cloud_aiplatform_v1_batch_embed_contents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
28093
+ command = make_simple_command(:post, 'v1/{+model}:batchEmbedContents', options)
28094
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsRequest::Representation
28095
+ command.request_object = google_cloud_aiplatform_v1_batch_embed_contents_request_object
28096
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponse::Representation
28097
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchEmbedContentsResponse
28098
+ command.params['model'] = model unless model.nil?
28099
+ command.query['fields'] = fields unless fields.nil?
28100
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28101
+ execute_or_queue_command(command, &block)
28102
+ end
28103
+
27868
28104
  # Return a list of tokens based on the input text.
27869
28105
  # @param [String] endpoint
27870
28106
  # Required. The name of the Endpoint requested to get lists of tokens and token
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.0
4
+ version: 0.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.98.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.99.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths: