@@ -987,9 +987,8 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration
987987 # @return [String]
988988 attr_accessor :name
989989
990- # Schema is used to define the format of input/output data. Represents a select
991- # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
992- # schema-object). More fields may be added in the future as needed.
990+ # Defines the schema of input and output data. This is a subset of the [OpenAPI
991+ # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
993992 # Corresponds to the JSON property `parameters`
994993 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
995994 attr_accessor :parameters
@@ -1004,9 +1003,8 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration
10041003 # @return [Object]
10051004 attr_accessor :parameters_json_schema
10061005
1007- # Schema is used to define the format of input/output data. Represents a select
1008- # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
1009- # schema-object). More fields may be added in the future as needed.
1006+ # Defines the schema of input and output data. This is a subset of the [OpenAPI
1007+ # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
10101008 # Corresponds to the JSON property `response`
10111009 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
10121010 attr_accessor :response
@@ -1562,9 +1560,8 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
15621560 # @return [Array<String>]
15631561 attr_accessor :response_modalities
15641562
1565- # Schema is used to define the format of input/output data. Represents a select
1566- # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
1567- # schema-object). More fields may be added in the future as needed.
1563+ # Defines the schema of input and output data. This is a subset of the [OpenAPI
1564+ # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
15681565 # Corresponds to the JSON property `responseSchema`
15691566 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
15701567 attr_accessor :response_schema
@@ -3065,154 +3062,166 @@ def update!(**args)
30653062 end
30663063 end
30673064
3068- # Schema is used to define the format of input/output data. Represents a select
3069- # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
3070- # schema-object). More fields may be added in the future as needed.
3065+ # Defines the schema of input and output data. This is a subset of the [OpenAPI
3066+ # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
30713067 class GoogleCloudAiplatformV1beta1Schema
30723068 include Google ::Apis ::Core ::Hashable
30733069
3074- # Optional. Can either be a boolean or an object; controls the presence of
3075- # additional properties.
3070+ # Optional. If `type` is `OBJECT`, specifies how to handle properties not
3071+ # defined in `properties`. If it is a boolean `false`, no additional properties
3072+ # are allowed. If it is a schema, additional properties are allowed if they
3073+ # conform to the schema.
30763074 # Corresponds to the JSON property `additionalProperties`
30773075 # @return [Object]
30783076 attr_accessor :additional_properties
30793077
3080- # Optional. The value should be validated against any (one or more) of the
3081- # subschemas in the list .
3078+ # Optional. The instance must be valid against any (one or more) of the
3079+ # subschemas listed in `any_of` .
30823080 # Corresponds to the JSON property `anyOf`
30833081 # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
30843082 attr_accessor :any_of
30853083
3086- # Optional. Default value of the data .
3084+ # Optional. Default value to use if the field is not specified .
30873085 # Corresponds to the JSON property `default`
30883086 # @return [Object]
30893087 attr_accessor :default
30903088
3091- # Optional. A map of definitions for use by `ref` Only allowed at the root of
3092- # the schema.
3089+ # Optional. `defs` provides a map of schema definitions that can be reused by `
3090+ # ref` elsewhere in the schema. Only allowed at root level of the schema.
30933091 # Corresponds to the JSON property `defs`
30943092 # @return [Hash<String,Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
30953093 attr_accessor :defs
30963094
3097- # Optional. The description of the data .
3095+ # Optional. Description of the schema .
30983096 # Corresponds to the JSON property `description`
30993097 # @return [String]
31003098 attr_accessor :description
31013099
3102- # Optional. Possible values of the element of primitive type with enum format.
3103- # Examples: 1. We can define direction as : `type:STRING, format:enum, enum:["
3104- # EAST", NORTH", "SOUTH", "WEST"]` 2. We can define apartment number as : `type:
3105- # INTEGER, format:enum, enum:["101", "201", "301"]`
3100+ # Optional. Possible values of the field. This field can be used to restrict a
3101+ # value to a fixed set of values. To mark a field as an enum, set `format` to `
3102+ # enum` and provide the list of possible values in `enum`. For example: 1. To
3103+ # define directions: ``type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH",
3104+ # "WEST"]`` 2. To define apartment numbers: ``type:INTEGER, format:enum, enum:["
3105+ # 101", "201", "301"]``
31063106 # Corresponds to the JSON property `enum`
31073107 # @return [Array<String>]
31083108 attr_accessor :enum
31093109
3110- # Optional. Example of the object. Will only populated when the object is the
3111- # root.
3110+ # Optional. Example of an instance of this schema.
31123111 # Corresponds to the JSON property `example`
31133112 # @return [Object]
31143113 attr_accessor :example
31153114
3116- # Optional. The format of the data. Supported formats: for NUMBER type: "float",
3117- # "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte",
3118- # etc
3115+ # Optional. The format of the data. For `NUMBER` type, format can be `float` or `
3116+ # double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING`
3117+ # type, format can be `email`, `byte`, `date`, `date-time`, `password`, and
3118+ # other formats to further refine the data type.
31193119 # Corresponds to the JSON property `format`
31203120 # @return [String]
31213121 attr_accessor :format
31223122
3123- # Schema is used to define the format of input/output data. Represents a select
3124- # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
3125- # schema-object). More fields may be added in the future as needed.
3123+ # Defines the schema of input and output data. This is a subset of the [OpenAPI
3124+ # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object).
31263125 # Corresponds to the JSON property `items`
31273126 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
31283127 attr_accessor :items
31293128
3130- # Optional. Maximum number of the elements for Type.ARRAY.
3129+ # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of
3130+ # items in an array.
31313131 # Corresponds to the JSON property `maxItems`
31323132 # @return [Fixnum]
31333133 attr_accessor :max_items
31343134
3135- # Optional. Maximum length of the Type.STRING
3135+ # Optional. If type is `STRING`, `max_length` specifies the maximum length of
3136+ # the string.
31363137 # Corresponds to the JSON property `maxLength`
31373138 # @return [Fixnum]
31383139 attr_accessor :max_length
31393140
3140- # Optional. Maximum number of the properties for Type.OBJECT.
3141+ # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number
3142+ # of properties that can be provided.
31413143 # Corresponds to the JSON property `maxProperties`
31423144 # @return [Fixnum]
31433145 attr_accessor :max_properties
31443146
3145- # Optional. Maximum value of the Type.INTEGER and Type.NUMBER
3147+ # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum
3148+ # allowed value.
31463149 # Corresponds to the JSON property `maximum`
31473150 # @return [Float]
31483151 attr_accessor :maximum
31493152
3150- # Optional. Minimum number of the elements for Type.ARRAY.
3153+ # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of
3154+ # items in an array.
31513155 # Corresponds to the JSON property `minItems`
31523156 # @return [Fixnum]
31533157 attr_accessor :min_items
31543158
3155- # Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING
3159+ # Optional. If type is `STRING`, `min_length` specifies the minimum length of
3160+ # the string.
31563161 # Corresponds to the JSON property `minLength`
31573162 # @return [Fixnum]
31583163 attr_accessor :min_length
31593164
3160- # Optional. Minimum number of the properties for Type.OBJECT.
3165+ # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number
3166+ # of properties that can be provided.
31613167 # Corresponds to the JSON property `minProperties`
31623168 # @return [Fixnum]
31633169 attr_accessor :min_properties
31643170
3165- # Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.
3166- # INTEGER and Type.NUMBER
3171+ # Optional. If type is ` INTEGER` or ` NUMBER`, `minimum` specifies the minimum
3172+ # allowed value.
31673173 # Corresponds to the JSON property `minimum`
31683174 # @return [Float]
31693175 attr_accessor :minimum
31703176
3171- # Optional. Indicates if the value may be null.
3177+ # Optional. Indicates if the value of this field can be null.
31723178 # Corresponds to the JSON property `nullable`
31733179 # @return [Boolean]
31743180 attr_accessor :nullable
31753181 alias_method :nullable? , :nullable
31763182
3177- # Optional. Pattern of the Type. STRING to restrict a string to a regular
3178- # expression .
3183+ # Optional. If type is ` STRING`, `pattern` specifies a regular expression that
3184+ # the string must match .
31793185 # Corresponds to the JSON property `pattern`
31803186 # @return [String]
31813187 attr_accessor :pattern
31823188
3183- # Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT.
3189+ # Optional. If type is `OBJECT`, `properties` is a map of property names to
3190+ # schema definitions for each property of the object.
31843191 # Corresponds to the JSON property `properties`
31853192 # @return [Hash<String,Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
31863193 attr_accessor :properties
31873194
3188- # Optional. The order of the properties. Not a standard field in open api spec.
3189- # Only used to support the order of the properties.
3195+ # Optional. Order of properties displayed or used where order matters. This is
3196+ # not a standard field in OpenAPI specification, but can be used to control the
3197+ # order of properties.
31903198 # Corresponds to the JSON property `propertyOrdering`
31913199 # @return [Array<String>]
31923200 attr_accessor :property_ordering
31933201
3194- # Optional. Allows indirect references between schema nodes. The value should be
3195- # a valid reference to a child of the root `defs`. For example, the following
3196- # schema defines a reference to a schema node named "Pet": type: object
3197- # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name :
3198- # type: string The value of the "pet" property is a reference to the schema node
3199- # named "Pet". See details in https://json-schema.org/understanding-json-schema/
3200- # structuring
3202+ # Optional. Allows referencing another schema definition to use in place of this
3203+ # schema. The value must be a valid reference to a schema in `defs`. For example,
3204+ # the following schema defines a reference to a schema node named "Pet": type:
3205+ # object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
3206+ # name: type: string The value of the "pet" property is a reference to the
3207+ # schema node named "Pet". See details in https://json-schema.org/understanding-
3208+ # json-schema/ structuring
32013209 # Corresponds to the JSON property `ref`
32023210 # @return [String]
32033211 attr_accessor :ref
32043212
3205- # Optional. Required properties of Type.OBJECT.
3213+ # Optional. If type is `OBJECT`, `required` lists the names of properties that
3214+ # must be present.
32063215 # Corresponds to the JSON property `required`
32073216 # @return [Array<String>]
32083217 attr_accessor :required
32093218
3210- # Optional. The title of the Schema .
3219+ # Optional. Title for the schema .
32113220 # Corresponds to the JSON property `title`
32123221 # @return [String]
32133222 attr_accessor :title
32143223
3215- # Optional. The type of the data .
3224+ # Optional. Data type of the schema field .
32163225 # Corresponds to the JSON property `type`
32173226 # @return [String]
32183227 attr_accessor :type
@@ -3435,6 +3444,12 @@ class GoogleCloudAiplatformV1beta1Tool
34353444 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
34363445 attr_accessor :google_search_retrieval
34373446
3447+ # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
3448+ # grounding.
3449+ # Corresponds to the JSON property `parallelAiSearch`
3450+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolParallelAiSearch]
3451+ attr_accessor :parallel_ai_search
3452+
34383453 # Defines a retrieval tool that model can call to access external knowledge.
34393454 # Corresponds to the JSON property `retrieval`
34403455 # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval]
@@ -3458,6 +3473,7 @@ def update!(**args)
34583473 @google_maps = args [ :google_maps ] if args . key? ( :google_maps )
34593474 @google_search = args [ :google_search ] if args . key? ( :google_search )
34603475 @google_search_retrieval = args [ :google_search_retrieval ] if args . key? ( :google_search_retrieval )
3476+ @parallel_ai_search = args [ :parallel_ai_search ] if args . key? ( :parallel_ai_search )
34613477 @retrieval = args [ :retrieval ] if args . key? ( :retrieval )
34623478 @url_context = args [ :url_context ] if args . key? ( :url_context )
34633479 end
@@ -3561,6 +3577,42 @@ def update!(**args)
35613577 end
35623578 end
35633579
3580+ # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for
3581+ # grounding.
3582+ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
3583+ include Google ::Apis ::Core ::Hashable
3584+
3585+ # Optional. The API key for ParallelAiSearch. If an API key is not provided, the
3586+ # system will attempt to verify access by checking for an active Parallel.ai
3587+ # subscription through the Google Cloud Marketplace. See https://docs.parallel.
3588+ # ai/search/search-quickstart for more details.
3589+ # Corresponds to the JSON property `apiKey`
3590+ # @return [String]
3591+ attr_accessor :api_key
3592+
3593+ # Optional. Custom configs for ParallelAiSearch. This field can be used to pass
3594+ # any parameter from the Parallel.ai Search API. See the Parallel.ai
3595+ # documentation for the full list of available parameters and their usage: https:
3596+ # //docs.parallel.ai/api-reference/search-beta/search Currently only `
3597+ # source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set
3598+ # via this field. For example: ` "source_policy": ` "include_domains": ["google.
3599+ # com", "wikipedia.org"], "exclude_domains": ["example.com"] `, "fetch_policy": `
3600+ # "max_age_seconds": 3600 ` `
3601+ # Corresponds to the JSON property `customConfigs`
3602+ # @return [Hash<String,Object>]
3603+ attr_accessor :custom_configs
3604+
3605+ def initialize ( **args )
3606+ update! ( **args )
3607+ end
3608+
3609+ # Update properties of this object
3610+ def update! ( **args )
3611+ @api_key = args [ :api_key ] if args . key? ( :api_key )
3612+ @custom_configs = args [ :custom_configs ] if args . key? ( :custom_configs )
3613+ end
3614+ end
3615+
35643616 # Tool to support URL context.
35653617 class GoogleCloudAiplatformV1beta1UrlContext
35663618 include Google ::Apis ::Core ::Hashable
0 commit comments