Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig

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

Configuration for spatial alignment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig

Returns a new instance of CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig.



254
255
256
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 254

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

Instance Attribute Details

#enableBoolean Also known as: enable?

Optional. If true, enable alignment. Corresponds to the JSON property enable

Returns:

  • (Boolean)


251
252
253
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 251

def enable
  @enable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



259
260
261
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 259

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