class Google::Apis::DfareportingV3_5::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 [Fixnum]

dart_id[RW]

DART ID of this region. Corresponds to the JSON property `dartId` @return [Fixnum]

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 lib/google/apis/dfareporting_v3_5/classes.rb, line 9835
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 9840
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