Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickCommonPerson

Returns a new instance of EnterpriseTopazSidekickCommonPerson.



2108
2109
2110
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2108

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#birthdayGoogle::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPersonBirthday

The birthday. Corresponds to the JSON property birthday



2030
2031
2032
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2030

def birthday
  @birthday
end

#cell_phoneString

Cell phone number. Corresponds to the JSON property cellPhone

Returns:

  • (String)


2035
2036
2037
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2035

def cell_phone
  @cell_phone
end

#departmentString

The department the person works in (e.g. Engineering). Corresponds to the JSON property department

Returns:

  • (String)


2040
2041
2042
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2040

def department
  @department
end

#desk_locationString

Desk location (e.g. US-MTV-PR55-5-5B1I). Corresponds to the JSON property deskLocation

Returns:

  • (String)


2045
2046
2047
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2045

def desk_location
  @desk_location
end

#desk_phoneString

Work desk phone number. Corresponds to the JSON property deskPhone

Returns:

  • (String)


2050
2051
2052
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2050

def desk_phone
  @desk_phone
end

#display_nameString

The full name. Corresponds to the JSON property displayName

Returns:

  • (String)


2055
2056
2057
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2055

def display_name
  @display_name
end

#emailString

Email. Corresponds to the JSON property email

Returns:

  • (String)


2060
2061
2062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2060

def email
  @email
end

#family_nameString

The last name. Corresponds to the JSON property familyName

Returns:

  • (String)


2065
2066
2067
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2065

def family_name
  @family_name
end

#full_addressString

The fully formatted address (e.g. 1255 Pear Avenue, Mountain View 94043, United States). Corresponds to the JSON property fullAddress

Returns:

  • (String)


2071
2072
2073
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2071

def full_address
  @full_address
end

#gaia_idFixnum

This field is deprecated. The obfuscated_id should be used instead. Corresponds to the JSON property gaiaId

Returns:

  • (Fixnum)


2076
2077
2078
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2076

def gaia_id
  @gaia_id
end

#given_nameString

The first name. Corresponds to the JSON property givenName

Returns:

  • (String)


2081
2082
2083
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2081

def given_name
  @given_name
end

#job_titleString

The person's job title (e.g. Software Engineer). Corresponds to the JSON property jobTitle

Returns:

  • (String)


2086
2087
2088
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2086

def job_title
  @job_title
end

#managerGoogle::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson

Common representation of a person. Corresponds to the JSON property manager



2091
2092
2093
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2091

def manager
  @manager
end

#obfuscated_idString

The obfuscated GAIA ID. Corresponds to the JSON property obfuscatedId

Returns:

  • (String)


2096
2097
2098
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2096

def obfuscated_id
  @obfuscated_id
end

#photo_urlString

The URL for the Focus profile picture. Corresponds to the JSON property photoUrl

Returns:

  • (String)


2101
2102
2103
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2101

def photo_url
  @photo_url
end

#street_addressString

The street address (e.g. 1255 Pear Avenue). Corresponds to the JSON property streetAddress

Returns:

  • (String)


2106
2107
2108
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2106

def street_address
  @street_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2113

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