class Google::Apis::DisplayvideoV1::AssignedLocation
An assignment between a location list and a relevant targeting option. Currently, geo region targeting options are the only supported option for assignment.
Attributes
assigned_location_id[RW]
Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts. Corresponds to the JSON property `assignedLocationId` @return [Fixnum]
name[RW]
Output only. The resource name of the assigned location. Corresponds to the JSON property `name` @return [String]
targeting_option_id[RW]
Required. The ID of the targeting option assigned to the location list. Must be of type TARGETING_TYPE_GEO_REGION. Corresponds to the JSON property `targetingOptionId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 669 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 674 def update!(**args) @assigned_location_id = args[:assigned_location_id] if args.key?(:assigned_location_id) @name = args[:name] if args.key?(:name) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end