📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Directory
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AdminEmpty.php
▶ Open 📄 View Source
🐘 Alias.php
▶ Open 📄 View Source
🐘 Aliases.php
▶ Open 📄 View Source
🐘 Asp.php
▶ Open 📄 View Source
🐘 Asps.php
▶ Open 📄 View Source
🐘 AuxiliaryMessage.php
▶ Open 📄 View Source
🐘 BacklightInfo.php
▶ Open 📄 View Source
🐘 BatchChangeChromeOsDeviceStatusRequest.php
▶ Open 📄 View Source
🐘 BatchChangeChromeOsDeviceStatusResponse.php
▶ Open 📄 View Source
🐘 BatchCreatePrintServersRequest.php
▶ Open 📄 View Source
🐘 BatchCreatePrintServersResponse.php
▶ Open 📄 View Source
🐘 BatchCreatePrintersRequest.php
▶ Open 📄 View Source
🐘 BatchCreatePrintersResponse.php
▶ Open 📄 View Source
🐘 BatchDeletePrintServersRequest.php
▶ Open 📄 View Source
🐘 BatchDeletePrintServersResponse.php
▶ Open 📄 View Source
🐘 BatchDeletePrintersRequest.php
▶ Open 📄 View Source
🐘 BatchDeletePrintersResponse.php
▶ Open 📄 View Source
🐘 BluetoothAdapterInfo.php
▶ Open 📄 View Source
🐘 Building.php
▶ Open 📄 View Source
🐘 BuildingAddress.php
▶ Open 📄 View Source
🐘 BuildingCoordinates.php
▶ Open 📄 View Source
🐘 Buildings.php
▶ Open 📄 View Source
🐘 ByteUsage.php
▶ Open 📄 View Source
🐘 CalendarResource.php
▶ Open 📄 View Source
🐘 CalendarResources.php
▶ Open 📄 View Source
🐘 ChangeChromeOsDeviceStatusResult.php
▶ Open 📄 View Source
🐘 ChangeChromeOsDeviceStatusSucceeded.php
▶ Open 📄 View Source
🐘 Channel.php
▶ Open 📄 View Source
🐘 ChromeOsDevice.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceAction.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceActiveTimeRanges.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceCpuInfo.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceCpuInfoLogicalCpus.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceCpuInfoLogicalCpusCStates.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceCpuStatusReports.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceDeviceFiles.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceDiskVolumeReports.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceDiskVolumeReportsVolumeInfo.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceLastKnownNetwork.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceRecentUsers.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceScreenshotFiles.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceSystemRamFreeReports.php
▶ Open 📄 View Source
🐘 ChromeOsDeviceTpmVersionInfo.php
▶ Open 📄 View Source
🐘 ChromeOsDevices.php
▶ Open 📄 View Source
🐘 ChromeOsMoveDevicesToOu.php
▶ Open 📄 View Source
🐘 CountChromeOsDevicesResponse.php
▶ Open 📄 View Source
🐘 CreatePrintServerRequest.php
▶ Open 📄 View Source
🐘 CreatePrinterRequest.php
▶ Open 📄 View Source
🐘 Customer.php
▶ Open 📄 View Source
🐘 CustomerPostalAddress.php
▶ Open 📄 View Source
🐘 DirectoryChromeosdevicesCommand.php
▶ Open 📄 View Source
🐘 DirectoryChromeosdevicesCommandResult.php
▶ Open 📄 View Source
🐘 DirectoryChromeosdevicesIssueCommandRequest.php
▶ Open 📄 View Source
🐘 DirectoryChromeosdevicesIssueCommandResponse.php
▶ Open 📄 View Source
🐘 DirectoryUsersCreateGuestRequest.php
▶ Open 📄 View Source
🐘 DomainAlias.php
▶ Open 📄 View Source
🐘 DomainAliases.php
▶ Open 📄 View Source
🐘 Domains.php
▶ Open 📄 View Source
🐘 Domains2.php
▶ Open 📄 View Source
🐘 FailureInfo.php
▶ Open 📄 View Source
🐘 FanInfo.php
▶ Open 📄 View Source
🐘 Feature.php
▶ Open 📄 View Source
🐘 FeatureInstance.php
▶ Open 📄 View Source
🐘 FeatureRename.php
▶ Open 📄 View Source
🐘 Features.php
▶ Open 📄 View Source
🐘 Group.php
▶ Open 📄 View Source
🐘 GroupAlias.php
▶ Open 📄 View Source
🐘 Groups.php
▶ Open 📄 View Source
🐘 GuestAccountInfo.php
▶ Open 📄 View Source
🐘 ListPrintServersResponse.php
▶ Open 📄 View Source
🐘 ListPrinterModelsResponse.php
▶ Open 📄 View Source
🐘 ListPrintersResponse.php
▶ Open 📄 View Source
🐘 Member.php
▶ Open 📄 View Source
🐘 Members.php
▶ Open 📄 View Source
🐘 MembersHasMember.php
▶ Open 📄 View Source
🐘 MobileDevice.php
▶ Open 📄 View Source
🐘 MobileDeviceAction.php
▶ Open 📄 View Source
🐘 MobileDeviceApplications.php
▶ Open 📄 View Source
🐘 MobileDevices.php
▶ Open 📄 View Source
🐘 OrgUnit.php
▶ Open 📄 View Source
🐘 OrgUnits.php
▶ Open 📄 View Source
🐘 OsUpdateStatus.php
▶ Open 📄 View Source
🐘 PrintServer.php
▶ Open 📄 View Source
🐘 PrintServerFailureInfo.php
▶ Open 📄 View Source
🐘 Printer.php
▶ Open 📄 View Source
🐘 PrinterModel.php
▶ Open 📄 View Source
🐘 Privilege.php
▶ Open 📄 View Source
🐘 Privileges.php
▶ Open 📄 View Source
🐘 Role.php
▶ Open 📄 View Source
🐘 RoleAssignment.php
▶ Open 📄 View Source
🐘 RoleAssignments.php
▶ Open 📄 View Source
🐘 RoleRolePrivileges.php
▶ Open 📄 View Source
🐘 Roles.php
▶ Open 📄 View Source
🐘 Schema.php
▶ Open 📄 View Source
🐘 SchemaFieldSpec.php
▶ Open 📄 View Source
🐘 SchemaFieldSpecNumericIndexingSpec.php
▶ Open 📄 View Source
🐘 Schemas.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 Token.php
▶ Open 📄 View Source
🐘 Tokens.php
▶ Open 📄 View Source
🐘 User.php
▶ Open 📄 View Source
🐘 UserAbout.php
▶ Open 📄 View Source
🐘 UserAddress.php
▶ Open 📄 View Source
🐘 UserAlias.php
▶ Open 📄 View Source
🐘 UserEmail.php
▶ Open 📄 View Source
🐘 UserEmailPublicKeyEncryptionCertificates.php
▶ Open 📄 View Source
🐘 UserExternalId.php
▶ Open 📄 View Source
🐘 UserGender.php
▶ Open 📄 View Source
🐘 UserIm.php
▶ Open 📄 View Source
🐘 UserKeyword.php
▶ Open 📄 View Source
🐘 UserLanguage.php
▶ Open 📄 View Source
🐘 UserLocation.php
▶ Open 📄 View Source
🐘 UserMakeAdmin.php
▶ Open 📄 View Source
🐘 UserName.php
▶ Open 📄 View Source
🐘 UserOrganization.php
▶ Open 📄 View Source
🐘 UserPhone.php
▶ Open 📄 View Source
🐘 UserPhoto.php
▶ Open 📄 View Source
🐘 UserPosixAccount.php
▶ Open 📄 View Source
🐘 UserRelation.php
▶ Open 📄 View Source
🐘 UserSshPublicKey.php
▶ Open 📄 View Source
🐘 UserUndelete.php
▶ Open 📄 View Source
🐘 UserWebsite.php
▶ Open 📄 View Source
🐘 Users.php
▶ Open 📄 View Source
🐘 VerificationCode.php
▶ Open 📄 View Source
🐘 VerificationCodes.php
▶ Open 📄 View Source

