class Google::Apis::DfareportingV2_1::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 [String]

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 generated/google/apis/dfareporting_v2_1/classes.rb, line 2250
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 2255
def update!(**args)
  @country_code = args[:country_code] unless args[:country_code].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?
  @ssl_enabled = args[:ssl_enabled] unless args[:ssl_enabled].nil?
end