Class: Google::Apis::MybusinessbusinessinformationV1::ChainName
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MybusinessbusinessinformationV1::ChainName
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb 
Overview
Name to be used when displaying the chain.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The display name for this chain.
 - 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The BCP 47 code of language of the name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ChainName 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ChainName.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ChainName
Returns a new instance of ChainName.
      389 390 391  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 389 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
The display name for this chain.
Corresponds to the JSON property displayName
      382 383 384  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 382 def display_name @display_name end  | 
  
#language_code ⇒ String
The BCP 47 code of language of the name.
Corresponds to the JSON property languageCode
      387 388 389  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 387 def language_code @language_code end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      394 395 396 397  | 
    
      # File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 394 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @language_code = args[:language_code] if args.key?(:language_code) end  |