Class: Google::Apis::JobsV3::CreateCompanyRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::CreateCompanyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v3/classes.rb,
lib/google/apis/jobs_v3/representations.rb,
lib/google/apis/jobs_v3/representations.rb
Overview
Input only. The Request of the CreateCompany method.
Instance Attribute Summary collapse
-
#company ⇒ Google::Apis::JobsV3::Company
A Company resource represents a company in the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateCompanyRequest
constructor
A new instance of CreateCompanyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateCompanyRequest
Returns a new instance of CreateCompanyRequest.
729 730 731 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#company ⇒ Google::Apis::JobsV3::Company
A Company resource represents a company in the service. A company is the
entity that owns job postings, that is, the hiring entity responsible for
employing applicants for the job position.
Corresponds to the JSON property company
727 728 729 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 727 def company @company end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
734 735 736 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 734 def update!(**args) @company = args[:company] if args.key?(:company) end |