class Google::Apis::AdminDirectoryV1::UserRelation

JSON template for a relation entry.

Attributes

custom_type[RW]

Custom Type. Corresponds to the JSON property `customType` @return [String]

type[RW]

The relation of the user. Some of the possible values are mother, father, sister, brother, manager, assistant, partner. Corresponds to the JSON property `type` @return [String]

value[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 2961
def update!(**args)
  @custom_type = args[:custom_type] if args.key?(:custom_type)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end