google-apis-aiplatform_v1 0.45.0 → 0.47.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: 1a318a3d2041953f1b12a3f6e1186048d475e699b8d9adaba12264d1f81b2f5e
4
- data.tar.gz: 86f07cba2a290b96fe70f0333d28c878ad64d6efb03a172136c301676b5203fa
3
+ metadata.gz: 5dc22e7acde50a6331c76a72c557feaf3bdbc7ebcb8b2926778604d27917456f
4
+ data.tar.gz: 0c8311c34a7af7b509ce041e3e82e477e9b8f7d7085020e99b8fde6234af1b7c
5
5
  SHA512:
6
- metadata.gz: 7161309e1519cfb1ad6976c257ff0954bf02a7a4410d3bb95274285e9892103911802cb7943117fda61a10abf412ae02870d7bfe552ede41754cb1e8575cd98a
7
- data.tar.gz: df189d485d4cb36edb353755c98021620061c630e65d44c3b6c536b64819f6466f05c684968467e2182b1c12efa1248c8e52063a64d81a783feedb942fec7fd4
6
+ metadata.gz: 86238a1150ae1d2748dc731d0809847bbb3c2020ad32e8130288bb58a5cc37e45559913a9a4842bcfdcb94505a77b38cee4116482a5ca7c664718e5b52c508bb
7
+ data.tar.gz: 2f5396d3605b174e513af25b9a7c5fd2f1cf7b999f267c003e14e511bd078b09aedc192958c798c84a81d97710d49281262097f20e523e7818e43a85a2141250
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.47.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250307
6
+
7
+ ### v0.46.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250304
10
+
3
11
  ### v0.45.0 (2025-03-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20250226
@@ -6443,9 +6443,10 @@ module Google
6443
6443
  # @return [Fixnum]
6444
6444
  attr_accessor :boot_disk_size_gb
6445
6445
 
6446
- # Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (
6447
- # Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk
6448
- # 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".
6449
6450
  # Corresponds to the JSON property `bootDiskType`
6450
6451
  # @return [String]
6451
6452
  attr_accessor :boot_disk_type
@@ -11870,6 +11871,11 @@ module Google
11870
11871
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
11871
11872
  attr_accessor :prompt_tokens_details
11872
11873
 
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
+
11873
11879
  # Output only. Number of tokens present in tool-use prompt(s).
11874
11880
  # Corresponds to the JSON property `toolUsePromptTokenCount`
11875
11881
  # @return [Fixnum]
@@ -11899,6 +11905,7 @@ module Google
11899
11905
  @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
11900
11906
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
11901
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)
11902
11909
  @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
11903
11910
  @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
11904
11911
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
@@ -13061,6 +13068,16 @@ module Google
13061
13068
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource]
13062
13069
  attr_accessor :google_drive_source
13063
13070
 
13071
+ # The BigQuery location for the output content.
13072
+ # Corresponds to the JSON property `importResultBigquerySink`
13073
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination]
13074
+ attr_accessor :import_result_bigquery_sink
13075
+
13076
+ # The Google Cloud Storage location where the output is to be written to.
13077
+ # Corresponds to the JSON property `importResultGcsSink`
13078
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
13079
+ attr_accessor :import_result_gcs_sink
13080
+
13064
13081
  # The Jira source for the ImportRagFilesRequest.
13065
13082
  # Corresponds to the JSON property `jiraSource`
13066
13083
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource]
@@ -13085,6 +13102,11 @@ module Google
13085
13102
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
13086
13103
  attr_accessor :partial_failure_gcs_sink
13087
13104
 
13105
+ # Specifies the parsing config for RagFiles.
13106
+ # Corresponds to the JSON property `ragFileParsingConfig`
13107
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig]
13108
+ attr_accessor :rag_file_parsing_config
13109
+
13088
13110
  # Specifies the transformation config for RagFiles.
13089
13111
  # Corresponds to the JSON property `ragFileTransformationConfig`
13090
13112
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
@@ -13108,10 +13130,13 @@ module Google
13108
13130
  def update!(**args)
13109
13131
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
13110
13132
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
13133
+ @import_result_bigquery_sink = args[:import_result_bigquery_sink] if args.key?(:import_result_bigquery_sink)
13134
+ @import_result_gcs_sink = args[:import_result_gcs_sink] if args.key?(:import_result_gcs_sink)
13111
13135
  @jira_source = args[:jira_source] if args.key?(:jira_source)
