Class: Google::Apis::JobsV4::ApplicationInfo

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

Overview

Application related details of a job posting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationInfo

Returns a new instance of ApplicationInfo.



50
51
52
# File 'lib/google/apis/jobs_v4/classes.rb', line 50

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

Instance Attribute Details

#emailsArray<String>

Use this field to specify email address(es) to which resumes or applications can be sent. The maximum number of allowed characters for each entry is 255. Corresponds to the JSON property emails

Returns:

  • (Array<String>)


33
34
35
# File 'lib/google/apis/jobs_v4/classes.rb', line 33

def emails
  @emails
end

#instructionString

Use this field to provide instructions, such as "Mail your application to ...", that a candidate can follow to apply for the job. This field accepts and sanitizes HTML input, and also accepts bold, italic, ordered list, and unordered list markup tags. The maximum number of allowed characters is 3,000. Corresponds to the JSON property instruction

Returns:

  • (String)


41
42
43
# File 'lib/google/apis/jobs_v4/classes.rb', line 41

def instruction
  @instruction
end

#urisArray<String>

Use this URI field to direct an applicant to a website, for example to link to an online application form. The maximum number of allowed characters for each entry is 2,000. Corresponds to the JSON property uris

Returns:

  • (Array<String>)


48
49
50
# File 'lib/google/apis/jobs_v4/classes.rb', line 48

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55
56
57
58
59
# File 'lib/google/apis/jobs_v4/classes.rb', line 55

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