Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Common representation of a person.
Instance Attribute Summary collapse
-
#birthday ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPersonBirthday
The birthday.
-
#cell_phone ⇒ String
Cell phone number.
-
#department ⇒ String
The department the person works in (e.g. Engineering).
-
#desk_location ⇒ String
Desk location (e.g. US-MTV-PR55-5-5B1I).
-
#desk_phone ⇒ String
Work desk phone number.
-
#display_name ⇒ String
The full name.
-
#email ⇒ String
Email.
-
#family_name ⇒ String
The last name.
-
#full_address ⇒ String
The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043, United States).
-
#gaia_id ⇒ Fixnum
This field is deprecated.
-
#given_name ⇒ String
The first name.
-
#job_title ⇒ String
The person's job title (e.g. Software Engineer).
-
#manager ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
-
#obfuscated_id ⇒ String
The obfuscated GAIA ID.
-
#photo_url ⇒ String
The URL for the Focus profile picture.
-
#street_address ⇒ String
The street address (e.g. 1255 Pear Avenue).
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickCommonPerson
constructor
A new instance of EnterpriseTopazSidekickCommonPerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickCommonPerson
Returns a new instance of EnterpriseTopazSidekickCommonPerson.
2075 2076 2077 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#birthday ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPersonBirthday
The birthday.
Corresponds to the JSON property birthday
1997 1998 1999 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1997 def birthday @birthday end |
#cell_phone ⇒ String
Cell phone number.
Corresponds to the JSON property cellPhone
2002 2003 2004 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2002 def cell_phone @cell_phone end |
#department ⇒ String
The department the person works in (e.g. Engineering).
Corresponds to the JSON property department
2007 2008 2009 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2007 def department @department end |
#desk_location ⇒ String
Desk location (e.g. US-MTV-PR55-5-5B1I).
Corresponds to the JSON property deskLocation
2012 2013 2014 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2012 def desk_location @desk_location end |
#desk_phone ⇒ String
Work desk phone number.
Corresponds to the JSON property deskPhone
2017 2018 2019 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2017 def desk_phone @desk_phone end |
#display_name ⇒ String
The full name.
Corresponds to the JSON property displayName
2022 2023 2024 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2022 def display_name @display_name end |
#email ⇒ String
Email.
Corresponds to the JSON property email
2027 2028 2029 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2027 def email @email end |
#family_name ⇒ String
The last name.
Corresponds to the JSON property familyName
2032 2033 2034 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2032 def family_name @family_name end |
#full_address ⇒ String
The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043,
United States).
Corresponds to the JSON property fullAddress
2038 2039 2040 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2038 def full_address @full_address end |
#gaia_id ⇒ Fixnum
This field is deprecated. The obfuscated_id should be used instead.
Corresponds to the JSON property gaiaId
2043 2044 2045 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2043 def gaia_id @gaia_id end |
#given_name ⇒ String
The first name.
Corresponds to the JSON property givenName
2048 2049 2050 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2048 def given_name @given_name end |
#job_title ⇒ String
The person's job title (e.g. Software Engineer).
Corresponds to the JSON property jobTitle
2053 2054 2055 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2053 def job_title @job_title end |
#manager ⇒ Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson
Common representation of a person.
Corresponds to the JSON property manager
2058 2059 2060 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2058 def manager @manager end |
#obfuscated_id ⇒ String
The obfuscated GAIA ID.
Corresponds to the JSON property obfuscatedId
2063 2064 2065 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2063 def @obfuscated_id end |
#photo_url ⇒ String
The URL for the Focus profile picture.
Corresponds to the JSON property photoUrl
2068 2069 2070 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2068 def photo_url @photo_url end |
#street_address ⇒ String
The street address (e.g. 1255 Pear Avenue).
Corresponds to the JSON property streetAddress
2073 2074 2075 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2073 def street_address @street_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2080 def update!(**args) @birthday = args[:birthday] if args.key?(:birthday) @cell_phone = args[:cell_phone] if args.key?(:cell_phone) @department = args[:department] if args.key?(:department) @desk_location = args[:desk_location] if args.key?(:desk_location) @desk_phone = args[:desk_phone] if args.key?(:desk_phone) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @family_name = args[:family_name] if args.key?(:family_name) @full_address = args[:full_address] if args.key?(:full_address) @gaia_id = args[:gaia_id] if args.key?(:gaia_id) @given_name = args[:given_name] if args.key?(:given_name) @job_title = args[:job_title] if args.key?(:job_title) @manager = args[:manager] if args.key?(:manager) @obfuscated_id = args[:obfuscated_id] if args.key?(:obfuscated_id) @photo_url = args[:photo_url] if args.key?(:photo_url) @street_address = args[:street_address] if args.key?(:street_address) end |