Class: Google::Apis::JobsV2::CompanyInfoSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CompanyInfoSource

Returns a new instance of CompanyInfoSource.



399
400
401
# File 'generated/google/apis/jobs_v2/classes.rb', line 399

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#freebase_midString

Optional. The Google's Knowledge Graph value for the employer's company. Corresponds to the JSON property freebaseMid

Returns:

  • (String)


380
381
382
# File 'generated/google/apis/jobs_v2/classes.rb', line 380

def freebase_mid
  @freebase_mid
end

#gplus_idString

Optional. The numeric identifier for the employer's Google+ business page. Corresponds to the JSON property gplusId

Returns:

  • (String)


385
386
387
# File 'generated/google/apis/jobs_v2/classes.rb', line 385

def gplus_id
  @gplus_id
end

#maps_cidString

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

Returns:

  • (String)


392
393
394
# File 'generated/google/apis/jobs_v2/classes.rb', line 392

def maps_cid
  @maps_cid
end

#unknown_type_idString

Optional. A Google identifier that does not match any of the other types. Corresponds to the JSON property unknownTypeId

Returns:

  • (String)


397
398
399
# File 'generated/google/apis/jobs_v2/classes.rb', line 397

def unknown_type_id
  @unknown_type_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
408
409
# File 'generated/google/apis/jobs_v2/classes.rb', line 404

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