Class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig

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

Overview

Config for OBJECT_TRACKING.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig

Returns a new instance of GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig.



3078
3079
3080
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 3078

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)


3076
3077
3078
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 3076

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3083
3084
3085
# File 'generated/google/apis/videointelligence_v1p1beta1/classes.rb', line 3083

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