google-apis-firebaseml_v2beta 0.19.0 → 0.21.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: 10ea86d5777dba0e83a48aebc428b9698c9cc17cd8d4c4852a657a16051d83fe
4
- data.tar.gz: cc061c342591ffcefb3ee19ce3f18d87f690d96c92001d7925a591abe6191d3b
3
+ metadata.gz: bd33f37aa9224e61df41d4db6ce7243d5c45b04d409d4eed3e57c5506b13eda0
4
+ data.tar.gz: 8bd90c05b96f6247e648d4d63184c57fa737fb428b1839dd7f1df99124f23558
5
5
  SHA512:
6
- metadata.gz: 747b24bd400873e16f1939d50ef9a3146a6fa12cf2ebf4f67697c644295d0966fe7eba4bbe8f51fa2963181149f580f6afbeff207483c80e42b43f392471529f
7
- data.tar.gz: c0c5a3cab1598a25a651b50084241e52cb8b3dec4ecc29ba8e140641d6b19cb352c657bb2fee94c1af7c2bec20da3501561773e4326cc107d2c09524d6dc0894
6
+ metadata.gz: e4c6ad132d56f1fa1a3810476e138f8b918abb2d74c4f2fcdd180c565a755072e9d97ef02e48e230ee44f19b27e1efe146b53d1d2228b0fd136da1e0fce4af28
7
+ data.tar.gz: 857cb044b43a086d4e5dc280f5c05fd2592efd568fc32a1ac6ce3f7357dfe57e507e0555039fc6ab18b071953c5a5e11b216cc2016601d15ca2e32472f55ae0b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.21.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250525
6
+
7
+ ### v0.20.0 (2025-05-25)
8
+
9
+ * Regenerated from discovery document revision 20250521
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.19.0 (2025-05-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20250505
@@ -63,6 +63,257 @@ module Google
63
63
  end
64
64
  end
65
65
 
66
+ # The generic reusable api auth config. Deprecated. Please use AuthConfig (
67
+ # google/cloud/aiplatform/master/auth.proto) instead.
68
+ class GoogleCloudAiplatformV1beta1ApiAuth
69
+ include Google::Apis::Core::Hashable
70
+
71
+ # The API secret.
72
+ # Corresponds to the JSON property `apiKeyConfig`
73
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig]
74
+ attr_accessor :api_key_config
75
+
76
+ def initialize(**args)
77
+ update!(**args)
78
+ end
79
+
80
+ # Update properties of this object
81
+ def update!(**args)
82
+ @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
83
+ end
84
+ end
85
+
86
+ # The API secret.
87
+ class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
88
+ include Google::Apis::Core::Hashable
89
+
90
+ # Required. The SecretManager secret version resource name storing API key. e.g.
91
+ # projects/`project`/secrets/`secret`/versions/`version`
92
+ # Corresponds to the JSON property `apiKeySecretVersion`
93
+ # @return [String]
94
+ attr_accessor :api_key_secret_version
95
+
96
+ # The API key string. Either this or `api_key_secret_version` must be set.
97
+ # Corresponds to the JSON property `apiKeyString`
98
+ # @return [String]
99
+ attr_accessor :api_key_string
100
+
101
+ def initialize(**args)
102
+ update!(**args)
103
+ end
104
+
105
+ # Update properties of this object
106
+ def update!(**args)
107
+ @api_key_secret_version = args[:api_key_secret_version] if args.key?(:api_key_secret_version)
108
+ @api_key_string = args[:api_key_string] if args.key?(:api_key_string)
109
+ end
110
+ end
111
+
112
+ # Auth configuration to run the extension.
113
+ class GoogleCloudAiplatformV1beta1AuthConfig
114
+ include Google::Apis::Core::Hashable
115
+
116
+ # Config for authentication with API key.
117
+ # Corresponds to the JSON property `apiKeyConfig`
118
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig]
119
+ attr_accessor :api_key_config
120
+
121
+ # Type of auth scheme.
122
+ # Corresponds to the JSON property `authType`
123
+ # @return [String]
124
+ attr_accessor :auth_type
125
+
126
+ # Config for Google Service Account Authentication.
127
+ # Corresponds to the JSON property `googleServiceAccountConfig`
128
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig]
129
+ attr_accessor :google_service_account_config
130
+
131
+ # Config for HTTP Basic Authentication.
132
+ # Corresponds to the JSON property `httpBasicAuthConfig`
133
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig]
134
+ attr_accessor :http_basic_auth_config
135
+
136
+ # Config for user oauth.
137
+ # Corresponds to the JSON property `oauthConfig`
138
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig]
139
+ attr_accessor :oauth_config
140
+
141
+ # Config for user OIDC auth.
142
+ # Corresponds to the JSON property `oidcConfig`
143
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig]
144
+ attr_accessor :oidc_config
145
+
146
+ def initialize(**args)
147
+ update!(**args)
148
+ end
149
+
150
+ # Update properties of this object
151
+ def update!(**args)
152
+ @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
153
+ @auth_type = args[:auth_type] if args.key?(:auth_type)
154
+ @google_service_account_config = args[:google_service_account_config] if args.key?(:google_service_account_config)
155
+ @http_basic_auth_config = args[:http_basic_auth_config] if args.key?(:http_basic_auth_config)
156
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
157
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
158
+ end
159
+ end
160
+
161
+ # Config for authentication with API key.
162
+ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
163
+ include Google::Apis::Core::Hashable
164
+
165
+ # Optional. The name of the SecretManager secret version resource storing the
166
+ # API key. Format: `projects/`project`/secrets/`secrete`/versions/`version`` -
167
+ # If both `api_key_secret` and `api_key_string` are specified, this field takes
168
+ # precedence over `api_key_string`. - If specified, the `secretmanager.versions.
169
+ # access` permission should be granted to Vertex AI Extension Service Agent (
170
+ # https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
171
+ # on the specified resource.
172
+ # Corresponds to the JSON property `apiKeySecret`
173
+ # @return [String]
174
+ attr_accessor :api_key_secret
175
+
176
+ # Optional. The API key to be used in the request directly.
177
+ # Corresponds to the JSON property `apiKeyString`
178
+ # @return [String]
179
+ attr_accessor :api_key_string
180
+
181
+ # Optional. The location of the API key.
182
+ # Corresponds to the JSON property `httpElementLocation`
183
+ # @return [String]
184
+ attr_accessor :http_element_location
185
+
186
+ # Optional. The parameter name of the API key. E.g. If the API request is "https:
187
+ # //example.com/act?api_key=", "api_key" would be the parameter name.
188
+ # Corresponds to the JSON property `name`
189
+ # @return [String]
190
+ attr_accessor :name
191
+
192
+ def initialize(**args)
193
+ update!(**args)
194
+ end
195
+
196
+ # Update properties of this object
197
+ def update!(**args)
198
+ @api_key_secret = args[:api_key_secret] if args.key?(:api_key_secret)
199
+ @api_key_string = args[:api_key_string] if args.key?(:api_key_string)
200
+ @http_element_location = args[:http_element_location] if args.key?(:http_element_location)
201
+ @name = args[:name] if args.key?(:name)
202
+ end
203
+ end
204
+
205
+ # Config for Google Service Account Authentication.
206
+ class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
207
+ include Google::Apis::Core::Hashable
208
+
209
+ # Optional. The service account that the extension execution service runs as. -
210
+ # If the service account is specified, the `iam.serviceAccounts.getAccessToken`
211
+ # permission should be granted to Vertex AI Extension Service Agent (https://
212
+ # cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
213
+ # specified service account. - If not specified, the Vertex AI Extension Service
214
+ # Agent will be used to execute the Extension.
215
+ # Corresponds to the JSON property `serviceAccount`
216
+ # @return [String]
217
+ attr_accessor :service_account
218
+
219
+ def initialize(**args)
220
+ update!(**args)
221
+ end
222
+
223
+ # Update properties of this object
224
+ def update!(**args)
225
+ @service_account = args[:service_account] if args.key?(:service_account)
226
+ end
227
+ end
228
+
229
+ # Config for HTTP Basic Authentication.
230
+ class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
231
+ include Google::Apis::Core::Hashable
232
+
233
+ # Required. The name of the SecretManager secret version resource storing the
234
+ # base64 encoded credentials. Format: `projects/`project`/secrets/`secrete`/
235
+ # versions/`version`` - If specified, the `secretmanager.versions.access`
236
+ # permission should be granted to Vertex AI Extension Service Agent (https://
237
+ # cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the
238
+ # specified resource.
239
+ # Corresponds to the JSON property `credentialSecret`
240
+ # @return [String]
241
+ attr_accessor :credential_secret
242
+
243
+ def initialize(**args)
244
+ update!(**args)
245
+ end
246
+
247
+ # Update properties of this object
248
+ def update!(**args)
249
+ @credential_secret = args[:credential_secret] if args.key?(:credential_secret)
250
+ end
251
+ end
252
+
253
+ # Config for user oauth.
254
+ class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
255
+ include Google::Apis::Core::Hashable
256
+
257
+ # Access token for extension endpoint. Only used to propagate token from [[
258
+ # ExecuteExtensionRequest.runtime_auth_config]] at request time.
259
+ # Corresponds to the JSON property `accessToken`
260
+ # @return [String]
261
+ attr_accessor :access_token
262
+
263
+ # The service account used to generate access tokens for executing the Extension.
264
+ # - If the service account is specified, the `iam.serviceAccounts.
265
+ # getAccessToken` permission should be granted to Vertex AI Extension Service
266
+ # Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-
267
+ # agents) on the provided service account.
268
+ # Corresponds to the JSON property `serviceAccount`
269
+ # @return [String]
270
+ attr_accessor :service_account
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @access_token = args[:access_token] if args.key?(:access_token)
279
+ @service_account = args[:service_account] if args.key?(:service_account)
280
+ end
281
+ end
282
+
283
+ # Config for user OIDC auth.
284
+ class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
285
+ include Google::Apis::Core::Hashable
286
+
287
+ # OpenID Connect formatted ID token for extension endpoint. Only used to
288
+ # propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at
289
+ # request time.
290
+ # Corresponds to the JSON property `idToken`
291
+ # @return [String]
292
+ attr_accessor :id_token
293
+
294
+ # The service account used to generate an OpenID Connect (OIDC)-compatible JWT
295
+ # token signed by the Google OIDC Provider (accounts.google.com) for extension
296
+ # endpoint (https://cloud.google.com/iam/docs/create-short-lived-credentials-
297
+ # direct#sa-credentials-oidc). - The audience for the token will be set to the
298
+ # URL in the server url defined in the OpenApi spec. - If the service account is
299
+ # provided, the service account should grant `iam.serviceAccounts.getOpenIdToken`
300
+ # permission to Vertex AI Extension Service Agent (https://cloud.google.com/
301
+ # vertex-ai/docs/general/access-control#service-agents).
302
+ # Corresponds to the JSON property `serviceAccount`
303
+ # @return [String]
304
+ attr_accessor :service_account
305
+
306
+ def initialize(**args)
307
+ update!(**args)
308
+ end
309
+
310
+ # Update properties of this object
311
+ def update!(**args)
312
+ @id_token = args[:id_token] if args.key?(:id_token)
313
+ @service_account = args[:service_account] if args.key?(:service_account)
314
+ end
315
+ end
316
+
66
317
  # Content blob.
