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
| 409 410 411 | # File 'generated/google/apis/jobs_v2/classes.rb', line 409 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
| 388 389 390 | # File 'generated/google/apis/jobs_v2/classes.rb', line 388 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
| 394 395 396 | # File 'generated/google/apis/jobs_v2/classes.rb', line 394 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
| 401 402 403 | # File 'generated/google/apis/jobs_v2/classes.rb', line 401 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
| 407 408 409 | # File 'generated/google/apis/jobs_v2/classes.rb', line 407 def unknown_type_id @unknown_type_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 414 415 416 417 418 419 | # File 'generated/google/apis/jobs_v2/classes.rb', line 414 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 |