google-apis-firebaseml_v2beta 0.24.0 → 0.25.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: 1251db6d99ff2258bd0a8e6e054ebe42faaa3caa862c636d9c6fa37f9e4cf10e
|
4
|
+
data.tar.gz: 1c01c6611bbb3c3853104453dd57baed2d8bd4511ee9ac2ef366fc226d7c0310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 227d51d505ed796b69849edef20e3ca0d5311058b8ec2514f2b3fc42f6b84e25f3030dbd22c6d6cf3afed3c86857d5056f6c6ab47eaa960c7338e1c484e73113
|
7
|
+
data.tar.gz: bcf0bdd324c9ae6283a587158e8639ea8508b6604bfacedf60b0279a8d8c2a410d7fed16af141c3da00a01b50aa38e4c3b21f608eaf85a3a575106a188636f47
|
data/CHANGELOG.md
CHANGED
@@ -1545,6 +1545,32 @@ module Google
|
|
1545
1545
|
end
|
1546
1546
|
end
|
1547
1547
|
|
1548
|
+
# Tool to retrieve public maps data for grounding, powered by Google.
|
1549
|
+
class GoogleCloudAiplatformV1beta1GoogleMaps
|
1550
|
+
include Google::Apis::Core::Hashable
|
1551
|
+
|
1552
|
+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
|
1553
|
+
# google/cloud/aiplatform/master/auth.proto) instead.
|
1554
|
+
# Corresponds to the JSON property `apiAuth`
|
1555
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth]
|
1556
|
+
attr_accessor :api_auth
|
1557
|
+
|
1558
|
+
# Auth configuration to run the extension.
|
1559
|
+
# Corresponds to the JSON property `authConfig`
|
1560
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig]
|
1561
|
+
attr_accessor :auth_config
|
1562
|
+
|
1563
|
+
def initialize(**args)
|
1564
|
+
update!(**args)
|
1565
|
+
end
|
1566
|
+
|
1567
|
+
# Update properties of this object
|
1568
|
+
def update!(**args)
|
1569
|
+
@api_auth = args[:api_auth] if args.key?(:api_auth)
|
1570
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
1571
|
+
end
|
1572
|
+
end
|
1573
|
+
|
1548
1574
|
# Tool to retrieve public web data for grounding, powered by Google.
|
1549
1575
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
1550
1576
|
include Google::Apis::Core::Hashable
|
@@ -1568,6 +1594,11 @@ module Google
|
|
1568
1594
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
1569
1595
|
include Google::Apis::Core::Hashable
|
1570
1596
|
|
1597
|
+
# Chunk from Google Maps.
|
1598
|
+
# Corresponds to the JSON property `maps`
|
1599
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps]
|
1600
|
+
attr_accessor :maps
|
1601
|
+
|
1571
1602
|
# Chunk from context retrieved by the retrieval tools.
|
1572
1603
|
# Corresponds to the JSON property `retrievedContext`
|
1573
1604
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
|
@@ -1584,11 +1615,50 @@ module Google
|
|
1584
1615
|
|
1585
1616
|
# Update properties of this object
|
1586
1617
|
def update!(**args)
|
1618
|
+
@maps = args[:maps] if args.key?(:maps)
|
1587
1619
|
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
|
1588
1620
|
@web = args[:web] if args.key?(:web)
|
1589
1621
|
end
|
1590
1622
|
end
|
1591
1623
|
|
1624
|
+
# Chunk from Google Maps.
|
1625
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
1626
|
+
include Google::Apis::Core::Hashable
|
1627
|
+
|
1628
|
+
# This Place's resource name, in `places/`place_id`` format. Can be used to look
|
1629
|
+
# up the Place.
|
1630
|
+
# Corresponds to the JSON property `placeId`
|
1631
|
+
# @return [String]
|
1632
|
+
attr_accessor :place_id
|
1633
|
+
|
1634
|
+
# Text of the chunk.
|
1635
|
+
# Corresponds to the JSON property `text`
|
1636
|
+
# @return [String]
|
1637
|
+
attr_accessor :text
|
1638
|
+
|
1639
|
+
# Title of the chunk.
|
1640
|
+
# Corresponds to the JSON property `title`
|
1641
|
+
# @return [String]
|
1642
|
+
attr_accessor :title
|
1643
|
+
|
1644
|
+
# URI reference of the chunk.
|
1645
|
+
# Corresponds to the JSON property `uri`
|
1646
|
+
# @return [String]
|
1647
|
+
attr_accessor :uri
|
1648
|
+
|
1649
|
+
def initialize(**args)
|
1650
|
+
update!(**args)
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
# Update properties of this object
|
1654
|
+
def update!(**args)
|
1655
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
1656
|
+
@text = args[:text] if args.key?(:text)
|
1657
|
+
@title = args[:title] if args.key?(:title)
|
1658
|
+
@uri = args[:uri] if args.key?(:uri)
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1592
1662
|
# Chunk from context retrieved by the retrieval tools.
|
1593
1663
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
1594
1664
|
include Google::Apis::Core::Hashable
|
@@ -1662,6 +1732,13 @@ module Google
|
|
1662
1732
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
1663
1733
|
include Google::Apis::Core::Hashable
|
1664
1734
|
|
1735
|
+
# Optional. Output only. Resource name of the Google Maps widget context token
|
1736
|
+
# to be used with the PlacesContextElement widget to render contextual data.
|
1737
|
+
# This is populated only for Google Maps grounding.
|
1738
|
+
# Corresponds to the JSON property `googleMapsWidgetContextToken`
|
1739
|
+
# @return [String]
|
1740
|
+
attr_accessor :google_maps_widget_context_token
|
1741
|
+
|
1665
1742
|
# List of supporting references retrieved from specified grounding source.
|
1666
1743
|
# Corresponds to the JSON property `groundingChunks`
|
1667
1744
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk>]
|
@@ -1698,6 +1775,7 @@ module Google
|
|
1698
1775
|
|
1699
1776
|
# Update properties of this object
|
1700
1777
|
def update!(**args)
|
1778
|
+
@google_maps_widget_context_token = args[:google_maps_widget_context_token] if args.key?(:google_maps_widget_context_token)
|
1701
1779
|
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
|
1702
1780
|
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
1703
1781
|
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
|
@@ -2654,11 +2732,16 @@ module Google
|
|
2654
2732
|
# subset of these functions by populating FunctionCall in the response. User
|
2655
2733
|
# should provide a FunctionResponse for each function call in the next turn.
|
2656
2734
|
# Based on the function responses, Model will generate the final response back
|
2657
|
-
# to the user. Maximum
|
2735
|
+
# to the user. Maximum 512 function declarations can be provided.
|
2658
2736
|
# Corresponds to the JSON property `functionDeclarations`
|
2659
2737
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
2660
2738
|
attr_accessor :function_declarations
|
2661
2739
|
|
2740
|
+
# Tool to retrieve public maps data for grounding, powered by Google.
|
2741
|
+
# Corresponds to the JSON property `googleMaps`
|
2742
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps]
|
2743
|
+
attr_accessor :google_maps
|
2744
|
+
|
2662
2745
|
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
2663
2746
|
# Google.
|
2664
2747
|
# Corresponds to the JSON property `googleSearch`
|
@@ -2690,6 +2773,7 @@ module Google
|
|
2690
2773
|
@computer_use = args[:computer_use] if args.key?(:computer_use)
|
2691
2774
|
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
|
2692
2775
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
2776
|
+
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
2693
2777
|
@google_search = args[:google_search] if args.key?(:google_search)
|
2694
2778
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
2695
2779
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
@@ -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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250715"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,6 +250,12 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class GoogleCloudAiplatformV1beta1GoogleMaps
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
253
259
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
261
|
|
@@ -262,6 +268,12 @@ module Google
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
263
269
|
end
|
264
270
|
|
271
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
265
277
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
279
|
|
@@ -937,6 +949,16 @@ module Google
|
|
937
949
|
end
|
938
950
|
end
|
939
951
|
|
952
|
+
class GoogleCloudAiplatformV1beta1GoogleMaps
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
|
956
|
+
|
957
|
+
property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
|
958
|
+
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
940
962
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
941
963
|
# @private
|
942
964
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -948,6 +970,8 @@ module Google
|
|
948
970
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
949
971
|
# @private
|
950
972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
973
|
+
property :maps, as: 'maps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps::Representation
|
974
|
+
|
951
975
|
property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
|
952
976
|
|
953
977
|
property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
|
@@ -955,6 +979,16 @@ module Google
|
|
955
979
|
end
|
956
980
|
end
|
957
981
|
|
982
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
983
|
+
# @private
|
984
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
985
|
+
property :place_id, as: 'placeId'
|
986
|
+
property :text, as: 'text'
|
987
|
+
property :title, as: 'title'
|
988
|
+
property :uri, as: 'uri'
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
958
992
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
959
993
|
# @private
|
960
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -978,6 +1012,7 @@ module Google
|
|
978
1012
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
979
1013
|
# @private
|
980
1014
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1015
|
+
property :google_maps_widget_context_token, as: 'googleMapsWidgetContextToken'
|
981
1016
|
collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
|
982
1017
|
|
983
1018
|
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
@@ -1260,6 +1295,8 @@ module Google
|
|
1260
1295
|
|
1261
1296
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
1262
1297
|
|
1298
|
+
property :google_maps, as: 'googleMaps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps::Representation
|
1299
|
+
|
1263
1300
|
property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
|
1264
1301
|
|
1265
1302
|
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
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.
|
4
|
+
version: 0.25.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.25.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:
|