67
318
  class GoogleCloudAiplatformV1beta1Blob
68
319
  include Google::Apis::Core::Hashable
@@ -245,8 +496,9 @@ module Google
245
496
  end
246
497
  end
247
498
 
248
- # Result of executing the [ExecutableCode]. Always follows a `part` containing
249
- # the [ExecutableCode].
499
+ # Result of executing the [ExecutableCode]. Only generated when using the [
500
+ # CodeExecution] tool, and always follows a `part` containing the [
501
+ # ExecutableCode].
250
502
  class GoogleCloudAiplatformV1beta1CodeExecutionResult
251
503
  include Google::Apis::Core::Hashable
252
504
 
@@ -433,8 +685,9 @@ module Google
433
685
  end
434
686
 
435
687
  # Code generated by the model that is meant to be executed, and the result
436
- # returned to the model. Generated when using the [FunctionDeclaration] tool and
437
- # [FunctionCallingConfig] mode is set to [Mode.CODE].
688
+ # returned to the model. Generated when using the [CodeExecution] tool, in which
689
+ # the code will be automatically executed, and a corresponding [
690
+ # CodeExecutionResult] will also be generated.
438
691
  class GoogleCloudAiplatformV1beta1ExecutableCode
439
692
  include Google::Apis::Core::Hashable
