Class: Google::Apis::DisplayvideoV1::CarrierAndIspTargetingOptionDetails

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 carrier or ISP. This will be populated in the carrier_and_isp_details field of a TargetingOption when targeting_type is TARGETING_TYPE_CARRIER_AND_ISP.

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

Returns a new instance of CarrierAndIspTargetingOptionDetails.



1508
1509
1510
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1508

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

Instance Attribute Details

#display_nameString

Output only. The display name of the carrier or ISP. Corresponds to the JSON property displayName

Returns:

  • (String)


1501
1502
1503
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1501

def display_name
  @display_name
end

#typeString

Output only. The type indicating if it's carrier or ISP. Corresponds to the JSON property type

Returns:

  • (String)


1506
1507
1508
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1506

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1513
1514
1515
1516
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1513

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