Class: Google::Apis::DisplayvideoV1::BrowserTargetingOptionDetails

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 browser. This will be populated in the browser_details field when targeting_type is TARGETING_TYPE_BROWSER.

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) ⇒ BrowserTargetingOptionDetails

Returns a new instance of BrowserTargetingOptionDetails.



1232
1233
1234
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1232

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

Instance Attribute Details

#display_nameString

Output only. The display name of the browser. Corresponds to the JSON property displayName

Returns:

  • (String)


1230
1231
1232
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1230

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1237
1238
1239
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1237

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