Class: Google::Apis::DisplayvideoV3::ContentStreamTypeAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContentStreamTypeAssignedTargetingOptionDetails

Returns a new instance of ContentStreamTypeAssignedTargetingOptionDetails.



3941
3942
3943
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3941

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

Instance Attribute Details

#content_stream_typeString

Output only. The content stream type. Corresponds to the JSON property contentStreamType

Returns:

  • (String)


3933
3934
3935
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3933

def content_stream_type
  @content_stream_type
end

#targeting_option_idString

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

Returns:

  • (String)


3939
3940
3941
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3939

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3946
3947
3948
3949
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 3946

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