google-apis-aiplatform_v1beta1 0.37.0 → 0.38.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: 6b168964369f8340ecccb438378e44fec1b6f40445d3079d69b6dd64e33118b1
4
- data.tar.gz: 99361cd69c41b63289d5ab3ce7418c94af1be42ca7837e761d9633b33adf63e9
3
+ metadata.gz: 59616e0ebdb58072ff352ed9a3ebc893c36b6169a5deda265120403ad53a64b1
4
+ data.tar.gz: 3aed174affe046f5a077eeaaec40a7cf29ba07a3859a8559c838f67976411a24
5
5
  SHA512:
6
- metadata.gz: ab14d05ee0d1eb81245895f7068c02ab375f701d455dff17041e0aa60511eae67f66b748e1139a230675954f681a129b05f5fdf4b0d6b0fa2f33e0cdd06feb32
7
- data.tar.gz: 4627736758322fa04c7a9e103d36cc5201c689887e60cf96a1891d43a878456903ffe82b528ef06af3649b55fdb47638bc10d55f5de6b40f98e78544c1c028f1
6
+ metadata.gz: cdffffdb55a68a1d88f1dc5190d8030d274c19f0a59f9e58506b91efdf49326e0242c154d658acaef2104e9efffa711595bcae39c430df287b07338cbc0bb21d
7
+ data.tar.gz: 4f722fb6ece61662d06b8f72312e36a679184309faa8423936fb7127c72dc9921e2610b074f2b1de8b938d2f02b1129fc8048e4dfbc89744934155a908c75c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.38.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250226
6
+
3
7
  ### v0.37.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250212
@@ -41,6 +41,11 @@ module Google
41
41
  # @return [Array<String>]
42
42
  attr_accessor :rai_media_filtered_reasons
43
43
 
44
+ # List of videos, used to align naming with the external response.
45
+ # Corresponds to the JSON property `videos`
46
+ # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoResponseVideo>]
47
+ attr_accessor :videos
48
+
44
49
  def initialize(**args)
45
50
  update!(**args)
46
51
  end
@@ -50,6 +55,38 @@ module Google
50
55
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
51
56
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
52
57
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
58
+ @videos = args[:videos] if args.key?(:videos)
59
+ end
60
+ end
61
+
62
+ #
63
+ class CloudAiLargeModelsVisionGenerateVideoResponseVideo
64
+ include Google::Apis::Core::Hashable
65
+
66
+ # Base64 encoded bytes string representing the video.
67
+ # Corresponds to the JSON property `bytesBase64Encoded`
68
+ # @return [String]
69
+ attr_accessor :bytes_base64_encoded
70
+
71
+ # Cloud Storage URI where the generated video is written.
72
+ # Corresponds to the JSON property `gcsUri`
73
+ # @return [String]
74
+ attr_accessor :gcs_uri
75
+
76
+ # The MIME type of the content of the video. - video/mp4
77
+ # Corresponds to the JSON property `mimeType`
78
+ # @return [String]
79
+ attr_accessor :mime_type
80
+
81
+ def initialize(**args)
82
+ update!(**args)
83
+ end
84
+
85
+ # Update properties of this object
86
+ def update!(**args)
87
+ @bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
88
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
89
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
53
90
  end
54
91
  end
55
92
 
@@ -450,6 +487,11 @@ module Google
450
487
  # @return [String]
451
488
  attr_accessor :encoding
452
489
 
490
+ # Text/Expanded text input for Help Me Write.
491
+ # Corresponds to the JSON property `text`
492
+ # @return [String]
493
+ attr_accessor :text
494
+
453
495
  # Path to another storage (typically Google Cloud Storage).
454
496
  # Corresponds to the JSON property `uri`
455
497
  # @return [String]
@@ -469,6 +511,7 @@ module Google
469
511
  def update!(**args)
470
512
  @encoded_video = args[:encoded_video] if args.key?(:encoded_video)
471
513
  @encoding = args[:encoding] if args.key?(:encoding)
514
+ @text = args[:text] if args.key?(:text)
472
515
  @uri = args[:uri] if args.key?(:uri)
473
516
  @video = args[:video] if args.key?(:video)
474
517
  end
@@ -6373,6 +6416,165 @@ module Google
6373
6416
  end
6374
6417
  end
6375
6418
 
6419
+ # Request message for ModelGardenService.Deploy.
6420
+ class GoogleCloudAiplatformV1beta1DeployRequest
6421
+ include Google::Apis::Core::Hashable
6422
+
6423
+ # The deploy config to use for the deployment.
6424
+ # Corresponds to the JSON property `deployConfig`
6425
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig]
6426
+ attr_accessor :deploy_config
6427
+
6428
+ # The endpoint config to use for the deployment.
6429
+ # Corresponds to the JSON property `endpointConfig`
6430
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig]
6431
+ attr_accessor :endpoint_config
6432
+
6433
+ # The Hugging Face model to deploy. Format: Hugging Face model ID like `google/
6434
+ # gemma-2-2b-it`.
6435
+ # Corresponds to the JSON property `huggingFaceModelId`
6436
+ # @return [String]
6437
+ attr_accessor :hugging_face_model_id
6438
+
6439
+ # The model config to use for the deployment.
6440
+ # Corresponds to the JSON property `modelConfig`
6441
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestModelConfig]
6442
+ attr_accessor :model_config
6443
+
6444
+ # The Model Garden model to deploy. Format: `publishers/`publisher`/models/`
6445
+ # publisher_model`@`version_id``, or `publishers/hf-`hugging-face-author`/models/
6446
+ # `hugging-face-model-name`@001`.
6447
+ # Corresponds to the JSON property `publisherModelName`
6448
+ # @return [String]
6449
+ attr_accessor :publisher_model_name
6450
+
6451
+ def initialize(**args)
6452
+ update!(**args)
6453
+ end
6454
+
6455
+ # Update properties of this object
6456
+ def update!(**args)
6457
+ @deploy_config = args[:deploy_config] if args.key?(:deploy_config)
6458
+ @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
6459
+ @hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
6460
+ @model_config = args[:model_config] if args.key?(:model_config)
6461
+ @publisher_model_name = args[:publisher_model_name] if args.key?(:publisher_model_name)
6462
+ end
6463
+ end
6464
+
6465
+ # The deploy config to use for the deployment.
6466
+ class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
6467
+ include Google::Apis::Core::Hashable
6468
+
6469
+ # A description of resources that are dedicated to a DeployedModel or
6470
+ # DeployedIndex, and that need a higher degree of manual configuration.
6471
+ # Corresponds to the JSON property `dedicatedResources`
6472
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources]
6473
+ attr_accessor :dedicated_resources
6474
+
6475
+ # Optional. If true, enable the QMT fast tryout feature for this model if
6476
+ # possible.
6477
+ # Corresponds to the JSON property `fastTryoutEnabled`
6478
+ # @return [Boolean]
6479
+ attr_accessor :fast_tryout_enabled
6480
+ alias_method :fast_tryout_enabled?, :fast_tryout_enabled
6481
+
6482
+ def initialize(**args)
6483
+ update!(**args)
6484
+ end
6485
+
6486
+ # Update properties of this object
6487
+ def update!(**args)
6488
+ @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
6489
+ @fast_tryout_enabled = args[:fast_tryout_enabled] if args.key?(:fast_tryout_enabled)
6490
+ end
6491
+ end
6492
+
6493
+ # The endpoint config to use for the deployment.
6494
+ class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig
6495
+ include Google::Apis::Core::Hashable
6496
+
6497
+ # Optional. If true, the endpoint will be exposed through a dedicated DNS [
6498
+ # Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
6499
+ # isolated from other users' traffic and will have better performance and
6500
+ # reliability. Note: Once you enabled dedicated endpoint, you won't be able to
6501
+ # send request to the shared DNS `region`-aiplatform.googleapis.com. The
6502
+ # limitations will be removed soon.
6503
+ # Corresponds to the JSON property `dedicatedEndpointEnabled`
6504
+ # @return [Boolean]
6505
+ attr_accessor :dedicated_endpoint_enabled
6506
+ alias_method :dedicated_endpoint_enabled?, :dedicated_endpoint_enabled
6507
+
6508
+ # Optional. The user-specified display name of the endpoint. If not set, a
6509
+ # default name will be used.
6510
+ # Corresponds to the JSON property `endpointDisplayName`
6511
+ # @return [String]
6512
+ attr_accessor :endpoint_display_name
6513
+
6514
+ def initialize(**args)
6515
+ update!(**args)
6516
+ end
6517
+
6518
+ # Update properties of this object
6519
+ def update!(**args)
6520
+ @dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
6521
+ @endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
6522
+ end
6523
+ end
6524
+
6525
+ # The model config to use for the deployment.
6526
+ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig
6527
+ include Google::Apis::Core::Hashable
6528
+
6529
+ # Optional. Whether the user accepts the End User License Agreement (EULA) for
6530
+ # the model.
6531
+ # Corresponds to the JSON property `acceptEula`
6532
+ # @return [Boolean]
6533
+ attr_accessor :accept_eula
6534
+ alias_method :accept_eula?, :accept_eula
6535
+
6536
+ # Specification of a container for serving predictions. Some fields in this
6537
+ # message correspond to fields in the [Kubernetes Container v1 core
6538
+ # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
6539
+ # v1.23/#container-v1-core).
6540
+ # Corresponds to the JSON property `containerSpec`
6541
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec]
6542
+ attr_accessor :container_spec
6543
+
6544
+ # Optional. The Hugging Face read access token used to access the model
6545
+ # artifacts of gated models.
6546
+ # Corresponds to the JSON property `huggingFaceAccessToken`
6547
+ # @return [String]
6548
+ attr_accessor :hugging_face_access_token
6549
+
6550
+ # Optional. If true, the model will deploy with a cached version instead of
6551
+ # directly downloading the model artifacts from Hugging Face. This is suitable
6552
+ # for VPC-SC users with limited internet access.
6553
+ # Corresponds to the JSON property `huggingFaceCacheEnabled`
6554
+ # @return [Boolean]
6555
+ attr_accessor :hugging_face_cache_enabled
6556
+ alias_method :hugging_face_cache_enabled?, :hugging_face_cache_enabled
6557
+
6558
+ # Optional. The user-specified display name of the uploaded model. If not set, a
6559
+ # default name will be used.
6560
+ # Corresponds to the JSON property `modelDisplayName`
6561
+ # @return [String]
6562
+ attr_accessor :model_display_name
6563
+
6564
+ def initialize(**args)
6565
+ update!(**args)
6566
+ end
6567
+
6568
+ # Update properties of this object
6569
+ def update!(**args)
6570
+ @accept_eula = args[:accept_eula] if args.key?(:accept_eula)
6571
+ @container_spec = args[:container_spec] if args.key?(:container_spec)
6572
+ @hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
6573
+ @hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
6574
+ @model_display_name = args[:model_display_name] if args.key?(:model_display_name)
6575
+ end
6576
+ end
6577
+
6376
6578
  # Runtime operation information for SolverService.DeploySolver.
6377
6579
  class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata
6378
6580
  include Google::Apis::Core::Hashable
@@ -7417,6 +7619,20 @@ module Google
7417
7619
  end
7418
7620
  end
7419
7621
 
7622
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
7623
+ # compliance.
7624
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
7625
+ include Google::Apis::Core::Hashable
7626
+
7627
+ def initialize(**args)
7628
+ update!(**args)
7629
+ end
7630
+
7631
+ # Update properties of this object
7632
+ def update!(**args)
7633
+ end
7634
+ end
7635
+
7420
7636
  # Selector for entityId. Getting ids from the given source.
7421
7637
  class GoogleCloudAiplatformV1beta1EntityIdSelector
7422
7638
  include Google::Apis::Core::Hashable
@@ -13388,7 +13604,19 @@ module Google
13388
13604
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
13389
13605
  attr_accessor :prompt_tokens_details
13390
13606
 
13391
- # Total token count for prompt and response candidates.
13607
+ # Output only. Number of tokens present in tool-use prompt(s).
13608
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
13609
+ # @return [Fixnum]
13610
+ attr_accessor :tool_use_prompt_token_count
13611
+
13612
+ # Output only. List of modalities that were processed for tool-use request
13613
+ # inputs.
13614
+ # Corresponds to the JSON property `toolUsePromptTokensDetails`
13615
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
13616
+ attr_accessor :tool_use_prompt_tokens_details
13617
+
13618
+ # Total token count for prompt, response candidates, and tool-use prompts (if
13619
+ # present).
13392
13620
  # Corresponds to the JSON property `totalTokenCount`
13393
13621
  # @return [Fixnum]
13394
13622
  attr_accessor :total_token_count
@@ -13405,6 +13633,8 @@ module Google
13405
13633
  @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
13406
13634
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
13407
13635
  @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
13636
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
13637
+ @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
13408
13638
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
13409
13639
  end
13410
13640
  end
@@ -13428,6 +13658,11 @@ module Google
13428
13658
  # @return [Array<String>]
13429
13659
  attr_accessor :rai_media_filtered_reasons
13430
13660
 
13661
+ # List of video bytes or Cloud Storage URIs of the generated videos.
13662
+ # Corresponds to the JSON property `videos`
13663
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo>]
13664
+ attr_accessor :videos
13665
+
13431
13666
  def initialize(**args)
13432
13667
  update!(**args)
13433
13668
  end
@@ -13437,6 +13672,38 @@ module Google
13437
13672
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
13438
13673
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
13439
13674
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
13675
+ @videos = args[:videos] if args.key?(:videos)
13676
+ end
13677
+ end
13678
+
13679
+ # A generated video.
13680
+ class GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo
13681
+ include Google::Apis::Core::Hashable
13682
+
13683
+ # Base64 encoded bytes string representing the video.
13684
+ # Corresponds to the JSON property `bytesBase64Encoded`
13685
+ # @return [String]
13686
+ attr_accessor :bytes_base64_encoded
13687
+
13688
+ # Cloud Storage URI where the generated video is written.
13689
+ # Corresponds to the JSON property `gcsUri`
13690
+ # @return [String]
13691
+ attr_accessor :gcs_uri
13692
+
13693
+ # The MIME type of the content of the video. - video/mp4
13694
+ # Corresponds to the JSON property `mimeType`
13695
+ # @return [String]
13696
+ attr_accessor :mime_type
13697
+
13698
+ def initialize(**args)
13699
+ update!(**args)
13700
+ end
13701
+
13702
+ # Update properties of this object
13703
+ def update!(**args)
13704
+ @bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
13705
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
13706
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
13440
13707
  end
13441
13708
  end
13442
13709
 
@@ -17165,6 +17432,12 @@ module Google
17165
17432
  # @return [String]
17166
17433
  attr_accessor :machine_type
17167
17434
 
17435
+ # Optional. Immutable. The number of nodes per replica for multihost GPU
17436
+ # deployments.
17437
+ # Corresponds to the JSON property `multihostGpuNodeCount`
17438
+ # @return [Fixnum]
17439
+ attr_accessor :multihost_gpu_node_count
17440
+
17168
17441
  # A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a
17169
17442
  # DeployedModel) to draw its Compute Engine resources from a Shared Reservation,
17170
17443
  # or exclusively from on-demand capacity.
@@ -17187,6 +17460,7 @@ module Google
17187
17460
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
17188
17461
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
17189
17462
  @machine_type = args[:machine_type] if args.key?(:machine_type)
17463
+ @multihost_gpu_node_count = args[:multihost_gpu_node_count] if args.key?(:multihost_gpu_node_count)
17190
17464
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
17191
17465
  @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
17192
17466
  end
@@ -27991,6 +28265,11 @@ module Google
27991
28265
  # @return [Array<Hash<String,Object>>]
27992
28266
  attr_accessor :class_methods
27993
28267
 
28268
+ # The specification of a Reasoning Engine deployment.
28269
+ # Corresponds to the JSON property `deploymentSpec`
28270
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec]
28271
+ attr_accessor :deployment_spec
28272
+
27994
28273
  # User provided package spec like pickled object and package requirements.
27995
28274
  # Corresponds to the JSON property `packageSpec`
27996
28275
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec]
@@ -28003,10 +28282,40 @@ module Google
28003
28282
  # Update properties of this object
28004
28283
  def update!(**args)
28005
28284
  @class_methods = args[:class_methods] if args.key?(:class_methods)
28285
+ @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
28006
28286
  @package_spec = args[:package_spec] if args.key?(:package_spec)
28007
28287
  end
28008
28288
  end
28009
28289
 
28290
+ # The specification of a Reasoning Engine deployment.
28291
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec
28292
+ include Google::Apis::Core::Hashable
28293
+
28294
+ # Optional. Environment variables to be set with the Reasoning Engine deployment.
28295
+ # The environment variables can be updated through the UpdateReasoningEngine
28296
+ # API.
28297
+ # Corresponds to the JSON property `env`
28298
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar>]
28299
+ attr_accessor :env
28300
+
28301
+ # Optional. Environment variables where the value is a secret in Cloud Secret
28302
+ # Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/
28303
+ # secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.
28304
+ # Corresponds to the JSON property `secretEnv`
28305
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretEnvVar>]
28306
+ attr_accessor :secret_env
28307
+
28308
+ def initialize(**args)
28309
+ update!(**args)
28310
+ end
28311
+
28312
+ # Update properties of this object
28313
+ def update!(**args)
28314
+ @env = args[:env] if args.key?(:env)
28315
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
28316
+ end
28317
+ end
28318
+
28010
28319
  # User provided package spec like pickled object and package requirements.
28011
28320
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
28012
28321
  include Google::Apis::Core::Hashable
@@ -28320,7 +28629,7 @@ module Google
28320
28629
  attr_accessor :reservation_affinity_type
28321
28630
 
28322
28631
  # Optional. Corresponds to the label values of a reservation resource. This must
28323
- # be the full resource name of the reservation.
28632
+ # be the full resource name of the reservation or reservation block.
28324
28633
  # Corresponds to the JSON property `values`
28325
28634
  # @return [Array<String>]
28326
28635
  attr_accessor :values
@@ -28567,8 +28876,9 @@ module Google
28567
28876
  attr_accessor :disable_attribution
28568
28877
  alias_method :disable_attribution?, :disable_attribution
28569
28878
 
28570
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
28571
- # google.com/products/agent-builder
28879
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
28880
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
28881
+ # builder
28572
28882
  # Corresponds to the JSON property `vertexAiSearch`
28573
28883
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch]
28574
28884
  attr_accessor :vertex_ai_search
@@ -37022,6 +37332,62 @@ module Google
37022
37332
  end
37023
37333
  end
37024
37334
 
37335
+ # Represents an environment variable where the value is a secret in Cloud Secret
37336
+ # Manager.
37337
+ class GoogleCloudAiplatformV1beta1SecretEnvVar
37338
+ include Google::Apis::Core::Hashable
37339
+
37340
+ # Required. Name of the secret environment variable.
37341
+ # Corresponds to the JSON property `name`
37342
+ # @return [String]
37343
+ attr_accessor :name
37344
+
37345
+ # Reference to a secret stored in the Cloud Secret Manager that will provide the
37346
+ # value for this environment variable.
37347
+ # Corresponds to the JSON property `secretRef`
37348
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretRef]
37349
+ attr_accessor :secret_ref
37350
+
37351
+ def initialize(**args)
37352
+ update!(**args)
37353
+ end
37354
+
37355
+ # Update properties of this object
37356
+ def update!(**args)
37357
+ @name = args[:name] if args.key?(:name)
37358
+ @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
37359
+ end
37360
+ end
37361
+
37362
+ # Reference to a secret stored in the Cloud Secret Manager that will provide the
37363
+ # value for this environment variable.
37364
+ class GoogleCloudAiplatformV1beta1SecretRef
37365
+ include Google::Apis::Core::Hashable
37366
+
37367
+ # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
37368
+ # if the secret is in the same project. projects/`project`/secrets/`secret_name`
37369
+ # if the secret is in a different project.
37370
+ # Corresponds to the JSON property `secret`
37371
+ # @return [String]
37372
+ attr_accessor :secret
37373
+
37374
+ # The Cloud Secret Manager secret version. Can be 'latest' for the latest
37375
+ # version, an integer for a specific version, or a version alias.
37376
+ # Corresponds to the JSON property `version`
37377
+ # @return [String]
37378
+ attr_accessor :version
37379
+
37380
+ def initialize(**args)
37381
+ update!(**args)
37382
+ end
37383
+
37384
+ # Update properties of this object
37385
+ def update!(**args)
37386
+ @secret = args[:secret] if args.key?(:secret)
37387
+ @version = args[:version] if args.key?(:version)
37388
+ end
37389
+ end
37390
+
37025
37391
  # Segment of the content.
37026
37392
  class GoogleCloudAiplatformV1beta1Segment
37027
37393
  include Google::Apis::Core::Hashable
@@ -40190,6 +40556,12 @@ module Google
40190
40556
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
40191
40557
  attr_accessor :code_execution
40192
40558
 
40559
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
40560
+ # compliance.
40561
+ # Corresponds to the JSON property `enterpriseWebSearch`
40562
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch]
40563
+ attr_accessor :enterprise_web_search
40564
+
40193
40565
  # Optional. Function tool type. One or more function declarations to be passed
40194
40566
  # to the model along with the current user query. Model may decide to call a
40195
40567
  # subset of these functions by populating FunctionCall in the response. User
@@ -40223,6 +40595,7 @@ module Google
40223
40595
  # Update properties of this object
40224
40596
  def update!(**args)
40225
40597
  @code_execution = args[:code_execution] if args.key?(:code_execution)
40598
+ @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
40226
40599
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
40227
40600
  @google_search = args[:google_search] if args.key?(:google_search)
40228
40601
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
@@ -42826,12 +43199,13 @@ module Google
42826
43199
  end
42827
43200
  end
42828
43201
 
42829
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
42830
- # google.com/products/agent-builder
43202
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
43203
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
43204
+ # builder
42831
43205
  class GoogleCloudAiplatformV1beta1VertexAiSearch
42832
43206
  include Google::Apis::Core::Hashable
42833
43207
 
42834
- # Required. Fully-qualified Vertex AI Search data store resource ID. Format: `
43208
+ # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
42835
43209
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
42836
43210
  # dataStore``
42837
43211
  # Corresponds to the JSON property `datastore`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250212"
25
+ REVISION = "20250226"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class CloudAiLargeModelsVisionGenerateVideoResponseVideo
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class CloudAiLargeModelsVisionImage
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -1150,6 +1156,30 @@ module Google
1150
1156
  include Google::Apis::Core::JsonObjectSupport
1151
1157
  end
1152
1158
 
1159
+ class GoogleCloudAiplatformV1beta1DeployRequest
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1165
+ class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1171
+ class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1177
+ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig
1178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1153
1183
  class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata
1154
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1155
1185
 
@@ -1288,6 +1318,12 @@ module Google
1288
1318
  include Google::Apis::Core::JsonObjectSupport
1289
1319
  end
1290
1320
 
1321
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1291
1327
  class GoogleCloudAiplatformV1beta1EntityIdSelector
1292
1328
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1329
 
@@ -2200,6 +2236,12 @@ module Google
2200
2236
  include Google::Apis::Core::JsonObjectSupport
2201
2237
  end
2202
2238
 
2239
+ class GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo
2240
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2241
+
2242
+ include Google::Apis::Core::JsonObjectSupport
2243
+ end
2244
+
2203
2245
  class GoogleCloudAiplatformV1beta1GenerationConfig
2204
2246
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2247
 
@@ -4624,6 +4666,12 @@ module Google
4624
4666
  include Google::Apis::Core::JsonObjectSupport
4625
4667
  end
4626
4668
 
