google-apis-aiplatform_v1 0.45.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: 1a318a3d2041953f1b12a3f6e1186048d475e699b8d9adaba12264d1f81b2f5e
4
- data.tar.gz: 86f07cba2a290b96fe70f0333d28c878ad64d6efb03a172136c301676b5203fa
3
+ metadata.gz: 4520d2a14c40129ac93db62ff4374a8d1afbd4ba5069db29bc311b04f4545d5f
4
+ data.tar.gz: d5f43f8db6eb5d325c99362816212d34082a720289f2dcd2fc0d65cd15d1a609
5
5
  SHA512:
6
- metadata.gz: 7161309e1519cfb1ad6976c257ff0954bf02a7a4410d3bb95274285e9892103911802cb7943117fda61a10abf412ae02870d7bfe552ede41754cb1e8575cd98a
7
- data.tar.gz: df189d485d4cb36edb353755c98021620061c630e65d44c3b6c536b64819f6466f05c684968467e2182b1c12efa1248c8e52063a64d81a783feedb942fec7fd4
6
+ metadata.gz: 2dd244d8bc3e6cc2d26306f7be4679752377773b88cf77a9052e503a8d514130bc668d48b1d79fa1c137f7d67c61a82ed1d6ef2e200b5064425230f5a8c360c3
7
+ data.tar.gz: a49ff0ee370762ed304d8f5f8cae72913f45ef728c79367cf5a24f3962b713d57d7c6c8640fa05e36cb5519a42b9c0da5d97f083b6cdbcfb1e0a73a38b59b402
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.45.0 (2025-03-09)
4
8
 
5
9
  * 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)
@@ -13085,6 +13092,11 @@ module Google
13085
13092
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
13086
13093
  attr_accessor :partial_failure_gcs_sink
13087
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
+
13088
13100
  # Specifies the transformation config for RagFiles.
13089
13101
  # Corresponds to the JSON property `ragFileTransformationConfig`
13090
13102
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
@@ -13112,6 +13124,7 @@ module Google
13112
13124
  @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
13113
13125
  @partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
13114
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)
13115
13128
  @rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
13116
13129
  @share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
13117
13130
  @slack_source = args[:slack_source] if args.key?(:slack_source)
@@ -23546,6 +23559,58 @@ module Google
23546
23559
  end
23547
23560
  end
23548
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
+
23549
23614
  # Specifies the transformation config for RagFiles.
23550
23615
  class GoogleCloudAiplatformV1RagFileTransformationConfig
23551
23616
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.45.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 = "20250226"
25
+ REVISION = "20250304"
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
 
@@ -10359,6 +10372,8 @@ module Google
10359
10372
 
10360
10373
  property :partial_failure_gcs_sink, as: 'partialFailureGcsSink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
10361
10374
 
10375
+ property :rag_file_parsing_config, as: 'ragFileParsingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfig::Representation
10376
+
10362
10377
  property :rag_file_transformation_config, as: 'ragFileTransformationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig::Representation
10363
10378
 
10364
10379
  property :share_point_sources, as: 'sharePointSources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources::Representation
@@ -13305,6 +13320,22 @@ module Google
13305
13320
  end
13306
13321
  end
13307
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
+
13308
13339
  class GoogleCloudAiplatformV1RagFileTransformationConfig
13309
13340
  # @private
13310
13341
  class Representation < Google::Apis::Core::JsonRepresentation
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.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-09 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.45.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: