class Google::Apis::AdminDirectoryV1::UserOrganization
JSON template for an organization entry.
Attributes
The cost center of the users department. Corresponds to the JSON property `costCenter` @return [String]
Custom type. Corresponds to the JSON property `customType` @return [String]
Department within the organization. Corresponds to the JSON property `department` @return [String]
Description of the organization. Corresponds to the JSON property `description` @return [String]
The domain to which the organization belongs to. Corresponds to the JSON property `domain` @return [String]
The full-time equivalent millipercent within the organization (100000 = 100%). Corresponds to the JSON property `fullTimeEquivalent` @return [Fixnum]
Location of the organization. This need not be fully qualified address. Corresponds to the JSON property `location` @return [String]
Name of the organization Corresponds to the JSON property `name` @return [String]
If it user's primary organization. Corresponds to the JSON property `primary` @return [Boolean]
If it user's primary organization. Corresponds to the JSON property `primary` @return [Boolean]
Symbol of the organization. Corresponds to the JSON property `symbol` @return [String]
Title (designation) of the user in the organization. Corresponds to the JSON property `title` @return [String]
Each entry can have a type which indicates standard types of that entry. For example organization could be of school work etc. In addition to the standard type an entry can have a custom type and can give it any name. Such types should have the CUSTOM value as type and also have a CustomType value. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/admin_directory_v1/classes.rb, line 4487 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/admin_directory_v1/classes.rb, line 4492 def update!(**args) @cost_center = args[:cost_center] if args.key?(:cost_center) @custom_type = args[:custom_type] if args.key?(:custom_type) @department = args[:department] if args.key?(:department) @description = args[:description] if args.key?(:description) @domain = args[:domain] if args.key?(:domain) @full_time_equivalent = args[:full_time_equivalent] if args.key?(:full_time_equivalent) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @primary = args[:primary] if args.key?(:primary) @symbol = args[:symbol] if args.key?(:symbol) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end