Class: Google::Apis::JobsV3p1beta1::CreateCompanyRequest

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. The Request of the CreateCompany method.

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

Returns a new instance of CreateCompanyRequest.


775
776
777
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 775

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


773
774
775
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 773

def company
  @company
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


780
781
782
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 780

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