Class OrgunitsResource.ListRequest
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
Retrieves a list of all organizational units for an account.
public class OrgunitsResource.ListRequest : DirectoryBaseServiceRequest<OrgUnits>
- Inheritance
-
OrgunitsResource.ListRequest
- Inherited Members
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
public ListRequest(IClientService service, string customerId)
Parameters
service
IClientServicecustomerId
string
Properties
CustomerId
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the my_customer
alias to represent your account's customerId
. The customerId
is also returned as
part of the Users resource.
public virtual string CustomerId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
OrgUnitPath
The full path to the organizational unit or its unique ID. Returns the children of the specified organizational unit.
public virtual string OrgUnitPath { get; set; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
Type
Whether to return all sub-organizations or just immediate children.
public virtual OrgunitsResource.ListRequest.TypeEnum? Type { get; set; }
Property Value
Methods
InitParameters()
Initializes List parameter list.
protected override void InitParameters()