Class: Google::Cloud::Talent::V4beta1::Phone

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb

Overview

Resource that represents a person's telephone number.

Defined Under Namespace

Modules: PhoneType

Instance Attribute Summary collapse

Instance Attribute Details

#numberString

Returns Optional.

Phone number.

Any phone formats are supported and only exact matches are performed on searches. For example, if a phone number in profile is provided in the format of "(xxx)xxx-xxxx", in profile searches the same phone format has to be provided.

Number of characters allowed is 20.

Returns:

  • (String)

    Optional.

    Phone number.

    Any phone formats are supported and only exact matches are performed on searches. For example, if a phone number in profile is provided in the format of "(xxx)xxx-xxxx", in profile searches the same phone format has to be provided.

    Number of characters allowed is 20.



403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 403

class Phone
  # Enum that represents the type of the telephone.
  module PhoneType
    # Default value.
    PHONE_TYPE_UNSPECIFIED = 0

    # A landline.
    LANDLINE = 1

    # A mobile.
    MOBILE = 2

    # A fax.
    FAX = 3

    # A pager.
    PAGER = 4

    # A TTY (test telephone) or TDD (telecommunication device for the deaf).
    TTY_OR_TDD = 5

    # A voicemail.
    VOICEMAIL = 6

    # A virtual telephone number is a number that can be routed to another
    # number and managed by the user via Web, SMS, IVR, and so on.  It is
    # associated with a particular person, and may be routed to either a MOBILE
    # or LANDLINE number. The phone usage (see ContactInfoUsage above) should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: http://en.wikipedia.org/wiki/Personal_Numbers
    VIRTUAL = 7

    # Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
    VOIP = 8

    # In some regions (e.g. the USA), it is impossible to distinguish between
    # fixed-line and mobile numbers by looking at the phone number itself.
    MOBILE_OR_LANDLINE = 9
  end
end

#typeGoogle::Cloud::Talent::V4beta1::Phone::PhoneType

Returns Optional.

The phone type. For example, LANDLINE, MOBILE, FAX.

Returns:



403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 403

class Phone
  # Enum that represents the type of the telephone.
  module PhoneType
    # Default value.
    PHONE_TYPE_UNSPECIFIED = 0

    # A landline.
    LANDLINE = 1

    # A mobile.
    MOBILE = 2

    # A fax.
    FAX = 3

    # A pager.
    PAGER = 4

    # A TTY (test telephone) or TDD (telecommunication device for the deaf).
    TTY_OR_TDD = 5

    # A voicemail.
    VOICEMAIL = 6

    # A virtual telephone number is a number that can be routed to another
    # number and managed by the user via Web, SMS, IVR, and so on.  It is
    # associated with a particular person, and may be routed to either a MOBILE
    # or LANDLINE number. The phone usage (see ContactInfoUsage above) should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: http://en.wikipedia.org/wiki/Personal_Numbers
    VIRTUAL = 7

    # Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
    VOIP = 8

    # In some regions (e.g. the USA), it is impossible to distinguish between
    # fixed-line and mobile numbers by looking at the phone number itself.
    MOBILE_OR_LANDLINE = 9
  end
end

#usageGoogle::Cloud::Talent::V4beta1::ContactInfoUsage

Returns Optional.

The usage of the phone. For example, SCHOOL, WORK, PERSONAL.

Returns:



403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 403

class Phone
  # Enum that represents the type of the telephone.
  module PhoneType
    # Default value.
    PHONE_TYPE_UNSPECIFIED = 0

    # A landline.
    LANDLINE = 1

    # A mobile.
    MOBILE = 2

    # A fax.
    FAX = 3

    # A pager.
    PAGER = 4

    # A TTY (test telephone) or TDD (telecommunication device for the deaf).
    TTY_OR_TDD = 5

    # A voicemail.
    VOICEMAIL = 6

    # A virtual telephone number is a number that can be routed to another
    # number and managed by the user via Web, SMS, IVR, and so on.  It is
    # associated with a particular person, and may be routed to either a MOBILE
    # or LANDLINE number. The phone usage (see ContactInfoUsage above) should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: http://en.wikipedia.org/wiki/Personal_Numbers
    VIRTUAL = 7

    # Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
    VOIP = 8

    # In some regions (e.g. the USA), it is impossible to distinguish between
    # fixed-line and mobile numbers by looking at the phone number itself.
    MOBILE_OR_LANDLINE = 9
  end
end

#when_availableString

Returns Optional.

When this number is available. Any descriptive string is expected.

Number of characters allowed is 100.

Returns:

  • (String)

    Optional.

    When this number is available. Any descriptive string is expected.

    Number of characters allowed is 100.



403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 403

class Phone
  # Enum that represents the type of the telephone.
  module PhoneType
    # Default value.
    PHONE_TYPE_UNSPECIFIED = 0

    # A landline.
    LANDLINE = 1

    # A mobile.
    MOBILE = 2

    # A fax.
    FAX = 3

    # A pager.
    PAGER = 4

    # A TTY (test telephone) or TDD (telecommunication device for the deaf).
    TTY_OR_TDD = 5

    # A voicemail.
    VOICEMAIL = 6

    # A virtual telephone number is a number that can be routed to another
    # number and managed by the user via Web, SMS, IVR, and so on.  It is
    # associated with a particular person, and may be routed to either a MOBILE
    # or LANDLINE number. The phone usage (see ContactInfoUsage above) should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: http://en.wikipedia.org/wiki/Personal_Numbers
    VIRTUAL = 7

    # Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
    VOIP = 8

    # In some regions (e.g. the USA), it is impossible to distinguish between
    # fixed-line and mobile numbers by looking at the phone number itself.
    MOBILE_OR_LANDLINE = 9
  end
end