google-apis-firebaseml_v2beta 0.27.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: f3234480556c75c49a9bdf15dc81a07783222e107f072978762f98543854aa42
4
- data.tar.gz: a2e4793b09ea0f39f2c54af5bc44a9d703a4af30370b00f5ed7e2909f6f69a33
3
+ metadata.gz: 314570f41966aa4bea2ada946708ef4aa76b7475561ab93c06da8bb4c7d6557f
4
+ data.tar.gz: 3144e46a8183e348164821603555c6ba08089ac4bce662964a2c5b5cf7757c0c
5
5
  SHA512:
6
- metadata.gz: 1a06a0810ccfe8b4cac16743fe0ada1741c14b15b95f718518b6c719581768e31dcb7f8b166e0900072a83930164e50619379131099c63f4d840163f2078cae4
7
- data.tar.gz: 7f4b6df7aa0a19e18db8c33c187522c376e71cd056052f6bd50133fb1e5ed29334083c5c6b37ef0723b18926af1b9a25a2f2e97be6f08f27572d91d6ffb6ef8d
6
+ metadata.gz: af4ff68a9ffff4be2f8e0289f13524b416140f526b7530f90b90565d5b82e6a5896ac3890cdc5af710eda0294af22228e52124440055cfaff18574f7b75d24f3
7
+ data.tar.gz: 40452870637f0e12e19f81de8d473e608fab1a207731024f63c8e2a2235082c5d17e2f6c94cde819fa08fe7772f132dab72e68403b92aeb2adbc2a1421c0786f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.27.0 (2025-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20250727
@@ -1061,6 +1061,11 @@ module Google
1061
1061
  # @return [Hash<String,String>]
1062
1062
  attr_accessor :labels
1063
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
+
1064
1069
  # Optional. Per request settings for blocking unsafe content. Enforced on
1065
1070
  # GenerateContentResponse.candidates.
1066
1071
  # Corresponds to the JSON property `safetySettings`
@@ -1098,6 +1103,7 @@ module Google
1098
1103
  @contents = args[:contents] if args.key?(:contents)
1099
1104
  @generation_config = args[:generation_config] if args.key?(:generation_config)
1100
1105
  @labels = args[:labels] if args.key?(:labels)
1106
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
1101
1107
  @safety_settings = args[:safety_settings] if args.key?(:safety_settings)
1102
1108
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
1103
1109
  @tool_config = args[:tool_config] if args.key?(:tool_config)
@@ -2037,6 +2043,32 @@ module Google
2037
2043
  end
2038
2044
  end
2039
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
+
2040
2072
  # A datatype containing media that is part of a multi-part `Content` message. A `
2041
2073
  # Part` consists of data which has an associated datatype. A `Part` can only
2042
2074
  # contain one of the accepted types in `Part.data`. A `Part` must have a fixed
@@ -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.27.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 = "20250727"
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
 
@@ -833,6 +839,8 @@ module Google
833
839
  property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
834
840
 
835
841
  hash :labels, as: 'labels'
842
+ property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModelArmorConfig::Representation
843
+
836
844
  collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
837
845
 
838
846
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
@@ -1116,6 +1124,14 @@ module Google
1116
1124
  end
1117
1125
  end
1118
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
+
1119
1135
  class GoogleCloudAiplatformV1beta1Part
1120
1136
  # @private
1121
1137
  class Representation < Google::Apis::Core::JsonRepresentation
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.27.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.27.0
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: