Table of Contents

Class OrgUnit

Namespace
Google.Apis.Admin.Directory.directory_v1.Data
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

Managing your account's organizational units allows you to configure your users' access to services and custom settings. For more information about common organizational unit tasks, see the Developer's Guide.

public class OrgUnit : IDirectResponseSchema
Inheritance
OrgUnit
Implements
IDirectResponseSchema
Inherited Members

Constructors

OrgUnit()

public OrgUnit()

Properties

BlockInheritance

Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is false, meaning a sub-organizational unit inherits the settings of the nearest parent organizational unit. For more information on inheritance and users in an organization structure, see the administration help center.

public virtual bool? BlockInheritance { get; set; }

Property Value

bool?

Description

Description of the organizational unit.

public virtual string Description { get; set; }

Property Value

string

ETag

ETag of the resource.

public virtual string ETag { get; set; }

Property Value

string

Kind

The type of the API resource. For Orgunits resources, the value is admin#directory#orgUnit.

public virtual string Kind { get; set; }

Property Value

string

Name

The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required.

public virtual string Name { get; set; }

Property Value

string

OrgUnitId

The unique ID of the organizational unit.

public virtual string OrgUnitId { get; set; }

Property Value

string

OrgUnitPath

The full path to the organizational unit. The orgUnitPath is a derived property. When listed, it is derived from parentOrgunitPath and organizational unit's name. For example, for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an orgUnitPath, either update the name of the organization or the parentOrgunitPath. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new organization, the user's access changes. For more information about organization structures, see the administration help center. For more information about moving a user to a different organization, see Update a user.

public virtual string OrgUnitPath { get; set; }

Property Value

string

ParentOrgUnitId

The unique ID of the parent organizational unit. Required, unless parentOrgUnitPath is set.

public virtual string ParentOrgUnitId { get; set; }

Property Value

string

ParentOrgUnitPath

The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless parentOrgUnitId is set.

public virtual string ParentOrgUnitPath { get; set; }

Property Value

string