google-apis-firebaseml_v2beta 0.30.0 → 0.32.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: 105e5a4b62a1ea350a9bb288f96d692e880b2d04270beafbd22261d24b5b7b2d
4
- data.tar.gz: c62a899632c5c886d100dce3d2b494770ccf74839c20413a8f00283e11cd15f6
3
+ metadata.gz: ce84e97b283058904faab9c74f30f54356bd3913624f4ab45ae75b8be96ff198
4
+ data.tar.gz: 946a1c7f997d696f224f1bc0c9665327a0af38c48f68cc7f04a29039de2e4fc2
5
5
  SHA512:
6
- metadata.gz: 84b2c03b769a6d7d0ff70499636e1f80833a0e1cddc66c2f083af4ded6bc679e1642c93205cf6fdb633a00f183488477942edbcfbf3a20498a5e5a4b47f870e7
7
- data.tar.gz: 408ae3892b3a64e8431dbf1e544f88d82b4509960816603975fbf7d57efb4b12342054bed2cf49fc5583743524354ca43d65030117213336a17e1fe01ee008a6
6
+ metadata.gz: 41eff913ccd7c60a3c5b1b1785db4b06d3ccd672c9879bc5bdc7464f9b3281591965b22c8481beb649b36d4d159850b0b54486615a422d949e2e52a2da400263
7
+ data.tar.gz: 9adc24b3351da6be03fb17510fc8ca7ee15dcbea11baeb0e21be7d0155089c8ebb1a15e1e89fc73bab306893eea1eef2d75ae284e871c56caa1baef5a9beb748
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.32.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250930
6
+
7
+ ### v0.31.0 (2025-09-14)
8
+
9
+ * Regenerated from discovery document revision 20250909
10
+
3
11
  ### v0.30.0 (2025-09-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20250903
@@ -682,6 +682,12 @@ module Google
682
682
  class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
683
683
  include Google::Apis::Core::Hashable
684
684
 
685
+ # Optional. Sites with confidence level chosen & above this value will be
686
+ # blocked from the search results.
687
+ # Corresponds to the JSON property `blockingConfidence`
688
+ # @return [String]
689
+ attr_accessor :blocking_confidence
690
+
685
691
  # Optional. List of domains to be excluded from the search results. The default
686
692
  # limit is 2000 domains.
687
693
  # Corresponds to the JSON property `excludeDomains`
@@ -694,6 +700,7 @@ module Google
694
700
 
695
701
  # Update properties of this object
696
702
  def update!(**args)
703
+ @blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
697
704
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
698
705
  end
699
706
  end
@@ -877,7 +884,7 @@ module Google
877
884
  # @return [String]
878
885
  attr_accessor :id
879
886
 
880
- # Required. The name of the function to call. Matches [FunctionDeclaration.name].
887
+ # Optional. The name of the function to call. Matches [FunctionDeclaration.name].
881
888
  # Corresponds to the JSON property `name`
882
889
  # @return [String]
883
890
  attr_accessor :name
@@ -1130,7 +1137,9 @@ module Google
1130
1137
  # @return [String]
1131
1138
  attr_accessor :model_version
1132
1139
 
1133
- # Content filter results for a prompt sent in the request.
1140
+ # Content filter results for a prompt sent in the request. Note: This is sent
1141
+ # only in the first stream chunk and only if no candidates were generated due to
1142
+ # content violations.
1134
1143
  # Corresponds to the JSON property `promptFeedback`
1135
1144
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback]
1136
1145
  attr_accessor :prompt_feedback
@@ -1162,21 +1171,25 @@ module Google
1162
1171
  end
1163
1172
  end
1164
1173
 
1165
- # Content filter results for a prompt sent in the request.
1174
+ # Content filter results for a prompt sent in the request. Note: This is sent
1175
+ # only in the first stream chunk and only if no candidates were generated due to
1176
+ # content violations.
1166
1177
  class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
1167
1178
  include Google::Apis::Core::Hashable
1168
1179
 
1169
- # Output only. Blocked reason.
1180
+ # Output only. The reason why the prompt was blocked.
1170
1181
  # Corresponds to the JSON property `blockReason`
1171
1182
  # @return [String]
1172
1183
  attr_accessor :block_reason
1173
1184
 
1174
- # Output only. A readable block reason message.
1185
+ # Output only. A readable message that explains the reason why the prompt was
1186
+ # blocked.
1175
1187
  # Corresponds to the JSON property `blockReasonMessage`
1176
1188
  # @return [String]
1177
1189
  attr_accessor :block_reason_message
1178
1190
 
1179
- # Output only. Safety ratings.
1191
+ # Output only. A list of safety ratings for the prompt. There is one rating per
1192
+ # category.
1180
1193
  # Corresponds to the JSON property `safetyRatings`
1181
1194
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating>]
1182
1195
  attr_accessor :safety_ratings
