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.
5699 5700 5701 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5699 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
5491 5492 5493 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5491 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
5497 5498 5499 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5497 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
5503 5504 5505 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5503 def admins @admins end |
#availability_status ⇒ String
Corresponds to the JSON property availabilityStatus
5508 5509 5510 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5508 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
5517 5518 5519 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5517 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
5524 5525 5526 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5524 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
5531 5532 5533 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5531 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
5536 5537 5538 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5536 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
5542 5543 5544 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5542 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
5551 5552 5553 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5551 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
5558 5559 5560 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5558 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
5565 5566 5567 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5565 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
5570 5571 5572 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5570 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
5576 5577 5578 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5576 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
5582 5583 5584 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5582 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
5587 5588 5589 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5587 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
5592 5593 5594 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5592 def geo_location @geo_location end |
#gmail_url ⇒ String
Corresponds to the JSON property gmailUrl
5597 5598 5599 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5597 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
5603 5604 5605 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5603 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
5608 5609 5610 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5608 def keyword_types @keyword_types end |
#keywords ⇒ Hash<String,String>
Custom keywords the domain admin has added.
Corresponds to the JSON property keywords
5613 5614 5615 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5613 def keywords @keywords end |
#links ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsLink>
Custom links the profile owner has added.
Corresponds to the JSON property links
5618 5619 5620 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5618 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
5624 5625 5626 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5624 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
5632 5633 5634 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5632 def managers @managers end |
#mission ⇒ String
Custom mission statement the profile owner has added.
Corresponds to the JSON property mission
5637 5638 5639 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5637 def mission @mission end |
#name ⇒ String
Human-readable Unicode display name.
Corresponds to the JSON property name
5642 5643 5644 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5642 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
5648 5649 5650 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5648 def office_location @office_location end |
#person_id ⇒ String
The person's obfuscated Gaia ID.
Corresponds to the JSON property personId
5653 5654 5655 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5653 def person_id @person_id end |
#phone_numbers ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsPersonCorePhoneNumber>
Corresponds to the JSON property phoneNumbers
5658 5659 5660 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5658 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
5665 5666 5667 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5665 def photo_url @photo_url end |
#postal_address ⇒ String
Postal address of office/building.
Corresponds to the JSON property postalAddress
5670 5671 5672 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5670 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
5675 5676 5677 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5675 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
5680 5681 5682 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5680 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
5686 5687 5688 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5686 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
5692 5693 5694 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5692 def username @username end |
#waldo_come_back_time ⇒ String
Corresponds to the JSON property waldoComeBackTime
5697 5698 5699 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5697 def waldo_come_back_time @waldo_come_back_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5704 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 |