Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::Phone (v0.4.6)

Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::Phone.

Resource that represents a person's telephone number.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#number

def number() -> ::String
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.

#number=

def number=(value) -> ::String
Parameter
  • value (::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.

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.

#type

def type() -> ::Google::Cloud::Talent::V4beta1::Phone::PhoneType
Returns

#type=

def type=(value) -> ::Google::Cloud::Talent::V4beta1::Phone::PhoneType
Parameter
Returns

#usage

def usage() -> ::Google::Cloud::Talent::V4beta1::ContactInfoUsage
Returns

#usage=

def usage=(value) -> ::Google::Cloud::Talent::V4beta1::ContactInfoUsage
Parameter
Returns

#when_available

def when_available() -> ::String
Returns
  • (::String) — When this number is available. Any descriptive string is expected.

    Number of characters allowed is 100.

#when_available=

def when_available=(value) -> ::String
Parameter
  • value (::String) — 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.