13112
13136
  @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
13113
13137
  @partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
13114
13138
  @partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
13139
+ @rag_file_parsing_config = args[:rag_file_parsing_config] if args.key?(:rag_file_parsing_config)
13115
13140
  @rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
13116
13141
  @share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
13117
13142
  @slack_source = args[:slack_source] if args.key?(:slack_source)
@@ -21262,8 +21287,7 @@ module Google
21262
21287
  # @return [String]
21263
21288
  attr_accessor :post_startup_script_behavior
21264
21289
 
21265
- # Optional. Post startup script url to download. Example: https://bucket/script.
21266
- # sh
21290
+ # Optional. Post startup script url to download. Example: `gs://bucket/script.sh`
21267
21291
  # Corresponds to the JSON property `postStartupScriptUrl`
21268
21292
  # @return [String]
21269
21293
  attr_accessor :post_startup_script_url
@@ -23546,6 +23570,58 @@ module Google
23546
23570
  end
23547
23571
  end
23548
23572
 
23573
+ # Specifies the parsing config for RagFiles.
23574
+ class GoogleCloudAiplatformV1RagFileParsingConfig
23575
+ include Google::Apis::Core::Hashable
23576
+
23577
+ # Document AI Layout Parser config.
23578
+ # Corresponds to the JSON property `layoutParser`
23579
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
23580
+ attr_accessor :layout_parser
23581
+
23582
+ def initialize(**args)
23583
+ update!(**args)
23584
+ end
23585
+
23586
+ # Update properties of this object
23587
+ def update!(**args)
23588
+ @layout_parser = args[:layout_parser] if args.key?(:layout_parser)
23589
+ end
23590
+ end
23591
+
23592
+ # Document AI Layout Parser config.
23593
+ class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser
23594
+ include Google::Apis::Core::Hashable
23595
+
23596
+ # The maximum number of requests the job is allowed to make to the Document AI
23597
+ # processor per minute. Consult https://cloud.google.com/document-ai/quotas and
23598
+ # the Quota page for your project to set an appropriate value here. If
23599
+ # unspecified, a default value of 120 QPM would be used.
23600
+ # Corresponds to the JSON property `maxParsingRequestsPerMin`
23601
+ # @return [Fixnum]
23602
+ attr_accessor :max_parsing_requests_per_min
23603
+
23604
+ # The full resource name of a Document AI processor or processor version. The
23605
+ # processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `
23606
+ # additional_config.parse_as_scanned_pdf` field must be false. Format: * `
23607
+ # projects/`project_id`/locations/`location`/processors/`processor_id`` * `
23608
+ # projects/`project_id`/locations/`location`/processors/`processor_id`/
23609
+ # processorVersions/`processor_version_id``
23610
+ # Corresponds to the JSON property `processorName`
23611
+ # @return [String]
23612
+ attr_accessor :processor_name
23613
+
23614
+ def initialize(**args)
23615
+ update!(**args)
23616
+ end
23617
+
23618
+ # Update properties of this object
23619
+ def update!(**args)
23620
+ @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
23621
+ @processor_name = args[:processor_name] if args.key?(:processor_name)
23622
+ end
23623
+ end
23624
+
23549
23625
  # Specifies the transformation config for RagFiles.
23550
23626
  class GoogleCloudAiplatformV1RagFileTransformationConfig
23551
23627
  include Google::Apis::Core::Hashable
@@ -24260,6 +24336,12 @@ module Google
24260
24336
  class GoogleCloudAiplatformV1ReasoningEngineSpec
24261
24337
  include Google::Apis::Core::Hashable
24262
24338
 
24339
+ # Optional. The OSS agent framework used to develop the agent. Currently
24340
+ # supported values: "langchain", "langgraph", "ag2", "custom".
24341
+ # Corresponds to the JSON property `agentFramework`
24342
+ # @return [String]
24343
+ attr_accessor :agent_framework
24344
+
24263
24345
  # Optional. Declarations for object class methods in OpenAPI specification
24264
24346
  # format.
24265
24347
  # Corresponds to the JSON property `classMethods`
@@ -24282,6 +24364,7 @@ module Google
24282
24364
 
24283
24365
  # Update properties of this object
24284
24366
  def update!(**args)
24367
+ @agent_framework = args[:agent_framework] if args.key?(:agent_framework)
24285
24368
  @class_methods = args[:class_methods] if args.key?(:class_methods)
