Class: Google::Apis::JobsV3::UpdateCompanyRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::UpdateCompanyRequest
- 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. Request for updating a specified company.
Instance Attribute Summary collapse
-
#company ⇒ Google::Apis::JobsV3::Company
A Company resource represents a company in the service.
-
#update_mask ⇒ String
Optional but strongly recommended for the best service experience.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateCompanyRequest
constructor
A new instance of UpdateCompanyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateCompanyRequest
Returns a new instance of UpdateCompanyRequest.
2454 2455 2456 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 2454 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
2444 2445 2446 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 2444 def company @company end |
#update_mask ⇒ String
Optional but strongly recommended for the best service experience. If
update_mask is provided, only the specified fields in company are updated.
Otherwise all the fields are updated. A field mask to specify the company
fields to be updated. Only top level fields of Company are supported.
Corresponds to the JSON property updateMask
2452 2453 2454 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 2452 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2459 2460 2461 2462 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 2459 def update!(**args) @company = args[:company] if args.key?(:company) @update_mask = args[:update_mask] if args.key?(:update_mask) end |