class Google::Apis::PeopleV1::Organization

A person's past or current organization. Overlapping date ranges are permitted.

Attributes

current[RW]

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]

current?[RW]

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]

department[RW]

The person's department at the organization. Corresponds to the JSON property `department` @return [String]

domain[RW]

The domain name associated with the organization; for example, `google.com`. Corresponds to the JSON property `domain` @return [String]

end_date[RW]

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](en.wikipedia.org/ wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and month where the day is not significant. The year may be 0 to represent a month and day independent of year; for example, anniversary date. Corresponds to the JSON property `endDate` @return [Google::Apis::PeopleV1::Date]

formatted_type[RW]

The read-only 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]

job_description[RW]

The person's job description at the organization. Corresponds to the JSON property `jobDescription` @return [String]

location[RW]

The location of the organization office the person works at. Corresponds to the JSON property `location` @return [String]

metadata[RW]

Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]

name[RW]

The name of the organization. Corresponds to the JSON property `name` @return [String]

phonetic_name[RW]

The phonetic name of the organization. Corresponds to the JSON property `phoneticName` @return [String]

start_date[RW]

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](en.wikipedia.org/ wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and month where the day is not significant. The year may be 0 to represent a month and day independent of year; for example, anniversary date. Corresponds to the JSON property `startDate` @return [Google::Apis::PeopleV1::Date]

symbol[RW]

The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym. Corresponds to the JSON property `symbol` @return [String]

title[RW]

The person's job title at the organization. Corresponds to the JSON property `title` @return [String]

type[RW]

The type of the organization. The type can be custom or predefined. Possible values include, but are not limited to, the following: * `work` * `school` Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/people_v1/classes.rb, line 1125
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/people_v1/classes.rb, line 1130
def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @type = args[:type] if args.key?(:type)
  @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
  @start_date = args[:start_date] if args.key?(:start_date)
  @end_date = args[:end_date] if args.key?(:end_date)
  @current = args[:current] if args.key?(:current)
  @name = args[:name] if args.key?(:name)
  @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
  @department = args[:department] if args.key?(:department)
  @title = args[:title] if args.key?(:title)
  @job_description = args[:job_description] if args.key?(:job_description)
  @symbol = args[:symbol] if args.key?(:symbol)
  @domain = args[:domain] if args.key?(:domain)
  @location = args[:location] if args.key?(:location)
end