class Google::Apis::AdminDirectoryV1::UserEmail
JSON template for an email.
Attributes
Email id of the user. Corresponds to the JSON property `address` @return [String]
Custom Type. Corresponds to the JSON property `customType` @return [String]
If this is user's primary email. Only one entry could be marked as primary. Corresponds to the JSON property `primary` @return [Boolean]
If this is user's primary email. Only one entry could be marked as primary. Corresponds to the JSON property `primary` @return [Boolean]
Each entry can have a type which indicates standard types of that entry. For example email could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value Such types should have the CUSTOM value as type and also have a customType value. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 2600 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 2605 def update!(**args) @address = args[:address] if args.key?(:address) @custom_type = args[:custom_type] if args.key?(:custom_type) @primary = args[:primary] if args.key?(:primary) @type = args[:type] if args.key?(:type) end