Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb

Overview

Config for SHOT_CHANGE_DETECTION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig

Returns a new instance of GoogleCloudVideointelligenceV1p3beta1ShotChangeDetectionConfig.



5586
5587
5588
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5586

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

Instance Attribute Details

#modelString

Model to use for shot change detection. Supported values: "builtin/stable" ( the default if unset), "builtin/latest", and "builtin/legacy". Corresponds to the JSON property model

Returns:

  • (String)


5584
5585
5586
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5584

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5591
5592
5593
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5591

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