Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo

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

A generated video.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo

Returns a new instance of GoogleCloudAiplatformV1beta1GenerateVideoResponseVideo.



26103
26104
26105
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26103

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

Instance Attribute Details

#bytes_base64_encodedString

Base64 encoded bytes string representing the video. Corresponds to the JSON property bytesBase64Encoded

Returns:

  • (String)


26091
26092
26093
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26091

def bytes_base64_encoded
  @bytes_base64_encoded
end

#gcs_uriString

Cloud Storage URI where the generated video is written. Corresponds to the JSON property gcsUri

Returns:

  • (String)


26096
26097
26098
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26096

def gcs_uri
  @gcs_uri
end

#mime_typeString

The MIME type of the content of the video. - video/mp4 Corresponds to the JSON property mimeType

Returns:

  • (String)


26101
26102
26103
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26101

def mime_type
  @mime_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26108
26109
26110
26111
26112
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26108

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