class Google::Apis::DfareportingV2_1::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_1/classes.rb, line 8595 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_1/classes.rb, line 8600 def update!(**args) @country_code = args[:country_code] unless args[:country_code].nil? @country_dart_id = args[:country_dart_id] unless args[:country_dart_id].nil? @dart_id = args[:dart_id] unless args[:dart_id].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @region_code = args[:region_code] unless args[:region_code].nil? end