google-apis-firebaseml_v2beta 0.31.0 → 0.33.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: b497e1d6b09a09fb8c2d9ee6db0a2433b8647d2eef4f75f77395dee2cbfc0ef3
4
- data.tar.gz: 20ea37c59e7c36194f4f48ccbfa880a8a20f81ea4fb5d0a776c166118bee4c0a
3
+ metadata.gz: 7ab42c30b02acc1843b1c786e35dc09f572ca4708c5e39f828af616a3776529e
4
+ data.tar.gz: 7392d900db4ec9cf0c290c71fdb981cd3fd88e24b0a3ea6b190b6914b3b2d35c
5
5
  SHA512:
6
- metadata.gz: b0466284ebbd853771d79f438ebaf2259ebacab33dee7143ed5569c36ac502f594a71c2ec81ec9070fff3211e732a8a8c2db254455088c705841f22186c01cba
7
- data.tar.gz: 0c066df9f58ffcd68f63021a70214ce5200c16591b1f2ad76e5536dbd302a4f0052ff4b2f265196cc78712ecb8c1c5914cca471725789d7bfd21e90d1dc49df7
6
+ metadata.gz: 62fb4405e132686ccea18d17fd0fab12e4a14ee6c38680751615eaa8f0b7307255f0f287c486a942026c343cceb2e3c0a451950e20fc9dc9ca0dccd085c9769b
7
+ data.tar.gz: 8778a7fbc01e2b247f3433494f6bb9361d4426baa488cc7af5a18c93fb3ddf5e76ebde604b0ec63de1c5d930f210bae4ee0812d02f46ac9cf60b17917cafc23c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.33.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251005
6
+
7
+ ### v0.32.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250930
10
+
3
11
  ### v0.31.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250909
@@ -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
@@ -1007,6 +1014,12 @@ module Google
1007
1014
  # @return [String]
1008
1015
  attr_accessor :name
1009
1016
 
1017
+ # Optional. Ordered `Parts` that constitute a function response. Parts may have
1018
+ # different IANA MIME types.
1019
+ # Corresponds to the JSON property `parts`
1020
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponsePart>]
1021
+ attr_accessor :parts
1022
+
1010
1023
  # Required. The function response in JSON object format. Use "output" key to
1011
1024
  # specify function output and "error" key to specify error details (if any). If "
1012
1025
  # output" and "error" keys are not specified, then whole "response" is treated
@@ -1023,10 +1036,113 @@ module Google
1023
1036
  def update!(**args)
1024
1037
  @id = args[:id] if args.key?(:id)
1025
1038
  @name = args[:name] if args.key?(:name)
1039
+ @parts = args[:parts] if args.key?(:parts)
1026
1040
  @response = args[:response] if args.key?(:response)
1027
1041
  end
1028
1042
  end
1029
1043
 
1044
+ # Raw media bytes for function response. Text should not be sent as raw bytes,
1045
+ # use the 'text' field.
1046
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
1047
+ include Google::Apis::Core::Hashable
1048
+
1049
+ # Required. Raw bytes.
1050
+ # Corresponds to the JSON property `data`
1051
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1052
+ # @return [String]
1053
+ attr_accessor :data
1054
+
1055
+ # Optional. Display name of the blob. Used to provide a label or filename to
1056
+ # distinguish blobs. This field is only returned in PromptMessage for prompt
1057
+ # management. It is currently used in the Gemini GenerateContent calls only when
1058
+ # server side tools (code_execution, google_search, and url_context) are enabled.
1059
+ # Corresponds to the JSON property `displayName`
1060
+ # @return [String]
1061
+ attr_accessor :display_name
1062
+
1063
+ # Required. The IANA standard MIME type of the source data.
1064
+ # Corresponds to the JSON property `mimeType`
1065
+ # @return [String]
1066
+ attr_accessor :mime_type
1067
+
1068
+ def initialize(**args)
1069
+ update!(**args)
1070
+ end
1071
+
1072
+ # Update properties of this object
1073
+ def update!(**args)
1074
+ @data = args[:data] if args.key?(:data)
1075
+ @display_name = args[:display_name] if args.key?(:display_name)
1076
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
1077
+ end
1078
+ end
1079
+
1080
+ # URI based data for function response.
1081
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
1082
+ include Google::Apis::Core::Hashable
1083
+
1084
+ # Optional. Display name of the file data. Used to provide a label or filename
1085
+ # to distinguish file datas. This field is only returned in PromptMessage for
1086
+ # prompt management. It is currently used in the Gemini GenerateContent calls
1087
+ # only when server side tools (code_execution, google_search, and url_context)
1088
+ # are enabled.
1089
+ # Corresponds to the JSON property `displayName`
1090
+ # @return [String]
1091
+ attr_accessor :display_name
1092
+
1093
+ # Required. URI.
1094
+ # Corresponds to the JSON property `fileUri`
1095
+ # @return [String]
1096
+ attr_accessor :file_uri
1097
+
1098
+ # Required. The IANA standard MIME type of the source data.
1099
+ # Corresponds to the JSON property `mimeType`
1100
+ # @return [String]
1101
+ attr_accessor :mime_type
1102
+
1103
+ def initialize(**args)
1104
+ update!(**args)
1105
+ end
1106
+
1107
+ # Update properties of this object
1108
+ def update!(**args)
1109
+ @display_name = args[:display_name] if args.key?(:display_name)
1110
+ @file_uri = args[:file_uri] if args.key?(:file_uri)
1111
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
1112
+ end
1113
+ end
1114
+
1115
+ # A datatype containing media that is part of a `FunctionResponse` message. A `
1116
+ # FunctionResponsePart` consists of data which has an associated datatype. A `
1117
+ # FunctionResponsePart` can only contain one of the accepted types in `
1118
+ # FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA
1119
+ # MIME type identifying the type and subtype of the media if the `inline_data`
1120
+ # field is filled with raw bytes.
1121
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
1122
+ include Google::Apis::Core::Hashable
1123
+
1124
+ # URI based data for function response.
1125
+ # Corresponds to the JSON property `fileData`
1126
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseFileData]
1127
+ attr_accessor :file_data
1128
+
1129
+ # Raw media bytes for function response. Text should not be sent as raw bytes,
1130
+ # use the 'text' field.
1131
+ # Corresponds to the JSON property `inlineData`
1132
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseBlob]
1133
+ attr_accessor :inline_data
1134
+
1135
+ def initialize(**args)
1136
+ update!(**args)
1137
+ end
1138
+
1139
+ # Update properties of this object
1140
+ def update!(**args)
1141
+ @file_data = args[:file_data] if args.key?(:file_data)
1142
+ @inline_data = args[:inline_data] if args.key?(:inline_data)
1143
+ end
1144
+ end
1145
+
1030
1146
  # Request message for [PredictionService.GenerateContent].
1031
1147
  class GoogleCloudAiplatformV1beta1GenerateContentRequest
1032
1148
  include Google::Apis::Core::Hashable
@@ -1318,6 +1434,11 @@ module Google
1318
1434
  # @return [Float]
1319
1435
  attr_accessor :frequency_penalty
1320
1436
 
1437
+ # Config for image generation features.
1438
+ # Corresponds to the JSON property `imageConfig`
1439
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig]
1440
+ attr_accessor :image_config
1441
+
1321
1442
  # Optional. Logit probabilities.
1322
1443
  # Corresponds to the JSON property `logprobs`
1323
1444
  # @return [Fixnum]
@@ -1437,6 +1558,7 @@ module Google
1437
1558
  @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
1438
1559
  @enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
1439
1560
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
1561
+ @image_config = args[:image_config] if args.key?(:image_config)
1440
1562
  @logprobs = args[:logprobs] if args.key?(:logprobs)
1441
1563
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
1442
1564
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
@@ -1938,6 +2060,27 @@ module Google
1938
2060
  end
1939
2061
  end
1940
2062
 
2063
+ # Config for image generation features.
2064
+ class GoogleCloudAiplatformV1beta1ImageConfig
2065
+ include Google::Apis::Core::Hashable
2066
+
2067
+ # Optional. The desired aspect ratio for the generated images. The following
2068
+ # aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:
2069
+ # 16", "16:9" "21:9"
2070
+ # Corresponds to the JSON property `aspectRatio`
2071
+ # @return [String]
2072
+ attr_accessor :aspect_ratio
2073
+
2074
+ def initialize(**args)
2075
+ update!(**args)
2076
+ end
2077
+
2078
+ # Update properties of this object
2079
+ def update!(**args)
2080
+ @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
2081
+ end
2082
+ end
2083
+
1941
2084
  # Logprobs Result
1942
2085
  class GoogleCloudAiplatformV1beta1LogprobsResult
1943
2086
  include Google::Apis::Core::Hashable
@@ -2065,6 +2208,27 @@ module Google
2065
2208
  end
2066
2209
  end
2067
2210
 
2211
+ # Configuration for a multi-speaker text-to-speech setup. Enables the use of up
2212
+ # to two distinct voices in a single synthesis request.
2213
+ class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
2214
+ include Google::Apis::Core::Hashable
2215
+
2216
+ # Required. A list of configurations for the voices of the speakers. Exactly two
2217
+ # speaker voice configurations must be provided.
2218
+ # Corresponds to the JSON property `speakerVoiceConfigs`
2219
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeakerVoiceConfig>]
2220
+ attr_accessor :speaker_voice_configs
2221
+
2222
+ def initialize(**args)
2223
+ update!(**args)
2224
+ end
2225
+
2226
+ # Update properties of this object
2227
+ def update!(**args)
2228
+ @speaker_voice_configs = args[:speaker_voice_configs] if args.key?(:speaker_voice_configs)
2229
+ end
2230
+ end
2231
+
2068
2232
  # A datatype containing media that is part of a multi-part `Content` message. A `
2069
2233
  # Part` consists of data which has an associated datatype. A `Part` can only
2070
2234
  # contain one of the accepted types in `Part.data`. A `Part` must have a fixed
@@ -2818,6 +2982,32 @@ module Google
2818
2982
  end
2819
2983
  end
2820
2984
 
2985
+ # Configuration for a single speaker in a multi speaker setup.
2986
+ class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig
2987
+ include Google::Apis::Core::Hashable
2988
+
2989
+ # Required. The name of the speaker. This should be the same as the speaker name
2990
+ # used in the prompt.
2991
+ # Corresponds to the JSON property `speaker`
2992
+ # @return [String]
2993
+ attr_accessor :speaker
2994
+
2995
+ # The configuration for the voice to use.
2996
+ # Corresponds to the JSON property `voiceConfig`
2997
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig]
2998
+ attr_accessor :voice_config
2999
+
3000
+ def initialize(**args)
3001
+ update!(**args)
3002
+ end
3003
+
3004
+ # Update properties of this object
3005
+ def update!(**args)
3006
+ @speaker = args[:speaker] if args.key?(:speaker)
3007
+ @voice_config = args[:voice_config] if args.key?(:voice_config)
3008
+ end
3009
+ end
3010
+
2821
3011
  # The speech generation config.
2822
3012
  class GoogleCloudAiplatformV1beta1SpeechConfig
2823
3013
  include Google::Apis::Core::Hashable
@@ -2827,6 +3017,12 @@ module Google
2827
3017
  # @return [String]
2828
3018
  attr_accessor :language_code
2829
3019
 
3020
+ # Configuration for a multi-speaker text-to-speech setup. Enables the use of up
3021
+ # to two distinct voices in a single synthesis request.
3022
+ # Corresponds to the JSON property `multiSpeakerVoiceConfig`
3023
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig]
3024
+ attr_accessor :multi_speaker_voice_config
3025
+
2830
3026
  # The configuration for the voice to use.
2831
3027
  # Corresponds to the JSON property `voiceConfig`
2832
3028
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig]
@@ -2839,6 +3035,7 @@ module Google
2839
3035
  # Update properties of this object
2840
3036
  def update!(**args)
2841
3037
  @language_code = args[:language_code] if args.key?(:language_code)
3038
+ @multi_speaker_voice_config = args[:multi_speaker_voice_config] if args.key?(:multi_speaker_voice_config)
2842
3039
  @voice_config = args[:voice_config] if args.key?(:voice_config)
2843
3040
  end
2844
3041
  end
@@ -2858,6 +3055,11 @@ module Google
2858
3055
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
2859
3056
  attr_accessor :code_execution
2860
3057
 
3058
+ # Tool to support computer use.
3059
+ # Corresponds to the JSON property `computerUse`
3060
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse]
3061
+ attr_accessor :computer_use
3062
+
2861
3063
  # Tool to search public web data, powered by Vertex AI Search and Sec4
2862
3064
  # compliance.
2863
3065
  # Corresponds to the JSON property `enterpriseWebSearch`
@@ -2907,6 +3109,7 @@ module Google
2907
3109
  # Update properties of this object
2908
3110
  def update!(**args)
2909
3111
  @code_execution = args[:code_execution] if args.key?(:code_execution)
3112
+ @computer_use = args[:computer_use] if args.key?(:computer_use)
2910
3113
  @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
