Class OrgUnit
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 .
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class OrgUnit : IDirectResponseSchema
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.
Declaration
[JsonProperty("blockInheritance")]
public virtual bool? BlockInheritance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Description
Description of the organizational unit.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
ETag of the resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
The type of the API resource. For Orgunits resources, the value is
admin#directory#orgUnit.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
OrgUnitId
The unique ID of the organizational unit.
Declaration
[JsonProperty("orgUnitId")]
public virtual string OrgUnitId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 G Suite 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](/admin-
sdk/directory/v1/guides/manage-users.html#update_user).
Declaration
[JsonProperty("orgUnitPath")]
public virtual string OrgUnitPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ParentOrgUnitId
The unique ID of the parent organizational unit. Required, unless parentOrgUnitPath is
set.
Declaration
[JsonProperty("parentOrgUnitId")]
public virtual string ParentOrgUnitId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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.
Declaration
[JsonProperty("parentOrgUnitPath")]
public virtual string ParentOrgUnitPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |