google-apis-aiplatform_v1 0.44.0 → 0.46.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: d95a67a12f5b264d72c2d2ef7d9c8c7dc38c86487ee550a4d518707182e77992
4
- data.tar.gz: fc1d0c1adc0895ae46fae23f3088e6957962393d68075c90d461fe64d53f7593
3
+ metadata.gz: 4520d2a14c40129ac93db62ff4374a8d1afbd4ba5069db29bc311b04f4545d5f
4
+ data.tar.gz: d5f43f8db6eb5d325c99362816212d34082a720289f2dcd2fc0d65cd15d1a609
5
5
  SHA512:
6
- metadata.gz: e3d586ae4fdcb564703616cf86d5fca4926abdd3a40015eafe4ecacac277bd8be7b8884294cf1b0084497ce227507adcff5734757a5fc3b28be0cfc9fd329c4f
7
- data.tar.gz: 99bb246b8f39e5265436ef1462a8fa22f44aac6b28c259b7896c84e6cc009b44c768bcdabc1761e0fd675940f400b210bb21ef5761ff0ae56f6bdb91b663b716
6
+ metadata.gz: 2dd244d8bc3e6cc2d26306f7be4679752377773b88cf77a9052e503a8d514130bc668d48b1d79fa1c137f7d67c61a82ed1d6ef2e200b5064425230f5a8c360c3
7
+ data.tar.gz: a49ff0ee370762ed304d8f5f8cae72913f45ef728c79367cf5a24f3962b713d57d7c6c8640fa05e36cb5519a42b9c0da5d97f083b6cdbcfb1e0a73a38b59b402
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.46.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250304
6
+
7
+ ### v0.45.0 (2025-03-09)
8
+
9
+ * Regenerated from discovery document revision 20250226
10
+
3
11
  ### v0.44.0 (2025-02-26)
4
12
 
5
13
  * 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::AiplatformV1::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
@@ -6400,9 +6443,10 @@ module Google
6400
6443
  # @return [Fixnum]
6401
6444
  attr_accessor :boot_disk_size_gb
6402
6445
 
6403
- # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (
6404
- # Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk
6405
- # Drive).
6446
+ # Type of the boot disk. For non-A3U machines, the default value is "pd-ssd",
6447
+ # for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-
6448
+ # ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard
6449
+ # Disk Drive) or "hyperdisk-balanced".
6406
6450
  # Corresponds to the JSON property `bootDiskType`
6407
6451
  # @return [String]
6408
6452
  attr_accessor :boot_disk_type
@@ -6661,6 +6705,20 @@ module Google
6661
6705
  end
6662
6706
  end
6663
6707
 
6708
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
6709
+ # compliance.
6710
+ class GoogleCloudAiplatformV1EnterpriseWebSearch
6711
+ include Google::Apis::Core::Hashable
6712
+
6713
+ def initialize(**args)
6714
+ update!(**args)
6715
+ end
6716
+
6717
+ # Update properties of this object
6718
+ def update!(**args)
6719
+ end
6720
+ end
6721
+
6664
6722
  # Selector for entityId. Getting ids from the given source.
6665
6723
  class GoogleCloudAiplatformV1EntityIdSelector
6666
6724
  include Google::Apis::Core::Hashable
@@ -11813,7 +11871,24 @@ module Google
11813
11871
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
11814
11872
  attr_accessor :prompt_tokens_details
11815
11873
 
11816
- # Total token count for prompt and response candidates.
11874
+ # Output only. Number of tokens present in thoughts output.
11875
+ # Corresponds to the JSON property `thoughtsTokenCount`
11876
+ # @return [Fixnum]
11877
+ attr_accessor :thoughts_token_count
11878
+
11879
+ # Output only. Number of tokens present in tool-use prompt(s).
11880
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
11881
+ # @return [Fixnum]
11882
+ attr_accessor :tool_use_prompt_token_count
11883
+
11884
+ # Output only. List of modalities that were processed for tool-use request
11885
+ # inputs.
11886
+ # Corresponds to the JSON property `toolUsePromptTokensDetails`
11887
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
11888
+ attr_accessor :tool_use_prompt_tokens_details
11889
+
11890
+ # Total token count for prompt, response candidates, and tool-use prompts (if
11891
+ # present).
11817
11892
  # Corresponds to the JSON property `totalTokenCount`
