Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Instance Attribute Summary collapse
-
#blob_id ⇒ String
Blob ID of the video.
-
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the video.
-
#gcs_uri ⇒ String
Corresponds to the JSON property
gcsUri. -
#mime_type ⇒ String
The MIME type of the content of the video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestVideo
constructor
A new instance of CloudAiLargeModelsVisionGenerateVideoRequestVideo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoRequestVideo
Returns a new instance of CloudAiLargeModelsVisionGenerateVideoRequestVideo.
524 525 526 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob_id ⇒ String
Blob ID of the video. This is used for storing large videos in the request.
Corresponds to the JSON property blobId
506 507 508 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 506 def blob_id @blob_id end |
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the video.
Corresponds to the JSON property bytesBase64Encoded
511 512 513 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 511 def bytes_base64_encoded @bytes_base64_encoded end |
#gcs_uri ⇒ String
Corresponds to the JSON property gcsUri
516 517 518 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 516 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
The MIME type of the content of the video. Only the video in the below listed
MIME types are supported. - video/mp4
Corresponds to the JSON property mimeType
522 523 524 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 522 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
529 530 531 532 533 534 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 529 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 |