Class: Google::Apis::PartnersV2::LocalizedCompanyInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PartnersV2::LocalizedCompanyInfo
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb 
Overview
The localized company information.
Instance Attribute Summary collapse
- 
  
    
      #country_codes  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of country codes for the localized company info.
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Localized display name.
 - 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").
 - 
  
    
      #overview  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Localized brief description that the company uses to advertise themselves.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LocalizedCompanyInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LocalizedCompanyInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocalizedCompanyInfo
Returns a new instance of LocalizedCompanyInfo
      1430 1431 1432  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1430 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#country_codes ⇒ Array<String>
List of country codes for the localized company info.
Corresponds to the JSON property countryCodes
      1411 1412 1413  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1411 def country_codes @country_codes end  | 
  
#display_name ⇒ String
Localized display name.
Corresponds to the JSON property displayName
      1416 1417 1418  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1416 def display_name @display_name end  | 
  
#language_code ⇒ String
Language code of the localized company info, as defined by
BCP 47
(IETF BCP 47, "Tags for Identifying Languages").
Corresponds to the JSON property languageCode
      1423 1424 1425  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1423 def language_code @language_code end  | 
  
#overview ⇒ String
Localized brief description that the company uses to advertise themselves.
Corresponds to the JSON property overview
      1428 1429 1430  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1428 def overview @overview end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1435 1436 1437 1438 1439 1440  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 1435 def update!(**args) @country_codes = args[:country_codes] if args.key?(:country_codes) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) @overview = args[:overview] if args.key?(:overview) end  |