4669
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec
4670
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4671
+
4672
+ include Google::Apis::Core::JsonObjectSupport
4673
+ end
4674
+
4627
4675
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
4628
4676
  class Representation < Google::Apis::Core::JsonRepresentation; end
4629
4677
 
@@ -6118,6 +6166,18 @@ module Google
6118
6166
  include Google::Apis::Core::JsonObjectSupport
6119
6167
  end
6120
6168
 
6169
+ class GoogleCloudAiplatformV1beta1SecretEnvVar
6170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6171
+
6172
+ include Google::Apis::Core::JsonObjectSupport
6173
+ end
6174
+
6175
+ class GoogleCloudAiplatformV1beta1SecretRef
6176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6177
+
6178
+ include Google::Apis::Core::JsonObjectSupport
6179
+ end
6180
+
6121
6181
  class GoogleCloudAiplatformV1beta1Segment
6122
6182
  class Representation < Google::Apis::Core::JsonRepresentation; end
6123
6183
 
@@ -7463,6 +7523,17 @@ module Google
7463
7523
 
7464
7524
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
7465
7525
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
7526
+ collection :videos, as: 'videos', class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoResponseVideo, decorator: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoResponseVideo::Representation
7527
+
7528
+ end
7529
+ end
7530
+
7531
+ class CloudAiLargeModelsVisionGenerateVideoResponseVideo
7532
+ # @private
7533
+ class Representation < Google::Apis::Core::JsonRepresentation
7534
+ property :bytes_base64_encoded, as: 'bytesBase64Encoded'
7535
+ property :gcs_uri, as: 'gcsUri'
7536
+ property :mime_type, as: 'mimeType'
7466
7537
  end
7467
7538
  end
7468
7539
 
@@ -7581,6 +7652,7 @@ module Google
7581
7652
  class Representation < Google::Apis::Core::JsonRepresentation
7582
7653
  property :encoded_video, as: 'encodedVideo'
7583
7654
  property :encoding, as: 'encoding'
7655
+ property :text, as: 'text'
7584
7656
  property :uri, as: 'uri'
7585
7657
  property :video, :base64 => true, as: 'video'
7586
7658
  end
@@ -9301,6 +9373,49 @@ module Google
9301
9373
  end
9302
9374
  end
9303
9375
 
9376
+ class GoogleCloudAiplatformV1beta1DeployRequest
9377
+ # @private
9378
+ class Representation < Google::Apis::Core::JsonRepresentation
9379
+ property :deploy_config, as: 'deployConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig::Representation
9380
+
9381
+ property :endpoint_config, as: 'endpointConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig::Representation
9382
+
9383
+ property :hugging_face_model_id, as: 'huggingFaceModelId'
9384
+ property :model_config, as: 'modelConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestModelConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestModelConfig::Representation
9385
+
9386
+ property :publisher_model_name, as: 'publisherModelName'
9387
+ end
9388
+ end
9389
+
9390
+ class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
9391
+ # @private
9392
+ class Representation < Google::Apis::Core::JsonRepresentation
9393
+ property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources::Representation
9394
+
9395
+ property :fast_tryout_enabled, as: 'fastTryoutEnabled'
9396
+ end
9397
+ end
9398
+
9399
+ class GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig
9400
+ # @private
9401
+ class Representation < Google::Apis::Core::JsonRepresentation
9402
+ property :dedicated_endpoint_enabled, as: 'dedicatedEndpointEnabled'
9403
+ property :endpoint_display_name, as: 'endpointDisplayName'
9404
+ end
9405
+ end
9406
+
9407
+ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig
9408
+ # @private
9409
+ class Representation < Google::Apis::Core::JsonRepresentation
9410
+ property :accept_eula, as: 'acceptEula'
9411
+ property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelContainerSpec::Representation
9412
+
9413
+ property :hugging_face_access_token, as: 'huggingFaceAccessToken'
9414
+ property :hugging_face_cache_enabled, as: 'huggingFaceCacheEnabled'
9415
+ property :model_display_name, as: 'modelDisplayName'
9416
+ end
9417
+ end
9418
+
9304
9419
  class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata
9305
9420
  # @private
9306
9421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9567,6 +9682,12 @@ module Google
9567
9682
  end
9568
9683
  end
9569
9684
 
9685
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
9686
+ # @private
9687
+ class Representation < Google::Apis::Core::JsonRepresentation
9688
+ end
9689
+ end
9690
+
9570
9691
  class GoogleCloudAiplatformV1beta1EntityIdSelector
9571
9692
  # @private
9572
9693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11238,6 +11359,9 @@ module Google
11238
11359
  property :prompt_token_count, as: 'promptTokenCount'
11239
11360
  collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
11240
11361
 
11362
+ property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
11363
+ collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
11364
+
11241
11365
  property :total_token_count, as: 'totalTokenCount'
11242
11366
  end
11243
11367
  end
@@ -11248,6 +11372,17 @@ module Google
11248
11372
  collection :generated_samples, as: 'generatedSamples'
11249
11373
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
11250
11374
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
11375
+ collection :videos, as: 'videos', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo::Representation
11376
+
11377
+ end
11378
+ end
11379
+
11380
+ class GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo
11381
+ # @private
11382
+ class Representation < Google::Apis::Core::JsonRepresentation
11383
+ property :bytes_base64_encoded, as: 'bytesBase64Encoded'
11384
+ property :gcs_uri, as: 'gcsUri'
11385
+ property :mime_type, as: 'mimeType'
11251
11386
  end
11252
11387
  end
11253
11388
 
@@ -12387,6 +12522,7 @@ module Google
12387
12522
  property :accelerator_count, as: 'acceleratorCount'
12388
12523
  property :accelerator_type, as: 'acceleratorType'
12389
12524
  property :machine_type, as: 'machineType'
12525
+ property :multihost_gpu_node_count, as: 'multihostGpuNodeCount'
12390
12526
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReservationAffinity, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReservationAffinity::Representation
12391
12527
 
12392
12528
  property :tpu_topology, as: 'tpuTopology'
@@ -15463,11 +15599,23 @@ module Google
15463
15599
  # @private
15464
15600
  class Representation < Google::Apis::Core::JsonRepresentation
15465
15601
  collection :class_methods, as: 'classMethods'
15602
+ property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec::Representation
15603
+
15466
15604
  property :package_spec, as: 'packageSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec::Representation
15467
15605
 
15468
15606
  end
15469
15607
  end
15470
15608
 
15609
+ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec
15610
+ # @private
15611
+ class Representation < Google::Apis::Core::JsonRepresentation
15612
+ collection :env, as: 'env', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar::Representation
15613
+
15614
+ collection :secret_env, as: 'secretEnv', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretEnvVar, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretEnvVar::Representation
15615
+
15616
+ end
15617
+ end
15618
+
15471
15619
  class GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec
15472
15620
  # @private
15473
15621
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17936,6 +18084,23 @@ module Google
17936
18084
  end
17937
18085
  end
17938
18086
 
18087
+ class GoogleCloudAiplatformV1beta1SecretEnvVar
18088
+ # @private
18089
+ class Representation < Google::Apis::Core::JsonRepresentation
18090
+ property :name, as: 'name'
18091
+ property :secret_ref, as: 'secretRef', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretRef, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SecretRef::Representation
18092
+
18093
+ end
18094
+ end
18095
+
18096
+ class GoogleCloudAiplatformV1beta1SecretRef
18097
+ # @private
18098
+ class Representation < Google::Apis::Core::JsonRepresentation
18099
+ property :secret, as: 'secret'
18100
+ property :version, as: 'version'
18101
+ end
18102
+ end
18103
+
17939
18104
  class GoogleCloudAiplatformV1beta1Segment
17940
18105
  # @private
17941
18106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18807,6 +18972,8 @@ module Google
18807
18972
  class Representation < Google::Apis::Core::JsonRepresentation
18808
18973
  property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
18809
18974
 
18975
+ property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
18976
+
18810
18977
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
18811
18978
 
18812
18979
  property :google_search, as: 'googleSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.37.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.38.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: