Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionVideo
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionVideo
- 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
Video
Instance Attribute Summary collapse
-
#encoded_video ⇒ String
Base 64 encoded video bytes.
-
#encoding ⇒ String
Video encoding, for example "video/mp4".
-
#text ⇒ String
Text/Expanded text input for Help Me Write.
-
#uri ⇒ String
Path to another storage (typically Google Cloud Storage).
-
#video ⇒ String
Raw bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiLargeModelsVisionVideo
constructor
A new instance of CloudAiLargeModelsVisionVideo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiLargeModelsVisionVideo
Returns a new instance of CloudAiLargeModelsVisionVideo.
732 733 734 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encoded_video ⇒ String
Base 64 encoded video bytes.
Corresponds to the JSON property encodedVideo
709 710 711 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 709 def encoded_video @encoded_video end |
#encoding ⇒ String
Video encoding, for example "video/mp4".
Corresponds to the JSON property encoding
714 715 716 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 714 def encoding @encoding end |
#text ⇒ String
Text/Expanded text input for Help Me Write.
Corresponds to the JSON property text
719 720 721 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 719 def text @text end |
#uri ⇒ String
Path to another storage (typically Google Cloud Storage).
Corresponds to the JSON property uri
724 725 726 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 724 def uri @uri end |
#video ⇒ String
Raw bytes.
Corresponds to the JSON property video
NOTE: Values are automatically base64 encoded/decoded in the client library.
730 731 732 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 730 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 741 742 743 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 737 def update!(**args) @encoded_video = args[:encoded_video] if args.key?(:encoded_video) @encoding = args[:encoding] if args.key?(:encoding) @text = args[:text] if args.key?(:text) @uri = args[:uri] if args.key?(:uri) @video = args[:video] if args.key?(:video) end |