google-apis-firebaseml_v2beta 0.14.0 → 0.15.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: fb4fbbe3485b246991cb6412ab0607911f0d764563d5749f020f4e3967e0b967
|
4
|
+
data.tar.gz: fc801f6675f7cce981dada655d0d5e13d18058952dfde6938497dd4a1d466921
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52d8a648353ab6342ffdf23a8463b0ec8ce46c3f6c21c698bfe14f19e87538f3db9ea1f9163f462f625f0a3cffa2d410d314f77f14ee7fb2316e792f739709bc
|
7
|
+
data.tar.gz: 651f97646b7f5f08b628dfe45c1f31c7e4590d02d4f09b60a20ce12533755634e78264fee6bb3ebaa0fbbc2a0ee287c10a67a41e2a5d36e9421f428392e406d4
|
data/CHANGELOG.md
CHANGED
@@ -505,6 +505,12 @@ module Google
|
|
505
505
|
# @return [Hash<String,Object>]
|
506
506
|
attr_accessor :args
|
507
507
|
|
508
|
+
# Optional. The unique id of the function call. If populated, the client to
|
509
|
+
# execute the `function_call` and return the response with the matching `id`.
|
510
|
+
# Corresponds to the JSON property `id`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :id
|
513
|
+
|
508
514
|
# Required. The name of the function to call. Matches [FunctionDeclaration.name].
|
509
515
|
# Corresponds to the JSON property `name`
|
510
516
|
# @return [String]
|
@@ -517,6 +523,7 @@ module Google
|
|
517
523
|
# Update properties of this object
|
518
524
|
def update!(**args)
|
519
525
|
@args = args[:args] if args.key?(:args)
|
526
|
+
@id = args[:id] if args.key?(:id)
|
520
527
|
@name = args[:name] if args.key?(:name)
|
521
528
|
end
|
522
529
|
end
|
@@ -603,6 +610,12 @@ module Google
|
|
603
610
|
class GoogleCloudAiplatformV1beta1FunctionResponse
|
604
611
|
include Google::Apis::Core::Hashable
|
605
612
|
|
613
|
+
# Optional. The id of the function call this response is for. Populated by the
|
614
|
+
# client to match the corresponding function call `id`.
|
615
|
+
# Corresponds to the JSON property `id`
|
616
|
+
# @return [String]
|
617
|
+
attr_accessor :id
|
618
|
+
|
606
619
|
# Required. The name of the function to call. Matches [FunctionDeclaration.name]
|
607
620
|
# and [FunctionCall.name].
|
608
621
|
# Corresponds to the JSON property `name`
|
@@ -623,6 +636,7 @@ module Google
|
|
623
636
|
|
624
637
|
# Update properties of this object
|
625
638
|
def update!(**args)
|
639
|
+
@id = args[:id] if args.key?(:id)
|
626
640
|
@name = args[:name] if args.key?(:name)
|
627
641
|
@response = args[:response] if args.key?(:response)
|
628
642
|
end
|
@@ -824,6 +838,11 @@ module Google
|
|
824
838
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
|
825
839
|
attr_accessor :prompt_tokens_details
|
826
840
|
|
841
|
+
# Output only. Number of tokens present in thoughts output.
|
842
|
+
# Corresponds to the JSON property `thoughtsTokenCount`
|
843
|
+
# @return [Fixnum]
|
844
|
+
attr_accessor :thoughts_token_count
|
845
|
+
|
827
846
|
# Output only. Number of tokens present in tool-use prompt(s).
|
828
847
|
# Corresponds to the JSON property `toolUsePromptTokenCount`
|
829
848
|
# @return [Fixnum]
|
@@ -853,6 +872,7 @@ module Google
|
|
853
872
|
@candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
|
854
873
|
@prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
|
855
874
|
@prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
|
875
|
+
@thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count)
|
856
876
|
@tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
|
857
877
|
@tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
|
858
878
|
@total_token_count = args[:total_token_count] if args.key?(:total_token_count)
|
@@ -1134,6 +1154,11 @@ module Google
|
|
1134
1154
|
class GoogleCloudAiplatformV1beta1GroundingChunkWeb
|
1135
1155
|
include Google::Apis::Core::Hashable
|
1136
1156
|
|
1157
|
+
# Domain of the (original) URI.
|
1158
|
+
# Corresponds to the JSON property `domain`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :domain
|
1161
|
+
|
1137
1162
|
# Title of the chunk.
|
1138
1163
|
# Corresponds to the JSON property `title`
|
1139
1164
|
# @return [String]
|
@@ -1150,6 +1175,7 @@ module Google
|
|
1150
1175
|
|
1151
1176
|
# Update properties of this object
|
1152
1177
|
def update!(**args)
|
1178
|
+
@domain = args[:domain] if args.key?(:domain)
|
1153
1179
|
@title = args[:title] if args.key?(:title)
|
1154
1180
|
@uri = args[:uri] if args.key?(:uri)
|
1155
1181
|
end
|
@@ -2137,6 +2163,13 @@ module Google
|
|
2137
2163
|
# @return [String]
|
2138
2164
|
attr_accessor :datastore
|
2139
2165
|
|
2166
|
+
# Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `
|
2167
|
+
# projects/`project`/locations/`location`/collections/`collection`/engines/`
|
2168
|
+
# engine``
|
2169
|
+
# Corresponds to the JSON property `engine`
|
2170
|
+
# @return [String]
|
2171
|
+
attr_accessor :engine
|
2172
|
+
|
2140
2173
|
def initialize(**args)
|
2141
2174
|
update!(**args)
|
2142
2175
|
end
|
@@ -2144,6 +2177,7 @@ module Google
|
|
2144
2177
|
# Update properties of this object
|
2145
2178
|
def update!(**args)
|
2146
2179
|
@datastore = args[:datastore] if args.key?(:datastore)
|
2180
|
+
@engine = args[:engine] if args.key?(:engine)
|
2147
2181
|
end
|
2148
2182
|
end
|
2149
2183
|
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -537,6 +537,7 @@ module Google
|
|
537
537
|
# @private
|
538
538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
539
539
|
hash :args, as: 'args'
|
540
|
+
property :id, as: 'id'
|
540
541
|
property :name, as: 'name'
|
541
542
|
end
|
542
543
|
end
|
@@ -564,6 +565,7 @@ module Google
|
|
564
565
|
class GoogleCloudAiplatformV1beta1FunctionResponse
|
565
566
|
# @private
|
566
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :id, as: 'id'
|
567
569
|
property :name, as: 'name'
|
568
570
|
hash :response, as: 'response'
|
569
571
|
end
|
@@ -626,6 +628,7 @@ module Google
|
|
626
628
|
property :prompt_token_count, as: 'promptTokenCount'
|
627
629
|
collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
|
628
630
|
|
631
|
+
property :thoughts_token_count, as: 'thoughtsTokenCount'
|
629
632
|
property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
|
630
633
|
collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
|
631
634
|
|
@@ -714,6 +717,7 @@ module Google
|
|
714
717
|
class GoogleCloudAiplatformV1beta1GroundingChunkWeb
|
715
718
|
# @private
|
716
719
|
class Representation < Google::Apis::Core::JsonRepresentation
|
720
|
+
property :domain, as: 'domain'
|
717
721
|
property :title, as: 'title'
|
718
722
|
property :uri, as: 'uri'
|
719
723
|
end
|
@@ -1011,6 +1015,7 @@ module Google
|
|
1011
1015
|
# @private
|
1012
1016
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1013
1017
|
property :datastore, as: 'datastore'
|
1018
|
+
property :engine, as: 'engine'
|
1014
1019
|
end
|
1015
1020
|
end
|
1016
1021
|
|
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.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 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.15.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:
|