440
693
 
@@ -459,6 +712,104 @@ module Google
459
712
  end
460
713
  end
461
714
 
715
+ # Retrieve from data source powered by external API for grounding. The external
716
+ # API is not owned by Google, but need to follow the pre-defined API spec.
717
+ class GoogleCloudAiplatformV1beta1ExternalApi
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # The generic reusable api auth config. Deprecated. Please use AuthConfig (
721
+ # google/cloud/aiplatform/master/auth.proto) instead.
722
+ # Corresponds to the JSON property `apiAuth`
723
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth]
724
+ attr_accessor :api_auth
725
+
726
+ # The API spec that the external API implements.
727
+ # Corresponds to the JSON property `apiSpec`
728
+ # @return [String]
729
+ attr_accessor :api_spec
730
+
731
+ # Auth configuration to run the extension.
732
+ # Corresponds to the JSON property `authConfig`
733
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig]
734
+ attr_accessor :auth_config
735
+
736
+ # The search parameters to use for the ELASTIC_SEARCH spec.
737
+ # Corresponds to the JSON property `elasticSearchParams`
738
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams]
739
+ attr_accessor :elastic_search_params
740
+
741
+ # The endpoint of the external API. The system will call the API at this
742
+ # endpoint to retrieve the data for grounding. Example: https://acme.com:443/
743
+ # search
744
+ # Corresponds to the JSON property `endpoint`
745
+ # @return [String]
746
+ attr_accessor :endpoint
747
+
748
+ # The search parameters to use for SIMPLE_SEARCH spec.
749
+ # Corresponds to the JSON property `simpleSearchParams`
750
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams]
751
+ attr_accessor :simple_search_params
752
+
753
+ def initialize(**args)
754
+ update!(**args)
755
+ end
756
+
757
+ # Update properties of this object
758
+ def update!(**args)
759
+ @api_auth = args[:api_auth] if args.key?(:api_auth)
760
+ @api_spec = args[:api_spec] if args.key?(:api_spec)
761
+ @auth_config = args[:auth_config] if args.key?(:auth_config)
762
+ @elastic_search_params = args[:elastic_search_params] if args.key?(:elastic_search_params)
763
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
764
+ @simple_search_params = args[:simple_search_params] if args.key?(:simple_search_params)
765
+ end
766
+ end
767
+
768
+ # The search parameters to use for the ELASTIC_SEARCH spec.
769
+ class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
770
+ include Google::Apis::Core::Hashable
771
+
772
+ # The ElasticSearch index to use.
773
+ # Corresponds to the JSON property `index`
774
+ # @return [String]
775
+ attr_accessor :index
776
+
777
+ # Optional. Number of hits (chunks) to request. When specified, it is passed to
778
+ # Elasticsearch as the `num_hits` param.
779
+ # Corresponds to the JSON property `numHits`
780
+ # @return [Fixnum]
781
+ attr_accessor :num_hits
782
+
783
+ # The ElasticSearch search template to use.
784
+ # Corresponds to the JSON property `searchTemplate`
785
+ # @return [String]
786
+ attr_accessor :search_template
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @index = args[:index] if args.key?(:index)
795
+ @num_hits = args[:num_hits] if args.key?(:num_hits)
796
+ @search_template = args[:search_template] if args.key?(:search_template)
797
+ end
798
+ end
799
+
800
+ # The search parameters to use for SIMPLE_SEARCH spec.
801
+ class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
802
+ include Google::Apis::Core::Hashable
803
+
804
+ def initialize(**args)
805
+ update!(**args)
806
+ end
807
+
808
+ # Update properties of this object
809
+ def update!(**args)
810
+ end
811
+ end
812
+
462
813
  # URI based data.
463
814
  class GoogleCloudAiplatformV1beta1FileData
464
815
  include Google::Apis::Core::Hashable
@@ -583,6 +934,16 @@ module Google
583
934
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
584
935
  attr_accessor :parameters
585
936
 
937
+ # Optional. Describes the parameters to the function in JSON Schema format. The
938
+ # schema must describe an object where the properties are the parameters to the
939
+ # function. For example: ``` ` "type": "object", "properties": ` "name": ` "type"
940
+ # : "string" `, "age": ` "type": "integer" ` `, "additionalProperties": false, "
941
+ # required": ["name", "age"], "propertyOrdering": ["name", "age"] ` ``` This
942
+ # field is mutually exclusive with `parameters`.
943
+ # Corresponds to the JSON property `parametersJsonSchema`
944
+ # @return [Object]
945
+ attr_accessor :parameters_json_schema
946
+
586
947
  # Schema is used to define the format of input/output data. Represents a select
587
948
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
588
949
  # schema-object). More fields may be added in the future as needed.
@@ -590,6 +951,13 @@ module Google
590
951
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema]
591
952
  attr_accessor :response
592
953
 
954
+ # Optional. Describes the output from this function in JSON Schema format. The
955
+ # value specified by the schema is the response value of the function. This
956
+ # field is mutually exclusive with `response`.
957
+ # Corresponds to the JSON property `responseJsonSchema`
958
+ # @return [Object]
959
+ attr_accessor :response_json_schema
960
+
593
961
  def initialize(**args)
594
962
  update!(**args)
595
963
  end
@@ -599,7 +967,9 @@ module Google
599
967
  @description = args[:description] if args.key?(:description)
600
968
  @name = args[:name] if args.key?(:name)
601
969
  @parameters = args[:parameters] if args.key?(:parameters)
970
+ @parameters_json_schema = args[:parameters_json_schema] if args.key?(:parameters_json_schema)
602
971
  @response = args[:response] if args.key?(:response)
972
+ @response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
603
973
  end
604
974
  end
605
975
 
@@ -902,6 +1272,13 @@ module Google
902
1272
  # @return [Fixnum]
903
1273
  attr_accessor :candidate_count
904
1274
 
