Class: Google::Apis::JobsV2::CompanyInfoSource
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV2::CompanyInfoSource
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb 
Overview
A resource that represents an external  Google identifier for a company,
for example, a Google+ business page or a Google Maps business page.
For unsupported types, use unknown_type_id.
Instance Attribute Summary collapse
- 
  
    
      #freebase_mid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #gplus_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #maps_cid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #unknown_type_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CompanyInfoSource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CompanyInfoSource.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompanyInfoSource
Returns a new instance of CompanyInfoSource
      417 418 419  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 417 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#freebase_mid ⇒ String
Optional.
The Google's Knowledge Graph value for the employer's company.
Corresponds to the JSON property freebaseMid
      396 397 398  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 396 def freebase_mid @freebase_mid end  | 
  
#gplus_id ⇒ String
Optional.
The numeric identifier for the employer's Google+ business page.
Corresponds to the JSON property gplusId
      402 403 404  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 402 def gplus_id @gplus_id end  | 
  
#maps_cid ⇒ String
Optional.
The numeric identifier for the employer's headquarters on Google Maps,
namely, the Google Maps CID (cell id).
Corresponds to the JSON property mapsCid
      409 410 411  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 409 def maps_cid @maps_cid end  | 
  
#unknown_type_id ⇒ String
Optional.
A Google identifier that does not match any of the other types.
Corresponds to the JSON property unknownTypeId
      415 416 417  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 415 def unknown_type_id @unknown_type_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      422 423 424 425 426 427  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 422 def update!(**args) @freebase_mid = args[:freebase_mid] if args.key?(:freebase_mid) @gplus_id = args[:gplus_id] if args.key?(:gplus_id) @maps_cid = args[:maps_cid] if args.key?(:maps_cid) @unknown_type_id = args[:unknown_type_id] if args.key?(:unknown_type_id) end  |