Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoResponse

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

Generate video response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoResponse

Returns a new instance of CloudAiLargeModelsVisionGenerateVideoResponse.



44
45
46
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44

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

Instance Attribute Details

#generated_samplesArray<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionMedia>

The generates samples. Corresponds to the JSON property generatedSamples



32
33
34
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32

def generated_samples
  @generated_samples
end

#rai_media_filtered_countFixnum

Returns if any videos were filtered due to RAI policies. Corresponds to the JSON property raiMediaFilteredCount

Returns:

  • (Fixnum)


37
38
39
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37

def rai_media_filtered_count
  @rai_media_filtered_count
end

#rai_media_filtered_reasonsArray<String>

Returns rai failure reasons if any. Corresponds to the JSON property raiMediaFilteredReasons

Returns:

  • (Array<String>)


42
43
44
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42

def rai_media_filtered_reasons
  @rai_media_filtered_reasons
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49
50
51
52
53
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 49

def update!(**args)
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
end