@@ -6443,9 +6443,10 @@ class GoogleCloudAiplatformV1DiskSpec
64436443 # @return [Fixnum]
64446444 attr_accessor :boot_disk_size_gb
64456445
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".
64496450 # Corresponds to the JSON property `bootDiskType`
64506451 # @return [String]
64516452 attr_accessor :boot_disk_type
@@ -11870,6 +11871,11 @@ class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata
1187011871 # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
1187111872 attr_accessor :prompt_tokens_details
1187211873
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+
1187311879 # Output only. Number of tokens present in tool-use prompt(s).
1187411880 # Corresponds to the JSON property `toolUsePromptTokenCount`
1187511881 # @return [Fixnum]
@@ -11899,6 +11905,7 @@ def update!(**args)
1189911905 @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
1190011906 @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
1190111907 @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)
1190211909 @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
1190311910 @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
1190411911 @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
@@ -13085,6 +13092,11 @@ class GoogleCloudAiplatformV1ImportRagFilesConfig
1308513092 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
1308613093 attr_accessor :partial_failure_gcs_sink
1308713094
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+
1308813100 # Specifies the transformation config for RagFiles.
1308913101 # Corresponds to the JSON property `ragFileTransformationConfig`
1309013102 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
@@ -13112,6 +13124,7 @@ def update!(**args)
1311213124 @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
1311313125 @partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
1311413126 @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)
1311513128 @rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
1311613129 @share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
1311713130 @slack_source = args[:slack_source] if args.key?(:slack_source)
@@ -23546,6 +23559,58 @@ def update!(**args)
2354623559 end
2354723560 end
2354823561
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+
2354923614 # Specifies the transformation config for RagFiles.
2355023615 class GoogleCloudAiplatformV1RagFileTransformationConfig
2355123616 include Google::Apis::Core::Hashable
0 commit comments