Class: Google::Apis::DisplayvideoV3::ContentDurationTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ContentDurationTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Represents a targetable content duration. This will be populated in the
content_duration_details field when targeting_type is
TARGETING_TYPE_CONTENT_DURATION.
Instance Attribute Summary collapse
-
#content_duration ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentDurationTargetingOptionDetails
constructor
A new instance of ContentDurationTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentDurationTargetingOptionDetails
Returns a new instance of ContentDurationTargetingOptionDetails.
3471 3472 3473 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_duration ⇒ String
Output only. The content duration.
Corresponds to the JSON property contentDuration
3469 3470 3471 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3469 def content_duration @content_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3476 3477 3478 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3476 def update!(**args) @content_duration = args[:content_duration] if args.key?(:content_duration) end |