Class: Google::Apis::DisplayvideoV4::YouTubeSelectLineUp

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

Overview

A Plannable YouTube Select Lineup for product targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YouTubeSelectLineUp

Returns a new instance of YouTubeSelectLineUp.



15410
15411
15412
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15410

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

Instance Attribute Details

#display_nameString

Output only. The display name of the YouTube Select Lineup. Corresponds to the JSON property displayName

Returns:

  • (String)


15403
15404
15405
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15403

def display_name
  @display_name
end

#lineup_idFixnum

Output only. The ID of the YouTube Select Lineup. Corresponds to the JSON property lineupId

Returns:

  • (Fixnum)


15408
15409
15410
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15408

def lineup_id
  @lineup_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15415
15416
15417
15418
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15415

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