Skip to content

Commit 0696774

Browse files
feat: Automated regeneration of firebaseml v2beta client
1 parent 1f2f87f commit 0696774

5 files changed

Lines changed: 136 additions & 59 deletions

File tree

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263008,6 +263008,7 @@
263008263008
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleMaps": google_maps
263009263009
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearch": google_search
263010263010
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearchRetrieval": google_search_retrieval
263011+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/parallelAiSearch": parallel_ai_search
263011263012
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/retrieval": retrieval
263012263013
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/urlContext": url_context
263013263014
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
@@ -263022,6 +263023,10 @@
263022263023
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolGoogleSearch/blockingConfidence": blocking_confidence
263023263024
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolGoogleSearch/excludeDomains": exclude_domains
263024263025
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolGoogleSearch/excludeDomains/exclude_domain": exclude_domain
263026+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolParallelAiSearch": google_cloud_aiplatform_v1beta1_tool_parallel_ai_search
263027+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/apiKey": api_key
263028+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs": custom_configs
263029+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs/custom_config": custom_config
263025263030
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1UrlContext": google_cloud_aiplatform_v1beta1_url_context
263026263031
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1UrlContextMetadata": google_cloud_aiplatform_v1beta1_url_context_metadata
263027263032
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1UrlContextMetadata/urlMetadata": url_metadata

generated/google-apis-firebaseml_v2beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firebaseml_v2beta
22

3+
### v0.38.0 (2025-12-21)
4+
5+
* Regenerated from discovery document revision 20251214
6+
37
### v0.37.0 (2025-12-07)
48

59
* Regenerated from discovery document revision 20251203

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb

Lines changed: 109 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -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

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasemlV2beta
1818
# Version of the google-apis-firebaseml_v2beta gem
19-
GEM_VERSION = "0.37.0"
19+
GEM_VERSION = "0.38.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251203"
25+
REVISION = "20251214"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)