class Google::Apis::DfareportingV2_3::Region
Contains information about a region that can be targeted by ads.
Attributes
country_code[RW]
Country code of the country to which this region belongs. Corresponds to the JSON property `countryCode` @return [String]
country_dart_id[RW]
DART ID of the country to which this region belongs. Corresponds to the JSON property `countryDartId` @return [String]
dart_id[RW]
DART ID of this region. Corresponds to the JSON property `dartId` @return [String]
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#region”. Corresponds to the JSON property `kind` @return [String]
name[RW]
Name of this region. Corresponds to the JSON property `name` @return [String]
region_code[RW]
Region code. Corresponds to the JSON property `regionCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 8616 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 8621 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) @dart_id = args[:dart_id] if args.key?(:dart_id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @region_code = args[:region_code] if args.key?(:region_code) end