google-apis-firebaseml_v2beta 0.26.0 → 0.28.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: 314570f41966aa4bea2ada946708ef4aa76b7475561ab93c06da8bb4c7d6557f
|
4
|
+
data.tar.gz: 3144e46a8183e348164821603555c6ba08089ac4bce662964a2c5b5cf7757c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af4ff68a9ffff4be2f8e0289f13524b416140f526b7530f90b90565d5b82e6a5896ac3890cdc5af710eda0294af22228e52124440055cfaff18574f7b75d24f3
|
7
|
+
data.tar.gz: 40452870637f0e12e19f81de8d473e608fab1a207731024f63c8e2a2235082c5d17e2f6c94cde819fa08fe7772f132dab72e68403b92aeb2adbc2a1421c0786f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.28.0 (2025-08-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250731
|
6
|
+
|
7
|
+
### v0.27.0 (2025-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250727
|
10
|
+
|
3
11
|
### v0.26.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250723
|
@@ -682,12 +682,19 @@ module Google
|
|
682
682
|
class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
|
683
683
|
include Google::Apis::Core::Hashable
|
684
684
|
|
685
|
+
# Optional. List of domains to be excluded from the search results. The default
|
686
|
+
# limit is 2000 domains.
|
687
|
+
# Corresponds to the JSON property `excludeDomains`
|
688
|
+
# @return [Array<String>]
|
689
|
+
attr_accessor :exclude_domains
|
690
|
+
|
685
691
|
def initialize(**args)
|
686
692
|
update!(**args)
|
687
693
|
end
|
688
694
|
|
689
695
|
# Update properties of this object
|
690
696
|
def update!(**args)
|
697
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
691
698
|
end
|
692
699
|
end
|
693
700
|
|
@@ -1054,6 +1061,11 @@ module Google
|
|
1054
1061
|
# @return [Hash<String,String>]
|
1055
1062
|
attr_accessor :labels
|
1056
1063
|
|
1064
|
+
# Configuration for Model Armor integrations of prompt and responses.
|
1065
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
1066
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig]
|
1067
|
+
attr_accessor :model_armor_config
|
1068
|
+
|
1057
1069
|
# Optional. Per request settings for blocking unsafe content. Enforced on
|
1058
1070
|
# GenerateContentResponse.candidates.
|
1059
1071
|
# Corresponds to the JSON property `safetySettings`
|
@@ -1091,6 +1103,7 @@ module Google
|
|
1091
1103
|
@contents = args[:contents] if args.key?(:contents)
|
1092
1104
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
1093
1105
|
@labels = args[:labels] if args.key?(:labels)
|
1106
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
1094
1107
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
1095
1108
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
1096
1109
|
@tool_config = args[:tool_config] if args.key?(:tool_config)
|
@@ -2030,6 +2043,32 @@ module Google
|
|
2030
2043
|
end
|
2031
2044
|
end
|
2032
2045
|
|
2046
|
+
# Configuration for Model Armor integrations of prompt and responses.
|
2047
|
+
class GoogleCloudAiplatformV1beta1ModelArmorConfig
|
2048
|
+
include Google::Apis::Core::Hashable
|
2049
|
+
|
2050
|
+
# Optional. The name of the Model Armor template to use for prompt sanitization.
|
2051
|
+
# Corresponds to the JSON property `promptTemplateName`
|
2052
|
+
# @return [String]
|
2053
|
+
attr_accessor :prompt_template_name
|
2054
|
+
|
2055
|
+
# Optional. The name of the Model Armor template to use for response
|
2056
|
+
# sanitization.
|
2057
|
+
# Corresponds to the JSON property `responseTemplateName`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :response_template_name
|
2060
|
+
|
2061
|
+
def initialize(**args)
|
2062
|
+
update!(**args)
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
# Update properties of this object
|
2066
|
+
def update!(**args)
|
2067
|
+
@prompt_template_name = args[:prompt_template_name] if args.key?(:prompt_template_name)
|
2068
|
+
@response_template_name = args[:response_template_name] if args.key?(:response_template_name)
|
2069
|
+
end
|
2070
|
+
end
|
2071
|
+
|
2033
2072
|
# A datatype containing media that is part of a multi-part `Content` message. A `
|
2034
2073
|
# Part` consists of data which has an associated datatype. A `Part` can only
|
2035
2074
|
# contain one of the accepted types in `Part.data`. A `Part` must have a fixed
|
@@ -2927,12 +2966,19 @@ module Google
|
|
2927
2966
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
2928
2967
|
include Google::Apis::Core::Hashable
|
2929
2968
|
|
2969
|
+
# Optional. List of domains to be excluded from the search results. The default
|
2970
|
+
# limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
|
2971
|
+
# Corresponds to the JSON property `excludeDomains`
|
2972
|
+
# @return [Array<String>]
|
2973
|
+
attr_accessor :exclude_domains
|
2974
|
+
|
2930
2975
|
def initialize(**args)
|
2931
2976
|
update!(**args)
|
2932
2977
|
end
|
2933
2978
|
|
2934
2979
|
# Update properties of this object
|
2935
2980
|
def update!(**args)
|
2981
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
2936
2982
|
end
|
2937
2983
|
end
|
2938
2984
|
|
@@ -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.28.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 = "20250731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -340,6 +340,12 @@ module Google
|
|
340
340
|
include Google::Apis::Core::JsonObjectSupport
|
341
341
|
end
|
342
342
|
|
343
|
+
class GoogleCloudAiplatformV1beta1ModelArmorConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
343
349
|
class GoogleCloudAiplatformV1beta1Part
|
344
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
351
|
|
@@ -732,6 +738,7 @@ module Google
|
|
732
738
|
class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
|
733
739
|
# @private
|
734
740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
collection :exclude_domains, as: 'excludeDomains'
|
735
742
|
end
|
736
743
|
end
|
737
744
|
|
@@ -832,6 +839,8 @@ module Google
|
|
832
839
|
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
833
840
|
|
834
841
|
hash :labels, as: 'labels'
|
842
|
+
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig::Representation
|
843
|
+
|
835
844
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
836
845
|
|
837
846
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
@@ -1115,6 +1124,14 @@ module Google
|
|
1115
1124
|
end
|
1116
1125
|
end
|
1117
1126
|
|
1127
|
+
class GoogleCloudAiplatformV1beta1ModelArmorConfig
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :prompt_template_name, as: 'promptTemplateName'
|
1131
|
+
property :response_template_name, as: 'responseTemplateName'
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
1118
1135
|
class GoogleCloudAiplatformV1beta1Part
|
1119
1136
|
# @private
|
1120
1137
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1369,6 +1386,7 @@ module Google
|
|
1369
1386
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
1370
1387
|
# @private
|
1371
1388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1389
|
+
collection :exclude_domains, as: 'excludeDomains'
|
1372
1390
|
end
|
1373
1391
|
end
|
1374
1392
|
|
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.28.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.28.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:
|