1275
+ # Optional. If enabled, the model will detect emotions and adapt its responses
1276
+ # accordingly.
1277
+ # Corresponds to the JSON property `enableAffectiveDialog`
1278
+ # @return [Boolean]
1279
+ attr_accessor :enable_affective_dialog
1280
+ alias_method :enable_affective_dialog?, :enable_affective_dialog
1281
+
905
1282
  # Optional. Frequency penalties.
906
1283
  # Corresponds to the JSON property `frequencyPenalty`
907
1284
  # @return [Float]
@@ -932,6 +1309,23 @@ module Google
932
1309
  # @return [Float]
933
1310
  attr_accessor :presence_penalty
934
1311
 
1312
+ # Optional. Output schema of the generated response. This is an alternative to `
1313
+ # response_schema` that accepts [JSON Schema](https://json-schema.org/). If set,
1314
+ # `response_schema` must be omitted, but `response_mime_type` is required. While
1315
+ # the full JSON Schema may be sent, not all features are supported. Specifically,
1316
+ # only the following properties are supported: - `$id` - `$defs` - `$ref` - `$
1317
+ # anchor` - `type` - `format` - `title` - `description` - `enum` (for strings
1318
+ # and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` -
1319
+ # `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties`
1320
+ # - `additionalProperties` - `required` The non-standard `propertyOrdering`
1321
+ # property may also be set. Cyclic references are unrolled to a limited degree
1322
+ # and, as such, may only be used within non-required properties. (Nullable
1323
+ # properties are not sufficient.) If `$ref` is set on a sub-schema, no other
1324
+ # properties, except for than those starting as a `$`, may be set.
1325
+ # Corresponds to the JSON property `responseJsonSchema`
1326
+ # @return [Object]
1327
+ attr_accessor :response_json_schema
1328
+
935
1329
  # Optional. If true, export the logprobs results in response.
936
1330
  # Corresponds to the JSON property `responseLogprobs`
937
1331
  # @return [Boolean]
@@ -1007,12 +1401,14 @@ module Google
1007
1401
  def update!(**args)
1008
1402
  @audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
1009
1403
  @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
1404
+ @enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
1010
1405
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
1011
1406
  @logprobs = args[:logprobs] if args.key?(:logprobs)
1012
1407
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
1013
1408
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
1014
1409
  @model_config = args[:model_config] if args.key?(:model_config)
1015
1410
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
1411
+ @response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
1016
1412
  @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
1017
1413
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
1018
1414
  @response_modalities = args[:response_modalities] if args.key?(:response_modalities)
@@ -1448,15 +1844,17 @@ module Google
1448
1844
  class GoogleCloudAiplatformV1beta1Part
1449
1845
  include Google::Apis::Core::Hashable
1450
1846
 
1451
- # Result of executing the [ExecutableCode]. Always follows a `part` containing
1452
- # the [ExecutableCode].
1847
+ # Result of executing the [ExecutableCode]. Only generated when using the [
1848
+ # CodeExecution] tool, and always follows a `part` containing the [
1849
+ # ExecutableCode].
1453
1850
  # Corresponds to the JSON property `codeExecutionResult`
1454
1851
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult]
1455
1852
  attr_accessor :code_execution_result
1456
1853
 
1457
1854
  # Code generated by the model that is meant to be executed, and the result
1458
- # returned to the model. Generated when using the [FunctionDeclaration] tool and
1459
- # [FunctionCallingConfig] mode is set to [Mode.CODE].
1855
+ # returned to the model. Generated when using the [CodeExecution] tool, in which
1856
+ # the code will be automatically executed, and a corresponding [
1857
+ # CodeExecutionResult] will also be generated.
1460
1858
  # Corresponds to the JSON property `executableCode`
1461
1859
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode]
1462
1860
  attr_accessor :executable_code
@@ -1497,6 +1895,13 @@ module Google
1497
1895
  attr_accessor :thought
1498
1896
  alias_method :thought?, :thought
1499
1897
 
1898
+ # Optional. An opaque signature for the thought so it can be reused in
1899
+ # subsequent requests.
1900
+ # Corresponds to the JSON property `thoughtSignature`
1901
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1902
+ # @return [String]
1903
+ attr_accessor :thought_signature
1904
+
1500
1905
  # Metadata describes the input video content.
1501
1906
  # Corresponds to the JSON property `videoMetadata`
1502
1907
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata]
@@ -1516,6 +1921,7 @@ module Google
1516
1921
  @inline_data = args[:inline_data] if args.key?(:inline_data)
1517
1922
  @text = args[:text] if args.key?(:text)
1518
1923
  @thought = args[:thought] if args.key?(:thought)
1924
+ @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
1519
1925
  @video_metadata = args[:video_metadata] if args.key?(:video_metadata)
1520
1926
  end
1521
1927
  end
@@ -1758,6 +2164,12 @@ module Google
1758
2164
  attr_accessor :disable_attribution
