class Google::Apis::PeopleV1::Organization
A person's past or current organization. Overlapping date ranges are permitted.
Attributes
The person's cost center at the organization. Corresponds to the JSON property `costCenter` @return [String]
True if the organization is the person's current organization; false if the organization is a past organization. Corresponds to the JSON property `current` @return [Boolean]
True if the organization is the person's current organization; false if the organization is a past organization. Corresponds to the JSON property `current` @return [Boolean]
The person's department at the organization. Corresponds to the JSON property `department` @return [String]
The domain name associated with the organization; for example, `google.com`. Corresponds to the JSON property `domain` @return [String]
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `endDate` @return [Google::Apis::PeopleV1::Date]
Output only. The type of the organization translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. Corresponds to the JSON property `formattedType` @return [String]
The person's job description at the organization. Corresponds to the JSON property `jobDescription` @return [String]
The location of the organization office the person works at. Corresponds to the JSON property `location` @return [String]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
The name of the organization. Corresponds to the JSON property `name` @return [String]
The phonetic name of the organization. Corresponds to the JSON property `phoneticName` @return [String]
Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and ` google.protobuf.Timestamp`. Corresponds to the JSON property `startDate` @return [Google::Apis::PeopleV1::Date]
The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym. Corresponds to the JSON property `symbol` @return [String]
The person's job title at the organization. Corresponds to the JSON property `title` @return [String]
The type of the organization. The type can be custom or one of these predefined values: * `work` * `school` Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/people_v1/classes.rb, line 1884 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/people_v1/classes.rb, line 1889 def update!(**args) @cost_center = args[:cost_center] if args.key?(:cost_center) @current = args[:current] if args.key?(:current) @department = args[:department] if args.key?(:department) @domain = args[:domain] if args.key?(:domain) @end_date = args[:end_date] if args.key?(:end_date) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @full_time_equivalent_millipercent = args[:full_time_equivalent_millipercent] if args.key?(:full_time_equivalent_millipercent) @job_description = args[:job_description] if args.key?(:job_description) @location = args[:location] if args.key?(:location) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) @start_date = args[:start_date] if args.key?(:start_date) @symbol = args[:symbol] if args.key?(:symbol) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end