Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionVideo

Inherits:
Object
  • Object
show all
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

Overview

Video

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionVideo

Returns a new instance of CloudAiLargeModelsVisionVideo.



1134
1135
1136
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1134

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#encoded_videoString

Base 64 encoded video bytes. Corresponds to the JSON property encodedVideo

Returns:

  • (String)


1111
1112
1113
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1111

def encoded_video
  @encoded_video
end

#encodingString

Video encoding, for example "video/mp4". Corresponds to the JSON property encoding

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1116

def encoding
  @encoding
end

#textString

Text/Expanded text input for Help Me Write. Corresponds to the JSON property text

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1121

def text
  @text
end

#uriString

Path to another storage (typically Google Cloud Storage). Corresponds to the JSON property uri

Returns:

  • (String)


1126
1127
1128
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1126

def uri
  @uri
end

#videoString

Raw bytes. Corresponds to the JSON property video NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


1132
1133
1134
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1132

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1139
1140
1141
1142
1143
1144
1145
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1139

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