google-apis-firebaseml_v2beta 0.27.0 → 0.29.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: a1958cc1845b6dc28cf47a97dac58c7749790b1c54fd78281f9e9fd876cdd2c1
4
+ data.tar.gz: 2273fcd8b8e2e9f8b36eafecb3105af0c307a72f181e78c31830beb9d3a516aa
5
5
  SHA512:
6
- metadata.gz: 1a06a0810ccfe8b4cac16743fe0ada1741c14b15b95f718518b6c719581768e31dcb7f8b166e0900072a83930164e50619379131099c63f4d840163f2078cae4
7
- data.tar.gz: 7f4b6df7aa0a19e18db8c33c187522c376e71cd056052f6bd50133fb1e5ed29334083c5c6b37ef0723b18926af1b9a25a2f2e97be6f08f27572d91d6ffb6ef8d
6
+ metadata.gz: 44157478ac9bd521b845eaaa52a769cc4f92003cf34d51dffab1800cc144566c9270fd59617d918b9e3335c95f4b5d844af7c6fec87f1be76e32d0b3df812619
7
+ data.tar.gz: a18dec87d45e13a0e6271d14af1286ab3ffb8ecdb46504401ae3a62192264c6625e2c6628881f1394c056249ff3fe48c5701610716b6d108737885faf4a08f76
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.29.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250812
6
+
7
+ ### v0.28.0 (2025-08-10)
8
+
9
+ * Regenerated from discovery document revision 20250731
10
+
3
11
  ### v0.27.0 (2025-08-03)
4
12
 
5
13
  * 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)
@@ -1556,25 +1562,12 @@ module Google
1556
1562
  class GoogleCloudAiplatformV1beta1GoogleMaps
1557
1563
  include Google::Apis::Core::Hashable
1558
1564
 
1559
- # The generic reusable api auth config. Deprecated. Please use AuthConfig (
1560
- # google/cloud/aiplatform/master/auth.proto) instead.
1561
- # Corresponds to the JSON property `apiAuth`
1562
- # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth]
1563
- attr_accessor :api_auth
1564
-
1565
- # Auth configuration to run the extension.
1566
- # Corresponds to the JSON property `authConfig`
1567
- # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig]
1568
- attr_accessor :auth_config
1569
-
1570
1565
  def initialize(**args)
1571
1566
  update!(**args)
1572
1567
  end
1573
1568
 
1574
1569
  # Update properties of this object
1575
1570
  def update!(**args)
1576
- @api_auth = args[:api_auth] if args.key?(:api_auth)
1577
- @auth_config = args[:auth_config] if args.key?(:auth_config)
1578
1571
  end
1579
1572
  end
1580
1573
 
@@ -1777,6 +1770,12 @@ module Google
1777
1770
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
1778
1771
  include Google::Apis::Core::Hashable
1779
1772
 
1773
+ # Output only. The full document name for the referenced Vertex AI Search
1774
+ # document.
1775
+ # Corresponds to the JSON property `documentName`
1776
+ # @return [String]
1777
+ attr_accessor :document_name
1778
+
1780
1779
  # A RagChunk includes the content of a chunk of a RagFile, and associated
1781
1780
  # metadata.
1782
1781
  # Corresponds to the JSON property `ragChunk`
@@ -1804,6 +1803,7 @@ module Google
1804
1803
 
1805
1804
  # Update properties of this object
1806
1805
  def update!(**args)
1806
+ @document_name = args[:document_name] if args.key?(:document_name)
1807
1807
  @rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
1808
1808
  @text = args[:text] if args.key?(:text)
1809
1809
  @title = args[:title] if args.key?(:title)
@@ -2037,6 +2037,32 @@ module Google
2037
2037
  end
2038
2038
  end
2039
2039
 
2040
+ # Configuration for Model Armor integrations of prompt and responses.
2041
+ class GoogleCloudAiplatformV1beta1ModelArmorConfig
2042
+ include Google::Apis::Core::Hashable
2043
+
2044
+ # Optional. The name of the Model Armor template to use for prompt sanitization.
2045
+ # Corresponds to the JSON property `promptTemplateName`
2046
+ # @return [String]
2047
+ attr_accessor :prompt_template_name
2048
+
2049
+ # Optional. The name of the Model Armor template to use for response
2050
+ # sanitization.
2051
+ # Corresponds to the JSON property `responseTemplateName`
2052
+ # @return [String]
2053
+ attr_accessor :response_template_name
2054
+
2055
+ def initialize(**args)
2056
+ update!(**args)
2057
+ end
2058
+
2059
+ # Update properties of this object
2060
+ def update!(**args)
2061
+ @prompt_template_name = args[:prompt_template_name] if args.key?(:prompt_template_name)
2062
+ @response_template_name = args[:response_template_name] if args.key?(:response_template_name)
2063
+ end
2064
+ end
2065
+
2040
2066
  # A datatype containing media that is part of a multi-part `Content` message. A `
2041
2067
  # Part` consists of data which has an associated datatype. A `Part` can only
2042
2068
  # 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.29.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 = "20250812"
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
@@ -965,10 +973,6 @@ module Google
965
973
  class GoogleCloudAiplatformV1beta1GoogleMaps
966
974
  # @private
967
975
  class Representation < Google::Apis::Core::JsonRepresentation
968
- property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
969
-
970
- property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
971
-
972
976
  end
973
977
  end
974
978
 
@@ -1037,6 +1041,7 @@ module Google
1037
1041
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
1038
1042
  # @private
1039
1043
  class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :document_name, as: 'documentName'
1040
1045
  property :rag_chunk, as: 'ragChunk', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagChunk::Representation
1041
1046
 
1042
1047
  property :text, as: 'text'
@@ -1116,6 +1121,14 @@ module Google
1116
1121
  end
1117
1122
  end
1118
1123
 
1124
+ class GoogleCloudAiplatformV1beta1ModelArmorConfig
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :prompt_template_name, as: 'promptTemplateName'
1128
+ property :response_template_name, as: 'responseTemplateName'
1129
+ end
1130
+ end
1131
+
1119
1132
  class GoogleCloudAiplatformV1beta1Part
1120
1133
  # @private
1121
1134
  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.29.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.29.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: