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.



15395
15396
15397
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15395

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)


15388
15389
15390
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15388

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)


15393
15394
15395
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15393

def lineup_id
  @lineup_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15400
15401
15402
15403
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 15400

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