google-apis-firebaseml_v2beta 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c3552f9f1e719c0bfa748964e8d9fb972da81c48c0ecb4a630518b7246a4194
|
4
|
+
data.tar.gz: b1949743db6c9f8763115197284282fd65224fb450c37112dd40b18a4ddc0069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 705ac5d36d74be5e0f9f59c9b02b85bcbc0c8c38e049b0b2efea4d8cb3be900e8fbcd10f24fd51868dfa1afe74ddf2b2d77be9306a5a563c2de667dd21d6a034
|
7
|
+
data.tar.gz: f24ccb450e36d27f6393aa428a506e1393f949b0c7c67984ae1b72d67e1b1ec89ec48f9392b7c4e6f59f2f88d9d45e212a43710d16777ae417439bdaae34777a
|
data/CHANGELOG.md
CHANGED
@@ -476,6 +476,15 @@ module Google
|
|
476
476
|
class GenerateContentRequest
|
477
477
|
include Google::Apis::Core::Hashable
|
478
478
|
|
479
|
+
# Optional. The name of the cached content used as context to serve the
|
480
|
+
# prediction. Note: only used in explicit caching, where users can have control
|
481
|
+
# over caching (e.g. what content to cache) and enjoy guaranteed cost savings.
|
482
|
+
# Format: `projects/`project`/locations/`location`/cachedContents/`cachedContent`
|
483
|
+
# `
|
484
|
+
# Corresponds to the JSON property `cachedContent`
|
485
|
+
# @return [String]
|
486
|
+
attr_accessor :cached_content
|
487
|
+
|
479
488
|
# Required. The content of the current conversation with the model. For single-
|
480
489
|
# turn queries, this is a single instance. For multi-turn queries, this is a
|
481
490
|
# repeated field that contains conversation history + latest request.
|
@@ -521,6 +530,7 @@ module Google
|
|
521
530
|
|
522
531
|
# Update properties of this object
|
523
532
|
def update!(**args)
|
533
|
+
@cached_content = args[:cached_content] if args.key?(:cached_content)
|
524
534
|
@contents = args[:contents] if args.key?(:contents)
|
525
535
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
526
536
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -349,6 +349,7 @@ module Google
|
|
349
349
|
class GenerateContentRequest
|
350
350
|
# @private
|
351
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :cached_content, as: 'cachedContent'
|
352
353
|
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
|
353
354
|
|
354
355
|
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GenerationConfig::Representation
|
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.6.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-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.6.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: []
|