@@ -1312,6 +1325,11 @@ module Google
1312
1325
  # @return [Float]
1313
1326
  attr_accessor :frequency_penalty
1314
1327
 
1328
+ # Config for image generation features.
1329
+ # Corresponds to the JSON property `imageConfig`
1330
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig]
1331
+ attr_accessor :image_config
1332
+
1315
1333
  # Optional. Logit probabilities.
1316
1334
  # Corresponds to the JSON property `logprobs`
1317
1335
  # @return [Fixnum]
@@ -1431,6 +1449,7 @@ module Google
1431
1449
  @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
1432
1450
  @enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
1433
1451
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
1452
+ @image_config = args[:image_config] if args.key?(:image_config)
1434
1453
  @logprobs = args[:logprobs] if args.key?(:logprobs)
1435
1454
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
1436
1455
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
@@ -1932,6 +1951,27 @@ module Google
1932
1951
  end
1933
1952
  end
1934
1953
 
1954
+ # Config for image generation features.
1955
+ class GoogleCloudAiplatformV1beta1ImageConfig
1956
+ include Google::Apis::Core::Hashable
1957
+
1958
+ # Optional. The desired aspect ratio for the generated images. The following
1959
+ # aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:
1960
+ # 16", "16:9" "21:9"
1961
+ # Corresponds to the JSON property `aspectRatio`
1962
+ # @return [String]
1963
+ attr_accessor :aspect_ratio
1964
+
1965
+ def initialize(**args)
1966
+ update!(**args)
1967
+ end
1968
+
1969
+ # Update properties of this object
1970
+ def update!(**args)
1971
+ @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
1972
+ end
1973
+ end
1974
+
1935
1975
  # Logprobs Result
1936
1976
  class GoogleCloudAiplatformV1beta1LogprobsResult
1937
1977
  include Google::Apis::Core::Hashable
@@ -2956,6 +2996,12 @@ module Google
2956
2996
  class GoogleCloudAiplatformV1beta1ToolGoogleSearch
2957
2997
  include Google::Apis::Core::Hashable
2958
2998
 
2999
+ # Optional. Sites with confidence level chosen & above this value will be
3000
+ # blocked from the search results.
3001
+ # Corresponds to the JSON property `blockingConfidence`
3002
+ # @return [String]
3003
+ attr_accessor :blocking_confidence
3004
+
2959
3005
  # Optional. List of domains to be excluded from the search results. The default
2960
3006
  # limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
2961
3007
  # Corresponds to the JSON property `excludeDomains`
@@ -2968,6 +3014,7 @@ module Google
2968
3014
 
2969
3015
  # Update properties of this object
2970
3016
  def update!(**args)
3017
+ @blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
2971
3018
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
2972
3019
  end
2973
3020
  end
@@ -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.30.0"
19
+ GEM_VERSION = "0.32.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 = "20250903"
25
+ REVISION = "20250930"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class GoogleCloudAiplatformV1beta1ImageConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class GoogleCloudAiplatformV1beta1LogprobsResult
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -738,6 +744,7 @@ module Google
738
744
  class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
739
745
  # @private
740
746
  class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :blocking_confidence, as: 'blockingConfidence'
741
748
  collection :exclude_domains, as: 'excludeDomains'
742
749
  end
743
750
  end
@@ -905,6 +912,8 @@ module Google
905
912
  property :candidate_count, as: 'candidateCount'
906
913
  property :enable_affective_dialog, as: 'enableAffectiveDialog'
907
914
  property :frequency_penalty, as: 'frequencyPenalty'
915
+ property :image_config, as: 'imageConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig::Representation
916
+
908
917
  property :logprobs, as: 'logprobs'
909
918
  property :max_output_tokens, as: 'maxOutputTokens'
910
919
  property :media_resolution, as: 'mediaResolution'
@@ -1084,6 +1093,13 @@ module Google
1084
1093
  end
1085
1094
  end
1086
1095
 
1096
+ class GoogleCloudAiplatformV1beta1ImageConfig
1097
+ # @private
1098
+ class Representation < Google::Apis::Core::JsonRepresentation
1099
+ property :aspect_ratio, as: 'aspectRatio'
1100
+ end
1101
+ end
1102
+
1087
1103
  class GoogleCloudAiplatformV1beta1LogprobsResult
1088
1104
  # @private
1089
1105
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1381,6 +1397,7 @@ module Google
1381
1397
  class GoogleCloudAiplatformV1beta1ToolGoogleSearch
1382
1398
  # @private
1383
1399
  class Representation < Google::Apis::Core::JsonRepresentation
1400
+ property :blocking_confidence, as: 'blockingConfidence'
1384
1401
  collection :exclude_domains, as: 'excludeDomains'
1385
1402
  end
1386
1403
  end
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.30.0
4
+ version: 0.32.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.30.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.32.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: