Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig

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 OBJECT_TRACKING.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig

Returns a new instance of GoogleCloudVideointelligenceV1p3beta1ObjectTrackingConfig.



5452
5453
5454
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5452

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)


5450
5451
5452
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5450

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5457
5458
5459
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5457

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