google-apis-firebaseml_v2beta 0.38.0 → 0.39.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: 285b6a82675543dff4a4e11dfd9047e1c6cb1cf108f36b91143de36c650c2544
|
|
4
|
+
data.tar.gz: 480c4cf94ba8e64d63164b43b004cb72a15572bdcb43b7cc7a4a8f932d35dd82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c067db3beb3ef9a124783c1d1d774001b4fddbbd5da8726cffe7aed995061d3d6ebb95e263dfb4eb48ba67adb7de7a9dc52b5174d5e465995ddd39da283388c
|
|
7
|
+
data.tar.gz: 86a5eccce1f1a930d21fc4839981d121dd58114c00fcb67d8e2547ea4ff95fdd99657d945a3b6dc82859b0360955aa5641212935d952151e19b0ede1b4828dc6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.39.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260605
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.38.0 (2025-12-21)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20251214
|
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 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
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
|
|
|
@@ -516,9 +516,8 @@ module Google
|
|
|
516
516
|
end
|
|
517
517
|
end
|
|
518
518
|
|
|
519
|
-
# Result of executing the
|
|
520
|
-
#
|
|
521
|
-
# ExecutableCode].
|
|
519
|
+
# Result of executing the ExecutableCode. Generated only when the `CodeExecution`
|
|
520
|
+
# tool is used.
|
|
522
521
|
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
|
523
522
|
include Google::Apis::Core::Hashable
|
|
524
523
|
|
|
@@ -719,9 +718,9 @@ module Google
|
|
|
719
718
|
end
|
|
720
719
|
|
|
721
720
|
# Code generated by the model that is meant to be executed, and the result
|
|
722
|
-
# returned to the model. Generated when using the
|
|
723
|
-
# the code will be automatically executed, and a corresponding
|
|
724
|
-
# CodeExecutionResult
|
|
721
|
+
# returned to the model. Generated when using the `CodeExecution` tool, in which
|
|
722
|
+
# the code will be automatically executed, and a corresponding
|
|
723
|
+
# CodeExecutionResult will also be generated.
|
|
725
724
|
class GoogleCloudAiplatformV1beta1ExecutableCode
|
|
726
725
|
include Google::Apis::Core::Hashable
|
|
727
726
|
|
|
@@ -880,14 +879,14 @@ module Google
|
|
|
880
879
|
end
|
|
881
880
|
end
|
|
882
881
|
|
|
883
|
-
# A predicted
|
|
884
|
-
# representing the
|
|
882
|
+
# A predicted FunctionCall returned from the model that contains a string
|
|
883
|
+
# representing the FunctionDeclaration.name and a structured JSON object
|
|
885
884
|
# containing the parameters and their values.
|
|
886
885
|
class GoogleCloudAiplatformV1beta1FunctionCall
|
|
887
886
|
include Google::Apis::Core::Hashable
|
|
888
887
|
|
|
889
|
-
# Optional. The function parameters and values in JSON object format. See
|
|
890
|
-
# FunctionDeclaration.parameters
|
|
888
|
+
# Optional. The function parameters and values in JSON object format. See
|
|
889
|
+
# FunctionDeclaration.parameters for parameter details.
|
|
891
890
|
# Corresponds to the JSON property `args`
|
|
892
891
|
# @return [Hash<String,Object>]
|
|
893
892
|
attr_accessor :args
|
|
@@ -898,7 +897,7 @@ module Google
|
|
|
898
897
|
# @return [String]
|
|
899
898
|
attr_accessor :id
|
|
900
899
|
|
|
901
|
-
# Optional. The name of the function to call. Matches
|
|
900
|
+
# Optional. The name of the function to call. Matches FunctionDeclaration.name.
|
|
902
901
|
# Corresponds to the JSON property `name`
|
|
903
902
|
# @return [String]
|
|
904
903
|
attr_accessor :name
|
|
@@ -935,8 +934,8 @@ module Google
|
|
|
935
934
|
include Google::Apis::Core::Hashable
|
|
936
935
|
|
|
937
936
|
# Optional. Function names to call. Only set when the Mode is ANY. Function
|
|
938
|
-
# names should match
|
|
939
|
-
#
|
|
937
|
+
# names should match FunctionDeclaration.name. With mode set to ANY, model will
|
|
938
|
+
# predict a function call from the set of function names provided.
|
|
940
939
|
# Corresponds to the JSON property `allowedFunctionNames`
|
|
941
940
|
# @return [Array<String>]
|
|
942
941
|
attr_accessor :allowed_function_names
|
|
@@ -948,7 +947,7 @@ module Google
|
|
|
948
947
|
|
|
949
948
|
# Optional. When set to true, arguments of a single function call will be
|
|
950
949
|
# streamed out in multiple parts/contents/responses. Partial parameter results
|
|
951
|
-
# will be returned in the
|
|
950
|
+
# will be returned in the `FunctionCall.partial_args` field.
|
|
952
951
|
# Corresponds to the JSON property `streamFunctionCallArguments`
|
|
953
952
|
# @return [Boolean]
|
|
954
953
|
attr_accessor :stream_function_call_arguments
|
|
@@ -974,6 +973,13 @@ module Google
|
|
|
974
973
|
class GoogleCloudAiplatformV1beta1FunctionDeclaration
|
|
975
974
|
include Google::Apis::Core::Hashable
|
|
976
975
|
|
|
976
|
+
# Optional. Specifies the function Behavior. If not specified, the system keeps
|
|
977
|
+
# the current function call behavior. This field is currently only supported by
|
|
978
|
+
# the BidiGenerateContent method.
|
|
979
|
+
# Corresponds to the JSON property `behavior`
|
|
980
|
+
# @return [String]
|
|
981
|
+
attr_accessor :behavior
|
|
982
|
+
|
|
977
983
|
# Optional. Description and purpose of the function. Model uses it to decide how
|
|
978
984
|
# and whether to call the function.
|
|
979
985
|
# Corresponds to the JSON property `description`
|
|
@@ -982,7 +988,7 @@ module Google
|
|
|
982
988
|
|
|
983
989
|
# Required. The name of the function to call. Must start with a letter or an
|
|
984
990
|
# underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and
|
|
985
|
-
# dashes, with a maximum length of
|
|
991
|
+
# dashes, with a maximum length of 128.
|
|
986
992
|
# Corresponds to the JSON property `name`
|
|
987
993
|
# @return [String]
|
|
988
994
|
attr_accessor :name
|
|
@@ -1022,6 +1028,7 @@ module Google
|
|
|
1022
1028
|
|
|
1023
1029
|
# Update properties of this object
|
|
1024
1030
|
def update!(**args)
|
|
1031
|
+
@behavior = args[:behavior] if args.key?(:behavior)
|
|
1025
1032
|
@description = args[:description] if args.key?(:description)
|
|
1026
1033
|
@name = args[:name] if args.key?(:name)
|
|
1027
1034
|
@parameters = args[:parameters] if args.key?(:parameters)
|
|
@@ -1031,10 +1038,10 @@ module Google
|
|
|
1031
1038
|
end
|
|
1032
1039
|
end
|
|
1033
1040
|
|
|
1034
|
-
# The result output from a
|
|
1035
|
-
#
|
|
1036
|
-
#
|
|
1037
|
-
#
|
|
1041
|
+
# The result output from a FunctionCall that contains a string representing the
|
|
1042
|
+
# FunctionDeclaration.name and a structured JSON object containing any output
|
|
1043
|
+
# from the function is used as context to the model. This should contain the
|
|
1044
|
+
# result of a `FunctionCall` made based on model prediction.
|
|
1038
1045
|
class GoogleCloudAiplatformV1beta1FunctionResponse
|
|
1039
1046
|
include Google::Apis::Core::Hashable
|
|
1040
1047
|
|
|
@@ -1044,8 +1051,8 @@ module Google
|
|
|
1044
1051
|
# @return [String]
|
|
1045
1052
|
attr_accessor :id
|
|
1046
1053
|
|
|
1047
|
-
# Required. The name of the function to call. Matches
|
|
1048
|
-
# and
|
|
1054
|
+
# Required. The name of the function to call. Matches FunctionDeclaration.name
|
|
1055
|
+
# and FunctionCall.name.
|
|
1049
1056
|
# Corresponds to the JSON property `name`
|
|
1050
1057
|
# @return [String]
|
|
1051
1058
|
attr_accessor :name
|
|
@@ -1064,6 +1071,13 @@ module Google
|
|
|
1064
1071
|
# @return [Hash<String,Object>]
|
|
1065
1072
|
attr_accessor :response
|
|
1066
1073
|
|
|
1074
|
+
# Optional. Specifies how the response should be scheduled in the conversation.
|
|
1075
|
+
# Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults
|
|
1076
|
+
# to WHEN_IDLE.
|
|
1077
|
+
# Corresponds to the JSON property `scheduling`
|
|
1078
|
+
# @return [String]
|
|
1079
|
+
attr_accessor :scheduling
|
|
1080
|
+
|
|
1067
1081
|
def initialize(**args)
|
|
1068
1082
|
update!(**args)
|
|
1069
1083
|
end
|
|
@@ -1074,6 +1088,7 @@ module Google
|
|
|
1074
1088
|
@name = args[:name] if args.key?(:name)
|
|
1075
1089
|
@parts = args[:parts] if args.key?(:parts)
|
|
1076
1090
|
@response = args[:response] if args.key?(:response)
|
|
1091
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
1077
1092
|
end
|
|
1078
1093
|
end
|
|
1079
1094
|
|
|
@@ -1547,8 +1562,7 @@ module Google
|
|
|
1547
1562
|
# Optional. The IANA standard MIME type of the response. The model will generate
|
|
1548
1563
|
# output that conforms to this MIME type. Supported values include 'text/plain' (
|
|
1549
1564
|
# default) and 'application/json'. The model needs to be prompted to output the
|
|
1550
|
-
# appropriate response type, otherwise the behavior is undefined.
|
|
1551
|
-
# preview feature.
|
|
1565
|
+
# appropriate response type, otherwise the behavior is undefined.
|
|
1552
1566
|
# Corresponds to the JSON property `responseMimeType`
|
|
1553
1567
|
# @return [String]
|
|
1554
1568
|
attr_accessor :response_mime_type
|
|
@@ -1799,7 +1813,10 @@ module Google
|
|
|
1799
1813
|
class GoogleCloudAiplatformV1beta1GoogleMaps
|
|
1800
1814
|
include Google::Apis::Core::Hashable
|
|
1801
1815
|
|
|
1802
|
-
# Optional.
|
|
1816
|
+
# Optional. Deprecated: The Google Maps contextual widget behavior in Grounding
|
|
1817
|
+
# with Google Maps is being deprecated; this field is planned for removal and no
|
|
1818
|
+
# longer has any effect once removed. If true, include the widget context token
|
|
1819
|
+
# in the response.
|
|
1803
1820
|
# Corresponds to the JSON property `enableWidget`
|
|
1804
1821
|
# @return [Boolean]
|
|
1805
1822
|
attr_accessor :enable_widget
|
|
@@ -1841,9 +1858,16 @@ module Google
|
|
|
1841
1858
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
|
1842
1859
|
include Google::Apis::Core::Hashable
|
|
1843
1860
|
|
|
1844
|
-
#
|
|
1845
|
-
#
|
|
1846
|
-
# used to provide the user with
|
|
1861
|
+
# An `Image` chunk is a piece of evidence that comes from an image search result.
|
|
1862
|
+
# It contains the URI of the image search result and the URI of the image. This
|
|
1863
|
+
# is used to provide the user with a link to the source of the information.
|
|
1864
|
+
# Corresponds to the JSON property `image`
|
|
1865
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkImage]
|
|
1866
|
+
attr_accessor :image
|
|
1867
|
+
|
|
1868
|
+
# A `Maps` chunk is a piece of evidence that comes from Google Maps, containing
|
|
1869
|
+
# information about places or routes. This is used to provide the user with rich,
|
|
1870
|
+
# location-based information.
|
|
1847
1871
|
# Corresponds to the JSON property `maps`
|
|
1848
1872
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps]
|
|
1849
1873
|
attr_accessor :maps
|
|
@@ -1868,15 +1892,55 @@ module Google
|
|
|
1868
1892
|
|
|
1869
1893
|
# Update properties of this object
|
|
1870
1894
|
def update!(**args)
|
|
1895
|
+
@image = args[:image] if args.key?(:image)
|
|
1871
1896
|
@maps = args[:maps] if args.key?(:maps)
|
|
1872
1897
|
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
|
|
1873
1898
|
@web = args[:web] if args.key?(:web)
|
|
1874
1899
|
end
|
|
1875
1900
|
end
|
|
1876
1901
|
|
|
1877
|
-
#
|
|
1878
|
-
#
|
|
1879
|
-
# used to provide the user with
|
|
1902
|
+
# An `Image` chunk is a piece of evidence that comes from an image search result.
|
|
1903
|
+
# It contains the URI of the image search result and the URI of the image. This
|
|
1904
|
+
# is used to provide the user with a link to the source of the information.
|
|
1905
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkImage
|
|
1906
|
+
include Google::Apis::Core::Hashable
|
|
1907
|
+
|
|
1908
|
+
# The domain of the image search result page.
|
|
1909
|
+
# Corresponds to the JSON property `domain`
|
|
1910
|
+
# @return [String]
|
|
1911
|
+
attr_accessor :domain
|
|
1912
|
+
|
|
1913
|
+
# The URI of the image.
|
|
1914
|
+
# Corresponds to the JSON property `imageUri`
|
|
1915
|
+
# @return [String]
|
|
1916
|
+
attr_accessor :image_uri
|
|
1917
|
+
|
|
1918
|
+
# The URI of the image search result page.
|
|
1919
|
+
# Corresponds to the JSON property `sourceUri`
|
|
1920
|
+
# @return [String]
|
|
1921
|
+
attr_accessor :source_uri
|
|
1922
|
+
|
|
1923
|
+
# The title of the image search result page.
|
|
1924
|
+
# Corresponds to the JSON property `title`
|
|
1925
|
+
# @return [String]
|
|
1926
|
+
attr_accessor :title
|
|
1927
|
+
|
|
1928
|
+
def initialize(**args)
|
|
1929
|
+
update!(**args)
|
|
1930
|
+
end
|
|
1931
|
+
|
|
1932
|
+
# Update properties of this object
|
|
1933
|
+
def update!(**args)
|
|
1934
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
1935
|
+
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
|
1936
|
+
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
|
1937
|
+
@title = args[:title] if args.key?(:title)
|
|
1938
|
+
end
|
|
1939
|
+
end
|
|
1940
|
+
|
|
1941
|
+
# A `Maps` chunk is a piece of evidence that comes from Google Maps, containing
|
|
1942
|
+
# information about places or routes. This is used to provide the user with rich,
|
|
1943
|
+
# location-based information.
|
|
1880
1944
|
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
|
1881
1945
|
include Google::Apis::Core::Hashable
|
|
1882
1946
|
|
|
@@ -1893,6 +1957,11 @@ module Google
|
|
|
1893
1957
|
# @return [String]
|
|
1894
1958
|
attr_accessor :place_id
|
|
1895
1959
|
|
|
1960
|
+
# Route information from Google Maps.
|
|
1961
|
+
# Corresponds to the JSON property `route`
|
|
1962
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute]
|
|
1963
|
+
attr_accessor :route
|
|
1964
|
+
|
|
1896
1965
|
# The text of the place answer.
|
|
1897
1966
|
# Corresponds to the JSON property `text`
|
|
1898
1967
|
# @return [String]
|
|
@@ -1916,6 +1985,7 @@ module Google
|
|
|
1916
1985
|
def update!(**args)
|
|
1917
1986
|
@place_answer_sources = args[:place_answer_sources] if args.key?(:place_answer_sources)
|
|
1918
1987
|
@place_id = args[:place_id] if args.key?(:place_id)
|
|
1988
|
+
@route = args[:route] if args.key?(:route)
|
|
1919
1989
|
@text = args[:text] if args.key?(:text)
|
|
1920
1990
|
@title = args[:title] if args.key?(:title)
|
|
1921
1991
|
@uri = args[:uri] if args.key?(:uri)
|
|
@@ -1974,6 +2044,38 @@ module Google
|
|
|
1974
2044
|
end
|
|
1975
2045
|
end
|
|
1976
2046
|
|
|
2047
|
+
# Route information from Google Maps.
|
|
2048
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute
|
|
2049
|
+
include Google::Apis::Core::Hashable
|
|
2050
|
+
|
|
2051
|
+
# The total distance of the route, in meters.
|
|
2052
|
+
# Corresponds to the JSON property `distanceMeters`
|
|
2053
|
+
# @return [Fixnum]
|
|
2054
|
+
attr_accessor :distance_meters
|
|
2055
|
+
|
|
2056
|
+
# The total duration of the route.
|
|
2057
|
+
# Corresponds to the JSON property `duration`
|
|
2058
|
+
# @return [String]
|
|
2059
|
+
attr_accessor :duration
|
|
2060
|
+
|
|
2061
|
+
# An encoded polyline of the route. See https://developers.google.com/maps/
|
|
2062
|
+
# documentation/utilities/polylinealgorithm
|
|
2063
|
+
# Corresponds to the JSON property `encodedPolyline`
|
|
2064
|
+
# @return [String]
|
|
2065
|
+
attr_accessor :encoded_polyline
|
|
2066
|
+
|
|
2067
|
+
def initialize(**args)
|
|
2068
|
+
update!(**args)
|
|
2069
|
+
end
|
|
2070
|
+
|
|
2071
|
+
# Update properties of this object
|
|
2072
|
+
def update!(**args)
|
|
2073
|
+
@distance_meters = args[:distance_meters] if args.key?(:distance_meters)
|
|
2074
|
+
@duration = args[:duration] if args.key?(:duration)
|
|
2075
|
+
@encoded_polyline = args[:encoded_polyline] if args.key?(:encoded_polyline)
|
|
2076
|
+
end
|
|
2077
|
+
end
|
|
2078
|
+
|
|
1977
2079
|
# Context retrieved from a data source to ground the model's response. This is
|
|
1978
2080
|
# used when a retrieval tool fetches information from a user-provided corpus or
|
|
1979
2081
|
# a public dataset.
|
|
@@ -2063,9 +2165,11 @@ module Google
|
|
|
2063
2165
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
|
2064
2166
|
include Google::Apis::Core::Hashable
|
|
2065
2167
|
|
|
2066
|
-
# Optional. Output only.
|
|
2067
|
-
# with
|
|
2068
|
-
#
|
|
2168
|
+
# Optional. Output only. Deprecated: The Google Maps contextual widget behavior
|
|
2169
|
+
# in Grounding with Google Maps is being deprecated; this field is planned for
|
|
2170
|
+
# removal and will no longer be populated once removed. A token that can be used
|
|
2171
|
+
# to render a Google Maps widget with the contextual data. This field is
|
|
2172
|
+
# populated only when the grounding source is Google Maps.
|
|
2069
2173
|
# Corresponds to the JSON property `googleMapsWidgetContextToken`
|
|
2070
2174
|
# @return [String]
|
|
2071
2175
|
attr_accessor :google_maps_widget_context_token
|
|
@@ -2084,6 +2188,13 @@ module Google
|
|
|
2084
2188
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport>]
|
|
2085
2189
|
attr_accessor :grounding_supports
|
|
2086
2190
|
|
|
2191
|
+
# Optional. The image search queries that were used to generate the content.
|
|
2192
|
+
# This field is populated only when the grounding source is Google Search with
|
|
2193
|
+
# the Image Search search_type enabled.
|
|
2194
|
+
# Corresponds to the JSON property `imageSearchQueries`
|
|
2195
|
+
# @return [Array<String>]
|
|
2196
|
+
attr_accessor :image_search_queries
|
|
2197
|
+
|
|
2087
2198
|
# Metadata related to the retrieval grounding source. This is part of the `
|
|
2088
2199
|
# GroundingMetadata` returned when grounding is enabled.
|
|
2089
2200
|
# Corresponds to the JSON property `retrievalMetadata`
|
|
@@ -2127,6 +2238,7 @@ module Google
|
|
|
2127
2238
|
@google_maps_widget_context_token = args[:google_maps_widget_context_token] if args.key?(:google_maps_widget_context_token)
|
|
2128
2239
|
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
|
|
2129
2240
|
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
|
2241
|
+
@image_search_queries = args[:image_search_queries] if args.key?(:image_search_queries)
|
|
2130
2242
|
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
|
|
2131
2243
|
@retrieval_queries = args[:retrieval_queries] if args.key?(:retrieval_queries)
|
|
2132
2244
|
@search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
|
|
@@ -2161,7 +2273,8 @@ module Google
|
|
|
2161
2273
|
end
|
|
2162
2274
|
end
|
|
2163
2275
|
|
|
2164
|
-
# A collection of supporting references for a segment of the model's
|
|
2276
|
+
# A collection of supporting references for a segment or part of the model's
|
|
2277
|
+
# response.
|
|
2165
2278
|
class GoogleCloudAiplatformV1beta1GroundingSupport
|
|
2166
2279
|
include Google::Apis::Core::Hashable
|
|
2167
2280
|
|
|
@@ -2184,6 +2297,13 @@ module Google
|
|
|
2184
2297
|
# @return [Array<Fixnum>]
|
|
2185
2298
|
attr_accessor :grounding_chunk_indices
|
|
2186
2299
|
|
|
2300
|
+
# Indices into the `rendered_parts` field of the `GroundingMetadata` message.
|
|
2301
|
+
# These indices specify which rendered parts are associated with this support
|
|
2302
|
+
# message.
|
|
2303
|
+
# Corresponds to the JSON property `renderedParts`
|
|
2304
|
+
# @return [Array<Fixnum>]
|
|
2305
|
+
attr_accessor :rendered_parts
|
|
2306
|
+
|
|
2187
2307
|
# A segment of the content.
|
|
2188
2308
|
# Corresponds to the JSON property `segment`
|
|
2189
2309
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment]
|
|
@@ -2197,6 +2317,7 @@ module Google
|
|
|
2197
2317
|
def update!(**args)
|
|
2198
2318
|
@confidence_scores = args[:confidence_scores] if args.key?(:confidence_scores)
|
|
2199
2319
|
@grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
|
|
2320
|
+
@rendered_parts = args[:rendered_parts] if args.key?(:rendered_parts)
|
|
2200
2321
|
@segment = args[:segment] if args.key?(:segment)
|
|
2201
2322
|
end
|
|
2202
2323
|
end
|
|
@@ -2230,6 +2351,15 @@ module Google
|
|
|
2230
2351
|
# @return [String]
|
|
2231
2352
|
attr_accessor :person_generation
|
|
2232
2353
|
|
|
2354
|
+
# Optional. Controls whether prominent people (celebrities) generation is
|
|
2355
|
+
# allowed. If used with personGeneration, personGeneration enum would take
|
|
2356
|
+
# precedence. For instance, if ALLOW_NONE is set, all person generation would be
|
|
2357
|
+
# blocked. If this field is unspecified, the default behavior is to allow
|
|
2358
|
+
# prominent people.
|
|
2359
|
+
# Corresponds to the JSON property `prominentPeople`
|
|
2360
|
+
# @return [String]
|
|
2361
|
+
attr_accessor :prominent_people
|
|
2362
|
+
|
|
2233
2363
|
def initialize(**args)
|
|
2234
2364
|
update!(**args)
|
|
2235
2365
|
end
|
|
@@ -2240,6 +2370,7 @@ module Google
|
|
|
2240
2370
|
@image_output_options = args[:image_output_options] if args.key?(:image_output_options)
|
|
2241
2371
|
@image_size = args[:image_size] if args.key?(:image_size)
|
|
2242
2372
|
@person_generation = args[:person_generation] if args.key?(:person_generation)
|
|
2373
|
+
@prominent_people = args[:prominent_people] if args.key?(:prominent_people)
|
|
2243
2374
|
end
|
|
2244
2375
|
end
|
|
2245
2376
|
|
|
@@ -2454,17 +2585,16 @@ module Google
|
|
|
2454
2585
|
class GoogleCloudAiplatformV1beta1Part
|
|
2455
2586
|
include Google::Apis::Core::Hashable
|
|
2456
2587
|
|
|
2457
|
-
# Result of executing the
|
|
2458
|
-
#
|
|
2459
|
-
# ExecutableCode].
|
|
2588
|
+
# Result of executing the ExecutableCode. Generated only when the `CodeExecution`
|
|
2589
|
+
# tool is used.
|
|
2460
2590
|
# Corresponds to the JSON property `codeExecutionResult`
|
|
2461
2591
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult]
|
|
2462
2592
|
attr_accessor :code_execution_result
|
|
2463
2593
|
|
|
2464
2594
|
# Code generated by the model that is meant to be executed, and the result
|
|
2465
|
-
# returned to the model. Generated when using the
|
|
2466
|
-
# the code will be automatically executed, and a corresponding
|
|
2467
|
-
# CodeExecutionResult
|
|
2595
|
+
# returned to the model. Generated when using the `CodeExecution` tool, in which
|
|
2596
|
+
# the code will be automatically executed, and a corresponding
|
|
2597
|
+
# CodeExecutionResult will also be generated.
|
|
2468
2598
|
# Corresponds to the JSON property `executableCode`
|
|
2469
2599
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode]
|
|
2470
2600
|
attr_accessor :executable_code
|
|
@@ -2476,17 +2606,17 @@ module Google
|
|
|
2476
2606
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData]
|
|
2477
2607
|
attr_accessor :file_data
|
|
2478
2608
|
|
|
2479
|
-
# A predicted
|
|
2480
|
-
# representing the
|
|
2609
|
+
# A predicted FunctionCall returned from the model that contains a string
|
|
2610
|
+
# representing the FunctionDeclaration.name and a structured JSON object
|
|
2481
2611
|
# containing the parameters and their values.
|
|
2482
2612
|
# Corresponds to the JSON property `functionCall`
|
|
2483
2613
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall]
|
|
2484
2614
|
attr_accessor :function_call
|
|
2485
2615
|
|
|
2486
|
-
# The result output from a
|
|
2487
|
-
#
|
|
2488
|
-
#
|
|
2489
|
-
#
|
|
2616
|
+
# The result output from a FunctionCall that contains a string representing the
|
|
2617
|
+
# FunctionDeclaration.name and a structured JSON object containing any output
|
|
2618
|
+
# from the function is used as context to the model. This should contain the
|
|
2619
|
+
# result of a `FunctionCall` made based on model prediction.
|
|
2490
2620
|
# Corresponds to the JSON property `functionResponse`
|
|
2491
2621
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse]
|
|
2492
2622
|
attr_accessor :function_response
|
|
@@ -2502,7 +2632,10 @@ module Google
|
|
|
2502
2632
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution]
|
|
2503
2633
|
attr_accessor :media_resolution
|
|
2504
2634
|
|
|
2505
|
-
# Optional. The text content of the part.
|
|
2635
|
+
# Optional. The text content of the part. When sent from the VSCode Gemini Code
|
|
2636
|
+
# Assist extension, references to @mentioned items will be converted to markdown
|
|
2637
|
+
# boldface text. For example `@my-repo` will be converted to and sent as `**my-
|
|
2638
|
+
# repo**` by the IDE agent.
|
|
2506
2639
|
# Corresponds to the JSON property `text`
|
|
2507
2640
|
# @return [String]
|
|
2508
2641
|
attr_accessor :text
|
|
@@ -2643,6 +2776,16 @@ module Google
|
|
|
2643
2776
|
class GoogleCloudAiplatformV1beta1RagChunk
|
|
2644
2777
|
include Google::Apis::Core::Hashable
|
|
2645
2778
|
|
|
2779
|
+
# The ID of the chunk.
|
|
2780
|
+
# Corresponds to the JSON property `chunkId`
|
|
2781
|
+
# @return [String]
|
|
2782
|
+
attr_accessor :chunk_id
|
|
2783
|
+
|
|
2784
|
+
# The ID of the file that the chunk belongs to.
|
|
2785
|
+
# Corresponds to the JSON property `fileId`
|
|
2786
|
+
# @return [String]
|
|
2787
|
+
attr_accessor :file_id
|
|
2788
|
+
|
|
2646
2789
|
# Represents where the chunk starts and ends in the document.
|
|
2647
2790
|
# Corresponds to the JSON property `pageSpan`
|
|
2648
2791
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunkPageSpan]
|
|
@@ -2659,6 +2802,8 @@ module Google
|
|
|
2659
2802
|
|
|
2660
2803
|
# Update properties of this object
|
|
2661
2804
|
def update!(**args)
|
|
2805
|
+
@chunk_id = args[:chunk_id] if args.key?(:chunk_id)
|
|
2806
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
|
2662
2807
|
@page_span = args[:page_span] if args.key?(:page_span)
|
|
2663
2808
|
@text = args[:text] if args.key?(:text)
|
|
2664
2809
|
end
|
|
@@ -3092,7 +3237,10 @@ module Google
|
|
|
3092
3237
|
# @return [Hash<String,Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema>]
|
|
3093
3238
|
attr_accessor :defs
|
|
3094
3239
|
|
|
3095
|
-
# Optional.
|
|
3240
|
+
# Optional. Describes the data. The model uses this field to understand the
|
|
3241
|
+
# purpose of the schema and how to use it. It is a best practice to provide a
|
|
3242
|
+
# clear and descriptive explanation for the schema and its properties here,
|
|
3243
|
+
# rather than in the prompt.
|
|
3096
3244
|
# Corresponds to the JSON property `description`
|
|
3097
3245
|
# @return [String]
|
|
3098
3246
|
attr_accessor :description
|
|
@@ -3401,7 +3549,7 @@ module Google
|
|
|
3401
3549
|
include Google::Apis::Core::Hashable
|
|
3402
3550
|
|
|
3403
3551
|
# Tool that executes code generated by the model, and automatically returns the
|
|
3404
|
-
# result to the model. See also
|
|
3552
|
+
# result to the model. See also ExecutableCode and CodeExecutionResult, which
|
|
3405
3553
|
# are input and output to this tool.
|
|
3406
3554
|
# Corresponds to the JSON property `codeExecution`
|
|
3407
3555
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
|
@@ -3418,6 +3566,11 @@ module Google
|
|
|
3418
3566
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch]
|
|
3419
3567
|
attr_accessor :enterprise_web_search
|
|
3420
3568
|
|
|
3569
|
+
# ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.
|
|
3570
|
+
# Corresponds to the JSON property `exaAiSearch`
|
|
3571
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolExaAiSearch]
|
|
3572
|
+
attr_accessor :exa_ai_search
|
|
3573
|
+
|
|
3421
3574
|
# Optional. Function tool type. One or more function declarations to be passed
|
|
3422
3575
|
# to the model along with the current user query. Model may decide to call a
|
|
3423
3576
|
# subset of these functions by populating FunctionCall in the response. User
|
|
@@ -3469,6 +3622,7 @@ module Google
|
|
|
3469
3622
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
|
3470
3623
|
@computer_use = args[:computer_use] if args.key?(:computer_use)
|
|
3471
3624
|
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
|
|
3625
|
+
@exa_ai_search = args[:exa_ai_search] if args.key?(:exa_ai_search)
|
|
3472
3626
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
|
3473
3627
|
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
|
3474
3628
|
@google_search = args[:google_search] if args.key?(:google_search)
|
|
@@ -3480,7 +3634,7 @@ module Google
|
|
|
3480
3634
|
end
|
|
3481
3635
|
|
|
3482
3636
|
# Tool that executes code generated by the model, and automatically returns the
|
|
3483
|
-
# result to the model. See also
|
|
3637
|
+
# result to the model. See also ExecutableCode and CodeExecutionResult, which
|
|
3484
3638
|
# are input and output to this tool.
|
|
3485
3639
|
class GoogleCloudAiplatformV1beta1ToolCodeExecution
|
|
3486
3640
|
include Google::Apis::Core::Hashable
|
|
@@ -3549,6 +3703,32 @@ module Google
|
|
|
3549
3703
|
end
|
|
3550
3704
|
end
|
|
3551
3705
|
|
|
3706
|
+
# ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.
|
|
3707
|
+
class GoogleCloudAiplatformV1beta1ToolExaAiSearch
|
|
3708
|
+
include Google::Apis::Core::Hashable
|
|
3709
|
+
|
|
3710
|
+
# Required. The API key for ExaAiSearch.
|
|
3711
|
+
# Corresponds to the JSON property `apiKey`
|
|
3712
|
+
# @return [String]
|
|
3713
|
+
attr_accessor :api_key
|
|
3714
|
+
|
|
3715
|
+
# Optional. This field can be used to pass any parameter from the Exa.ai Search
|
|
3716
|
+
# API.
|
|
3717
|
+
# Corresponds to the JSON property `customConfigs`
|
|
3718
|
+
# @return [Hash<String,Object>]
|
|
3719
|
+
attr_accessor :custom_configs
|
|
3720
|
+
|
|
3721
|
+
def initialize(**args)
|
|
3722
|
+
update!(**args)
|
|
3723
|
+
end
|
|
3724
|
+
|
|
3725
|
+
# Update properties of this object
|
|
3726
|
+
def update!(**args)
|
|
3727
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
|
3728
|
+
@custom_configs = args[:custom_configs] if args.key?(:custom_configs)
|
|
3729
|
+
end
|
|
3730
|
+
end
|
|
3731
|
+
|
|
3552
3732
|
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
|
3553
3733
|
# Google.
|
|
3554
3734
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
|
@@ -3566,6 +3746,11 @@ module Google
|
|
|
3566
3746
|
# @return [Array<String>]
|
|
3567
3747
|
attr_accessor :exclude_domains
|
|
3568
3748
|
|
|
3749
|
+
# Different types of search that can be enabled on the GoogleSearch tool.
|
|
3750
|
+
# Corresponds to the JSON property `searchTypes`
|
|
3751
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes]
|
|
3752
|
+
attr_accessor :search_types
|
|
3753
|
+
|
|
3569
3754
|
def initialize(**args)
|
|
3570
3755
|
update!(**args)
|
|
3571
3756
|
end
|
|
@@ -3574,6 +3759,60 @@ module Google
|
|
|
3574
3759
|
def update!(**args)
|
|
3575
3760
|
@blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
|
|
3576
3761
|
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
|
3762
|
+
@search_types = args[:search_types] if args.key?(:search_types)
|
|
3763
|
+
end
|
|
3764
|
+
end
|
|
3765
|
+
|
|
3766
|
+
# Image search for grounding and related configurations.
|
|
3767
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch
|
|
3768
|
+
include Google::Apis::Core::Hashable
|
|
3769
|
+
|
|
3770
|
+
def initialize(**args)
|
|
3771
|
+
update!(**args)
|
|
3772
|
+
end
|
|
3773
|
+
|
|
3774
|
+
# Update properties of this object
|
|
3775
|
+
def update!(**args)
|
|
3776
|
+
end
|
|
3777
|
+
end
|
|
3778
|
+
|
|
3779
|
+
# Different types of search that can be enabled on the GoogleSearch tool.
|
|
3780
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes
|
|
3781
|
+
include Google::Apis::Core::Hashable
|
|
3782
|
+
|
|
3783
|
+
# Image search for grounding and related configurations.
|
|
3784
|
+
# Corresponds to the JSON property `imageSearch`
|
|
3785
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch]
|
|
3786
|
+
attr_accessor :image_search
|
|
3787
|
+
|
|
3788
|
+
# Standard web search for grounding and related configurations. Only text
|
|
3789
|
+
# results are returned.
|
|
3790
|
+
# Corresponds to the JSON property `webSearch`
|
|
3791
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch]
|
|
3792
|
+
attr_accessor :web_search
|
|
3793
|
+
|
|
3794
|
+
def initialize(**args)
|
|
3795
|
+
update!(**args)
|
|
3796
|
+
end
|
|
3797
|
+
|
|
3798
|
+
# Update properties of this object
|
|
3799
|
+
def update!(**args)
|
|
3800
|
+
@image_search = args[:image_search] if args.key?(:image_search)
|
|
3801
|
+
@web_search = args[:web_search] if args.key?(:web_search)
|
|
3802
|
+
end
|
|
3803
|
+
end
|
|
3804
|
+
|
|
3805
|
+
# Standard web search for grounding and related configurations. Only text
|
|
3806
|
+
# results are returned.
|
|
3807
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch
|
|
3808
|
+
include Google::Apis::Core::Hashable
|
|
3809
|
+
|
|
3810
|
+
def initialize(**args)
|
|
3811
|
+
update!(**args)
|
|
3812
|
+
end
|
|
3813
|
+
|
|
3814
|
+
# Update properties of this object
|
|
3815
|
+
def update!(**args)
|
|
3577
3816
|
end
|
|
3578
3817
|
end
|
|
3579
3818
|
|
|
@@ -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.39.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260605"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -286,6 +286,12 @@ module Google
|
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
|
287
287
|
end
|
|
288
288
|
|
|
289
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkImage
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
289
295
|
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
297
|
|
|
@@ -304,6 +310,12 @@ module Google
|
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
311
|
end
|
|
306
312
|
|
|
313
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
307
319
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
|
308
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
321
|
|
|
@@ -544,12 +556,36 @@ module Google
|
|
|
544
556
|
include Google::Apis::Core::JsonObjectSupport
|
|
545
557
|
end
|
|
546
558
|
|
|
559
|
+
class GoogleCloudAiplatformV1beta1ToolExaAiSearch
|
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
561
|
+
|
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
563
|
+
end
|
|
564
|
+
|
|
547
565
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
|
548
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
549
567
|
|
|
550
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
551
569
|
end
|
|
552
570
|
|
|
571
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
573
|
+
|
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
|
+
|
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch
|
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
|
+
|
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
587
|
+
end
|
|
588
|
+
|
|
553
589
|
class GoogleCloudAiplatformV1beta1ToolParallelAiSearch
|
|
554
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
591
|
|
|
@@ -887,6 +923,7 @@ module Google
|
|
|
887
923
|
class GoogleCloudAiplatformV1beta1FunctionDeclaration
|
|
888
924
|
# @private
|
|
889
925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
926
|
+
property :behavior, as: 'behavior'
|
|
890
927
|
property :description, as: 'description'
|
|
891
928
|
property :name, as: 'name'
|
|
892
929
|
property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
|
@@ -906,6 +943,7 @@ module Google
|
|
|
906
943
|
collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponsePart, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponsePart::Representation
|
|
907
944
|
|
|
908
945
|
hash :response, as: 'response'
|
|
946
|
+
property :scheduling, as: 'scheduling'
|
|
909
947
|
end
|
|
910
948
|
end
|
|
911
949
|
|
|
@@ -1098,6 +1136,8 @@ module Google
|
|
|
1098
1136
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
|
1099
1137
|
# @private
|
|
1100
1138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1139
|
+
property :image, as: 'image', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkImage, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkImage::Representation
|
|
1140
|
+
|
|
1101
1141
|
property :maps, as: 'maps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps::Representation
|
|
1102
1142
|
|
|
1103
1143
|
property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
|
|
@@ -1107,12 +1147,24 @@ module Google
|
|
|
1107
1147
|
end
|
|
1108
1148
|
end
|
|
1109
1149
|
|
|
1150
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkImage
|
|
1151
|
+
# @private
|
|
1152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1153
|
+
property :domain, as: 'domain'
|
|
1154
|
+
property :image_uri, as: 'imageUri'
|
|
1155
|
+
property :source_uri, as: 'sourceUri'
|
|
1156
|
+
property :title, as: 'title'
|
|
1157
|
+
end
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1110
1160
|
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
|
1111
1161
|
# @private
|
|
1112
1162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1113
1163
|
property :place_answer_sources, as: 'placeAnswerSources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources::Representation
|
|
1114
1164
|
|
|
1115
1165
|
property :place_id, as: 'placeId'
|
|
1166
|
+
property :route, as: 'route', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute::Representation
|
|
1167
|
+
|
|
1116
1168
|
property :text, as: 'text'
|
|
1117
1169
|
property :title, as: 'title'
|
|
1118
1170
|
property :uri, as: 'uri'
|
|
@@ -1136,6 +1188,15 @@ module Google
|
|
|
1136
1188
|
end
|
|
1137
1189
|
end
|
|
1138
1190
|
|
|
1191
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsRoute
|
|
1192
|
+
# @private
|
|
1193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1194
|
+
property :distance_meters, as: 'distanceMeters'
|
|
1195
|
+
property :duration, as: 'duration'
|
|
1196
|
+
property :encoded_polyline, as: 'encodedPolyline'
|
|
1197
|
+
end
|
|
1198
|
+
end
|
|
1199
|
+
|
|
1139
1200
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
|
1140
1201
|
# @private
|
|
1141
1202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1165,6 +1226,7 @@ module Google
|
|
|
1165
1226
|
|
|
1166
1227
|
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
|
|
1167
1228
|
|
|
1229
|
+
collection :image_search_queries, as: 'imageSearchQueries'
|
|
1168
1230
|
property :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata::Representation
|
|
1169
1231
|
|
|
1170
1232
|
collection :retrieval_queries, as: 'retrievalQueries'
|
|
@@ -1189,6 +1251,7 @@ module Google
|
|
|
1189
1251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1190
1252
|
collection :confidence_scores, as: 'confidenceScores'
|
|
1191
1253
|
collection :grounding_chunk_indices, as: 'groundingChunkIndices'
|
|
1254
|
+
collection :rendered_parts, as: 'renderedParts'
|
|
1192
1255
|
property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
|
|
1193
1256
|
|
|
1194
1257
|
end
|
|
@@ -1202,6 +1265,7 @@ module Google
|
|
|
1202
1265
|
|
|
1203
1266
|
property :image_size, as: 'imageSize'
|
|
1204
1267
|
property :person_generation, as: 'personGeneration'
|
|
1268
|
+
property :prominent_people, as: 'prominentPeople'
|
|
1205
1269
|
end
|
|
1206
1270
|
end
|
|
1207
1271
|
|
|
@@ -1318,6 +1382,8 @@ module Google
|
|
|
1318
1382
|
class GoogleCloudAiplatformV1beta1RagChunk
|
|
1319
1383
|
# @private
|
|
1320
1384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1385
|
+
property :chunk_id, as: 'chunkId'
|
|
1386
|
+
property :file_id, as: 'fileId'
|
|
1321
1387
|
property :page_span, as: 'pageSpan', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunkPageSpan, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunkPageSpan::Representation
|
|
1322
1388
|
|
|
1323
1389
|
property :text, as: 'text'
|
|
@@ -1526,6 +1592,8 @@ module Google
|
|
|
1526
1592
|
|
|
1527
1593
|
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
|
|
1528
1594
|
|
|
1595
|
+
property :exa_ai_search, as: 'exaAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolExaAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolExaAiSearch::Representation
|
|
1596
|
+
|
|
1529
1597
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
|
1530
1598
|
|
|
1531
1599
|
property :google_maps, as: 'googleMaps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps::Representation
|
|
@@ -1567,11 +1635,43 @@ module Google
|
|
|
1567
1635
|
end
|
|
1568
1636
|
end
|
|
1569
1637
|
|
|
1638
|
+
class GoogleCloudAiplatformV1beta1ToolExaAiSearch
|
|
1639
|
+
# @private
|
|
1640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1641
|
+
property :api_key, as: 'apiKey'
|
|
1642
|
+
hash :custom_configs, as: 'customConfigs'
|
|
1643
|
+
end
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1570
1646
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
|
1571
1647
|
# @private
|
|
1572
1648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1573
1649
|
property :blocking_confidence, as: 'blockingConfidence'
|
|
1574
1650
|
collection :exclude_domains, as: 'excludeDomains'
|
|
1651
|
+
property :search_types, as: 'searchTypes', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes::Representation
|
|
1652
|
+
|
|
1653
|
+
end
|
|
1654
|
+
end
|
|
1655
|
+
|
|
1656
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch
|
|
1657
|
+
# @private
|
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1659
|
+
end
|
|
1660
|
+
end
|
|
1661
|
+
|
|
1662
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchSearchTypes
|
|
1663
|
+
# @private
|
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1665
|
+
property :image_search, as: 'imageSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchImageSearch::Representation
|
|
1666
|
+
|
|
1667
|
+
property :web_search, as: 'webSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch::Representation
|
|
1668
|
+
|
|
1669
|
+
end
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1672
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearchWebSearch
|
|
1673
|
+
# @private
|
|
1674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1575
1675
|
end
|
|
1576
1676
|
end
|
|
1577
1677
|
|
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.39.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.39.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,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|