Class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig

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

Overview

Config for SHOT_CHANGE_DETECTION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig

Returns a new instance of GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig.



2117
2118
2119
# File 'lib/google/apis/videointelligence_v1beta2/classes.rb', line 2117

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)


2115
2116
2117
# File 'lib/google/apis/videointelligence_v1beta2/classes.rb', line 2115

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2122
2123
2124
# File 'lib/google/apis/videointelligence_v1beta2/classes.rb', line 2122

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