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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/videointelligence_v1p3beta1/classes.rb,
generated/google/apis/videointelligence_v1p3beta1/representations.rb,
generated/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 'generated/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) and "builtin/latest". Corresponds to the JSON property model

Returns:

  • (String)


5584
5585
5586
# File 'generated/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 'generated/google/apis/videointelligence_v1p3beta1/classes.rb', line 5591

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