Class: Google::Apis::DfareportingV3_1::Country
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DfareportingV3_1::Country
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/representations.rb 
Overview
Contains information about a country that can be targeted by ads.
Instance Attribute Summary collapse
- 
  
    
      #country_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Country code.
 - 
  
    
      #dart_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
DART ID of this country.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies what kind of resource this is.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Name of this country.
 - 
  
    
      #ssl_enabled  ⇒ Boolean 
    
    
      (also: #ssl_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether ad serving supports secure servers in this country.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Country 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Country.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Country
Returns a new instance of Country
      2740 2741 2742  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2740 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#country_code ⇒ String
Country code.
Corresponds to the JSON property countryCode
      2715 2716 2717  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2715 def country_code @country_code end  | 
  
#dart_id ⇒ Fixnum
DART ID of this country. This is the ID used for targeting and generating
reports.
Corresponds to the JSON property dartId
      2721 2722 2723  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2721 def dart_id @dart_id end  | 
  
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#country".
Corresponds to the JSON property kind
      2727 2728 2729  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2727 def kind @kind end  | 
  
#name ⇒ String
Name of this country.
Corresponds to the JSON property name
      2732 2733 2734  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2732 def name @name end  | 
  
#ssl_enabled ⇒ Boolean Also known as: ssl_enabled?
Whether ad serving supports secure servers in this country.
Corresponds to the JSON property sslEnabled
      2737 2738 2739  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2737 def ssl_enabled @ssl_enabled end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2745 2746 2747 2748 2749 2750 2751  | 
    
      # File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 2745 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  |