Class: Google::Apis::DfareportingV3_0::Language
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DfareportingV3_0::Language
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_0/classes.rb,
 generated/google/apis/dfareporting_v3_0/representations.rb,
 generated/google/apis/dfareporting_v3_0/representations.rb
Overview
Contains information about a language that can be targeted by ads.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Language ID of this language. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of this language. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Language 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Language. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Language
Returns a new instance of Language
| 6951 6952 6953 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6951 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ Fixnum
Language ID of this language. This is the ID used for targeting and generating
reports.
Corresponds to the JSON property id
| 6931 6932 6933 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6931 def id @id end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#language".
Corresponds to the JSON property kind
| 6937 6938 6939 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6937 def kind @kind end | 
#language_code ⇒ String
Format of language code is an ISO 639 two-letter language code optionally
followed by an underscore followed by an ISO 3166 code. Examples are "en" for
English or "zh_CN" for Simplified Chinese.
Corresponds to the JSON property languageCode
| 6944 6945 6946 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6944 def language_code @language_code end | 
#name ⇒ String
Name of this language.
Corresponds to the JSON property name
| 6949 6950 6951 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6949 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 6956 6957 6958 6959 6960 6961 | # File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 6956 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) end |