google-apis-firebaseml_v2beta 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76a936152e07bf9ffab5f0013f8e68505fc81c38faacef9f6164b7708d3c7875
4
- data.tar.gz: a1c7be7bd6ee2662283b7f977916b6834a48be01c077ad174af9b54c4a66df11
3
+ metadata.gz: 42e550d1ff9e1d245a45761e18af19ff985997f8a23a5f161784a9b10d737ad6
4
+ data.tar.gz: d44603910a27346519238e1039e86df79de8392ee7f0928e96d5f903fe7f3fb1
5
5
  SHA512:
6
- metadata.gz: d850876cba2ed8f6ca042b5c9d300b78381b3431c4aa2851459d35c6a599dcc9103b4b4d55dbf9fe5758ed742492d2f9b850b831b61aaf75f765d94f94f0518b
7
- data.tar.gz: b25fde9626e912440b7bc367877d924bf0b096b893e056bf238001e6039872d3c082cd568a17d85c0210a71259f19a584b2058d017d686f8e003ac48e3c41946
6
+ metadata.gz: 8e4b1790bf6cf405b512a95daec70ea677cb51a8671e8a9629b8a348bd2f63cf7c2115458cc5fb559a28ea31e4ad87457faf96330f650525fd48ffa791a4b703
7
+ data.tar.gz: 776db0fc1b533d68cbcba8e581b49167f57ec11722bd0ee3a9f16efbf3caa4f9e040c84be76c3874af0d639d46fd879da838b9eaf746e64d4813f6d467fa78d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.38.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251214
6
+
3
7
  ### v0.37.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251203
@@ -987,9 +987,8 @@ module Google
987
987
  # @return [String]
988
988
  attr_accessor :name
989
989
 
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).
993
992
  # Corresponds to the JSON property `parameters`
994
993
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
995
994
  attr_accessor :parameters
@@ -1004,9 +1003,8 @@ module Google
1004
1003
  # @return [Object]
1005
1004
  attr_accessor :parameters_json_schema
1006
1005
 
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).
1010
1008
  # Corresponds to the JSON property `response`
1011
1009
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
1012
1010
  attr_accessor :response
@@ -1562,9 +1560,8 @@ module Google
1562
1560
  # @return [Array<String>]
1563
1561
  attr_accessor :response_modalities
1564
1562
 
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).
1568
1565
  # Corresponds to the JSON property `responseSchema`
1569
1566
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
1570
1567
  attr_accessor :response_schema
@@ -3065,154 +3062,166 @@ module Google
3065
3062
  end
3066
3063
  end
3067
3064
 
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).
3071
3067
  class GoogleCloudAiplatformV1beta1Schema
3072
3068
  include Google::Apis::Core::Hashable
3073
3069
 
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.
3076
3074
  # Corresponds to the JSON property `additionalProperties`
3077
3075
  # @return [Object]
3078
3076
  attr_accessor :additional_properties
