Class: Google::Apis::DisplayvideoV1::VideoPlayerSizeTargetingOptionDetails

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

Overview

Represents a targetable video player size. This will be populated in the video_player_size_details field when targeting_type is TARGETING_TYPE_VIDEO_PLAYER_SIZE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoPlayerSizeTargetingOptionDetails

Returns a new instance of VideoPlayerSizeTargetingOptionDetails.



8407
8408
8409
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8407

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

Instance Attribute Details

#video_player_sizeString

Output only. The video player size. Corresponds to the JSON property videoPlayerSize

Returns:

  • (String)


8405
8406
8407
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8405

def video_player_size
  @video_player_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8412
8413
8414
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8412

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