class Google::Apis::DocsV1::PersonProperties

Properties specific to a linked Person.

Attributes

email[RW]

Output only. The email address linked to this Person. This field is always present. Corresponds to the JSON property `email` @return [String]

name[RW]

Output only. The name of the person if it is displayed in the link text instead of the person's email address. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 3612
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @name = args[:name] if args.key?(:name)
end