1759
2165
  alias_method :disable_attribution?, :disable_attribution
1760
2166
 
2167
+ # Retrieve from data source powered by external API for grounding. The external
2168
+ # API is not owned by Google, but need to follow the pre-defined API spec.
2169
+ # Corresponds to the JSON property `externalApi`
2170
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi]
2171
+ attr_accessor :external_api
2172
+
1761
2173
  # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
1762
2174
  # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
1763
2175
  # builder
@@ -1777,6 +2189,7 @@ module Google
1777
2189
  # Update properties of this object
1778
2190
  def update!(**args)
1779
2191
  @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
2192
+ @external_api = args[:external_api] if args.key?(:external_api)
1780
2193
  @vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
1781
2194
  @vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store)
1782
2195
  end
@@ -2208,6 +2621,11 @@ module Google
2208
2621
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
2209
2622
  attr_accessor :code_execution
2210
2623
 
2624
+ # Tool to support computer use.
2625
+ # Corresponds to the JSON property `computerUse`
2626
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse]
2627
+ attr_accessor :computer_use
2628
+
2211
2629
  # Tool to search public web data, powered by Vertex AI Search and Sec4
2212
2630
  # compliance.
2213
2631
  # Corresponds to the JSON property `enterpriseWebSearch`
@@ -2247,6 +2665,7 @@ module Google
2247
2665
  # Update properties of this object
2248
2666
  def update!(**args)
2249
2667
  @code_execution = args[:code_execution] if args.key?(:code_execution)
2668
+ @computer_use = args[:computer_use] if args.key?(:computer_use)
2250
2669
  @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
2251
2670
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
2252
2671
  @google_search = args[:google_search] if args.key?(:google_search)
@@ -2270,6 +2689,25 @@ module Google
2270
2689
  end
2271
2690
  end
2272
2691
 
2692
+ # Tool to support computer use.
2693
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
2694
+ include Google::Apis::Core::Hashable
2695
+
2696
+ # Required. The environment being operated.
2697
+ # Corresponds to the JSON property `environment`
2698
+ # @return [String]
2699
+ attr_accessor :environment
2700
+
2701
+ def initialize(**args)
2702
+ update!(**args)
2703
+ end
2704
+
2705
+ # Update properties of this object
2706
+ def update!(**args)
2707
+ @environment = args[:environment] if args.key?(:environment)
2708
+ end
2709
+ end
2710
+
2273
2711
  # Tool config. This config is shared for all tools provided in the request.
2274
2712
  class GoogleCloudAiplatformV1beta1ToolConfig
2275
2713
  include Google::Apis::Core::Hashable
@@ -2315,6 +2753,13 @@ module Google
2315
2753
  class GoogleCloudAiplatformV1beta1VertexAiSearch
2316
2754
  include Google::Apis::Core::Hashable
2317
2755
 
2756
+ # Specifications that define the specific DataStores to be searched, along with
2757
+ # configurations for those data stores. This is only considered for Engines with
2758
+ # multiple data stores. It should only be set if engine is used.
2759
+ # Corresponds to the JSON property `dataStoreSpecs`
2760
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec>]
2761
+ attr_accessor :data_store_specs
2762
+
2318
2763
  # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
2319
2764
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
2320
2765
  # dataStore``
@@ -2346,6 +2791,7 @@ module Google
2346
2791
 
2347
2792
  # Update properties of this object
2348
2793
  def update!(**args)
2794
+ @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
2349
2795
  @datastore = args[:datastore] if args.key?(:datastore)
2350
2796
  @engine = args[:engine] if args.key?(:engine)
2351
2797
  @filter = args[:filter] if args.key?(:filter)
@@ -2353,6 +2799,37 @@ module Google
2353
2799
  end
2354
2800
  end
2355
2801
 
2802
+ # Define data stores within engine to filter on in a search call and
2803
+ # configurations for those data stores. For more information, see https://cloud.
2804
+ # google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.
2805
+ # discoveryengine.v1#datastorespec
2806
+ class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
2807
+ include Google::Apis::Core::Hashable
2808
+
2809
+ # Full resource name of DataStore, such as Format: `projects/`project`/locations/
2810
+ # `location`/collections/`collection`/dataStores/`dataStore``
2811
+ # Corresponds to the JSON property `dataStore`
2812
+ # @return [String]
2813
+ attr_accessor :data_store
2814
+
2815
+ # Optional. Filter specification to filter documents in the data store specified
2816
+ # by data_store field. For more information on filtering, see [Filtering](https:/
2817
+ # /cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
2818
+ # Corresponds to the JSON property `filter`
2819
+ # @return [String]
2820
+ attr_accessor :filter
2821
+
2822
+ def initialize(**args)
2823
+ update!(**args)
2824
+ end
2825
+
2826
+ # Update properties of this object
2827
+ def update!(**args)
2828
+ @data_store = args[:data_store] if args.key?(:data_store)
2829
+ @filter = args[:filter] if args.key?(:filter)
2830
+ end
2831
+ end
2832
+
2356
2833
  # Retrieve from Vertex RAG Store for grounding.