24286
24369
  @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
24287
24370
  @package_spec = args[:package_spec] if args.key?(:package_spec)
@@ -38319,6 +38402,13 @@ module Google
38319
38402
  # @return [String]
38320
38403
  attr_accessor :datastore
38321
38404
 
38405
+ # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `
38406
+ # projects/`project`/locations/`location`/collections/`collection`/engines/`
38407
+ # engine``
38408
+ # Corresponds to the JSON property `engine`
38409
+ # @return [String]
38410
+ attr_accessor :engine
38411
+
38322
38412
  def initialize(**args)
38323
38413
  update!(**args)
38324
38414
  end
@@ -38326,6 +38416,7 @@ module Google
38326
38416
  # Update properties of this object
38327
38417
  def update!(**args)
38328
38418
  @datastore = args[:datastore] if args.key?(:datastore)
38419
+ @engine = args[:engine] if args.key?(:engine)
38329
38420
  end
38330
38421
  end
38331
38422
 
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20250226"
25
+ REVISION = "20250307"
26
26
  end
27
27
  end
28
28
  end
@@ -3814,6 +3814,18 @@ module Google
3814
3814
  include Google::Apis::Core::JsonObjectSupport
3815
3815
  end
3816
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
+
3817
3829
  class GoogleCloudAiplatformV1RagFileTransformationConfig
3818
3830
  class Representation < Google::Apis::Core::JsonRepresentation; end
3819
3831
 
@@ -10011,6 +10023,7 @@ module Google
10011
10023
  property :prompt_token_count, as: 'promptTokenCount'
10012
10024
  collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount::Representation
10013
10025
 
10026
+ property :thoughts_token_count, as: 'thoughtsTokenCount'
10014
10027
  property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
10015
10028
  collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount::Representation
10016
10029
 
@@ -10352,6 +10365,10 @@ module Google
10352
10365
 
10353
10366
  property :google_drive_source, as: 'googleDriveSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource::Representation
10354
10367
 
10368
+ property :import_result_bigquery_sink, as: 'importResultBigquerySink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination::Representation
10369
+
10370
+ property :import_result_gcs_sink, as: 'importResultGcsSink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
10371
+
10355
10372
  property :jira_source, as: 'jiraSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource::Representation
10356
10373
 
10357
10374
  property :max_embedding_requests_per_min, as: 'maxEmbeddingRequestsPerMin'
@@ -10359,6 +10376,8 @@ module Google
10359
10376
 
10360
10377
  property :partial_failure_gcs_sink, as: 'partialFailureGcsSink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
10361
10378
 
10379
+ property :rag_file_parsing_config, as: 'ragFileParsingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig::Representation
10380
+
10362
10381
  property :rag_file_transformation_config, as: 'ragFileTransformationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig::Representation
10363
10382
 
10364
10383
  property :share_point_sources, as: 'sharePointSources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources::Representation
@@ -13305,6 +13324,22 @@ module Google
13305
13324
  end
13306
13325
  end
13307
13326
 
13327
+ class GoogleCloudAiplatformV1RagFileParsingConfig
13328
+ # @private
13329
+ class Representation < Google::Apis::Core::JsonRepresentation
13330
+ property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
13331
+
13332
+ end
13333
+ end
13334
+
13335
+ class GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser
13336
+ # @private
13337
+ class Representation < Google::Apis::Core::JsonRepresentation
13338
+ property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
13339
+ property :processor_name, as: 'processorName'
13340
+ end
13341
+ end
13342
+
13308
13343
  class GoogleCloudAiplatformV1RagFileTransformationConfig
13309
13344
  # @private
13310
13345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13546,6 +13581,7 @@ module Google
13546
13581
  class GoogleCloudAiplatformV1ReasoningEngineSpec
13547
13582
  # @private
13548
13583
  class Representation < Google::Apis::Core::JsonRepresentation
13584
+ property :agent_framework, as: 'agentFramework'
13549
13585
  collection :class_methods, as: 'classMethods'
13550
13586
  property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec::Representation
13551
13587
 
@@ -17573,6 +17609,7 @@ module Google
17573
17609
  # @private
17574
17610
  class Representation < Google::Apis::Core::JsonRepresentation
17575
17611
  property :datastore, as: 'datastore'
17612
+ property :engine, as: 'engine'
17576
17613
  end
17577
17614
  end
17578
17615
 
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.45.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-03-23 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.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.47.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: