class Google::Apis::DfareportingV3_5::Country

Contains information about a country that can be targeted by ads.

Attributes

country_code[RW]

Country code. Corresponds to the JSON property `countryCode` @return [String]

dart_id[RW]

DART ID of this country. This is the ID used for targeting and generating reports. Corresponds to the JSON property `dartId` @return [Fixnum]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#country”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this country. Corresponds to the JSON property `name` @return [String]

ssl_enabled[RW]

Whether ad serving supports secure servers in this country. Corresponds to the JSON property `sslEnabled` @return [Boolean]

ssl_enabled?[RW]

Whether ad serving supports secure servers in this country. Corresponds to the JSON property `sslEnabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 2764
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 2769
def update!(**args)
  @country_code = args[:country_code] if args.key?(:country_code)
  @dart_id = args[:dart_id] if args.key?(:dart_id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @ssl_enabled = args[:ssl_enabled] if args.key?(:ssl_enabled)
end