11818
11893
  # @return [Fixnum]
11819
11894
  attr_accessor :total_token_count
@@ -11830,10 +11905,81 @@ module Google
11830
11905
  @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
11831
11906
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
11832
11907
  @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
11908
+ @thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count)
11909
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
11910
+ @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
11833
11911
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
11834
11912
  end
11835
11913
  end
11836
11914
 
11915
+ # Generate video response.
11916
+ class GoogleCloudAiplatformV1GenerateVideoResponse
11917
+ include Google::Apis::Core::Hashable
11918
+
11919
+ # The cloud storage uris of the generated videos.
11920
+ # Corresponds to the JSON property `generatedSamples`
11921
+ # @return [Array<String>]
11922
+ attr_accessor :generated_samples
11923
+
11924
+ # Returns if any videos were filtered due to RAI policies.
11925
+ # Corresponds to the JSON property `raiMediaFilteredCount`
11926
+ # @return [Fixnum]
11927
+ attr_accessor :rai_media_filtered_count
11928
+
11929
+ # Returns rai failure reasons if any.
11930
+ # Corresponds to the JSON property `raiMediaFilteredReasons`
11931
+ # @return [Array<String>]
11932
+ attr_accessor :rai_media_filtered_reasons
11933
+
11934
+ # List of video bytes or Cloud Storage URIs of the generated videos.
11935
+ # Corresponds to the JSON property `videos`
11936
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateVideoResponseVideo>]
11937
+ attr_accessor :videos
11938
+
11939
+ def initialize(**args)
11940
+ update!(**args)
11941
+ end
11942
+
11943
+ # Update properties of this object
11944
+ def update!(**args)
11945
+ @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
11946
+ @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
11947
+ @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
11948
+ @videos = args[:videos] if args.key?(:videos)
11949
+ end
11950
+ end
11951
+
11952
+ # A generated video.
11953
+ class GoogleCloudAiplatformV1GenerateVideoResponseVideo
11954
+ include Google::Apis::Core::Hashable
11955
+
11956
+ # Base64 encoded bytes string representing the video.
11957
+ # Corresponds to the JSON property `bytesBase64Encoded`
11958
+ # @return [String]
11959
+ attr_accessor :bytes_base64_encoded
11960
+
11961
+ # Cloud Storage URI where the generated video is written.
11962
+ # Corresponds to the JSON property `gcsUri`
11963
+ # @return [String]
11964
+ attr_accessor :gcs_uri
11965
+
11966
+ # The MIME type of the content of the video. - video/mp4
11967
+ # Corresponds to the JSON property `mimeType`
11968
+ # @return [String]
11969
+ attr_accessor :mime_type
11970
+
11971
+ def initialize(**args)
11972
+ update!(**args)
11973
+ end
11974
+
11975
+ # Update properties of this object
11976
+ def update!(**args)
11977
+ @bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
11978
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
11979
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
11980
+ end
11981
+ end
11982
+
11837
11983
  # Generation config.
11838
11984
  class GoogleCloudAiplatformV1GenerationConfig
11839
11985
  include Google::Apis::Core::Hashable
@@ -12946,6 +13092,11 @@ module Google
12946
13092
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
12947
13093
  attr_accessor :partial_failure_gcs_sink
12948
13094
 
13095
+ # Specifies the parsing config for RagFiles.
13096
+ # Corresponds to the JSON property `ragFileParsingConfig`
13097
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig]
13098
+ attr_accessor :rag_file_parsing_config
13099
+
12949
13100
  # Specifies the transformation config for RagFiles.
12950
13101
  # Corresponds to the JSON property `ragFileTransformationConfig`
12951
13102
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
@@ -12973,6 +13124,7 @@ module Google
12973
13124
  @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
12974
13125
  @partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
12975
13126
  @partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
13127
+ @rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
12976
13128
  @rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
12977
13129
  @share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
12978
13130
  @slack_source = args[:slack_source] if args.key?(:slack_source)
