Class: Google::Apis::AdminDirectoryV1::UserUndelete
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::UserUndelete
- 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
-
#org_unit_path ⇒ String
OrgUnit of User Corresponds to the JSON property
orgUnitPath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserUndelete
constructor
A new instance of UserUndelete.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserUndelete
Returns a new instance of UserUndelete.
3063 3064 3065 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#org_unit_path ⇒ String
OrgUnit of User
Corresponds to the JSON property orgUnitPath
3061 3062 3063 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3061 def org_unit_path @org_unit_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3068 3069 3070 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 3068 def update!(**args) @org_unit_path = args[:org_unit_path] if args.key?(:org_unit_path) end |