Class: Google::Apis::JobsV3p1beta1::ApplicationInfo

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

Application related details of a job posting.

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

Returns a new instance of ApplicationInfo.


61
62
63
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 61

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

37
38
39
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 37

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)

49
50
51
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 49

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

59
60
61
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 59

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


66
67
68
69
70
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 66

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