Class: Google::Apis::JobsV3::ApplicationInfo
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::ApplicationInfo
- 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
Application related details of a job posting.
Instance Attribute Summary collapse
-
#emails ⇒ Array<String>
Optional but at least one of uris, emails or instruction must be specified.
-
#instruction ⇒ String
Optional but at least one of uris, emails or instruction must be specified.
-
#uris ⇒ Array<String>
Optional but at least one of uris, emails or instruction must be specified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationInfo
constructor
A new instance of ApplicationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationInfo
Returns a new instance of ApplicationInfo.
53 54 55 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 53 def initialize(**args) update!(**args) end |
Instance Attribute Details
#emails ⇒ Array<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
34 35 36 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 34 def emails @emails end |
#instruction ⇒ String
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
43 44 45 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 43 def instruction @instruction end |
#uris ⇒ Array<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
51 52 53 |
# File 'lib/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 'lib/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 |