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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ContentOutstreamPositionAssignedTargetingOptionDetails

Returns a new instance of ContentOutstreamPositionAssignedTargetingOptionDetails.



1902
1903
1904
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1902

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)


1893
1894
1895
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1893

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)


1900
1901
1902
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1900

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1907
1908
1909
1910
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1907

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