google-apis-firebaseml_v2beta 0.3.0 → 0.4.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: 852786b652b553515466a615068eb63f7f4e2600c8a62c9a45edfe62c690ddbf
|
|
4
|
+
data.tar.gz: 42adea32bcb874fcadc1443c7085bb4ff5c7cad546ed23eb3429fc2de3d24366
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ec29992f6d7ad6a961f76fcdce4ab413e201f6023a37a5c64eb53e941427a389da3ddecc71d6a7b28dbdb06d31ede5e2f1acb9b8affaff4fb5a6ad66f71e971
|
|
7
|
+
data.tar.gz: 607ee7658000795451747ea1b144fe12d863787a4394cc373ce562793bb5504c18fb74d441af2d0d40158c3e37988c190dd927da13710b83b041e52dae8c8bf5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.4.0 (2024-05-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20240515
|
|
6
|
+
* Regenerated using generator version 0.15.0
|
|
7
|
+
|
|
3
8
|
### v0.3.0 (2024-04-28)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20240425
|
|
@@ -632,6 +632,19 @@ module Google
|
|
|
632
632
|
end
|
|
633
633
|
end
|
|
634
634
|
|
|
635
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
|
636
|
+
class GoogleSearchRetrieval
|
|
637
|
+
include Google::Apis::Core::Hashable
|
|
638
|
+
|
|
639
|
+
def initialize(**args)
|
|
640
|
+
update!(**args)
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# Update properties of this object
|
|
644
|
+
def update!(**args)
|
|
645
|
+
end
|
|
646
|
+
end
|
|
647
|
+
|
|
635
648
|
# Metadata returned to client when grounding is enabled.
|
|
636
649
|
class GroundingMetadata
|
|
637
650
|
include Google::Apis::Core::Hashable
|
|
@@ -1113,6 +1126,11 @@ module Google
|
|
|
1113
1126
|
# @return [Array<Google::Apis::FirebasemlV2beta::FunctionDeclaration>]
|
|
1114
1127
|
attr_accessor :function_declarations
|
|
1115
1128
|
|
|
1129
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
|
1130
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
|
1131
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval]
|
|
1132
|
+
attr_accessor :google_search_retrieval
|
|
1133
|
+
|
|
1116
1134
|
# Defines a retrieval tool that model can call to access external knowledge.
|
|
1117
1135
|
# Corresponds to the JSON property `retrieval`
|
|
1118
1136
|
# @return [Google::Apis::FirebasemlV2beta::Retrieval]
|
|
@@ -1125,6 +1143,7 @@ module Google
|
|
|
1125
1143
|
# Update properties of this object
|
|
1126
1144
|
def update!(**args)
|
|
1127
1145
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
|
1146
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
|
1128
1147
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
|
1129
1148
|
end
|
|
1130
1149
|
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
|
+
GEM_VERSION = "0.4.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240515"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -118,6 +118,12 @@ module Google
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
class GoogleSearchRetrieval
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
121
127
|
class GroundingMetadata
|
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
129
|
|
|
@@ -385,6 +391,12 @@ module Google
|
|
|
385
391
|
end
|
|
386
392
|
end
|
|
387
393
|
|
|
394
|
+
class GoogleSearchRetrieval
|
|
395
|
+
# @private
|
|
396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
|
|
388
400
|
class GroundingMetadata
|
|
389
401
|
# @private
|
|
390
402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -511,6 +523,8 @@ module Google
|
|
|
511
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
512
524
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::FunctionDeclaration::Representation
|
|
513
525
|
|
|
526
|
+
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval::Representation
|
|
527
|
+
|
|
514
528
|
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::Retrieval, decorator: Google::Apis::FirebasemlV2beta::Retrieval::Representation
|
|
515
529
|
|
|
516
530
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.15.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.a
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.15.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.4.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|