2911
3114
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
2912
3115
  @google_maps = args[:google_maps] if args.key?(:google_maps)
@@ -2932,6 +3135,35 @@ module Google
2932
3135
  end
2933
3136
  end
2934
3137
 
3138
+ # Tool to support computer use.
3139
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
3140
+ include Google::Apis::Core::Hashable
3141
+
3142
+ # Required. The environment being operated.
3143
+ # Corresponds to the JSON property `environment`
3144
+ # @return [String]
3145
+ attr_accessor :environment
3146
+
3147
+ # Optional. By default, predefined functions are included in the final model
3148
+ # call. Some of them can be explicitly excluded from being automatically
3149
+ # included. This can serve two purposes: 1. Using a more restricted / different
3150
+ # action space. 2. Improving the definitions / instructions of predefined
3151
+ # functions.
3152
+ # Corresponds to the JSON property `excludedPredefinedFunctions`
3153
+ # @return [Array<String>]
3154
+ attr_accessor :excluded_predefined_functions
3155
+
3156
+ def initialize(**args)
3157
+ update!(**args)
3158
+ end
3159
+
3160
+ # Update properties of this object
3161
+ def update!(**args)
3162
+ @environment = args[:environment] if args.key?(:environment)
3163
+ @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
3164
+ end
3165
+ end
3166
+
2935
3167
  # Tool config. This config is shared for all tools provided in the request.
2936
3168
  class GoogleCloudAiplatformV1beta1ToolConfig
2937
3169
  include Google::Apis::Core::Hashable
@@ -2962,6 +3194,12 @@ module Google
2962
3194
  class GoogleCloudAiplatformV1beta1ToolGoogleSearch
2963
3195
  include Google::Apis::Core::Hashable
2964
3196
 
3197
+ # Optional. Sites with confidence level chosen & above this value will be
3198
+ # blocked from the search results.
3199
+ # Corresponds to the JSON property `blockingConfidence`
3200
+ # @return [String]
3201
+ attr_accessor :blocking_confidence
3202
+
2965
3203
  # Optional. List of domains to be excluded from the search results. The default
2966
3204
  # limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
2967
3205
  # Corresponds to the JSON property `excludeDomains`
@@ -2974,6 +3212,7 @@ module Google
2974
3212
 
2975
3213
  # Update properties of this object
2976
3214
  def update!(**args)
3215
+ @blocking_confidence = args[:blocking_confidence] if args.key?(:blocking_confidence)
2977
3216
  @exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
2978
3217
  end
2979
3218
  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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20250909"
25
+ REVISION = "20251005"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,24 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
193
211
  class GoogleCloudAiplatformV1beta1GenerateContentRequest
194
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
213
 
@@ -316,6 +334,12 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class GoogleCloudAiplatformV1beta1ImageConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class GoogleCloudAiplatformV1beta1LogprobsResult
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -346,6 +370,12 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
349
379
  class GoogleCloudAiplatformV1beta1Part
350
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
381
 
@@ -454,6 +484,12 @@ module Google
454
484
  include Google::Apis::Core::JsonObjectSupport
455
485
  end
456
486
 
487
+ class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
457
493
  class GoogleCloudAiplatformV1beta1SpeechConfig
458
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
495
 
@@ -472,6 +508,12 @@ module Google
472
508
  include Google::Apis::Core::JsonObjectSupport
473
509
  end
474
510
 
511
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
475
517
  class GoogleCloudAiplatformV1beta1ToolConfig
476
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
519
 
@@ -738,6 +780,7 @@ module Google
738
780
  class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
739
781
  # @private
740
782
  class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :blocking_confidence, as: 'blockingConfidence'
741
784
  collection :exclude_domains, as: 'excludeDomains'
742
785
  end
743
786
  end
@@ -826,10 +869,40 @@ module Google
826
869
  class Representation < Google::Apis::Core::JsonRepresentation
827
870
  property :id, as: 'id'
828
871
  property :name, as: 'name'
872
+ collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponsePart, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponsePart::Representation
873
+
829
874
  hash :response, as: 'response'
830
875
  end
831
876
  end
832
877
 
878
+ class GoogleCloudAiplatformV1beta1FunctionResponseBlob
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :data, :base64 => true, as: 'data'
882
+ property :display_name, as: 'displayName'
883
+ property :mime_type, as: 'mimeType'
884
+ end
885
+ end
886
+
887
+ class GoogleCloudAiplatformV1beta1FunctionResponseFileData
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :display_name, as: 'displayName'
891
+ property :file_uri, as: 'fileUri'
892
+ property :mime_type, as: 'mimeType'
893
+ end
894
+ end
895
+
896
+ class GoogleCloudAiplatformV1beta1FunctionResponsePart
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseFileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseFileData::Representation
900
+
901
+ property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseBlob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponseBlob::Representation
902
+
903
+ end
904
+ end
905
+
833
906
  class GoogleCloudAiplatformV1beta1GenerateContentRequest
834
907
  # @private
835
908
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -905,6 +978,8 @@ module Google
905
978
  property :candidate_count, as: 'candidateCount'
906
979
  property :enable_affective_dialog, as: 'enableAffectiveDialog'
907
980
  property :frequency_penalty, as: 'frequencyPenalty'
981
+ property :image_config, as: 'imageConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfig::Representation
982
+
908
983
  property :logprobs, as: 'logprobs'
909
984
  property :max_output_tokens, as: 'maxOutputTokens'
910
985
  property :media_resolution, as: 'mediaResolution'
@@ -1084,6 +1159,13 @@ module Google
1084
1159
  end
1085
1160
  end
1086
1161
 
1162
+ class GoogleCloudAiplatformV1beta1ImageConfig
1163
+ # @private
1164
+ class Representation < Google::Apis::Core::JsonRepresentation
1165
+ property :aspect_ratio, as: 'aspectRatio'
1166
+ end
1167
+ end
1168
+
1087
1169
  class GoogleCloudAiplatformV1beta1LogprobsResult
1088
1170
  # @private
1089
1171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1127,6 +1209,14 @@ module Google
1127
1209
  end
1128
1210
  end
1129
1211
 
1212
+ class GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig
1213
+ # @private
1214
+ class Representation < Google::Apis::Core::JsonRepresentation
1215
+ collection :speaker_voice_configs, as: 'speakerVoiceConfigs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeakerVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeakerVoiceConfig::Representation
1216
+
1217
+ end
1218
+ end
1219
+
1130
1220
  class GoogleCloudAiplatformV1beta1Part
1131
1221
  # @private
1132
1222
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1331,10 +1421,21 @@ module Google
1331
1421
  end
1332
1422
  end
1333
1423
 
1424
+ class GoogleCloudAiplatformV1beta1SpeakerVoiceConfig
1425
+ # @private
1426
+ class Representation < Google::Apis::Core::JsonRepresentation
1427
+ property :speaker, as: 'speaker'
1428
+ property :voice_config, as: 'voiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig::Representation
1429
+
1430
+ end
1431
+ end
1432
+
1334
1433
  class GoogleCloudAiplatformV1beta1SpeechConfig
1335
1434
  # @private
1336
1435
  class Representation < Google::Apis::Core::JsonRepresentation
1337
1436
  property :language_code, as: 'languageCode'
1437
+ property :multi_speaker_voice_config, as: 'multiSpeakerVoiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig::Representation
1438
+
1338
1439
  property :voice_config, as: 'voiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig::Representation
1339
1440
 
1340
1441
  end
@@ -1345,6 +1446,8 @@ module Google
1345
1446
  class Representation < Google::Apis::Core::JsonRepresentation
1346
1447
  property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
1347
1448
 
1449
+ property :computer_use, as: 'computerUse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
1450
+
1348
1451
  property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
1349
1452
 
1350
1453
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -1368,6 +1471,14 @@ module Google
1368
1471
  end
1369
1472
  end
1370
1473
 
1474
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
1475
+ # @private
1476
+ class Representation < Google::Apis::Core::JsonRepresentation
1477
+ property :environment, as: 'environment'
1478
+ collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
1479
+ end
1480
+ end
1481
+
1371
1482
  class GoogleCloudAiplatformV1beta1ToolConfig
1372
1483
  # @private
1373
1484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1381,6 +1492,7 @@ module Google
1381
1492
  class GoogleCloudAiplatformV1beta1ToolGoogleSearch
1382
1493
  # @private
1383
1494
  class Representation < Google::Apis::Core::JsonRepresentation
1495
+ property :blocking_confidence, as: 'blockingConfidence'
1384
1496
  collection :exclude_domains, as: 'excludeDomains'
1385
1497
  end
1386
1498
  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.31.0
4
+ version: 0.33.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.31.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.33.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: