class Google::Apis::PlusV1::Person::Email

Attributes

type[RW]

The type of address. Possible values include, but are not limited to, the following values:

  • “account” - Google account email address.

  • “home” - Home email address.

  • “work” - Work email address.

  • “other” - Other.

Corresponds to the JSON property `type` @return [String]

value[RW]

The email address. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 1743
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/plus_v1/classes.rb, line 1748
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end