google-apis-firebaseml_v2beta 0.18.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d9930b3423b2dff3359efe503aa681c8f25aa7d7a516a39f62a7bafb5c20ae
|
4
|
+
data.tar.gz: 5ea7e149aa0c55e1b0b23f8efcb3f1350af768eba49a450f83b826e2793d6c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82175f9582356bef0ca7548a0ae5c60008e22419b69149ed1e2cdfba6147b0c58a66139fed07c8496427df3272beb7195d6049984461bb7afa0c31e43c8fffcc
|
7
|
+
data.tar.gz: b30d98c2d85199b80f8262a992f2a7225b2b34125312acf38a79a5f7889a9a30613484e0659d0712cce6da8255401f50588f306c2b27edec96f1f61ae4f482d3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.20.0 (2025-05-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250521
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
8
|
+
### v0.19.0 (2025-05-11)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20250505
|
11
|
+
* Regenerated using generator version 0.17.0
|
12
|
+
|
3
13
|
### v0.18.0 (2025-04-27)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20250423
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://firebase.google.com) may provide guidance re
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -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].
|
249
|
-
# the [
|
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 [
|
437
|
-
#
|
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)
|
@@ -1118,6 +1514,13 @@ module Google
|
|
1118
1514
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
1119
1515
|
include Google::Apis::Core::Hashable
|
1120
1516
|
|
1517
|
+
# Optional. Indicates whether to include thoughts in the response. If true,
|
1518
|
+
# thoughts are returned only when available.
|
1519
|
+
# Corresponds to the JSON property `includeThoughts`
|
1520
|
+
# @return [Boolean]
|
1521
|
+
attr_accessor :include_thoughts
|
1522
|
+
alias_method :include_thoughts?, :include_thoughts
|
1523
|
+
|
1121
1524
|
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
1122
1525
|
# enable_thinking is true.
|
1123
1526
|
# Corresponds to the JSON property `thinkingBudget`
|
@@ -1130,6 +1533,7 @@ module Google
|
|
1130
1533
|
|
1131
1534
|
# Update properties of this object
|
1132
1535
|
def update!(**args)
|
1536
|
+
@include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
|
1133
1537
|
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
1134
1538
|
end
|
1135
1539
|
end
|
@@ -1440,15 +1844,17 @@ module Google
|
|
1440
1844
|
class GoogleCloudAiplatformV1beta1Part
|
1441
1845
|
include Google::Apis::Core::Hashable
|
1442
1846
|
|
1443
|
-
# Result of executing the [ExecutableCode].
|
1444
|
-
# the [
|
1847
|
+
# Result of executing the [ExecutableCode]. Only generated when using the [
|
1848
|
+
# CodeExecution] tool, and always follows a `part` containing the [
|
1849
|
+
# ExecutableCode].
|
1445
1850
|
# Corresponds to the JSON property `codeExecutionResult`
|
1446
1851
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult]
|
1447
1852
|
attr_accessor :code_execution_result
|
1448
1853
|
|
1449
1854
|
# Code generated by the model that is meant to be executed, and the result
|
1450
|
-
# returned to the model. Generated when using the [
|
1451
|
-
#
|
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.
|
1452
1858
|
# Corresponds to the JSON property `executableCode`
|
1453
1859
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode]
|
1454
1860
|
attr_accessor :executable_code
|
@@ -1750,6 +2156,12 @@ module Google
|
|
1750
2156
|
attr_accessor :disable_attribution
|
1751
2157
|
alias_method :disable_attribution?, :disable_attribution
|
1752
2158
|
|
2159
|
+
# Retrieve from data source powered by external API for grounding. The external
|
2160
|
+
# API is not owned by Google, but need to follow the pre-defined API spec.
|
2161
|
+
# Corresponds to the JSON property `externalApi`
|
2162
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi]
|
2163
|
+
attr_accessor :external_api
|
2164
|
+
|
1753
2165
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
1754
2166
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
1755
2167
|
# builder
|
@@ -1769,6 +2181,7 @@ module Google
|
|
1769
2181
|
# Update properties of this object
|
1770
2182
|
def update!(**args)
|
1771
2183
|
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
2184
|
+
@external_api = args[:external_api] if args.key?(:external_api)
|
1772
2185
|
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
1773
2186
|
@vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store)
|
1774
2187
|
end
|
@@ -2307,6 +2720,13 @@ module Google
|
|
2307
2720
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
2308
2721
|
include Google::Apis::Core::Hashable
|
2309
2722
|
|
2723
|
+
# Specifications that define the specific DataStores to be searched, along with
|
2724
|
+
# configurations for those data stores. This is only considered for Engines with
|
2725
|
+
# multiple data stores. It should only be set if engine is used.
|
2726
|
+
# Corresponds to the JSON property `dataStoreSpecs`
|
2727
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec>]
|
2728
|
+
attr_accessor :data_store_specs
|
2729
|
+
|
2310
2730
|
# Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
|
2311
2731
|
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
2312
2732
|
# dataStore``
|
@@ -2321,14 +2741,59 @@ module Google
|
|
2321
2741
|
# @return [String]
|
2322
2742
|
attr_accessor :engine
|
2323
2743
|
|
2744
|
+
# Optional. Filter strings to be passed to the search API.
|
2745
|
+
# Corresponds to the JSON property `filter`
|
2746
|
+
# @return [String]
|
2747
|
+
attr_accessor :filter
|
2748
|
+
|
2749
|
+
# Optional. Number of search results to return per query. The default value is
|
2750
|
+
# 10. The maximumm allowed value is 10.
|
2751
|
+
# Corresponds to the JSON property `maxResults`
|
2752
|
+
# @return [Fixnum]
|
2753
|
+
attr_accessor :max_results
|
2754
|
+
|
2324
2755
|
def initialize(**args)
|
2325
2756
|
update!(**args)
|
2326
2757
|
end
|
2327
2758
|
|
2328
2759
|
# Update properties of this object
|
2329
2760
|
def update!(**args)
|
2761
|
+
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
2330
2762
|
@datastore = args[:datastore] if args.key?(:datastore)
|
2331
2763
|
@engine = args[:engine] if args.key?(:engine)
|
2764
|
+
@filter = args[:filter] if args.key?(:filter)
|
2765
|
+
@max_results = args[:max_results] if args.key?(:max_results)
|
2766
|
+
end
|
2767
|
+
end
|
2768
|
+
|
2769
|
+
# Define data stores within engine to filter on in a search call and
|
2770
|
+
# configurations for those data stores. For more information, see https://cloud.
|
2771
|
+
# google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.
|
2772
|
+
# discoveryengine.v1#datastorespec
|
2773
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
2774
|
+
include Google::Apis::Core::Hashable
|
2775
|
+
|
2776
|
+
# Full resource name of DataStore, such as Format: `projects/`project`/locations/
|
2777
|
+
# `location`/collections/`collection`/dataStores/`dataStore``
|
2778
|
+
# Corresponds to the JSON property `dataStore`
|
2779
|
+
# @return [String]
|
2780
|
+
attr_accessor :data_store
|
2781
|
+
|
2782
|
+
# Optional. Filter specification to filter documents in the data store specified
|
2783
|
+
# by data_store field. For more information on filtering, see [Filtering](https:/
|
2784
|
+
# /cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
2785
|
+
# Corresponds to the JSON property `filter`
|
2786
|
+
# @return [String]
|
2787
|
+
attr_accessor :filter
|
2788
|
+
|
2789
|
+
def initialize(**args)
|
2790
|
+
update!(**args)
|
2791
|
+
end
|
2792
|
+
|
2793
|
+
# Update properties of this object
|
2794
|
+
def update!(**args)
|
2795
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
2796
|
+
@filter = args[:filter] if args.key?(:filter)
|
2332
2797
|
end
|
2333
2798
|
end
|
2334
2799
|
|
@@ -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
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250521"
|
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
|
|
@@ -388,6 +454,12 @@ module Google
|
|
388
454
|
include Google::Apis::Core::JsonObjectSupport
|
389
455
|
end
|
390
456
|
|
457
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
391
463
|
class GoogleCloudAiplatformV1beta1VertexRagStore
|
392
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
465
|
|
@@ -433,6 +505,79 @@ module Google
|
|
433
505
|
end
|
434
506
|
end
|
435
507
|
|
508
|
+
class GoogleCloudAiplatformV1beta1ApiAuth
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig::Representation
|
512
|
+
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :api_key_secret_version, as: 'apiKeySecretVersion'
|
520
|
+
property :api_key_string, as: 'apiKeyString'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
class GoogleCloudAiplatformV1beta1AuthConfig
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
property :api_key_config, as: 'apiKeyConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig::Representation
|
528
|
+
|
529
|
+
property :auth_type, as: 'authType'
|
530
|
+
property :google_service_account_config, as: 'googleServiceAccountConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig::Representation
|
531
|
+
|
532
|
+
property :http_basic_auth_config, as: 'httpBasicAuthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig::Representation
|
533
|
+
|
534
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOauthConfig::Representation
|
535
|
+
|
536
|
+
property :oidc_config, as: 'oidcConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfigOidcConfig::Representation
|
537
|
+
|
538
|
+
end
|
539
|
+
end
|
540
|
+
|
541
|
+
class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :api_key_secret, as: 'apiKeySecret'
|
545
|
+
property :api_key_string, as: 'apiKeyString'
|
546
|
+
property :http_element_location, as: 'httpElementLocation'
|
547
|
+
property :name, as: 'name'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :service_account, as: 'serviceAccount'
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
class GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig
|
559
|
+
# @private
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
+
property :credential_secret, as: 'credentialSecret'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class GoogleCloudAiplatformV1beta1AuthConfigOauthConfig
|
566
|
+
# @private
|
567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :access_token, as: 'accessToken'
|
569
|
+
property :service_account, as: 'serviceAccount'
|
570
|
+
end
|
571
|
+
end
|
572
|
+
|
573
|
+
class GoogleCloudAiplatformV1beta1AuthConfigOidcConfig
|
574
|
+
# @private
|
575
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
576
|
+
property :id_token, as: 'idToken'
|
577
|
+
property :service_account, as: 'serviceAccount'
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
436
581
|
class GoogleCloudAiplatformV1beta1Blob
|
437
582
|
# @private
|
438
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -548,6 +693,37 @@ module Google
|
|
548
693
|
end
|
549
694
|
end
|
550
695
|
|
696
|
+
class GoogleCloudAiplatformV1beta1ExternalApi
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
|
700
|
+
|
701
|
+
property :api_spec, as: 'apiSpec'
|
702
|
+
property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
|
703
|
+
|
704
|
+
property :elastic_search_params, as: 'elasticSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams::Representation
|
705
|
+
|
706
|
+
property :endpoint, as: 'endpoint'
|
707
|
+
property :simple_search_params, as: 'simpleSearchParams', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams::Representation
|
708
|
+
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
class GoogleCloudAiplatformV1beta1ExternalApiElasticSearchParams
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :index, as: 'index'
|
716
|
+
property :num_hits, as: 'numHits'
|
717
|
+
property :search_template, as: 'searchTemplate'
|
718
|
+
end
|
719
|
+
end
|
720
|
+
|
721
|
+
class GoogleCloudAiplatformV1beta1ExternalApiSimpleSearchParams
|
722
|
+
# @private
|
723
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
551
727
|
class GoogleCloudAiplatformV1beta1FileData
|
552
728
|
# @private
|
553
729
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -581,8 +757,10 @@ module Google
|
|
581
757
|
property :name, as: 'name'
|
582
758
|
property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
583
759
|
|
760
|
+
property :parameters_json_schema, as: 'parametersJsonSchema'
|
584
761
|
property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
585
762
|
|
763
|
+
property :response_json_schema, as: 'responseJsonSchema'
|
586
764
|
end
|
587
765
|
end
|
588
766
|
|
@@ -666,6 +844,7 @@ module Google
|
|
666
844
|
class Representation < Google::Apis::Core::JsonRepresentation
|
667
845
|
property :audio_timestamp, as: 'audioTimestamp'
|
668
846
|
property :candidate_count, as: 'candidateCount'
|
847
|
+
property :enable_affective_dialog, as: 'enableAffectiveDialog'
|
669
848
|
property :frequency_penalty, as: 'frequencyPenalty'
|
670
849
|
property :logprobs, as: 'logprobs'
|
671
850
|
property :max_output_tokens, as: 'maxOutputTokens'
|
@@ -673,6 +852,7 @@ module Google
|
|
673
852
|
property :model_config, as: 'modelConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation
|
674
853
|
|
675
854
|
property :presence_penalty, as: 'presencePenalty'
|
855
|
+
property :response_json_schema, as: 'responseJsonSchema'
|
676
856
|
property :response_logprobs, as: 'responseLogprobs'
|
677
857
|
property :response_mime_type, as: 'responseMimeType'
|
678
858
|
collection :response_modalities, as: 'responseModalities'
|
@@ -726,6 +906,7 @@ module Google
|
|
726
906
|
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
727
907
|
# @private
|
728
908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
909
|
+
property :include_thoughts, as: 'includeThoughts'
|
729
910
|
property :thinking_budget, as: 'thinkingBudget'
|
730
911
|
end
|
731
912
|
end
|
@@ -932,6 +1113,8 @@ module Google
|
|
932
1113
|
# @private
|
933
1114
|
class Representation < Google::Apis::Core::JsonRepresentation
|
934
1115
|
property :disable_attribution, as: 'disableAttribution'
|
1116
|
+
property :external_api, as: 'externalApi', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExternalApi::Representation
|
1117
|
+
|
935
1118
|
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
|
936
1119
|
|
937
1120
|
property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
|
@@ -1081,8 +1264,20 @@ module Google
|
|
1081
1264
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
1082
1265
|
# @private
|
1083
1266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1267
|
+
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec::Representation
|
1268
|
+
|
1084
1269
|
property :datastore, as: 'datastore'
|
1085
1270
|
property :engine, as: 'engine'
|
1271
|
+
property :filter, as: 'filter'
|
1272
|
+
property :max_results, as: 'maxResults'
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearchDataStoreSpec
|
1277
|
+
# @private
|
1278
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1279
|
+
property :data_store, as: 'dataStore'
|
1280
|
+
property :filter, as: 'filter'
|
1086
1281
|
end
|
1087
1282
|
end
|
1088
1283
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebaseml_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.20.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:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
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: []
|