admin  directory_v1
Classes | Public Member Functions | List of all members
Google.Apis.Admin.Directory.directory_v1.OrgunitsResource Class Reference

The "orgunits" collection of methods. More...

Classes

class  DeleteRequest
 Remove organizational unit More...
 
class  GetRequest
 Retrieve organizational unit More...
 
class  InsertRequest
 Add organizational unit More...
 
class  ListRequest
 Retrieve all organizational units More...
 
class  PatchRequest
 Update organizational unit. This method supports patch semantics. More...
 
class  UpdateRequest
 Update organizational unit More...
 

Public Member Functions

 OrgunitsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual DeleteRequest Delete (string customerId, Google.Apis.Util.Repeatable< string > orgUnitPath)
 Remove organizational unit More...
 
virtual GetRequest Get (string customerId, Google.Apis.Util.Repeatable< string > orgUnitPath)
 Retrieve organizational unit More...
 
virtual InsertRequest Insert (Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit body, string customerId)
 Add organizational unit More...
 
virtual ListRequest List (string customerId)
 Retrieve all organizational units More...
 
virtual PatchRequest Patch (Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit body, string customerId, Google.Apis.Util.Repeatable< string > orgUnitPath)
 Update organizational unit. This method supports patch semantics. More...
 
virtual UpdateRequest Update (Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit body, string customerId, Google.Apis.Util.Repeatable< string > orgUnitPath)
 Update organizational unit More...
 

Detailed Description

The "orgunits" collection of methods.

Constructor & Destructor Documentation

◆ OrgunitsResource()

Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.OrgunitsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Delete()

virtual DeleteRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.Delete ( string  customerId,
Google.Apis.Util.Repeatable< string >  orgUnitPath 
)
inlinevirtual

Remove organizational unit

Parameters
customerIdImmutable ID of the G Suite account
orgUnitPathFull path of the organizational unit or its ID

◆ Get()

virtual GetRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.Get ( string  customerId,
Google.Apis.Util.Repeatable< string >  orgUnitPath 
)
inlinevirtual

Retrieve organizational unit

Parameters
customerIdImmutable ID of the G Suite account
orgUnitPathFull path of the organizational unit or its ID

◆ Insert()

virtual InsertRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.Insert ( Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit  body,
string  customerId 
)
inlinevirtual

Add organizational unit

Parameters
bodyThe body of the request.
customerIdImmutable ID of the G Suite account

◆ List()

virtual ListRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.List ( string  customerId)
inlinevirtual

Retrieve all organizational units

Parameters
customerIdImmutable ID of the G Suite account

◆ Patch()

virtual PatchRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.Patch ( Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit  body,
string  customerId,
Google.Apis.Util.Repeatable< string >  orgUnitPath 
)
inlinevirtual

Update organizational unit. This method supports patch semantics.

Parameters
bodyThe body of the request.
customerIdImmutable ID of the G Suite account
orgUnitPathFull path of the organizational unit or its ID

◆ Update()

virtual UpdateRequest Google.Apis.Admin.Directory.directory_v1.OrgunitsResource.Update ( Google.Apis.Admin.Directory.directory_v1.Data.OrgUnit  body,
string  customerId,
Google.Apis.Util.Repeatable< string >  orgUnitPath 
)
inlinevirtual

Update organizational unit

Parameters
bodyThe body of the request.
customerIdImmutable ID of the G Suite account
orgUnitPathFull path of the organizational unit or its ID

The documentation for this class was generated from the following file: