google-apis-firebaseml_v2beta 0.39.0 → 0.40.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: dcb8b67be2d1c1da4a9561b03fe2dcbfe44a68edfa2b7172c58b1762f218bb3d
|
|
4
|
+
data.tar.gz: 0027bac3713131fc3c13c2317f055a5b290282ee0a4d4e3d2d5430d3730673df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c866d193bfd9da2f2025c329a4cbaed10aed206d6caf9c5293047942677daa8271b14787a0bab9f70d297519b49517082b7871e1f43363e3d7625cf255f4a8b8
|
|
7
|
+
data.tar.gz: 5fc3139f77a654533525d47c678c9515b402783244a228ef74d709f5a0997195daed0b359d77767bb726d488d388b72c6c5d920fbcd47906b785e93dbf00fa0f
|
data/CHANGELOG.md
CHANGED
|
@@ -109,6 +109,44 @@ module Google
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
# Configuration for audio-specific output formatting.
|
|
113
|
+
class GoogleCloudAiplatformV1beta1AudioResponseFormat
|
|
114
|
+
include Google::Apis::Core::Hashable
|
|
115
|
+
|
|
116
|
+
# Optional. Bit rate in bits per second (bps). Only applicable for compressed
|
|
117
|
+
# formats (MP3, Opus).
|
|
118
|
+
# Corresponds to the JSON property `bitRate`
|
|
119
|
+
# @return [Fixnum]
|
|
120
|
+
attr_accessor :bit_rate
|
|
121
|
+
|
|
122
|
+
# Optional. Delivery mode for the generated content.
|
|
123
|
+
# Corresponds to the JSON property `delivery`
|
|
124
|
+
# @return [String]
|
|
125
|
+
attr_accessor :delivery
|
|
126
|
+
|
|
127
|
+
# Optional. The MIME type of the audio output.
|
|
128
|
+
# Corresponds to the JSON property `mimeType`
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :mime_type
|
|
131
|
+
|
|
132
|
+
# Optional. Sample rate for the generated audio in Hertz.
|
|
133
|
+
# Corresponds to the JSON property `sampleRate`
|
|
134
|
+
# @return [Fixnum]
|
|
135
|
+
attr_accessor :sample_rate
|
|
136
|
+
|
|
137
|
+
def initialize(**args)
|
|
138
|
+
update!(**args)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Update properties of this object
|
|
142
|
+
def update!(**args)
|
|
143
|
+
@bit_rate = args[:bit_rate] if args.key?(:bit_rate)
|
|
144
|
+
@delivery = args[:delivery] if args.key?(:delivery)
|
|
145
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
146
|
+
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
112
150
|
# Auth configuration to run the extension.
|
|
113
151
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
114
152
|
include Google::Apis::Core::Hashable
|
|
@@ -1543,8 +1581,15 @@ module Google
|
|
|
1543
1581
|
# @return [Float]
|
|
1544
1582
|
attr_accessor :presence_penalty
|
|
1545
1583
|
|
|
1584
|
+
# Optional. New response format field for the model to configure output
|
|
1585
|
+
# formatting and delivery.
|
|
1586
|
+
# Corresponds to the JSON property `responseFormat`
|
|
1587
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat>]
|
|
1588
|
+
attr_accessor :response_format
|
|
1589
|
+
|
|
1546
1590
|
# Optional. When this field is set, response_schema must be omitted and
|
|
1547
|
-
# response_mime_type must be set to `application/json`.
|
|
1591
|
+
# response_mime_type must be set to `application/json`. Deprecated: Use `
|
|
1592
|
+
# response_format` instead.
|
|
1548
1593
|
# Corresponds to the JSON property `responseJsonSchema`
|
|
1549
1594
|
# @return [Object]
|
|
1550
1595
|
attr_accessor :response_json_schema
|
|
@@ -1562,7 +1607,8 @@ module Google
|
|
|
1562
1607
|
# Optional. The IANA standard MIME type of the response. The model will generate
|
|
1563
1608
|
# output that conforms to this MIME type. Supported values include 'text/plain' (
|
|
1564
1609
|
# default) and 'application/json'. The model needs to be prompted to output the
|
|
1565
|
-
# appropriate response type, otherwise the behavior is undefined.
|
|
1610
|
+
# appropriate response type, otherwise the behavior is undefined. Deprecated:
|
|
1611
|
+
# Use `response_format` instead.
|
|
1566
1612
|
# Corresponds to the JSON property `responseMimeType`
|
|
1567
1613
|
# @return [String]
|
|
1568
1614
|
attr_accessor :response_mime_type
|
|
@@ -1662,6 +1708,7 @@ module Google
|
|
|
1662
1708
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
|
1663
1709
|
@model_config = args[:model_config] if args.key?(:model_config)
|
|
1664
1710
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
|
1711
|
+
@response_format = args[:response_format] if args.key?(:response_format)
|
|
1665
1712
|
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
|
|
1666
1713
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
|
1667
1714
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
|
@@ -2399,6 +2446,43 @@ module Google
|
|
|
2399
2446
|
end
|
|
2400
2447
|
end
|
|
2401
2448
|
|
|
2449
|
+
# Configuration for image-specific output formatting.
|
|
2450
|
+
class GoogleCloudAiplatformV1beta1ImageResponseFormat
|
|
2451
|
+
include Google::Apis::Core::Hashable
|
|
2452
|
+
|
|
2453
|
+
# Optional. The aspect ratio for the image output.
|
|
2454
|
+
# Corresponds to the JSON property `aspectRatio`
|
|
2455
|
+
# @return [String]
|
|
2456
|
+
attr_accessor :aspect_ratio
|
|
2457
|
+
|
|
2458
|
+
# Optional. Delivery mode for the generated content.
|
|
2459
|
+
# Corresponds to the JSON property `delivery`
|
|
2460
|
+
# @return [String]
|
|
2461
|
+
attr_accessor :delivery
|
|
2462
|
+
|
|
2463
|
+
# Optional. The size of the image output.
|
|
2464
|
+
# Corresponds to the JSON property `imageSize`
|
|
2465
|
+
# @return [String]
|
|
2466
|
+
attr_accessor :image_size
|
|
2467
|
+
|
|
2468
|
+
# Optional. The MIME type of the image output.
|
|
2469
|
+
# Corresponds to the JSON property `mimeType`
|
|
2470
|
+
# @return [String]
|
|
2471
|
+
attr_accessor :mime_type
|
|
2472
|
+
|
|
2473
|
+
def initialize(**args)
|
|
2474
|
+
update!(**args)
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
# Update properties of this object
|
|
2478
|
+
def update!(**args)
|
|
2479
|
+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
|
|
2480
|
+
@delivery = args[:delivery] if args.key?(:delivery)
|
|
2481
|
+
@image_size = args[:image_size] if args.key?(:image_size)
|
|
2482
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
2483
|
+
end
|
|
2484
|
+
end
|
|
2485
|
+
|
|
2402
2486
|
# The log probabilities of the tokens generated by the model. This is useful for
|
|
2403
2487
|
# understanding the model's confidence in its predictions and for debugging. For
|
|
2404
2488
|
# example, you can use log probabilities to identify when the model is making a
|
|
@@ -3020,6 +3104,43 @@ module Google
|
|
|
3020
3104
|
end
|
|
3021
3105
|
end
|
|
3022
3106
|
|
|
3107
|
+
# Configuration for the model to configure output formatting and delivery.
|
|
3108
|
+
class GoogleCloudAiplatformV1beta1ResponseFormat
|
|
3109
|
+
include Google::Apis::Core::Hashable
|
|
3110
|
+
|
|
3111
|
+
# Configuration for audio-specific output formatting.
|
|
3112
|
+
# Corresponds to the JSON property `audio`
|
|
3113
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat]
|
|
3114
|
+
attr_accessor :audio
|
|
3115
|
+
|
|
3116
|
+
# Configuration for image-specific output formatting.
|
|
3117
|
+
# Corresponds to the JSON property `image`
|
|
3118
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat]
|
|
3119
|
+
attr_accessor :image
|
|
3120
|
+
|
|
3121
|
+
# Configuration for text-specific output formatting.
|
|
3122
|
+
# Corresponds to the JSON property `text`
|
|
3123
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat]
|
|
3124
|
+
attr_accessor :text
|
|
3125
|
+
|
|
3126
|
+
# Configuration for video-specific output formatting.
|
|
3127
|
+
# Corresponds to the JSON property `video`
|
|
3128
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat]
|
|
3129
|
+
attr_accessor :video
|
|
3130
|
+
|
|
3131
|
+
def initialize(**args)
|
|
3132
|
+
update!(**args)
|
|
3133
|
+
end
|
|
3134
|
+
|
|
3135
|
+
# Update properties of this object
|
|
3136
|
+
def update!(**args)
|
|
3137
|
+
@audio = args[:audio] if args.key?(:audio)
|
|
3138
|
+
@image = args[:image] if args.key?(:image)
|
|
3139
|
+
@text = args[:text] if args.key?(:text)
|
|
3140
|
+
@video = args[:video] if args.key?(:video)
|
|
3141
|
+
end
|
|
3142
|
+
end
|
|
3143
|
+
|
|
3023
3144
|
# Defines a retrieval tool that model can call to access external knowledge.
|
|
3024
3145
|
class GoogleCloudAiplatformV1beta1Retrieval
|
|
3025
3146
|
include Google::Apis::Core::Hashable
|
|
@@ -3540,6 +3661,32 @@ module Google
|
|
|
3540
3661
|
end
|
|
3541
3662
|
end
|
|
3542
3663
|
|
|
3664
|
+
# Configuration for text-specific output formatting.
|
|
3665
|
+
class GoogleCloudAiplatformV1beta1TextResponseFormat
|
|
3666
|
+
include Google::Apis::Core::Hashable
|
|
3667
|
+
|
|
3668
|
+
# Optional. The IANA standard MIME type of the response.
|
|
3669
|
+
# Corresponds to the JSON property `mimeType`
|
|
3670
|
+
# @return [String]
|
|
3671
|
+
attr_accessor :mime_type
|
|
3672
|
+
|
|
3673
|
+
# Optional. The JSON schema that the output should conform to. Only applicable
|
|
3674
|
+
# when mime_type is APPLICATION_JSON.
|
|
3675
|
+
# Corresponds to the JSON property `schema`
|
|
3676
|
+
# @return [Object]
|
|
3677
|
+
attr_accessor :schema
|
|
3678
|
+
|
|
3679
|
+
def initialize(**args)
|
|
3680
|
+
update!(**args)
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3683
|
+
# Update properties of this object
|
|
3684
|
+
def update!(**args)
|
|
3685
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
3686
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
3687
|
+
end
|
|
3688
|
+
end
|
|
3689
|
+
|
|
3543
3690
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
|
3544
3691
|
# of code that enables the system to interact with external systems to perform
|
|
3545
3692
|
# an action, or set of actions, outside of knowledge and scope of the model. A
|
|
@@ -3652,6 +3799,12 @@ module Google
|
|
|
3652
3799
|
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
|
3653
3800
|
include Google::Apis::Core::Hashable
|
|
3654
3801
|
|
|
3802
|
+
# Optional. Enables the prompt injection detection check on computer-use request.
|
|
3803
|
+
# Corresponds to the JSON property `enablePromptInjectionDetection`
|
|
3804
|
+
# @return [Boolean]
|
|
3805
|
+
attr_accessor :enable_prompt_injection_detection
|
|
3806
|
+
alias_method :enable_prompt_injection_detection?, :enable_prompt_injection_detection
|
|
3807
|
+
|
|
3655
3808
|
# Required. The environment being operated.
|
|
3656
3809
|
# Corresponds to the JSON property `environment`
|
|
3657
3810
|
# @return [String]
|
|
@@ -3673,6 +3826,7 @@ module Google
|
|
|
3673
3826
|
|
|
3674
3827
|
# Update properties of this object
|
|
3675
3828
|
def update!(**args)
|
|
3829
|
+
@enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection)
|
|
3676
3830
|
@environment = args[:environment] if args.key?(:environment)
|
|
3677
3831
|
@excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
|
|
3678
3832
|
end
|
|
@@ -4110,6 +4264,44 @@ module Google
|
|
|
4110
4264
|
end
|
|
4111
4265
|
end
|
|
4112
4266
|
|
|
4267
|
+
# Configuration for video-specific output formatting.
|
|
4268
|
+
class GoogleCloudAiplatformV1beta1VideoResponseFormat
|
|
4269
|
+
include Google::Apis::Core::Hashable
|
|
4270
|
+
|
|
4271
|
+
# The aspect ratio for the video output.
|
|
4272
|
+
# Corresponds to the JSON property `aspectRatio`
|
|
4273
|
+
# @return [String]
|
|
4274
|
+
attr_accessor :aspect_ratio
|
|
4275
|
+
|
|
4276
|
+
# Optional. Delivery mode for the generated content.
|
|
4277
|
+
# Corresponds to the JSON property `delivery`
|
|
4278
|
+
# @return [String]
|
|
4279
|
+
attr_accessor :delivery
|
|
4280
|
+
|
|
4281
|
+
# Optional. The duration for the video output.
|
|
4282
|
+
# Corresponds to the JSON property `duration`
|
|
4283
|
+
# @return [String]
|
|
4284
|
+
attr_accessor :duration
|
|
4285
|
+
|
|
4286
|
+
# Optional. The Google Cloud Storage URI to store the video output. Required for
|
|
4287
|
+
# Vertex if delivery is URI.
|
|
4288
|
+
# Corresponds to the JSON property `gcsUri`
|
|
4289
|
+
# @return [String]
|
|
4290
|
+
attr_accessor :gcs_uri
|
|
4291
|
+
|
|
4292
|
+
def initialize(**args)
|
|
4293
|
+
update!(**args)
|
|
4294
|
+
end
|
|
4295
|
+
|
|
4296
|
+
# Update properties of this object
|
|
4297
|
+
def update!(**args)
|
|
4298
|
+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
|
|
4299
|
+
@delivery = args[:delivery] if args.key?(:delivery)
|
|
4300
|
+
@duration = args[:duration] if args.key?(:duration)
|
|
4301
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
4302
|
+
end
|
|
4303
|
+
end
|
|
4304
|
+
|
|
4113
4305
|
# Configuration for a voice.
|
|
4114
4306
|
class GoogleCloudAiplatformV1beta1VoiceConfig
|
|
4115
4307
|
include Google::Apis::Core::Hashable
|
|
@@ -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.40.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260612"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class GoogleCloudAiplatformV1beta1AudioResponseFormat
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
@@ -358,6 +364,12 @@ module Google
|
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
|
359
365
|
end
|
|
360
366
|
|
|
367
|
+
class GoogleCloudAiplatformV1beta1ImageResponseFormat
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
361
373
|
class GoogleCloudAiplatformV1beta1LogprobsResult
|
|
362
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
375
|
|
|
@@ -472,6 +484,12 @@ module Google
|
|
|
472
484
|
include Google::Apis::Core::JsonObjectSupport
|
|
473
485
|
end
|
|
474
486
|
|
|
487
|
+
class GoogleCloudAiplatformV1beta1ResponseFormat
|
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
+
|
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
+
end
|
|
492
|
+
|
|
475
493
|
class GoogleCloudAiplatformV1beta1Retrieval
|
|
476
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
495
|
|
|
@@ -532,6 +550,12 @@ module Google
|
|
|
532
550
|
include Google::Apis::Core::JsonObjectSupport
|
|
533
551
|
end
|
|
534
552
|
|
|
553
|
+
class GoogleCloudAiplatformV1beta1TextResponseFormat
|
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
|
+
|
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
557
|
+
end
|
|
558
|
+
|
|
535
559
|
class GoogleCloudAiplatformV1beta1Tool
|
|
536
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
537
561
|
|
|
@@ -640,6 +664,12 @@ module Google
|
|
|
640
664
|
include Google::Apis::Core::JsonObjectSupport
|
|
641
665
|
end
|
|
642
666
|
|
|
667
|
+
class GoogleCloudAiplatformV1beta1VideoResponseFormat
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
669
|
+
|
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
671
|
+
end
|
|
672
|
+
|
|
643
673
|
class GoogleCloudAiplatformV1beta1VoiceConfig
|
|
644
674
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
645
675
|
|
|
@@ -683,6 +713,16 @@ module Google
|
|
|
683
713
|
end
|
|
684
714
|
end
|
|
685
715
|
|
|
716
|
+
class GoogleCloudAiplatformV1beta1AudioResponseFormat
|
|
717
|
+
# @private
|
|
718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
719
|
+
property :bit_rate, as: 'bitRate'
|
|
720
|
+
property :delivery, as: 'delivery'
|
|
721
|
+
property :mime_type, as: 'mimeType'
|
|
722
|
+
property :sample_rate, as: 'sampleRate'
|
|
723
|
+
end
|
|
724
|
+
end
|
|
725
|
+
|
|
686
726
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
687
727
|
# @private
|
|
688
728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1058,6 +1098,8 @@ module Google
|
|
|
1058
1098
|
property :model_config, as: 'modelConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation
|
|
1059
1099
|
|
|
1060
1100
|
property :presence_penalty, as: 'presencePenalty'
|
|
1101
|
+
collection :response_format, as: 'responseFormat', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat::Representation
|
|
1102
|
+
|
|
1061
1103
|
property :response_json_schema, as: 'responseJsonSchema'
|
|
1062
1104
|
property :response_logprobs, as: 'responseLogprobs'
|
|
1063
1105
|
property :response_mime_type, as: 'responseMimeType'
|
|
@@ -1277,6 +1319,16 @@ module Google
|
|
|
1277
1319
|
end
|
|
1278
1320
|
end
|
|
1279
1321
|
|
|
1322
|
+
class GoogleCloudAiplatformV1beta1ImageResponseFormat
|
|
1323
|
+
# @private
|
|
1324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1325
|
+
property :aspect_ratio, as: 'aspectRatio'
|
|
1326
|
+
property :delivery, as: 'delivery'
|
|
1327
|
+
property :image_size, as: 'imageSize'
|
|
1328
|
+
property :mime_type, as: 'mimeType'
|
|
1329
|
+
end
|
|
1330
|
+
end
|
|
1331
|
+
|
|
1280
1332
|
class GoogleCloudAiplatformV1beta1LogprobsResult
|
|
1281
1333
|
# @private
|
|
1282
1334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1459,6 +1511,20 @@ module Google
|
|
|
1459
1511
|
end
|
|
1460
1512
|
end
|
|
1461
1513
|
|
|
1514
|
+
class GoogleCloudAiplatformV1beta1ResponseFormat
|
|
1515
|
+
# @private
|
|
1516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1517
|
+
property :audio, as: 'audio', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat::Representation
|
|
1518
|
+
|
|
1519
|
+
property :image, as: 'image', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat::Representation
|
|
1520
|
+
|
|
1521
|
+
property :text, as: 'text', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat::Representation
|
|
1522
|
+
|
|
1523
|
+
property :video, as: 'video', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat::Representation
|
|
1524
|
+
|
|
1525
|
+
end
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1462
1528
|
class GoogleCloudAiplatformV1beta1Retrieval
|
|
1463
1529
|
# @private
|
|
1464
1530
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1583,6 +1649,14 @@ module Google
|
|
|
1583
1649
|
end
|
|
1584
1650
|
end
|
|
1585
1651
|
|
|
1652
|
+
class GoogleCloudAiplatformV1beta1TextResponseFormat
|
|
1653
|
+
# @private
|
|
1654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1655
|
+
property :mime_type, as: 'mimeType'
|
|
1656
|
+
property :schema, as: 'schema'
|
|
1657
|
+
end
|
|
1658
|
+
end
|
|
1659
|
+
|
|
1586
1660
|
class GoogleCloudAiplatformV1beta1Tool
|
|
1587
1661
|
# @private
|
|
1588
1662
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1620,6 +1694,7 @@ module Google
|
|
|
1620
1694
|
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
|
1621
1695
|
# @private
|
|
1622
1696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1697
|
+
property :enable_prompt_injection_detection, as: 'enablePromptInjectionDetection'
|
|
1623
1698
|
property :environment, as: 'environment'
|
|
1624
1699
|
collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
|
|
1625
1700
|
end
|
|
@@ -1756,6 +1831,16 @@ module Google
|
|
|
1756
1831
|
end
|
|
1757
1832
|
end
|
|
1758
1833
|
|
|
1834
|
+
class GoogleCloudAiplatformV1beta1VideoResponseFormat
|
|
1835
|
+
# @private
|
|
1836
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1837
|
+
property :aspect_ratio, as: 'aspectRatio'
|
|
1838
|
+
property :delivery, as: 'delivery'
|
|
1839
|
+
property :duration, as: 'duration'
|
|
1840
|
+
property :gcs_uri, as: 'gcsUri'
|
|
1841
|
+
end
|
|
1842
|
+
end
|
|
1843
|
+
|
|
1759
1844
|
class GoogleCloudAiplatformV1beta1VoiceConfig
|
|
1760
1845
|
# @private
|
|
1761
1846
|
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.
|
|
4
|
+
version: 0.40.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.40.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:
|