@@ -15340,12 +15492,6 @@ module Google
15340
15492
  # @return [String]
15341
15493
  attr_accessor :machine_type
15342
15494
 
15343
- # Optional. Immutable. The number of nodes per replica for multihost GPU
15344
- # deployments.
15345
- # Corresponds to the JSON property `multihostGpuNodeCount`
15346
- # @return [Fixnum]
15347
- attr_accessor :multihost_gpu_node_count
15348
-
15349
15495
  # A ReservationAffinity can be used to configure a Vertex AI resource (e.g., a
15350
15496
  # DeployedModel) to draw its Compute Engine resources from a Shared Reservation,
15351
15497
  # or exclusively from on-demand capacity.
@@ -15368,7 +15514,6 @@ module Google
15368
15514
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
15369
15515
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
15370
15516
  @machine_type = args[:machine_type] if args.key?(:machine_type)
15371
- @multihost_gpu_node_count = args[:multihost_gpu_node_count] if args.key?(:multihost_gpu_node_count)
15372
15517
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
15373
15518
  @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
15374
15519
  end
@@ -23414,6 +23559,58 @@ module Google
23414
23559
  end
23415
23560
  end
23416
23561
 
23562
+ # Specifies the parsing config for RagFiles.
23563
+ class GoogleCloudAiplatformV1RagFileParsingConfig
23564
+ include Google::Apis::Core::Hashable
23565
+
23566
+ # Document AI Layout Parser config.
23567
+ # Corresponds to the JSON property `layoutParser`
23568
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
23569
+ attr_accessor :layout_parser
23570
+
23571
+ def initialize(**args)
23572
+ update!(**args)
23573
+ end
23574
+
23575
+ # Update properties of this object
23576
+ def update!(**args)
23577
+ @layout_parser = args[:layout_parser] if args.key?(:layout_parser)
23578
+ end
23579
+ end
23580
+
23581
+ # Document AI Layout Parser config.
23582
+ class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser
23583
+ include Google::Apis::Core::Hashable
23584
+
23585
+ # The maximum number of requests the job is allowed to make to the Document AI
23586
+ # processor per minute. Consult https://cloud.google.com/document-ai/quotas and
23587
+ # the Quota page for your project to set an appropriate value here. If
23588
+ # unspecified, a default value of 120 QPM would be used.
23589
+ # Corresponds to the JSON property `maxParsingRequestsPerMin`
23590
+ # @return [Fixnum]
23591
+ attr_accessor :max_parsing_requests_per_min
23592
+
23593
+ # The full resource name of a Document AI processor or processor version. The
23594
+ # processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `
23595
+ # additional_config.parse_as_scanned_pdf` field must be false. Format: * `
23596
+ # projects/`project_id`/locations/`location`/processors/`processor_id`` * `
23597
+ # projects/`project_id`/locations/`location`/processors/`processor_id`/
23598
+ # processorVersions/`processor_version_id``
23599
+ # Corresponds to the JSON property `processorName`
23600
+ # @return [String]
23601
+ attr_accessor :processor_name
23602
+
23603
+ def initialize(**args)
23604
+ update!(**args)
23605
+ end
23606
+
23607
+ # Update properties of this object
23608
+ def update!(**args)
23609
+ @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
23610
+ @processor_name = args[:processor_name] if args.key?(:processor_name)
23611
+ end
23612
+ end
23613
+
23417
23614
  # Specifies the transformation config for RagFiles.
23418
23615
  class GoogleCloudAiplatformV1RagFileTransformationConfig
23419
23616
  include Google::Apis::Core::Hashable
@@ -24134,6 +24331,11 @@ module Google
24134
24331
  # @return [Array<Hash<String,Object>>]
24135
24332
  attr_accessor :class_methods
24136
24333
 
24334
+ # The specification of a Reasoning Engine deployment.
24335
+ # Corresponds to the JSON property `deploymentSpec`
24336
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec]
24337
+ attr_accessor :deployment_spec
24338
+
24137
24339
  # User provided package spec like pickled object and package requirements.
24138
24340
  # Corresponds to the JSON property `packageSpec`
24139
24341
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec]
@@ -24146,10 +24348,40 @@ module Google
24146
24348
  # Update properties of this object
24147
24349
  def update!(**args)
24148
24350
  @class_methods = args[:class_methods] if args.key?(:class_methods)
24351
+ @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
24149
24352
  @package_spec = args[:package_spec] if args.key?(:package_spec)
24150
24353
  end
24151
24354
  end
24152
24355
 
24356
+ # The specification of a Reasoning Engine deployment.
24357
+ class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec
24358
+ include Google::Apis::Core::Hashable
24359
+
24360
+ # Optional. Environment variables to be set with the Reasoning Engine deployment.
24361
+ # The environment variables can be updated through the UpdateReasoningEngine
24362
+ # API.
24363
+ # Corresponds to the JSON property `env`
24364
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar>]
24365
+ attr_accessor :env
24366
+
24367
+ # Optional. Environment variables where the value is a secret in Cloud Secret
24368
+ # Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/
24369
+ # secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.
24370
+ # Corresponds to the JSON property `secretEnv`
24371
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretEnvVar>]
24372
+ attr_accessor :secret_env
24373
+
24374
+ def initialize(**args)
24375
+ update!(**args)
24376
+ end
24377
+
24378
+ # Update properties of this object
24379
+ def update!(**args)
24380
+ @env = args[:env] if args.key?(:env)
24381
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
24382
+ end
24383
+ end
24384
+
24153
24385
  # User provided package spec like pickled object and package requirements.
24154
24386
  class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec
24155
24387
  include Google::Apis::Core::Hashable
@@ -24349,7 +24581,7 @@ module Google
24349
24581
  attr_accessor :reservation_affinity_type
24350
24582
 
24351
24583
  # Optional. Corresponds to the label values of a reservation resource. This must
24352
- # be the full resource name of the reservation.
24584
+ # be the full resource name of the reservation or reservation block.
24353
24585
  # Corresponds to the JSON property `values`
24354
24586
  # @return [Array<String>]
24355
24587
  attr_accessor :values
@@ -24587,8 +24819,9 @@ module Google
24587
24819
  attr_accessor :disable_attribution
24588
24820
  alias_method :disable_attribution?, :disable_attribution
24589
24821
 
24590
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
24591
- # google.com/products/agent-builder
24822
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
24823
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
24824
+ # builder
24592
24825
  # Corresponds to the JSON property `vertexAiSearch`
24593
24826
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch]
24594
24827
  attr_accessor :vertex_ai_search
@@ -32587,6 +32820,62 @@ module Google
32587
32820
  end
32588
32821
  end
32589
32822
 
32823
+ # Represents an environment variable where the value is a secret in Cloud Secret
32824
+ # Manager.
32825
+ class GoogleCloudAiplatformV1SecretEnvVar
32826
+ include Google::Apis::Core::Hashable
32827
+
32828
+ # Required. Name of the secret environment variable.
32829
+ # Corresponds to the JSON property `name`
32830
+ # @return [String]
32831
+ attr_accessor :name
32832
+
32833
+ # Reference to a secret stored in the Cloud Secret Manager that will provide the
32834
+ # value for this environment variable.
32835
+ # Corresponds to the JSON property `secretRef`
32836
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretRef]
32837
+ attr_accessor :secret_ref
32838
+
32839
+ def initialize(**args)
32840
+ update!(**args)
32841
+ end
32842
+
32843
+ # Update properties of this object
32844
+ def update!(**args)
32845
+ @name = args[:name] if args.key?(:name)
32846
+ @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
32847
+ end
32848
+ end
32849
+
32850
+ # Reference to a secret stored in the Cloud Secret Manager that will provide the
32851
+ # value for this environment variable.
32852
+ class GoogleCloudAiplatformV1SecretRef
32853
+ include Google::Apis::Core::Hashable
32854
+
32855
+ # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
32856
+ # if the secret is in the same project. projects/`project`/secrets/`secret_name`
32857
+ # if the secret is in a different project.
32858
+ # Corresponds to the JSON property `secret`
32859
+ # @return [String]
32860
+ attr_accessor :secret
32861
+
32862
+ # The Cloud Secret Manager secret version. Can be 'latest' for the latest
32863
+ # version, an integer for a specific version, or a version alias.
32864
+ # Corresponds to the JSON property `version`
32865
+ # @return [String]
32866
+ attr_accessor :version
32867
+
32868
+ def initialize(**args)
32869
+ update!(**args)
32870
+ end
32871
+
32872
+ # Update properties of this object
32873
+ def update!(**args)
32874
+ @secret = args[:secret] if args.key?(:secret)
32875
+ @version = args[:version] if args.key?(:version)
32876
+ end
32877
+ end
32878
+
32590
32879
  # Segment of the content.
32591
32880
  class GoogleCloudAiplatformV1Segment
32592
32881
  include Google::Apis::Core::Hashable
@@ -35589,6 +35878,12 @@ module Google
35589
35878
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution]
35590
35879
  attr_accessor :code_execution
35591
35880
 
35881
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
35882
+ # compliance.
35883
+ # Corresponds to the JSON property `enterpriseWebSearch`
35884
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnterpriseWebSearch]
35885
+ attr_accessor :enterprise_web_search
35886
+
35592
35887
  # Optional. Function tool type. One or more function declarations to be passed
35593
35888
  # to the model along with the current user query. Model may decide to call a
35594
35889
  # subset of these functions by populating FunctionCall in the response. User
@@ -35622,6 +35917,7 @@ module Google
35622
35917
  # Update properties of this object
35623
35918
  def update!(**args)
35624
35919
  @code_execution = args[:code_execution] if args.key?(:code_execution)
35920
+ @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
35625
35921
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
35626
35922
  @google_search = args[:google_search] if args.key?(:google_search)
35627
35923
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
@@ -38075,12 +38371,13 @@ module Google
38075
38371
  end
38076
38372
  end
38077
38373
 
38078
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
38079
- # google.com/products/agent-builder
38374
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
38375
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
38376
+ # builder
38080
38377
  class GoogleCloudAiplatformV1VertexAiSearch
38081
38378
  include Google::Apis::Core::Hashable
38082
38379
 
38083
- # Required. Fully-qualified Vertex AI Search data store resource ID. Format: `
38380
+ # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
38084
38381
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
38085
38382
  # dataStore``
38086
38383
  # Corresponds to the JSON property `datastore`
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20250304"
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
 
@@ -1162,6 +1168,12 @@ module Google
1162
1168
  include Google::Apis::Core::JsonObjectSupport
1163
1169
  end
1164
1170
 
1171
+ class GoogleCloudAiplatformV1EnterpriseWebSearch
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1165
1177
  class GoogleCloudAiplatformV1EntityIdSelector
1166
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1179
 
@@ -1942,6 +1954,18 @@ module Google
1942
1954
  include Google::Apis::Core::JsonObjectSupport
1943
1955
  end
1944
1956
 
1957
+ class GoogleCloudAiplatformV1GenerateVideoResponse
1958
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1959
+
1960
+ include Google::Apis::Core::JsonObjectSupport
1961
+ end
1962
+
1963
+ class GoogleCloudAiplatformV1GenerateVideoResponseVideo
1964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1965
+
1966
+ include Google::Apis::Core::JsonObjectSupport
1967
+ end
1968
+
1945
1969
  class GoogleCloudAiplatformV1GenerationConfig
1946
1970
  class Representation < Google::Apis::Core::JsonRepresentation; end
1947
1971
 
@@ -3790,6 +3814,18 @@ module Google
3790
3814
  include Google::Apis::Core::JsonObjectSupport
3791
3815
  end
3792
3816
 
3817
+ class GoogleCloudAiplatformV1RagFileParsingConfig
3818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3819
+
3820
+ include Google::Apis::Core::JsonObjectSupport
3821
+ end
3822
+
3823
+ class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser
3824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3825
+
3826
+ include Google::Apis::Core::JsonObjectSupport
3827
+ end
3828
+
3793
3829
  class GoogleCloudAiplatformV1RagFileTransformationConfig
3794
3830
  class Representation < Google::Apis::Core::JsonRepresentation; end
3795
3831
 
@@ -3958,6 +3994,12 @@ module Google
3958
3994
  include Google::Apis::Core::JsonObjectSupport
3959
3995
  end
3960
3996
 
3997
+ class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec
3998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3999
+
4000
+ include Google::Apis::Core::JsonObjectSupport
4001
+ end
4002
+
3961
4003
  class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec
3962
4004
  class Representation < Google::Apis::Core::JsonRepresentation; end
3963
4005
 
@@ -5356,6 +5398,18 @@ module Google
5356
5398
  include Google::Apis::Core::JsonObjectSupport
5357
5399
  end
5358
5400
 
5401
+ class GoogleCloudAiplatformV1SecretEnvVar
5402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5403
+
5404
+ include Google::Apis::Core::JsonObjectSupport
5405
+ end
5406
+
5407
+ class GoogleCloudAiplatformV1SecretRef
5408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5409
+
5410
+ include Google::Apis::Core::JsonObjectSupport
5411
+ end
5412
+
5359
5413
  class GoogleCloudAiplatformV1Segment
5360
5414
  class Representation < Google::Apis::Core::JsonRepresentation; end
5361
5415
 
@@ -6629,6 +6683,17 @@ module Google
6629
6683
 
6630
6684
  property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
6631
6685
  collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
6686
+ collection :videos, as: 'videos', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoResponseVideo, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoResponseVideo::Representation
6687
+
6688
+ end
6689
+ end
6690
+
6691
+ class CloudAiLargeModelsVisionGenerateVideoResponseVideo
6692
+ # @private
6693
+ class Representation < Google::Apis::Core::JsonRepresentation
6694
+ property :bytes_base64_encoded, as: 'bytesBase64Encoded'
6695
+ property :gcs_uri, as: 'gcsUri'
6696
+ property :mime_type, as: 'mimeType'
6632
6697
  end
6633
6698
  end
6634
6699
 
@@ -6747,6 +6812,7 @@ module Google
6747
6812
  class Representation < Google::Apis::Core::JsonRepresentation
6748
6813
  property :encoded_video, as: 'encodedVideo'
6749
6814
  property :encoding, as: 'encoding'
6815
+ property :text, as: 'text'
6750
6816
  property :uri, as: 'uri'
6751
6817
  property :video, :base64 => true, as: 'video'
6752
6818
  end
@@ -8512,6 +8578,12 @@ module Google
8512
8578
  end
8513
8579
  end
8514
8580
 
8581
+ class GoogleCloudAiplatformV1EnterpriseWebSearch
8582
+ # @private
8583
+ class Representation < Google::Apis::Core::JsonRepresentation
8584
+ end
8585
+ end
8586
+
8515
8587
  class GoogleCloudAiplatformV1EntityIdSelector
8516
8588
  # @private
8517
8589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9951,10 +10023,34 @@ module Google
9951
10023
  property :prompt_token_count, as: 'promptTokenCount'
9952
10024
  collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount::Representation
9953
10025
 
10026
+ property :thoughts_token_count, as: 'thoughtsTokenCount'
10027
+ property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
10028
+ collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount::Representation
10029
+
9954
10030
  property :total_token_count, as: 'totalTokenCount'
9955
10031
  end
9956
10032
  end
9957
10033
 
10034
+ class GoogleCloudAiplatformV1GenerateVideoResponse
10035
+ # @private
10036
+ class Representation < Google::Apis::Core::JsonRepresentation
10037
+ collection :generated_samples, as: 'generatedSamples'
10038
+ property :rai_media_filtered_count, as: 'raiMediaFilteredCount'
10039
+ collection :rai_media_filtered_reasons, as: 'raiMediaFilteredReasons'
10040
+ collection :videos, as: 'videos', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateVideoResponseVideo, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateVideoResponseVideo::Representation
10041
+
10042
+ end
10043
+ end
10044
+
10045
+ class GoogleCloudAiplatformV1GenerateVideoResponseVideo
10046
+ # @private
10047
+ class Representation < Google::Apis::Core::JsonRepresentation
10048
+ property :bytes_base64_encoded, as: 'bytesBase64Encoded'
10049
+ property :gcs_uri, as: 'gcsUri'
10050
+ property :mime_type, as: 'mimeType'
10051
+ end
10052
+ end
10053
+
9958
10054
  class GoogleCloudAiplatformV1GenerationConfig
9959
10055
  # @private
9960
10056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10276,6 +10372,8 @@ module Google
10276
10372
 
10277
10373
  property :partial_failure_gcs_sink, as: 'partialFailureGcsSink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
10278
10374
 
10375
+ property :rag_file_parsing_config, as: 'ragFileParsingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig::Representation
10376
+
10279
10377
  property :rag_file_transformation_config, as: 'ragFileTransformationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig::Representation
10280
10378
 
10281
10379
  property :share_point_sources, as: 'sharePointSources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources::Representation
@@ -11016,7 +11114,6 @@ module Google
11016
11114
  property :accelerator_count, as: 'acceleratorCount'
11017
11115
  property :accelerator_type, as: 'acceleratorType'
11018
11116
  property :machine_type, as: 'machineType'
11019
- property :multihost_gpu_node_count, as: 'multihostGpuNodeCount'
11020
11117
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReservationAffinity, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReservationAffinity::Representation
11021
11118
 
11022
11119
  property :tpu_topology, as: 'tpuTopology'
@@ -13223,6 +13320,22 @@ module Google
13223
13320
  end
13224
13321
  end
13225
13322
 
13323
+ class GoogleCloudAiplatformV1RagFileParsingConfig
13324
+ # @private
13325
+ class Representation < Google::Apis::Core::JsonRepresentation
13326
+ property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
13327
+
13328
+ end
13329
+ end
13330
+
13331
+ class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser
13332
+ # @private
13333
+ class Representation < Google::Apis::Core::JsonRepresentation
13334
+ property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
13335
+ property :processor_name, as: 'processorName'
13336
+ end
13337
+ end
13338
+
13226
13339
  class GoogleCloudAiplatformV1RagFileTransformationConfig
13227
13340
  # @private
13228
13341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13465,11 +13578,23 @@ module Google
13465
13578
  # @private
13466
13579
  class Representation < Google::Apis::Core::JsonRepresentation
13467
13580
  collection :class_methods, as: 'classMethods'
13581
+ property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec::Representation
13582
+
13468
13583
  property :package_spec, as: 'packageSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec::Representation
13469
13584
 
13470
13585
  end
13471
13586
  end
13472
13587
 
13588
+ class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec
13589
+ # @private
13590
+ class Representation < Google::Apis::Core::JsonRepresentation
13591
+ collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
13592
+
13593
+ collection :secret_env, as: 'secretEnv', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretEnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretEnvVar::Representation
13594
+
13595
+ end
13596
+ end
13597
+
13473
13598
  class GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec
13474
13599
  # @private
13475
13600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15774,6 +15899,23 @@ module Google
15774
15899
  end
15775
15900
  end
15776
15901
 
15902
+ class GoogleCloudAiplatformV1SecretEnvVar
15903
+ # @private
15904
+ class Representation < Google::Apis::Core::JsonRepresentation
15905
+ property :name, as: 'name'
15906
+ property :secret_ref, as: 'secretRef', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretRef::Representation
15907
+
15908
+ end
15909
+ end
15910
+
15911
+ class GoogleCloudAiplatformV1SecretRef
15912
+ # @private
15913
+ class Representation < Google::Apis::Core::JsonRepresentation
15914
+ property :secret, as: 'secret'
15915
+ property :version, as: 'version'
15916
+ end
15917
+ end
15918
+
15777
15919
  class GoogleCloudAiplatformV1Segment
15778
15920
  # @private
15779
15921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16601,6 +16743,8 @@ module Google
16601
16743
  class Representation < Google::Apis::Core::JsonRepresentation
16602
16744
  property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution::Representation
16603
16745
 
16746
+ property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnterpriseWebSearch::Representation
16747
+
16604
16748
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
16605
16749
 
16606
16750
  property :google_search, as: 'googleSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolGoogleSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolGoogleSearch::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.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-16 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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.44.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.46.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: