Class: Google::Apis::DisplayvideoV3::ContentDurationTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentDurationTargetingOptionDetails

Returns a new instance of ContentDurationTargetingOptionDetails.



3745
3746
3747
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3745

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

Instance Attribute Details

#content_durationString

Output only. The content duration. Corresponds to the JSON property contentDuration

Returns:

  • (String)


3743
3744
3745
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3743

def content_duration
  @content_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3750
3751
3752
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3750

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