Class: Google::Apis::AdminDirectoryV1::UserUndelete

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Overview

JSON request template to undelete a user in Directory API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UserUndelete

Returns a new instance of UserUndelete



4126
4127
4128
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4126

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#org_unit_pathString

OrgUnit of User Corresponds to the JSON property orgUnitPath

Returns:

  • (String)


4124
4125
4126
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4124

def org_unit_path
  @org_unit_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4131
4132
4133
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4131

def update!(**args)
  @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path)
end