Class: Google::Apis::CloudsearchV1::PersonCore
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PersonCore
- 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
Information for rendering a person. NEXT ID: 37
Instance Attribute Summary collapse
-
#address_me_as ⇒ String
Instructions for how to address this person (e.g. custom pronouns).
-
#admin_to ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
People the profile owner is an admin to.
-
#admins ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's admins in no particular order.
-
#availability_status ⇒ String
Corresponds to the JSON property
availabilityStatus
. -
#birthday ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth.
-
#calendar_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.
-
#chat_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.
-
#cost_center ⇒ String
Person's cost center as a string, e.g.
-
#department ⇒ String
The person's Organization department, e.g.
-
#direct_reports ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
A subset of the profile owner's direct reports.
-
#dotted_line_managers ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's direct dotted line managers in no particular order.
-
#dotted_line_reports ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
A subset of the profile owner's dotted-line reports.
-
#emails ⇒ Array<String>
E-mail addresses of the person.
-
#employee_id ⇒ String
Person's employee number (external ID of type "organization") For google.com this is the badge number (e.g. 2 for Larry Page).
-
#fingerprint ⇒ String
A fingerprint used by PAPI to reliably determine if a resource has changed Externally it is used as part of the etag.
-
#fte_permille ⇒ Fixnum
Full-time equivalent (in ‰) (e.g. 800 for a person who's working 80%).
-
#geo_location ⇒ Google::Apis::CloudsearchV1::MapInfo
Geo information used for rendering a map that shows the user's work location.
-
#gmail_url ⇒ String
Corresponds to the JSON property
gmailUrl
. -
#job_title ⇒ String
Profile owner's job title (e.g. "Software Engineer").
-
#keyword_types ⇒ Array<String>
List of keys to use from the map 'keywords'.
-
#keywords ⇒ Hash<String,String>
Custom keywords the domain admin has added.
-
#links ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsLink>
Custom links the profile owner has added.
-
#location ⇒ String
Detailed desk location within the company.
-
#managers ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's management chain from top to bottom, where managers[0] is the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is the person's direct manager.
-
#mission ⇒ String
Custom mission statement the profile owner has added.
-
#name ⇒ String
Human-readable Unicode display name.
-
#office_location ⇒ String
Office/building identifier within the company.
-
#person_id ⇒ String
The person's obfuscated Gaia ID.
-
#phone_numbers ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber>
Corresponds to the JSON property
phoneNumbers
. -
#photo_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code.
-
#postal_address ⇒ String
Postal address of office/building.
-
#total_direct_reports_count ⇒ Fixnum
Total count of the profile owner's direct reports.
-
#total_dlr_count ⇒ Fixnum
Total count of the profile owner's dotted-line reports.
-
#total_fte_count ⇒ Fixnum
The sum of all profile owner's reports and their own full-time-equivalents in ‰ (e.g. 1800 if one report is working 80% and profile owner 100%).
-
#username ⇒ String
External ID of type "login_id" for the profile.
-
#waldo_come_back_time ⇒ String
Corresponds to the JSON property
waldoComeBackTime
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PersonCore
constructor
A new instance of PersonCore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PersonCore
Returns a new instance of PersonCore.
5529 5530 5531 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address_me_as ⇒ String
Instructions for how to address this person (e.g. custom pronouns). For google.
com this is a set of pronouns from a defined list of options.
Corresponds to the JSON property addressMeAs
5321 5322 5323 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5321 def address_me_as @address_me_as end |
#admin_to ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
People the profile owner is an admin to. Note that not all fields of these
PersonCores will be set, in particular, relationships will be empty.
Corresponds to the JSON property adminTo
5327 5328 5329 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5327 def admin_to @admin_to end |
#admins ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's admins in no particular order. Note that not all fields of
these PersonCores will be set, in particular, relationships will be empty.
Corresponds to the JSON property admins
5333 5334 5335 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5333 def admins @admins end |
#availability_status ⇒ String
Corresponds to the JSON property availabilityStatus
5338 5339 5340 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5338 def availability_status @availability_status end |
#birthday ⇒ Google::Apis::CloudsearchV1::Date
Represents a whole calendar date, for example a date of birth. The time of day
and time zone are either specified elsewhere or are not significant. The date
is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date
between the year 1 and 9999.
Corresponds to the JSON property birthday
5347 5348 5349 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5347 def birthday @birthday end |
#calendar_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs
and HTML documents, where the URL context does not refer to a resource that
loads code.
Corresponds to the JSON property calendarUrl
5354 5355 5356 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5354 def calendar_url @calendar_url end |
#chat_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs
and HTML documents, where the URL context does not refer to a resource that
loads code.
Corresponds to the JSON property chatUrl
5361 5362 5363 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5361 def chat_url @chat_url end |
#cost_center ⇒ String
Person's cost center as a string, e.g. "926: Googler Apps".
Corresponds to the JSON property costCenter
5366 5367 5368 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5366 def cost_center @cost_center end |
#department ⇒ String
The person's Organization department, e.g. "People Operations". For google.com
this is usually called "area".
Corresponds to the JSON property department
5372 5373 5374 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5372 def department @department end |
#direct_reports ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
A subset of the profile owner's direct reports. The number of entities here
may be less than total_direct_reports_count, because typically ProfileResponse
does not include all the person's reports, if there are too many to retrieve
efficiently. Note that not all fields of these PersonCores will be set, in
particular, relationships will be empty.
Corresponds to the JSON property directReports
5381 5382 5383 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5381 def direct_reports @direct_reports end |
#dotted_line_managers ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's direct dotted line managers in no particular order. Note
that not all fields of these PersonCores will be set, in particular,
relationships will be empty.
Corresponds to the JSON property dottedLineManagers
5388 5389 5390 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5388 def dotted_line_managers @dotted_line_managers end |
#dotted_line_reports ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
A subset of the profile owner's dotted-line reports. The number of entities
here may be less than total_dlr_count. Note that not all fields of these
PersonCores will be set, in particular, relationships will be empty.
Corresponds to the JSON property dottedLineReports
5395 5396 5397 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5395 def dotted_line_reports @dotted_line_reports end |
#emails ⇒ Array<String>
E-mail addresses of the person. The primary or preferred email should be first.
Corresponds to the JSON property emails
5400 5401 5402 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5400 def emails @emails end |
#employee_id ⇒ String
Person's employee number (external ID of type "organization") For google.com
this is the badge number (e.g. 2 for Larry Page).
Corresponds to the JSON property employeeId
5406 5407 5408 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5406 def employee_id @employee_id end |
#fingerprint ⇒ String
A fingerprint used by PAPI to reliably determine if a resource has changed
Externally it is used as part of the etag.
Corresponds to the JSON property fingerprint
5412 5413 5414 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5412 def fingerprint @fingerprint end |
#fte_permille ⇒ Fixnum
Full-time equivalent (in ‰) (e.g. 800 for a person who's working 80%).
Corresponds to the JSON property ftePermille
5417 5418 5419 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5417 def fte_permille @fte_permille end |
#geo_location ⇒ Google::Apis::CloudsearchV1::MapInfo
Geo information used for rendering a map that shows the user's work location.
Corresponds to the JSON property geoLocation
5422 5423 5424 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5422 def geo_location @geo_location end |
#gmail_url ⇒ String
Corresponds to the JSON property gmailUrl
5427 5428 5429 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5427 def gmail_url @gmail_url end |
#job_title ⇒ String
Profile owner's job title (e.g. "Software Engineer"). For google.com this is
the Workday preferred job title.
Corresponds to the JSON property jobTitle
5433 5434 5435 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5433 def job_title @job_title end |
#keyword_types ⇒ Array<String>
List of keys to use from the map 'keywords'.
Corresponds to the JSON property keywordTypes
5438 5439 5440 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5438 def keyword_types @keyword_types end |
#keywords ⇒ Hash<String,String>
Custom keywords the domain admin has added.
Corresponds to the JSON property keywords
5443 5444 5445 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5443 def keywords @keywords end |
#links ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsLink>
Custom links the profile owner has added.
Corresponds to the JSON property links
5448 5449 5450 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5448 def links @links end |
#location ⇒ String
Detailed desk location within the company. For google.com this is the desk
location code (e.g. "DE-MUC-ARP-6T2-6T2C0C") if the person has a desk.
Corresponds to the JSON property location
5454 5455 5456 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5454 def location @location end |
#managers ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
The profile owner's management chain from top to bottom, where managers[0] is
the CEO, manager[N-2] is the person's manager's manager and managers[N-1] is
the person's direct manager. Note that not all fields of these PersonCores
will be set, in particular, relationships will be empty.
Corresponds to the JSON property managers
5462 5463 5464 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5462 def managers @managers end |
#mission ⇒ String
Custom mission statement the profile owner has added.
Corresponds to the JSON property mission
5467 5468 5469 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5467 def mission @mission end |
#name ⇒ String
Human-readable Unicode display name.
Corresponds to the JSON property name
5472 5473 5474 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5472 def name @name end |
#office_location ⇒ String
Office/building identifier within the company. For google.com this is the
office code (e.g. "DE-MUC-ARP").
Corresponds to the JSON property officeLocation
5478 5479 5480 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5478 def office_location @office_location end |
#person_id ⇒ String
The person's obfuscated Gaia ID.
Corresponds to the JSON property personId
5483 5484 5485 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5483 def person_id @person_id end |
#phone_numbers ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber>
Corresponds to the JSON property phoneNumbers
5488 5489 5490 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5488 def phone_numbers @phone_numbers end |
#photo_url ⇒ Google::Apis::CloudsearchV1::SafeUrlProto
Message containing a string that is safe to use in URL contexts in DOM APIs
and HTML documents, where the URL context does not refer to a resource that
loads code.
Corresponds to the JSON property photoUrl
5495 5496 5497 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5495 def photo_url @photo_url end |
#postal_address ⇒ String
Postal address of office/building.
Corresponds to the JSON property postalAddress
5500 5501 5502 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5500 def postal_address @postal_address end |
#total_direct_reports_count ⇒ Fixnum
Total count of the profile owner's direct reports.
Corresponds to the JSON property totalDirectReportsCount
5505 5506 5507 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5505 def total_direct_reports_count @total_direct_reports_count end |
#total_dlr_count ⇒ Fixnum
Total count of the profile owner's dotted-line reports.
Corresponds to the JSON property totalDlrCount
5510 5511 5512 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5510 def total_dlr_count @total_dlr_count end |
#total_fte_count ⇒ Fixnum
The sum of all profile owner's reports and their own full-time-equivalents in ‰
(e.g. 1800 if one report is working 80% and profile owner 100%).
Corresponds to the JSON property totalFteCount
5516 5517 5518 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5516 def total_fte_count @total_fte_count end |
#username ⇒ String
External ID of type "login_id" for the profile. For google.com this is the
username/LDAP.
Corresponds to the JSON property username
5522 5523 5524 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5522 def username @username end |
#waldo_come_back_time ⇒ String
Corresponds to the JSON property waldoComeBackTime
5527 5528 5529 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5527 def waldo_come_back_time @waldo_come_back_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5534 def update!(**args) @address_me_as = args[:address_me_as] if args.key?(:address_me_as) @admin_to = args[:admin_to] if args.key?(:admin_to) @admins = args[:admins] if args.key?(:admins) @availability_status = args[:availability_status] if args.key?(:availability_status) @birthday = args[:birthday] if args.key?(:birthday) @calendar_url = args[:calendar_url] if args.key?(:calendar_url) @chat_url = args[:chat_url] if args.key?(:chat_url) @cost_center = args[:cost_center] if args.key?(:cost_center) @department = args[:department] if args.key?(:department) @direct_reports = args[:direct_reports] if args.key?(:direct_reports) @dotted_line_managers = args[:dotted_line_managers] if args.key?(:dotted_line_managers) @dotted_line_reports = args[:dotted_line_reports] if args.key?(:dotted_line_reports) @emails = args[:emails] if args.key?(:emails) @employee_id = args[:employee_id] if args.key?(:employee_id) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @fte_permille = args[:fte_permille] if args.key?(:fte_permille) @geo_location = args[:geo_location] if args.key?(:geo_location) @gmail_url = args[:gmail_url] if args.key?(:gmail_url) @job_title = args[:job_title] if args.key?(:job_title) @keyword_types = args[:keyword_types] if args.key?(:keyword_types) @keywords = args[:keywords] if args.key?(:keywords) @links = args[:links] if args.key?(:links) @location = args[:location] if args.key?(:location) @managers = args[:managers] if args.key?(:managers) @mission = args[:mission] if args.key?(:mission) @name = args[:name] if args.key?(:name) @office_location = args[:office_location] if args.key?(:office_location) @person_id = args[:person_id] if args.key?(:person_id) @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) @photo_url = args[:photo_url] if args.key?(:photo_url) @postal_address = args[:postal_address] if args.key?(:postal_address) @total_direct_reports_count = args[:total_direct_reports_count] if args.key?(:total_direct_reports_count) @total_dlr_count = args[:total_dlr_count] if args.key?(:total_dlr_count) @total_fte_count = args[:total_fte_count] if args.key?(:total_fte_count) @username = args[:username] if args.key?(:username) @waldo_come_back_time = args[:waldo_come_back_time] if args.key?(:waldo_come_back_time) end |