2357
2834
  class GoogleCloudAiplatformV1beta1VertexRagStore
2358
2835
  include Google::Apis::Core::Hashable
@@ -2379,6 +2856,16 @@ module Google
2379
2856
  # @return [Fixnum]
2380
2857
  attr_accessor :similarity_top_k
2381
2858
 
2859
+ # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini
2860
+ # Multimodal Live API, if `store_context` bool is specified, Gemini will
2861
+ # leverage it to automatically memorize the interactions between the client and
2862
+ # Gemini, and retrieve context when needed to augment the response generation
2863
+ # for users' ongoing and future interactions.
2864
+ # Corresponds to the JSON property `storeContext`
2865
+ # @return [Boolean]
2866
+ attr_accessor :store_context
2867
+ alias_method :store_context?, :store_context
2868
+
2382
2869
  # Optional. Only return results with vector distance smaller than the threshold.
2383
2870
  # Corresponds to the JSON property `vectorDistanceThreshold`
2384
2871
  # @return [Float]
@@ -2394,6 +2881,7 @@ module Google
2394
2881
  @rag_resources = args[:rag_resources] if args.key?(:rag_resources)
2395
2882
  @rag_retrieval_config = args[:rag_retrieval_config] if args.key?(:rag_retrieval_config)
2396
2883
  @similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
2884
+ @store_context = args[:store_context] if args.key?(:store_context)
2397
2885
  @vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
2398
2886
  end
2399
2887
  end
@@ -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.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250505"
25
+ REVISION = "20250525"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,54 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class GoogleCloudAiplatformV1beta1ApiAuth
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudAiplatformV1beta1AuthConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
31
79
  class GoogleCloudAiplatformV1beta1Blob
32
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
81
 
@@ -94,6 +142,24 @@ module Google
94
142
  include Google::Apis::Core::JsonObjectSupport
95
143
  end
96
144
 
145
+ class GoogleCloudAiplatformV1beta1ExternalApi
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
97
163
  class GoogleCloudAiplatformV1beta1FileData
98
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
165
 
@@ -370,6 +436,12 @@ module Google
370
436
  include Google::Apis::Core::JsonObjectSupport
371
437
  end
372
438
 
439
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
373
445
  class GoogleCloudAiplatformV1beta1ToolConfig
374
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
447
 
@@ -388,6 +460,12 @@ module Google
388
460
  include Google::Apis::Core::JsonObjectSupport
389
461
  end
390
462
 
463
+ class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
391
469
  class GoogleCloudAiplatformV1beta1VertexRagStore
392
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
471
 
@@ -433,6 +511,79 @@ module Google
433
511
  end
434
512
  end
435
513
 
514
+ class GoogleCloudAiplatformV1beta1ApiAuth
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig::Representation
518
+
519
+ end
520
+ end
521
+
522
+ class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :api_key_secret_version, as: 'apiKeySecretVersion'
526
+ property :api_key_string, as: 'apiKeyString'
527
+ end
528
+ end
529
+
530
+ class GoogleCloudAiplatformV1beta1AuthConfig
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig::Representation
534
+
535
+ property :auth_type, as: 'authType'
536
+ property :google_service_account_config, as: 'googleServiceAccountConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig::Representation
537
+
538
+ property :http_basic_auth_config, as: 'httpBasicAuthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig::Representation
539
+
540
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig::Representation
541
+
542
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig::Representation
543
+
544
+ end
545
+ end
546
+
547
+ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :api_key_secret, as: 'apiKeySecret'
551
+ property :api_key_string, as: 'apiKeyString'
552
+ property :http_element_location, as: 'httpElementLocation'
553
+ property :name, as: 'name'
554
+ end
555
+ end
556
+
557
+ class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :service_account, as: 'serviceAccount'
561
+ end
562
+ end
563
+
564
+ class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :credential_secret, as: 'credentialSecret'
568
+ end
569
+ end
570
+
571
+ class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :access_token, as: 'accessToken'
575
+ property :service_account, as: 'serviceAccount'
576
+ end
577
+ end
578
+
579
+ class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :id_token, as: 'idToken'
583
+ property :service_account, as: 'serviceAccount'
584
+ end
585
+ end
586
+
436
587
  class GoogleCloudAiplatformV1beta1Blob
437
588
  # @private
