Class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig

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

Overview

Config for OBJECT_TRACKING.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig

Returns a new instance of GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig.



4222
4223
4224
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 4222

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

Instance Attribute Details

#modelString

Model to use for object tracking. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". Corresponds to the JSON property model

Returns:

  • (String)


4220
4221
4222
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 4220

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4227
4228
4229
# File 'lib/google/apis/videointelligence_v1p2beta1/classes.rb', line 4227

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