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



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
484
485
486
487
488
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 448

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][google.cloud.talent.v4beta1.ContactInfoUsage] 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

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

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

Returns:



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
484
485
486
487
488
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 448

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][google.cloud.talent.v4beta1.ContactInfoUsage] 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

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

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

Returns:



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
484
485
486
487
488
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 448

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][google.cloud.talent.v4beta1.ContactInfoUsage] 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_availableString

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.



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
484
485
486
487
488
# File 'lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb', line 448

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][google.cloud.talent.v4beta1.ContactInfoUsage] 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