Table of Contents

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 IClientService
customerId 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

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

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

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

Type

Whether to return all sub-organizations or just immediate children.

public virtual OrgunitsResource.ListRequest.TypeEnum? Type { get; set; }

Property Value

OrgunitsResource.ListRequest.TypeEnum?

Methods

InitParameters()

Initializes List parameter list.

protected override void InitParameters()