438
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -548,6 +699,37 @@ module Google
548
699
  end
549
700
  end
550
701
 
702
+ class GoogleCloudAiplatformV1beta1ExternalApi
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
706
+
707
+ property :api_spec, as: 'apiSpec'
708
+ property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
709
+
710
+ property :elastic_search_params, as: 'elasticSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams::Representation
711
+
712
+ property :endpoint, as: 'endpoint'
713
+ property :simple_search_params, as: 'simpleSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams::Representation
714
+
715
+ end
716
+ end
717
+
718
+ class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :index, as: 'index'
722
+ property :num_hits, as: 'numHits'
723
+ property :search_template, as: 'searchTemplate'
724
+ end
725
+ end
726
+
727
+ class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ end
731
+ end
732
+
551
733
  class GoogleCloudAiplatformV1beta1FileData
552
734
  # @private
553
735
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -581,8 +763,10 @@ module Google
581
763
  property :name, as: 'name'
582
764
  property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
583
765
 
766
+ property :parameters_json_schema, as: 'parametersJsonSchema'
584
767
  property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
585
768
 
769
+ property :response_json_schema, as: 'responseJsonSchema'
586
770
  end
587
771
  end
588
772
 
@@ -666,6 +850,7 @@ module Google
666
850
  class Representation < Google::Apis::Core::JsonRepresentation
667
851
  property :audio_timestamp, as: 'audioTimestamp'
668
852
  property :candidate_count, as: 'candidateCount'
853
+ property :enable_affective_dialog, as: 'enableAffectiveDialog'
669
854
  property :frequency_penalty, as: 'frequencyPenalty'
670
855
  property :logprobs, as: 'logprobs'
671
856
  property :max_output_tokens, as: 'maxOutputTokens'
@@ -673,6 +858,7 @@ module Google
673
858
  property :model_config, as: 'modelConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation
674
859
 
675
860
  property :presence_penalty, as: 'presencePenalty'
861
+ property :response_json_schema, as: 'responseJsonSchema'
676
862
  property :response_logprobs, as: 'responseLogprobs'
677
863
  property :response_mime_type, as: 'responseMimeType'
678
864
  collection :response_modalities, as: 'responseModalities'
@@ -847,6 +1033,7 @@ module Google
847
1033
 
848
1034
  property :text, as: 'text'
849
1035
  property :thought, as: 'thought'
1036
+ property :thought_signature, :base64 => true, as: 'thoughtSignature'
850
1037
  property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
851
1038
 
852
1039
  end
@@ -933,6 +1120,8 @@ module Google
933
1120
  # @private
934
1121
  class Representation < Google::Apis::Core::JsonRepresentation
935
1122
  property :disable_attribution, as: 'disableAttribution'
1123
+ property :external_api, as: 'externalApi', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi::Representation
1124
+
936
1125
  property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
937
1126
 
938
1127
  property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
@@ -1044,6 +1233,8 @@ module Google
1044
1233
  class Representation < Google::Apis::Core::JsonRepresentation
1045
1234
  property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
1046
1235
 
1236
+ property :computer_use, as: 'computerUse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
1237
+
1047
1238
  property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
1048
1239
 
1049
1240
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -1063,6 +1254,13 @@ module Google
1063
1254
  end
1064
1255
  end
1065
1256
 
1257
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :environment, as: 'environment'
1261
+ end
1262
+ end
1263
+
1066
1264
  class GoogleCloudAiplatformV1beta1ToolConfig
1067
1265
  # @private
1068
1266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1082,6 +1280,8 @@ module Google
1082
1280
  class GoogleCloudAiplatformV1beta1VertexAiSearch
1083
1281
  # @private
1084
1282
  class Representation < Google::Apis::Core::JsonRepresentation
1283
+ collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec::Representation
1284
+
1085
1285
  property :datastore, as: 'datastore'
1086
1286
  property :engine, as: 'engine'
1087
1287
  property :filter, as: 'filter'
@@ -1089,6 +1289,14 @@ module Google
1089
1289
  end
1090
1290
  end
1091
1291
 
1292
+ class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ property :data_store, as: 'dataStore'
1296
+ property :filter, as: 'filter'
1297
+ end
1298
+ end
1299
+
1092
1300
  class GoogleCloudAiplatformV1beta1VertexRagStore
1093
1301
  # @private
1094
1302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1098,6 +1306,7 @@ module Google
1098
1306
  property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
1099
1307
 
1100
1308
  property :similarity_top_k, as: 'similarityTopK'
1309
+ property :store_context, as: 'storeContext'
1101
1310
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
1102
1311
  end
1103
1312
  end
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.19.0
4
+ version: 0.21.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.19.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.21.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Firebase ML API V2beta
79
79
  test_files: []