📄 Source: OrgUnit.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Directory;

class OrgUnit extends \Google\Model
{
  /**
   * This field is deprecated and setting its value has no effect.
   *
   * @deprecated
   * @var bool
   */
  public $blockInheritance;
  /**
   * Description of the organizational unit.
   *
   * @var string
   */
  public $description;
  /**
   * ETag of the resource.
   *
   * @var string
   */
  public $etag;
  /**
   * The type of the API resource. For Orgunits resources, the value is
   * `admin#directory#orgUnit`.
   *
   * @var string
   */
  public $kind;
  /**
   * 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.
   *
   * @var string
   */
  public $name;
  /**
   * The unique ID of the organizational unit.
   *
   * @var string
   */
  public $orgUnitId;
  /**
   * 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](https://support.google.com/a/answer/4352075).
   * For more information about moving a user to a different organization, see
   * [Update a user](https://developers.google.com/workspace/admin/directory/v1/
   * guides/manage-users.html#update_user).
   *
   * @var string
   */
  public $orgUnitPath;
  /**
   * The unique ID of the parent organizational unit. Required, unless
   * `parentOrgUnitPath` is set.
   *
   * @var string
   */
  public $parentOrgUnitId;
  /**
   * 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.
   *
   * @var string
   */
  public $parentOrgUnitPath;

  /**
   * This field is deprecated and setting its value has no effect.
   *
   * @deprecated
   * @param bool $blockInheritance
   */
  public function setBlockInheritance($blockInheritance)
  {
    $this->blockInheritance = $blockInheritance;
  }
  /**
   * @deprecated
   * @return bool
   */
  public function getBlockInheritance()
  {
    return $this->blockInheritance;
  }
  /**
   * Description of the organizational unit.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * ETag of the resource.
   *
   * @param string $etag
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * The type of the API resource. For Orgunits resources, the value is
   * `admin#directory#orgUnit`.
   *
   * @param string $kind
   */
  public function setKind($kind)
  {
    $this->kind = $kind;
  }
  /**
   * @return string
   */
  public function getKind()
  {
    return $this->kind;
  }
  /**
   * 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.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * The unique ID of the organizational unit.
   *
   * @param string $orgUnitId
   */
  public function setOrgUnitId($orgUnitId)
  {
    $this->orgUnitId = $orgUnitId;
  }
  /**
   * @return string
   */
  public function getOrgUnitId()
  {
    return $this->orgUnitId;
  }
  /**
   * 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](https://support.google.com/a/answer/4352075).
   * For more information about moving a user to a different organization, see
   * [Update a user](https://developers.google.com/workspace/admin/directory/v1/
   * guides/manage-users.html#update_user).
   *
   * @param string $orgUnitPath
   */
  public function setOrgUnitPath($orgUnitPath)
  {
    $this->orgUnitPath = $orgUnitPath;
  }
  /**
   * @return string
   */
  public function getOrgUnitPath()
  {
    return $this->orgUnitPath;
  }
  /**
   * The unique ID of the parent organizational unit. Required, unless
   * `parentOrgUnitPath` is set.
   *
   * @param string $parentOrgUnitId
   */
  public function setParentOrgUnitId($parentOrgUnitId)
  {
    $this->parentOrgUnitId = $parentOrgUnitId;
  }
  /**
   * @return string
   */
  public function getParentOrgUnitId()
  {
    return $this->parentOrgUnitId;
  }
  /**
   * 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.
   *
   * @param string $parentOrgUnitPath
   */
  public function setParentOrgUnitPath($parentOrgUnitPath)
  {
    $this->parentOrgUnitPath = $parentOrgUnitPath;
  }
  /**
   * @return string
   */
  public function getParentOrgUnitPath()
  {
    return $this->parentOrgUnitPath;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrgUnit::class, 'Google_Service_Directory_OrgUnit');
← Back