Class: Google::Apis::DisplayvideoV1::ContentStreamTypeAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::ContentStreamTypeAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Details for content stream type assigned targeting option. This will be
populated in the content_stream_type_details field when targeting_type is
TARGETING_TYPE_CONTENT_STREAM_TYPE. Explicitly targeting all options is not
supported. Remove all content stream type targeting options to achieve this
effect.
Instance Attribute Summary collapse
-
#content_stream_type ⇒ String
Output only.
-
#targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentStreamTypeAssignedTargetingOptionDetails
constructor
A new instance of ContentStreamTypeAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentStreamTypeAssignedTargetingOptionDetails
Returns a new instance of ContentStreamTypeAssignedTargetingOptionDetails.
3095 3096 3097 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3095 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_stream_type ⇒ String
Output only. The content stream type.
Corresponds to the JSON property contentStreamType
3087 3088 3089 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3087 def content_stream_type @content_stream_type end |
#targeting_option_id ⇒ String
Required. The targeting_option_id field when targeting_type is
TARGETING_TYPE_CONTENT_STREAM_TYPE.
Corresponds to the JSON property targetingOptionId
3093 3094 3095 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3093 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3100 3101 3102 3103 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3100 def update!(**args) @content_stream_type = args[:content_stream_type] if args.key?(:content_stream_type) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |