Class: Google::Apis::JobsV3p1beta1::UpdateCompanyRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3p1beta1/classes.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb

Overview

Input only. Request for updating a specified company.

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) ⇒ UpdateCompanyRequest

Returns a new instance of UpdateCompanyRequest.



3133
3134
3135
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 3133

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

Instance Attribute Details

#companyGoogle::Apis::JobsV3p1beta1::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



3121
3122
3123
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 3121

def company
  @company
end

#update_maskString

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

Returns:

  • (String)


3131
3132
3133
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 3131

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3138
3139
3140
3141
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 3138

def update!(**args)
  @company = args[:company] if args.key?(:company)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end