class Google::Apis::AdminDirectoryV1::UserPhone
JSON template for a phone entry.
Attributes
Custom Type. Corresponds to the JSON property `customType` @return [String]
If this is user's primary phone or not. Corresponds to the JSON property `primary` @return [Boolean]
If this is user's primary phone or not. Corresponds to the JSON property `primary` @return [Boolean]
Each entry can have a type which indicates standard types of that entry. For example phone could be of home_fax work mobile etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a customType value. Corresponds to the JSON property `type` @return [String]
Phone number. Corresponds to the JSON property `value` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 4536 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 4541 def update!(**args) @custom_type = args[:custom_type] if args.key?(:custom_type) @primary = args[:primary] if args.key?(:primary) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end