Class: Google::Apis::DisplayvideoV1::CarrierAndIspTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CarrierAndIspTargetingOptionDetails
- 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
-
#display_name ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CarrierAndIspTargetingOptionDetails
constructor
A new instance of CarrierAndIspTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CarrierAndIspTargetingOptionDetails
Returns a new instance of CarrierAndIspTargetingOptionDetails.
1993 1994 1995 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The display name of the carrier or ISP.
Corresponds to the JSON property displayName
1986 1987 1988 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1986 def display_name @display_name end |
#type ⇒ String
Output only. The type indicating if it's carrier or ISP.
Corresponds to the JSON property type
1991 1992 1993 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1991 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1998 1999 2000 2001 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1998 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @type = args[:type] if args.key?(:type) end |