|
1286 | 1286 | "https://www.googleapis.com/auth/cloud-platform" |
1287 | 1287 | ] |
1288 | 1288 | }, |
| 1289 | + "getRagEngineConfig": { |
| 1290 | + "description": "Gets a RagEngineConfig.", |
| 1291 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig", |
| 1292 | + "httpMethod": "GET", |
| 1293 | + "id": "aiplatform.projects.locations.getRagEngineConfig", |
| 1294 | + "parameterOrder": [ |
| 1295 | + "name" |
| 1296 | + ], |
| 1297 | + "parameters": { |
| 1298 | + "name": { |
| 1299 | + "description": "Required. The name of the RagEngineConfig resource. Format: `projects/{project}/locations/{location}/ragEngineConfig`", |
| 1300 | + "location": "path", |
| 1301 | + "pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig$", |
| 1302 | + "required": true, |
| 1303 | + "type": "string" |
| 1304 | + } |
| 1305 | + }, |
| 1306 | + "path": "v1/{+name}", |
| 1307 | + "response": { |
| 1308 | + "$ref": "GoogleCloudAiplatformV1RagEngineConfig" |
| 1309 | + }, |
| 1310 | + "scopes": [ |
| 1311 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1312 | + ] |
| 1313 | + }, |
1289 | 1314 | "list": { |
1290 | 1315 | "description": "Lists information about the supported locations for this service.", |
1291 | 1316 | "flatPath": "v1/projects/{projectsId}/locations", |
|
1360 | 1385 | "scopes": [ |
1361 | 1386 | "https://www.googleapis.com/auth/cloud-platform" |
1362 | 1387 | ] |
| 1388 | + }, |
| 1389 | + "updateRagEngineConfig": { |
| 1390 | + "description": "Updates a RagEngineConfig.", |
| 1391 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/ragEngineConfig", |
| 1392 | + "httpMethod": "PATCH", |
| 1393 | + "id": "aiplatform.projects.locations.updateRagEngineConfig", |
| 1394 | + "parameterOrder": [ |
| 1395 | + "name" |
| 1396 | + ], |
| 1397 | + "parameters": { |
| 1398 | + "name": { |
| 1399 | + "description": "Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig`", |
| 1400 | + "location": "path", |
| 1401 | + "pattern": "^projects/[^/]+/locations/[^/]+/ragEngineConfig$", |
| 1402 | + "required": true, |
| 1403 | + "type": "string" |
| 1404 | + } |
| 1405 | + }, |
| 1406 | + "path": "v1/{+name}", |
| 1407 | + "request": { |
| 1408 | + "$ref": "GoogleCloudAiplatformV1RagEngineConfig" |
| 1409 | + }, |
| 1410 | + "response": { |
| 1411 | + "$ref": "GoogleLongrunningOperation" |
| 1412 | + }, |
| 1413 | + "scopes": [ |
| 1414 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1415 | + ] |
1363 | 1416 | } |
1364 | 1417 | }, |
1365 | 1418 | "resources": { |
|
20195 | 20248 | } |
20196 | 20249 | } |
20197 | 20250 | }, |
20198 | | - "revision": "20250606", |
| 20251 | + "revision": "20250613", |
20199 | 20252 | "rootUrl": "https://aiplatform.googleapis.com/", |
20200 | 20253 | "schemas": { |
20201 | 20254 | "CloudAiLargeModelsVisionGenerateVideoResponse": { |
|
22006 | 22059 | "type": "string" |
22007 | 22060 | }, |
22008 | 22061 | "displayName": { |
22009 | | - "description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent calls.", |
| 22062 | + "description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", |
22010 | 22063 | "type": "string" |
22011 | 22064 | }, |
22012 | 22065 | "mimeType": { |
|
22247 | 22300 | "PROHIBITED_CONTENT", |
22248 | 22301 | "SPII", |
22249 | 22302 | "MALFORMED_FUNCTION_CALL", |
| 22303 | + "IMAGE_SAFETY", |
| 22304 | + "IMAGE_PROHIBITED_CONTENT", |
| 22305 | + "IMAGE_RECITATION", |
| 22306 | + "IMAGE_OTHER", |
22250 | 22307 | "UNEXPECTED_TOOL_CALL" |
22251 | 22308 | ], |
22252 | 22309 | "enumDescriptions": [ |
|
22260 | 22317 | "Token generation stopped for potentially containing prohibited content.", |
22261 | 22318 | "Token generation stopped because the content potentially contains Sensitive Personally Identifiable Information (SPII).", |
22262 | 22319 | "The function call generated by the model is invalid.", |
| 22320 | + "Token generation stopped because generated images has safety violations.", |
| 22321 | + "Image generation stopped because generated images has other prohibited content.", |
| 22322 | + "Image generation stopped due to recitation.", |
| 22323 | + "Image generation stopped because of other miscellaneous issue.", |
22263 | 22324 | "The tool call generated by the model is invalid." |
22264 | 22325 | ], |
22265 | 22326 | "readOnly": true, |
|
27848 | 27909 | "id": "GoogleCloudAiplatformV1FileData", |
27849 | 27910 | "properties": { |
27850 | 27911 | "displayName": { |
27851 | | - "description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is not currently used in the Gemini GenerateContent calls.", |
| 27912 | + "description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", |
27852 | 27913 | "type": "string" |
27853 | 27914 | }, |
27854 | 27915 | "fileUri": { |
@@ -28428,14 +28489,16 @@ |
28428 | 28489 | "SAFETY", |
28429 | 28490 | "OTHER", |
28430 | 28491 | "BLOCKLIST", |
28431 | | - "PROHIBITED_CONTENT" |
| 28492 | + "PROHIBITED_CONTENT", |
| 28493 | + "IMAGE_SAFETY" |
28432 | 28494 | ], |
28433 | 28495 | "enumDescriptions": [ |
28434 | 28496 | "Unspecified blocked reason.", |
28435 | 28497 | "Candidates blocked due to safety.", |
28436 | 28498 | "Candidates blocked due to other reason.", |
28437 | 28499 | "Candidates blocked due to the terms which are included from the terminology blocklist.", |
28438 | | - "Candidates blocked due to prohibited content." |
| 28500 | + "Candidates blocked due to prohibited content.", |
| 28501 | + "Candidates blocked due to unsafe image generation content." |
28439 | 28502 | ], |
28440 | 28503 | "readOnly": true, |
28441 | 28504 | "type": "string" |
|
36819 | 36882 | "description": "Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters.", |
36820 | 36883 | "type": "string" |
36821 | 36884 | }, |
| 36885 | + "encryptionSpec": { |
| 36886 | + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", |
| 36887 | + "description": "Optional. Immutable. The CMEK key name used to encrypt at-rest data related to this Corpus. Only applicable to RagManagedDb option for Vector DB. This field can only be set at corpus creation time, and cannot be updated or deleted." |
| 36888 | + }, |
36822 | 36889 | "name": { |
36823 | 36890 | "description": "Output only. The resource name of the RagCorpus.", |
36824 | 36891 | "readOnly": true, |
|
36873 | 36940 | }, |
36874 | 36941 | "type": "object" |
36875 | 36942 | }, |
| 36943 | + "GoogleCloudAiplatformV1RagEngineConfig": { |
| 36944 | + "description": "Config for RagEngine.", |
| 36945 | + "id": "GoogleCloudAiplatformV1RagEngineConfig", |
| 36946 | + "properties": { |
| 36947 | + "name": { |
| 36948 | + "description": "Identifier. The name of the RagEngineConfig. Format: `projects/{project}/locations/{location}/ragEngineConfig`", |
| 36949 | + "type": "string" |
| 36950 | + }, |
| 36951 | + "ragManagedDbConfig": { |
| 36952 | + "$ref": "GoogleCloudAiplatformV1RagManagedDbConfig", |
| 36953 | + "description": "The config of the RagManagedDb used by RagEngine." |
| 36954 | + } |
| 36955 | + }, |
| 36956 | + "type": "object" |
| 36957 | + }, |
36876 | 36958 | "GoogleCloudAiplatformV1RagFile": { |
36877 | 36959 | "description": "A RagFile contains user data for chunking, embedding and indexing.", |
36878 | 36960 | "id": "GoogleCloudAiplatformV1RagFile", |
|
36933 | 37015 | "format": "google-datetime", |
36934 | 37016 | "readOnly": true, |
36935 | 37017 | "type": "string" |
| 37018 | + }, |
| 37019 | + "userMetadata": { |
| 37020 | + "description": "Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format.", |
| 37021 | + "readOnly": true, |
| 37022 | + "type": "string" |
36936 | 37023 | } |
36937 | 37024 | }, |
36938 | 37025 | "type": "object" |
|
37027 | 37114 | }, |
37028 | 37115 | "type": "object" |
37029 | 37116 | }, |
| 37117 | + "GoogleCloudAiplatformV1RagManagedDbConfig": { |
| 37118 | + "description": "Configuration message for RagManagedDb used by RagEngine.", |
| 37119 | + "id": "GoogleCloudAiplatformV1RagManagedDbConfig", |
| 37120 | + "properties": { |
| 37121 | + "basic": { |
| 37122 | + "$ref": "GoogleCloudAiplatformV1RagManagedDbConfigBasic", |
| 37123 | + "description": "Sets the RagManagedDb to the Basic tier." |
| 37124 | + }, |
| 37125 | + "scaled": { |
| 37126 | + "$ref": "GoogleCloudAiplatformV1RagManagedDbConfigScaled", |
| 37127 | + "description": "Sets the RagManagedDb to the Scaled tier." |
| 37128 | + }, |
| 37129 | + "unprovisioned": { |
| 37130 | + "$ref": "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned", |
| 37131 | + "description": "Sets the RagManagedDb to the Unprovisioned tier." |
| 37132 | + } |
| 37133 | + }, |
| 37134 | + "type": "object" |
| 37135 | + }, |
| 37136 | + "GoogleCloudAiplatformV1RagManagedDbConfigBasic": { |
| 37137 | + "description": "Basic tier is a cost-effective and low compute tier suitable for the following cases: * Experimenting with RagManagedDb. * Small data size. * Latency insensitive workload. * Only using RAG Engine with external vector DBs. NOTE: This is the default tier if not explicitly chosen.", |
| 37138 | + "id": "GoogleCloudAiplatformV1RagManagedDbConfigBasic", |
| 37139 | + "properties": {}, |
| 37140 | + "type": "object" |
| 37141 | + }, |
| 37142 | + "GoogleCloudAiplatformV1RagManagedDbConfigScaled": { |
| 37143 | + "description": "Scaled tier offers production grade performance along with autoscaling functionality. It is suitable for customers with large amounts of data or performance sensitive workloads.", |
| 37144 | + "id": "GoogleCloudAiplatformV1RagManagedDbConfigScaled", |
| 37145 | + "properties": {}, |
| 37146 | + "type": "object" |
| 37147 | + }, |
| 37148 | + "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned": { |
| 37149 | + "description": "Disables the RAG Engine service and deletes all your data held within this service. This will halt the billing of the service. NOTE: Once deleted the data cannot be recovered. To start using RAG Engine again, you will need to update the tier by calling the UpdateRagEngineConfig API.", |
| 37150 | + "id": "GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned", |
| 37151 | + "properties": {}, |
| 37152 | + "type": "object" |
| 37153 | + }, |
37030 | 37154 | "GoogleCloudAiplatformV1RagQuery": { |
37031 | 37155 | "description": "A query to retrieve relevant contexts.", |
37032 | 37156 | "id": "GoogleCloudAiplatformV1RagQuery", |
@@ -38155,23 +38279,56 @@ |
38155 | 38279 | "HARM_CATEGORY_DANGEROUS_CONTENT", |
38156 | 38280 | "HARM_CATEGORY_HARASSMENT", |
38157 | 38281 | "HARM_CATEGORY_SEXUALLY_EXPLICIT", |
38158 | | - "HARM_CATEGORY_CIVIC_INTEGRITY" |
| 38282 | + "HARM_CATEGORY_CIVIC_INTEGRITY", |
| 38283 | + "HARM_CATEGORY_IMAGE_HATE", |
| 38284 | + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", |
| 38285 | + "HARM_CATEGORY_IMAGE_HARASSMENT", |
| 38286 | + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" |
38159 | 38287 | ], |
38160 | 38288 | "enumDeprecated": [ |
38161 | 38289 | false, |
38162 | 38290 | false, |
38163 | 38291 | false, |
38164 | 38292 | false, |
38165 | 38293 | false, |
38166 | | - true |
| 38294 | + true, |
| 38295 | + false, |
| 38296 | + false, |
| 38297 | + false, |
| 38298 | + false |
38167 | 38299 | ], |
38168 | 38300 | "enumDescriptions": [ |
38169 | 38301 | "The harm category is unspecified.", |
38170 | 38302 | "The harm category is hate speech.", |
38171 | 38303 | "The harm category is dangerous content.", |
38172 | 38304 | "The harm category is harassment.", |
38173 | 38305 | "The harm category is sexually explicit content.", |
38174 | | - "Deprecated: Election filter is not longer supported. The harm category is civic integrity." |
| 38306 | + "Deprecated: Election filter is not longer supported. The harm category is civic integrity.", |
| 38307 | + "The harm category is image hate.", |
| 38308 | + "The harm category is image dangerous content.", |
| 38309 | + "The harm category is image harassment.", |
| 38310 | + "The harm category is image sexually explicit content." |
| 38311 | + ], |
| 38312 | + "readOnly": true, |
| 38313 | + "type": "string" |
| 38314 | + }, |
| 38315 | + "overwrittenThreshold": { |
| 38316 | + "description": "Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold.", |
| 38317 | + "enum": [ |
| 38318 | + "HARM_BLOCK_THRESHOLD_UNSPECIFIED", |
| 38319 | + "BLOCK_LOW_AND_ABOVE", |
| 38320 | + "BLOCK_MEDIUM_AND_ABOVE", |
| 38321 | + "BLOCK_ONLY_HIGH", |
| 38322 | + "BLOCK_NONE", |
| 38323 | + "OFF" |
| 38324 | + ], |
| 38325 | + "enumDescriptions": [ |
| 38326 | + "Unspecified harm block threshold.", |
| 38327 | + "Block low threshold and above (i.e. block more).", |
| 38328 | + "Block medium threshold and above.", |
| 38329 | + "Block only high threshold (i.e. block less).", |
| 38330 | + "Block none.", |
| 38331 | + "Turn off the safety filter." |
38175 | 38332 | ], |
38176 | 38333 | "readOnly": true, |
38177 | 38334 | "type": "string" |
@@ -38265,23 +38422,35 @@ |
38265 | 38422 | "HARM_CATEGORY_DANGEROUS_CONTENT", |
38266 | 38423 | "HARM_CATEGORY_HARASSMENT", |
38267 | 38424 | "HARM_CATEGORY_SEXUALLY_EXPLICIT", |
38268 | | - "HARM_CATEGORY_CIVIC_INTEGRITY" |
| 38425 | + "HARM_CATEGORY_CIVIC_INTEGRITY", |
| 38426 | + "HARM_CATEGORY_IMAGE_HATE", |
| 38427 | + "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", |
| 38428 | + "HARM_CATEGORY_IMAGE_HARASSMENT", |
| 38429 | + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" |
38269 | 38430 | ], |
38270 | 38431 | "enumDeprecated": [ |
38271 | 38432 | false, |
38272 | 38433 | false, |
38273 | 38434 | false, |
38274 | 38435 | false, |
38275 | 38436 | false, |
38276 | | - true |
| 38437 | + true, |
| 38438 | + false, |
| 38439 | + false, |
| 38440 | + false, |
| 38441 | + false |
38277 | 38442 | ], |
38278 | 38443 | "enumDescriptions": [ |
38279 | 38444 | "The harm category is unspecified.", |
38280 | 38445 | "The harm category is hate speech.", |
38281 | 38446 | "The harm category is dangerous content.", |
38282 | 38447 | "The harm category is harassment.", |
38283 | 38448 | "The harm category is sexually explicit content.", |
38284 | | - "Deprecated: Election filter is not longer supported. The harm category is civic integrity." |
| 38449 | + "Deprecated: Election filter is not longer supported. The harm category is civic integrity.", |
| 38450 | + "The harm category is image hate.", |
| 38451 | + "The harm category is image dangerous content.", |
| 38452 | + "The harm category is image harassment.", |
| 38453 | + "The harm category is image sexually explicit content." |
38285 | 38454 | ], |
38286 | 38455 | "type": "string" |
38287 | 38456 | }, |
|
44438 | 44607 | "type": "string" |
44439 | 44608 | }, |
44440 | 44609 | "learningRateMultiplier": { |
44441 | | - "description": "Optional. Multiplier for adjusting the default learning rate.", |
| 44610 | + "description": "Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`.", |
44442 | 44611 | "format": "double", |
44443 | 44612 | "type": "number" |
44444 | 44613 | } |
|
0 commit comments