Class: Google::Apis::DisplayvideoV1::ContentOutstreamPositionAssignedTargetingOptionDetails

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

Assigned content outstream position targeting option details. This will be populated in the content_outstream_position_details field when targeting_type is TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentOutstreamPositionAssignedTargetingOptionDetails

Returns a new instance of ContentOutstreamPositionAssignedTargetingOptionDetails.



2366
2367
2368
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2366

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

Instance Attribute Details

#content_outstream_positionString

Output only. The content outstream position. Corresponds to the JSON property contentOutstreamPosition

Returns:

  • (String)


2358
2359
2360
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2358

def content_outstream_position
  @content_outstream_position
end

#targeting_option_idString

Required. The targeting_option_id field when targeting_type is TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


2364
2365
2366
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2364

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2371
2372
2373
2374
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 2371

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