Class: Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame

Returns a new instance of CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame.



121
122
123
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 121

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

Instance Attribute Details

#frame_numFixnum

The index of the frame, starts with zero and must be a multiple of 8. Corresponds to the JSON property frameNum

Returns:

  • (Fixnum)


114
115
116
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 114

def frame_num
  @frame_num
end

#imageGoogle::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionGenerateVideoRequestImage

The image bytes or Cloud Storage URI to make the prediction on. Corresponds to the JSON property image



119
120
121
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 119

def image
  @image
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



126
127
128
129
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 126

def update!(**args)
  @frame_num = args[:frame_num] if args.key?(:frame_num)
  @image = args[:image] if args.key?(:image)
end