Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoRequestAudio
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoRequestAudio
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The raw bytes or Cloud Storage URI for an audio input.
Instance Attribute Summary collapse
-
#blob_id ⇒ String
Blob ID of the audio.
-
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the audio.
-
#gcs_uri ⇒ String
Corresponds to the JSON property
gcsUri. -
#mime_type ⇒ String
The MIME type of the content of the audio.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestAudio
constructor
A new instance of CloudAiLargeModelsVisionGenerateVideoRequestAudio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestAudio
Returns a new instance of CloudAiLargeModelsVisionGenerateVideoRequestAudio.
448 449 450 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob_id ⇒ String
Blob ID of the audio. This is used for storing the large audio in the request.
Corresponds to the JSON property blobId
430 431 432 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 430 def blob_id @blob_id end |
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the audio.
Corresponds to the JSON property bytesBase64Encoded
435 436 437 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 435 def bytes_base64_encoded @bytes_base64_encoded end |
#gcs_uri ⇒ String
Corresponds to the JSON property gcsUri
440 441 442 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 440 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
The MIME type of the content of the audio. Only audio in below listed MIME
types are supported. - audio/wav - audio/mp3 - audio/mpeg
Corresponds to the JSON property mimeType
446 447 448 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 446 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
453 454 455 456 457 458 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 453 def update!(**args) @blob_id = args[:blob_id] if args.key?(:blob_id) @bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) end |