Class: Google::Apis::DisplayvideoV1::RegionalLocationListAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::RegionalLocationListAssignedTargetingOptionDetails
- 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
Targeting details for regional location list. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_REGIONAL_LOCATION_LIST
.
Instance Attribute Summary collapse
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
-
#regional_location_list_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegionalLocationListAssignedTargetingOptionDetails
constructor
A new instance of RegionalLocationListAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegionalLocationListAssignedTargetingOptionDetails
Returns a new instance of RegionalLocationListAssignedTargetingOptionDetails.
7355 7356 7357 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7355 def initialize(**args) update!(**args) end |
Instance Attribute Details
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
7345 7346 7347 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7345 def negative @negative end |
#regional_location_list_id ⇒ Fixnum
Required. ID of the regional location list. Should refer to the
location_list_id field of a LocationList resource whose type is
TARGETING_LOCATION_TYPE_REGIONAL
.
Corresponds to the JSON property regionalLocationListId
7353 7354 7355 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7353 def regional_location_list_id @regional_location_list_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7360 7361 7362 7363 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 7360 def update!(**args) @negative = args[:negative] if args.key?(:negative) @regional_location_list_id = args[:regional_location_list_id] if args.key?(:regional_location_list_id) end |