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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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

#number::String

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

    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.



441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 441

class Phone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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 {::Google::Cloud::Talent::V4beta1::ContactInfoUsage phone usage} should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: https://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

#type::Google::Cloud::Talent::V4beta1::Phone::PhoneType

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

Returns:



441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 441

class Phone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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 {::Google::Cloud::Talent::V4beta1::ContactInfoUsage phone usage} should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: https://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

#usage::Google::Cloud::Talent::V4beta1::ContactInfoUsage

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

Returns:



441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 441

class Phone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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 {::Google::Cloud::Talent::V4beta1::ContactInfoUsage phone usage} should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: https://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_available::String

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

Number of characters allowed is 100.

Returns:

  • (::String)

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

    Number of characters allowed is 100.



441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/talent/v4beta1/profile.rb', line 441

class Phone
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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 {::Google::Cloud::Talent::V4beta1::ContactInfoUsage phone usage} should
    # be set to PERSONAL for these phone types. Some more information can be
    # found here: https://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