Class: Google::Apis::JobsV3::ApplicationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/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.



53
54
55
# File 'generated/google/apis/jobs_v3/classes.rb', line 53

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

Instance Attribute Details

#emailsArray<String>

Optional but at least one of uris, emails or instruction must be specified. 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>)


34
35
36
# File 'generated/google/apis/jobs_v3/classes.rb', line 34

def emails
  @emails
end

#instructionString

Optional but at least one of uris, emails or instruction must be specified. 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)


43
44
45
# File 'generated/google/apis/jobs_v3/classes.rb', line 43

def instruction
  @instruction
end

#urisArray<String>

Optional but at least one of uris, emails or instruction must be specified. 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>)


51
52
53
# File 'generated/google/apis/jobs_v3/classes.rb', line 51

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



58
59
60
61
62
# File 'generated/google/apis/jobs_v3/classes.rb', line 58

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