Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoResponseVideo
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoResponseVideo
- 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
-
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the video.
-
#gcs_uri ⇒ String
Cloud Storage URI where the generated video is written.
-
#mime_type ⇒ String
The MIME type of the content of the video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoResponseVideo
constructor
A new instance of CloudAiLargeModelsVisionGenerateVideoResponseVideo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoResponseVideo
Returns a new instance of CloudAiLargeModelsVisionGenerateVideoResponseVideo.
81 82 83 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 81 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bytes_base64_encoded ⇒ String
Base64 encoded bytes string representing the video.
Corresponds to the JSON property bytesBase64Encoded
69 70 71 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 69 def bytes_base64_encoded @bytes_base64_encoded end |
#gcs_uri ⇒ String
Cloud Storage URI where the generated video is written.
Corresponds to the JSON property gcsUri
74 75 76 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 74 def gcs_uri @gcs_uri end |
#mime_type ⇒ String
The MIME type of the content of the video. - video/mp4
Corresponds to the JSON property mimeType
79 80 81 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 79 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
86 87 88 89 90 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 86 def update!(**args) @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 |