3079
3077
 
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`.
3082
3080
  # Corresponds to the JSON property `anyOf`
3083
3081
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
3084
3082
  attr_accessor :any_of
3085
3083
 
3086
- # Optional. Default value of the data.
3084
+ # Optional. Default value to use if the field is not specified.
3087
3085
  # Corresponds to the JSON property `default`
3088
3086
  # @return [Object]
3089
3087
  attr_accessor :default
3090
3088
 
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.
3093
3091
  # Corresponds to the JSON property `defs`
3094
3092
  # @return [Hash<String,Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
3095
3093
  attr_accessor :defs
3096
3094
 
3097
- # Optional. The description of the data.
3095
+ # Optional. Description of the schema.
3098
3096
  # Corresponds to the JSON property `description`
3099
3097
  # @return [String]
3100
3098
  attr_accessor :description
3101
3099
 
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"]``
3106
3106
  # Corresponds to the JSON property `enum`
3107
3107
  # @return [Array<String>]
3108
3108
  attr_accessor :enum
3109
3109
 
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.
3112
3111
  # Corresponds to the JSON property `example`
3113
3112
  # @return [Object]
3114
3113
  attr_accessor :example
3115
3114
 
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.
3119
3119
  # Corresponds to the JSON property `format`
3120
3120
  # @return [String]
3121
3121
  attr_accessor :format
3122
3122
 
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).
3126
3125
  # Corresponds to the JSON property `items`
3127
3126
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
3128
3127
  attr_accessor :items
3129
3128
 
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.
3131
3131
  # Corresponds to the JSON property `maxItems`
3132
3132
  # @return [Fixnum]
3133
3133
  attr_accessor :max_items
3134
3134
 
3135
- # Optional. Maximum length of the Type.STRING
3135
+ # Optional. If type is `STRING`, `max_length` specifies the maximum length of
3136
+ # the string.
3136
3137
  # Corresponds to the JSON property `maxLength`
3137
3138
  # @return [Fixnum]
3138
3139
  attr_accessor :max_length
3139
3140
 
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.
3141
3143
  # Corresponds to the JSON property `maxProperties`
3142
3144
  # @return [Fixnum]
3143
3145
  attr_accessor :max_properties
3144
3146
 
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.
3146
3149
  # Corresponds to the JSON property `maximum`
3147
3150
  # @return [Float]
3148
3151
  attr_accessor :maximum
3149
3152
 
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.
3151
3155
  # Corresponds to the JSON property `minItems`
3152
3156
  # @return [Fixnum]
3153
3157
  attr_accessor :min_items
3154
3158
 
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.
3156
3161
  # Corresponds to the JSON property `minLength`
3157
3162
  # @return [Fixnum]
3158
3163
  attr_accessor :min_length
3159
3164
 
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.
3161
3167
  # Corresponds to the JSON property `minProperties`
3162
3168
  # @return [Fixnum]
3163
3169
  attr_accessor :min_properties
3164
3170
 
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.
3167
3173
  # Corresponds to the JSON property `minimum`
3168
3174
  # @return [Float]
3169
3175
  attr_accessor :minimum
3170
3176
 
3171
- # Optional. Indicates if the value may be null.
3177
+ # Optional. Indicates if the value of this field can be null.
3172
3178
  # Corresponds to the JSON property `nullable`
3173
3179
  # @return [Boolean]
3174
3180
  attr_accessor :nullable
3175
3181
  alias_method :nullable?, :nullable
3176
3182
 
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.
3179
3185
  # Corresponds to the JSON property `pattern`
3180
3186
  # @return [String]
3181
3187
  attr_accessor :pattern
3182
3188
 
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.
3184
3191
  # Corresponds to the JSON property `properties`
3185
3192
  # @return [Hash<String,Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
3186
3193
  attr_accessor :properties
3187
3194
 
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.
3190
3198
  # Corresponds to the JSON property `propertyOrdering`
3191
3199
  # @return [Array<String>]
3192
3200
  attr_accessor :property_ordering
3193
3201
 
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
3201
3209
  # Corresponds to the JSON property `ref`
3202
3210
  # @return [String]
3203
3211
  attr_accessor :ref
3204
3212
 
3205
- # Optional. Required properties of Type.OBJECT.
3213
+ # Optional. If type is `OBJECT`, `required` lists the names of properties that
3214
+ # must be present.
3206
3215
  # Corresponds to the JSON property `required`
3207
3216
  # @return [Array<String>]
3208
3217
  attr_accessor :required
3209
3218
 
3210
- # Optional. The title of the Schema.
3219
+ # Optional. Title for the schema.
3211
3220
  # Corresponds to the JSON property `title`
3212
3221
  # @return [String]
3213
3222
  attr_accessor :title
3214
3223
 
3215
- # Optional. The type of the data.
3224
+ # Optional. Data type of the schema field.
3216
3225
  # Corresponds to the JSON property `type`
3217
3226
  # @return [String]
3218
3227
  attr_accessor :type
@@ -3435,6 +3444,12 @@ module Google
3435
3444
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
3436
3445
  attr_accessor :google_search_retrieval
3437
3446
 
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
+
3438
3453
  # Defines a retrieval tool that model can call to access external knowledge.
3439
3454
  # Corresponds to the JSON property `retrieval`
3440
3455
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval]
@@ -3458,6 +3473,7 @@ module Google
3458
3473
  @google_maps = args[:google_maps] if args.key?(:google_maps)
3459
3474
  @google_search = args[:google_search] if args.key?(:google_search)
3460
3475
  @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)
3461
3477
  @retrieval = args[:retrieval] if args.key?(:retrieval)
3462
3478
  @url_context = args[:url_context] if args.key?(:url_context)
3463
3479
  end
@@ -3561,6 +3577,42 @@ module Google
3561
3577
  end
3562
3578
  end
3563
3579
 
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
+
3564
3616
  # Tool to support URL context.
3565
3617
  class GoogleCloudAiplatformV1beta1UrlContext
3566
3618
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebasemlV2beta
18
18
  # Version of the google-apis-firebaseml_v2beta gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251203"
25
+ REVISION = "20251214"
26
26
  end
27
27
  end
28
28
  end
@@ -550,6 +550,12 @@ module Google
550
550
  include Google::Apis::Core::JsonObjectSupport
551
551
  end
552
552
 
553
+ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
553
559
  class GoogleCloudAiplatformV1beta1UrlContext
554
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
561
 
@@ -1528,6 +1534,8 @@ module Google
1528
1534
 
1529
1535
  property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
1530
1536
 
1537
+ property :parallel_ai_search, as: 'parallelAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolParallelAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolParallelAiSearch::Representation
1538
+
1531
1539
  property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
1532
1540
 
1533
1541
  property :url_context, as: 'urlContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext::Representation
@@ -1567,6 +1575,14 @@ module Google
1567
1575
  end
1568
1576
  end
1569
1577
 
1578
+ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
1579
+ # @private
1580
+ class Representation < Google::Apis::Core::JsonRepresentation
1581
+ property :api_key, as: 'apiKey'
1582
+ hash :custom_configs, as: 'customConfigs'
1583
+ end
1584
+ end
1585
+
1570
1586
  class GoogleCloudAiplatformV1beta1UrlContext
1571
1587
  # @private
1572
1588
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseml_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.37.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.38.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
62
62
  rdoc_options: []
63
63
  require_paths: