Skip to content

Commit ca7829e

Browse files
yoshi-automationfeywind
authored andcommitted
feat(firebaseml): update the API
#### firebaseml:v2beta The following keys were added: - schemas.GoogleCloudAiplatformV1beta1Tool.properties.parallelAiSearch.$ref - schemas.GoogleCloudAiplatformV1beta1Tool.properties.parallelAiSearch.description - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.description - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.id - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.apiKey.description - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.apiKey.type - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.customConfigs.additionalProperties.description - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.customConfigs.additionalProperties.type - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.customConfigs.description - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.properties.customConfigs.type - schemas.GoogleCloudAiplatformV1beta1ToolParallelAiSearch.type The following keys were changed: - schemas.GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig.properties.thinkingLevel.enum - schemas.GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig.properties.thinkingLevel.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1PartMediaResolution.properties.level.enum - schemas.GoogleCloudAiplatformV1beta1PartMediaResolution.properties.level.enumDescriptions - schemas.GoogleCloudAiplatformV1beta1Schema.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.additionalProperties.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.anyOf.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.default.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.defs.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.description.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.enum.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.example.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.format.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.items.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.maxItems.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.maxLength.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.maxProperties.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.maximum.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.minItems.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.minLength.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.minProperties.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.minimum.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.nullable.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.pattern.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.properties.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.propertyOrdering.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.ref.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.required.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.title.description - schemas.GoogleCloudAiplatformV1beta1Schema.properties.type.description
1 parent a9f3c0c commit ca7829e

File tree

2 files changed

+103
-57
lines changed

2 files changed

+103
-57
lines changed

discovery/firebaseml-v2beta.json

Lines changed: 60 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
}
207207
}
208208
},
209-
"revision": "20251203",
209+
"revision": "20251214",
210210
"rootUrl": "https://firebaseml.googleapis.com/",
211211
"schemas": {
212212
"Date": {
@@ -1492,12 +1492,16 @@
14921492
"enum": [
14931493
"THINKING_LEVEL_UNSPECIFIED",
14941494
"LOW",
1495-
"HIGH"
1495+
"MEDIUM",
1496+
"HIGH",
1497+
"MINIMAL"
14961498
],
14971499
"enumDescriptions": [
14981500
"Unspecified thinking level.",
14991501
"Low thinking level.",
1500-
"High thinking level."
1502+
"Medium thinking level.",
1503+
"High thinking level.",
1504+
"MINIMAL thinking level."
15011505
],
15021506
"type": "string"
15031507
}
@@ -1981,13 +1985,15 @@
19811985
"MEDIA_RESOLUTION_UNSPECIFIED",
19821986
"MEDIA_RESOLUTION_LOW",
19831987
"MEDIA_RESOLUTION_MEDIUM",
1984-
"MEDIA_RESOLUTION_HIGH"
1988+
"MEDIA_RESOLUTION_HIGH",
1989+
"MEDIA_RESOLUTION_ULTRA_HIGH"
19851990
],
19861991
"enumDescriptions": [
19871992
"Media resolution has not been set.",
19881993
"Media resolution set to low.",
19891994
"Media resolution set to medium.",
1990-
"Media resolution set to high."
1995+
"Media resolution set to high.",
1996+
"Media resolution set to ultra high. This is for image only."
19911997
],
19921998
"type": "string"
19931999
}
@@ -2448,133 +2454,133 @@
24482454
"type": "object"
24492455
},
24502456
"GoogleCloudAiplatformV1beta1Schema": {
2451-
"description": "Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed.",
2457+
"description": "Defines the schema of input and output data. This is a subset of the [OpenAPI 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).",
24522458
"id": "GoogleCloudAiplatformV1beta1Schema",
24532459
"properties": {
24542460
"additionalProperties": {
2455-
"description": "Optional. Can either be a boolean or an object; controls the presence of additional properties.",
2461+
"description": "Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema.",
24562462
"type": "any"
24572463
},
24582464
"anyOf": {
2459-
"description": "Optional. The value should be validated against any (one or more) of the subschemas in the list.",
2465+
"description": "Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`.",
24602466
"items": {
24612467
"$ref": "GoogleCloudAiplatformV1beta1Schema"
24622468
},
24632469
"type": "array"
24642470
},
24652471
"default": {
2466-
"description": "Optional. Default value of the data.",
2472+
"description": "Optional. Default value to use if the field is not specified.",
24672473
"type": "any"
24682474
},
24692475
"defs": {
24702476
"additionalProperties": {
24712477
"$ref": "GoogleCloudAiplatformV1beta1Schema"
24722478
},
2473-
"description": "Optional. A map of definitions for use by `ref` Only allowed at the root of the schema.",
2479+
"description": "Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema.",
24742480
"type": "object"
24752481
},
24762482
"description": {
2477-
"description": "Optional. The description of the data.",
2483+
"description": "Optional. Description of the schema.",
24782484
"type": "string"
24792485
},
24802486
"enum": {
2481-
"description": "Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:[\"EAST\", NORTH\", \"SOUTH\", \"WEST\"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}",
2487+
"description": "Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:[\"EAST\", \"NORTH\", \"SOUTH\", \"WEST\"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:[\"101\", \"201\", \"301\"]}`",
24822488
"items": {
24832489
"type": "string"
24842490
},
24852491
"type": "array"
24862492
},
24872493
"example": {
2488-
"description": "Optional. Example of the object. Will only populated when the object is the root.",
2494+
"description": "Optional. Example of an instance of this schema.",
24892495
"type": "any"
24902496
},
24912497
"format": {
2492-
"description": "Optional. The format of the data. Supported formats: for NUMBER type: \"float\", \"double\" for INTEGER type: \"int32\", \"int64\" for STRING type: \"email\", \"byte\", etc",
2498+
"description": "Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type.",
24932499
"type": "string"
24942500
},
24952501
"items": {
24962502
"$ref": "GoogleCloudAiplatformV1beta1Schema",
2497-
"description": "Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY."
2503+
"description": "Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array."
24982504
},
24992505
"maxItems": {
2500-
"description": "Optional. Maximum number of the elements for Type.ARRAY.",
2506+
"description": "Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array.",
25012507
"format": "int64",
25022508
"type": "string"
25032509
},
25042510
"maxLength": {
2505-
"description": "Optional. Maximum length of the Type.STRING",
2511+
"description": "Optional. If type is `STRING`, `max_length` specifies the maximum length of the string.",
25062512
"format": "int64",
25072513
"type": "string"
25082514
},
25092515
"maxProperties": {
2510-
"description": "Optional. Maximum number of the properties for Type.OBJECT.",
2516+
"description": "Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided.",
25112517
"format": "int64",
25122518
"type": "string"
25132519
},
25142520
"maximum": {
2515-
"description": "Optional. Maximum value of the Type.INTEGER and Type.NUMBER",
2521+
"description": "Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value.",
25162522
"format": "double",
25172523
"type": "number"
25182524
},
25192525
"minItems": {
2520-
"description": "Optional. Minimum number of the elements for Type.ARRAY.",
2526+
"description": "Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array.",
25212527
"format": "int64",
25222528
"type": "string"
25232529
},
25242530
"minLength": {
2525-
"description": "Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING",
2531+
"description": "Optional. If type is `STRING`, `min_length` specifies the minimum length of the string.",
25262532
"format": "int64",
25272533
"type": "string"
25282534
},
25292535
"minProperties": {
2530-
"description": "Optional. Minimum number of the properties for Type.OBJECT.",
2536+
"description": "Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided.",
25312537
"format": "int64",
25322538
"type": "string"
25332539
},
25342540
"minimum": {
2535-
"description": "Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER",
2541+
"description": "Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value.",
25362542
"format": "double",
25372543
"type": "number"
25382544
},
25392545
"nullable": {
2540-
"description": "Optional. Indicates if the value may be null.",
2546+
"description": "Optional. Indicates if the value of this field can be null.",
25412547
"type": "boolean"
25422548
},
25432549
"pattern": {
2544-
"description": "Optional. Pattern of the Type.STRING to restrict a string to a regular expression.",
2550+
"description": "Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match.",
25452551
"type": "string"
25462552
},
25472553
"properties": {
25482554
"additionalProperties": {
25492555
"$ref": "GoogleCloudAiplatformV1beta1Schema"
25502556
},
2551-
"description": "Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.",
2557+
"description": "Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object.",
25522558
"type": "object"
25532559
},
25542560
"propertyOrdering": {
2555-
"description": "Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties.",
2561+
"description": "Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties.",
25562562
"items": {
25572563
"type": "string"
25582564
},
25592565
"type": "array"
25602566
},
25612567
"ref": {
2562-
"description": "Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring",
2568+
"description": "Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named \"Pet\": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the \"pet\" property is a reference to the schema node named \"Pet\". See details in https://json-schema.org/understanding-json-schema/structuring",
25632569
"type": "string"
25642570
},
25652571
"required": {
2566-
"description": "Optional. Required properties of Type.OBJECT.",
2572+
"description": "Optional. If type is `OBJECT`, `required` lists the names of properties that must be present.",
25672573
"items": {
25682574
"type": "string"
25692575
},
25702576
"type": "array"
25712577
},
25722578
"title": {
2573-
"description": "Optional. The title of the Schema.",
2579+
"description": "Optional. Title for the schema.",
25742580
"type": "string"
25752581
},
25762582
"type": {
2577-
"description": "Optional. The type of the data.",
2583+
"description": "Optional. Data type of the schema field.",
25782584
"enum": [
25792585
"TYPE_UNSPECIFIED",
25802586
"STRING",
@@ -2716,6 +2722,10 @@
27162722
"deprecated": true,
27172723
"description": "Optional. Specialized retrieval tool that is powered by Google Search."
27182724
},
2725+
"parallelAiSearch": {
2726+
"$ref": "GoogleCloudAiplatformV1beta1ToolParallelAiSearch",
2727+
"description": "Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation"
2728+
},
27192729
"retrieval": {
27202730
"$ref": "GoogleCloudAiplatformV1beta1Retrieval",
27212731
"description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation."
@@ -2810,6 +2820,25 @@
28102820
},
28112821
"type": "object"
28122822
},
2823+
"GoogleCloudAiplatformV1beta1ToolParallelAiSearch": {
2824+
"description": "ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for grounding.",
2825+
"id": "GoogleCloudAiplatformV1beta1ToolParallelAiSearch",
2826+
"properties": {
2827+
"apiKey": {
2828+
"description": "Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.",
2829+
"type": "string"
2830+
},
2831+
"customConfigs": {
2832+
"additionalProperties": {
2833+
"description": "Properties of the object.",
2834+
"type": "any"
2835+
},
2836+
"description": "Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { \"source_policy\": { \"include_domains\": [\"google.com\", \"wikipedia.org\"], \"exclude_domains\": [\"example.com\"] }, \"fetch_policy\": { \"max_age_seconds\": 3600 } }",
2837+
"type": "object"
2838+
}
2839+
},
2840+
"type": "object"
2841+
},
28132842
"GoogleCloudAiplatformV1beta1UrlContext": {
28142843
"description": "Tool to support URL context.",
28152844
"id": "GoogleCloudAiplatformV1beta1UrlContext",

0 commit comments

Comments
 (0)