Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?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 AdminEmpty extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AdminEmpty::class, 'Google_Service_Directory_AdminEmpty');

View File

@@ -0,0 +1,116 @@
<?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 Alias extends \Google\Model
{
/**
* @var string
*/
public $alias;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $primaryEmail;
/**
* @param string
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPrimaryEmail($primaryEmail)
{
$this->primaryEmail = $primaryEmail;
}
/**
* @return string
*/
public function getPrimaryEmail()
{
return $this->primaryEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Alias::class, 'Google_Service_Directory_Alias');

View File

@@ -0,0 +1,81 @@
<?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 Aliases extends \Google\Collection
{
protected $collection_key = 'aliases';
/**
* @var array[]
*/
public $aliases;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @param array[]
*/
public function setAliases($aliases)
{
$this->aliases = $aliases;
}
/**
* @return array[]
*/
public function getAliases()
{
return $this->aliases;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Aliases::class, 'Google_Service_Directory_Aliases');

View File

@@ -0,0 +1,152 @@
<?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 Asp extends \Google\Model
{
/**
* @var int
*/
public $codeId;
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $lastTimeUsed;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $userKey;
/**
* @param int
*/
public function setCodeId($codeId)
{
$this->codeId = $codeId;
}
/**
* @return int
*/
public function getCodeId()
{
return $this->codeId;
}
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLastTimeUsed($lastTimeUsed)
{
$this->lastTimeUsed = $lastTimeUsed;
}
/**
* @return string
*/
public function getLastTimeUsed()
{
return $this->lastTimeUsed;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUserKey($userKey)
{
$this->userKey = $userKey;
}
/**
* @return string
*/
public function getUserKey()
{
return $this->userKey;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Asp::class, 'Google_Service_Directory_Asp');

View File

@@ -0,0 +1,79 @@
<?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 Asps extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = Asp::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Asp[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Asp[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Asps::class, 'Google_Service_Directory_Asps');

View File

@@ -0,0 +1,80 @@
<?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 AuxiliaryMessage extends \Google\Model
{
/**
* @var string
*/
public $auxiliaryMessage;
/**
* @var string
*/
public $fieldMask;
/**
* @var string
*/
public $severity;
/**
* @param string
*/
public function setAuxiliaryMessage($auxiliaryMessage)
{
$this->auxiliaryMessage = $auxiliaryMessage;
}
/**
* @return string
*/
public function getAuxiliaryMessage()
{
return $this->auxiliaryMessage;
}
/**
* @param string
*/
public function setFieldMask($fieldMask)
{
$this->fieldMask = $fieldMask;
}
/**
* @return string
*/
public function getFieldMask()
{
return $this->fieldMask;
}
/**
* @param string
*/
public function setSeverity($severity)
{
$this->severity = $severity;
}
/**
* @return string
*/
public function getSeverity()
{
return $this->severity;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AuxiliaryMessage::class, 'Google_Service_Directory_AuxiliaryMessage');

View File

@@ -0,0 +1,80 @@
<?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 BacklightInfo extends \Google\Model
{
/**
* @var int
*/
public $brightness;
/**
* @var int
*/
public $maxBrightness;
/**
* @var string
*/
public $path;
/**
* @param int
*/
public function setBrightness($brightness)
{
$this->brightness = $brightness;
}
/**
* @return int
*/
public function getBrightness()
{
return $this->brightness;
}
/**
* @param int
*/
public function setMaxBrightness($maxBrightness)
{
$this->maxBrightness = $maxBrightness;
}
/**
* @return int
*/
public function getMaxBrightness()
{
return $this->maxBrightness;
}
/**
* @param string
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return string
*/
public function getPath()
{
return $this->path;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BacklightInfo::class, 'Google_Service_Directory_BacklightInfo');

View File

@@ -0,0 +1,81 @@
<?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 BatchChangeChromeOsDeviceStatusRequest extends \Google\Collection
{
protected $collection_key = 'deviceIds';
/**
* @var string
*/
public $changeChromeOsDeviceStatusAction;
/**
* @var string
*/
public $deprovisionReason;
/**
* @var string[]
*/
public $deviceIds;
/**
* @param string
*/
public function setChangeChromeOsDeviceStatusAction($changeChromeOsDeviceStatusAction)
{
$this->changeChromeOsDeviceStatusAction = $changeChromeOsDeviceStatusAction;
}
/**
* @return string
*/
public function getChangeChromeOsDeviceStatusAction()
{
return $this->changeChromeOsDeviceStatusAction;
}
/**
* @param string
*/
public function setDeprovisionReason($deprovisionReason)
{
$this->deprovisionReason = $deprovisionReason;
}
/**
* @return string
*/
public function getDeprovisionReason()
{
return $this->deprovisionReason;
}
/**
* @param string[]
*/
public function setDeviceIds($deviceIds)
{
$this->deviceIds = $deviceIds;
}
/**
* @return string[]
*/
public function getDeviceIds()
{
return $this->deviceIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchChangeChromeOsDeviceStatusRequest::class, 'Google_Service_Directory_BatchChangeChromeOsDeviceStatusRequest');

View File

@@ -0,0 +1,43 @@
<?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 BatchChangeChromeOsDeviceStatusResponse extends \Google\Collection
{
protected $collection_key = 'changeChromeOsDeviceStatusResults';
protected $changeChromeOsDeviceStatusResultsType = ChangeChromeOsDeviceStatusResult::class;
protected $changeChromeOsDeviceStatusResultsDataType = 'array';
/**
* @param ChangeChromeOsDeviceStatusResult[]
*/
public function setChangeChromeOsDeviceStatusResults($changeChromeOsDeviceStatusResults)
{
$this->changeChromeOsDeviceStatusResults = $changeChromeOsDeviceStatusResults;
}
/**
* @return ChangeChromeOsDeviceStatusResult[]
*/
public function getChangeChromeOsDeviceStatusResults()
{
return $this->changeChromeOsDeviceStatusResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchChangeChromeOsDeviceStatusResponse::class, 'Google_Service_Directory_BatchChangeChromeOsDeviceStatusResponse');

View File

@@ -0,0 +1,43 @@
<?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 BatchCreatePrintServersRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = CreatePrintServerRequest::class;
protected $requestsDataType = 'array';
/**
* @param CreatePrintServerRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return CreatePrintServerRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreatePrintServersRequest::class, 'Google_Service_Directory_BatchCreatePrintServersRequest');

View File

@@ -0,0 +1,59 @@
<?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 BatchCreatePrintServersResponse extends \Google\Collection
{
protected $collection_key = 'printServers';
protected $failuresType = PrintServerFailureInfo::class;
protected $failuresDataType = 'array';
protected $printServersType = PrintServer::class;
protected $printServersDataType = 'array';
/**
* @param PrintServerFailureInfo[]
*/
public function setFailures($failures)
{
$this->failures = $failures;
}
/**
* @return PrintServerFailureInfo[]
*/
public function getFailures()
{
return $this->failures;
}
/**
* @param PrintServer[]
*/
public function setPrintServers($printServers)
{
$this->printServers = $printServers;
}
/**
* @return PrintServer[]
*/
public function getPrintServers()
{
return $this->printServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreatePrintServersResponse::class, 'Google_Service_Directory_BatchCreatePrintServersResponse');

View File

@@ -0,0 +1,43 @@
<?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 BatchCreatePrintersRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = CreatePrinterRequest::class;
protected $requestsDataType = 'array';
/**
* @param CreatePrinterRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return CreatePrinterRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreatePrintersRequest::class, 'Google_Service_Directory_BatchCreatePrintersRequest');

View File

@@ -0,0 +1,59 @@
<?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 BatchCreatePrintersResponse extends \Google\Collection
{
protected $collection_key = 'printers';
protected $failuresType = FailureInfo::class;
protected $failuresDataType = 'array';
protected $printersType = Printer::class;
protected $printersDataType = 'array';
/**
* @param FailureInfo[]
*/
public function setFailures($failures)
{
$this->failures = $failures;
}
/**
* @return FailureInfo[]
*/
public function getFailures()
{
return $this->failures;
}
/**
* @param Printer[]
*/
public function setPrinters($printers)
{
$this->printers = $printers;
}
/**
* @return Printer[]
*/
public function getPrinters()
{
return $this->printers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchCreatePrintersResponse::class, 'Google_Service_Directory_BatchCreatePrintersResponse');

View File

@@ -0,0 +1,45 @@
<?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 BatchDeletePrintServersRequest extends \Google\Collection
{
protected $collection_key = 'printServerIds';
/**
* @var string[]
*/
public $printServerIds;
/**
* @param string[]
*/
public function setPrintServerIds($printServerIds)
{
$this->printServerIds = $printServerIds;
}
/**
* @return string[]
*/
public function getPrintServerIds()
{
return $this->printServerIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchDeletePrintServersRequest::class, 'Google_Service_Directory_BatchDeletePrintServersRequest');

View File

@@ -0,0 +1,61 @@
<?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 BatchDeletePrintServersResponse extends \Google\Collection
{
protected $collection_key = 'printServerIds';
protected $failedPrintServersType = PrintServerFailureInfo::class;
protected $failedPrintServersDataType = 'array';
/**
* @var string[]
*/
public $printServerIds;
/**
* @param PrintServerFailureInfo[]
*/
public function setFailedPrintServers($failedPrintServers)
{
$this->failedPrintServers = $failedPrintServers;
}
/**
* @return PrintServerFailureInfo[]
*/
public function getFailedPrintServers()
{
return $this->failedPrintServers;
}
/**
* @param string[]
*/
public function setPrintServerIds($printServerIds)
{
$this->printServerIds = $printServerIds;
}
/**
* @return string[]
*/
public function getPrintServerIds()
{
return $this->printServerIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchDeletePrintServersResponse::class, 'Google_Service_Directory_BatchDeletePrintServersResponse');

View File

@@ -0,0 +1,45 @@
<?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 BatchDeletePrintersRequest extends \Google\Collection
{
protected $collection_key = 'printerIds';
/**
* @var string[]
*/
public $printerIds;
/**
* @param string[]
*/
public function setPrinterIds($printerIds)
{
$this->printerIds = $printerIds;
}
/**
* @return string[]
*/
public function getPrinterIds()
{
return $this->printerIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchDeletePrintersRequest::class, 'Google_Service_Directory_BatchDeletePrintersRequest');

View File

@@ -0,0 +1,61 @@
<?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 BatchDeletePrintersResponse extends \Google\Collection
{
protected $collection_key = 'printerIds';
protected $failedPrintersType = FailureInfo::class;
protected $failedPrintersDataType = 'array';
/**
* @var string[]
*/
public $printerIds;
/**
* @param FailureInfo[]
*/
public function setFailedPrinters($failedPrinters)
{
$this->failedPrinters = $failedPrinters;
}
/**
* @return FailureInfo[]
*/
public function getFailedPrinters()
{
return $this->failedPrinters;
}
/**
* @param string[]
*/
public function setPrinterIds($printerIds)
{
$this->printerIds = $printerIds;
}
/**
* @return string[]
*/
public function getPrinterIds()
{
return $this->printerIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchDeletePrintersResponse::class, 'Google_Service_Directory_BatchDeletePrintersResponse');

View File

@@ -0,0 +1,167 @@
<?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 Building extends \Google\Collection
{
protected $collection_key = 'floorNames';
protected $addressType = BuildingAddress::class;
protected $addressDataType = '';
/**
* @var string
*/
public $buildingId;
/**
* @var string
*/
public $buildingName;
protected $coordinatesType = BuildingCoordinates::class;
protected $coordinatesDataType = '';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etags;
/**
* @var string[]
*/
public $floorNames;
/**
* @var string
*/
public $kind;
/**
* @param BuildingAddress
*/
public function setAddress(BuildingAddress $address)
{
$this->address = $address;
}
/**
* @return BuildingAddress
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setBuildingId($buildingId)
{
$this->buildingId = $buildingId;
}
/**
* @return string
*/
public function getBuildingId()
{
return $this->buildingId;
}
/**
* @param string
*/
public function setBuildingName($buildingName)
{
$this->buildingName = $buildingName;
}
/**
* @return string
*/
public function getBuildingName()
{
return $this->buildingName;
}
/**
* @param BuildingCoordinates
*/
public function setCoordinates(BuildingCoordinates $coordinates)
{
$this->coordinates = $coordinates;
}
/**
* @return BuildingCoordinates
*/
public function getCoordinates()
{
return $this->coordinates;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtags($etags)
{
$this->etags = $etags;
}
/**
* @return string
*/
public function getEtags()
{
return $this->etags;
}
/**
* @param string[]
*/
public function setFloorNames($floorNames)
{
$this->floorNames = $floorNames;
}
/**
* @return string[]
*/
public function getFloorNames()
{
return $this->floorNames;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Building::class, 'Google_Service_Directory_Building');

View File

@@ -0,0 +1,153 @@
<?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 BuildingAddress extends \Google\Collection
{
protected $collection_key = 'addressLines';
/**
* @var string[]
*/
public $addressLines;
/**
* @var string
*/
public $administrativeArea;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $postalCode;
/**
* @var string
*/
public $regionCode;
/**
* @var string
*/
public $sublocality;
/**
* @param string[]
*/
public function setAddressLines($addressLines)
{
$this->addressLines = $addressLines;
}
/**
* @return string[]
*/
public function getAddressLines()
{
return $this->addressLines;
}
/**
* @param string
*/
public function setAdministrativeArea($administrativeArea)
{
$this->administrativeArea = $administrativeArea;
}
/**
* @return string
*/
public function getAdministrativeArea()
{
return $this->administrativeArea;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string
*/
public function setRegionCode($regionCode)
{
$this->regionCode = $regionCode;
}
/**
* @return string
*/
public function getRegionCode()
{
return $this->regionCode;
}
/**
* @param string
*/
public function setSublocality($sublocality)
{
$this->sublocality = $sublocality;
}
/**
* @return string
*/
public function getSublocality()
{
return $this->sublocality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildingAddress::class, 'Google_Service_Directory_BuildingAddress');

View File

@@ -0,0 +1,44 @@
<?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 BuildingCoordinates extends \Google\Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BuildingCoordinates::class, 'Google_Service_Directory_BuildingCoordinates');

View File

@@ -0,0 +1,97 @@
<?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 Buildings extends \Google\Collection
{
protected $collection_key = 'buildings';
protected $buildingsType = Building::class;
protected $buildingsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param Building[]
*/
public function setBuildings($buildings)
{
$this->buildings = $buildings;
}
/**
* @return Building[]
*/
public function getBuildings()
{
return $this->buildings;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Buildings::class, 'Google_Service_Directory_Buildings');

View File

@@ -0,0 +1,62 @@
<?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 ByteUsage extends \Google\Model
{
/**
* @var string
*/
public $capacityBytes;
/**
* @var string
*/
public $usedBytes;
/**
* @param string
*/
public function setCapacityBytes($capacityBytes)
{
$this->capacityBytes = $capacityBytes;
}
/**
* @return string
*/
public function getCapacityBytes()
{
return $this->capacityBytes;
}
/**
* @param string
*/
public function setUsedBytes($usedBytes)
{
$this->usedBytes = $usedBytes;
}
/**
* @return string
*/
public function getUsedBytes()
{
return $this->usedBytes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ByteUsage::class, 'Google_Service_Directory_ByteUsage');

View File

@@ -0,0 +1,296 @@
<?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 CalendarResource extends \Google\Model
{
/**
* @var string
*/
public $buildingId;
/**
* @var int
*/
public $capacity;
/**
* @var string
*/
public $etags;
/**
* @var array
*/
public $featureInstances;
/**
* @var string
*/
public $floorName;
/**
* @var string
*/
public $floorSection;
/**
* @var string
*/
public $generatedResourceName;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $resourceCategory;
/**
* @var string
*/
public $resourceDescription;
/**
* @var string
*/
public $resourceEmail;
/**
* @var string
*/
public $resourceId;
/**
* @var string
*/
public $resourceName;
/**
* @var string
*/
public $resourceType;
/**
* @var string
*/
public $userVisibleDescription;
/**
* @param string
*/
public function setBuildingId($buildingId)
{
$this->buildingId = $buildingId;
}
/**
* @return string
*/
public function getBuildingId()
{
return $this->buildingId;
}
/**
* @param int
*/
public function setCapacity($capacity)
{
$this->capacity = $capacity;
}
/**
* @return int
*/
public function getCapacity()
{
return $this->capacity;
}
/**
* @param string
*/
public function setEtags($etags)
{
$this->etags = $etags;
}
/**
* @return string
*/
public function getEtags()
{
return $this->etags;
}
/**
* @param array
*/
public function setFeatureInstances($featureInstances)
{
$this->featureInstances = $featureInstances;
}
/**
* @return array
*/
public function getFeatureInstances()
{
return $this->featureInstances;
}
/**
* @param string
*/
public function setFloorName($floorName)
{
$this->floorName = $floorName;
}
/**
* @return string
*/
public function getFloorName()
{
return $this->floorName;
}
/**
* @param string
*/
public function setFloorSection($floorSection)
{
$this->floorSection = $floorSection;
}
/**
* @return string
*/
public function getFloorSection()
{
return $this->floorSection;
}
/**
* @param string
*/
public function setGeneratedResourceName($generatedResourceName)
{
$this->generatedResourceName = $generatedResourceName;
}
/**
* @return string
*/
public function getGeneratedResourceName()
{
return $this->generatedResourceName;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setResourceCategory($resourceCategory)
{
$this->resourceCategory = $resourceCategory;
}
/**
* @return string
*/
public function getResourceCategory()
{
return $this->resourceCategory;
}
/**
* @param string
*/
public function setResourceDescription($resourceDescription)
{
$this->resourceDescription = $resourceDescription;
}
/**
* @return string
*/
public function getResourceDescription()
{
return $this->resourceDescription;
}
/**
* @param string
*/
public function setResourceEmail($resourceEmail)
{
$this->resourceEmail = $resourceEmail;
}
/**
* @return string
*/
public function getResourceEmail()
{
return $this->resourceEmail;
}
/**
* @param string
*/
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return string
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
/**
* @return string
*/
public function getResourceName()
{
return $this->resourceName;
}
/**
* @param string
*/
public function setResourceType($resourceType)
{
$this->resourceType = $resourceType;
}
/**
* @return string
*/
public function getResourceType()
{
return $this->resourceType;
}
/**
* @param string
*/
public function setUserVisibleDescription($userVisibleDescription)
{
$this->userVisibleDescription = $userVisibleDescription;
}
/**
* @return string
*/
public function getUserVisibleDescription()
{
return $this->userVisibleDescription;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarResource::class, 'Google_Service_Directory_CalendarResource');

View File

@@ -0,0 +1,97 @@
<?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 CalendarResources extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = CalendarResource::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param CalendarResource[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return CalendarResource[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CalendarResources::class, 'Google_Service_Directory_CalendarResources');

View File

@@ -0,0 +1,76 @@
<?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 ChangeChromeOsDeviceStatusResult extends \Google\Model
{
/**
* @var string
*/
public $deviceId;
protected $errorType = Status::class;
protected $errorDataType = '';
protected $responseType = ChangeChromeOsDeviceStatusSucceeded::class;
protected $responseDataType = '';
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param ChangeChromeOsDeviceStatusSucceeded
*/
public function setResponse(ChangeChromeOsDeviceStatusSucceeded $response)
{
$this->response = $response;
}
/**
* @return ChangeChromeOsDeviceStatusSucceeded
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeChromeOsDeviceStatusResult::class, 'Google_Service_Directory_ChangeChromeOsDeviceStatusResult');

View File

@@ -0,0 +1,25 @@
<?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 ChangeChromeOsDeviceStatusSucceeded extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChangeChromeOsDeviceStatusSucceeded::class, 'Google_Service_Directory_ChangeChromeOsDeviceStatusSucceeded');

View File

@@ -0,0 +1,206 @@
<?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 Channel extends \Google\Model
{
/**
* @var string
*/
public $address;
/**
* @var string
*/
public $expiration;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string[]
*/
public $params;
/**
* @var bool
*/
public $payload;
/**
* @var string
*/
public $resourceId;
/**
* @var string
*/
public $resourceUri;
/**
* @var string
*/
public $token;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setAddress($address)
{
$this->address = $address;
}
/**
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* @param string
*/
public function setExpiration($expiration)
{
$this->expiration = $expiration;
}
/**
* @return string
*/
public function getExpiration()
{
return $this->expiration;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string[]
*/
public function setParams($params)
{
$this->params = $params;
}
/**
* @return string[]
*/
public function getParams()
{
return $this->params;
}
/**
* @param bool
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return bool
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param string
*/
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return string
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setResourceUri($resourceUri)
{
$this->resourceUri = $resourceUri;
}
/**
* @return string
*/
public function getResourceUri()
{
return $this->resourceUri;
}
/**
* @param string
*/
public function setToken($token)
{
$this->token = $token;
}
/**
* @return string
*/
public function getToken()
{
return $this->token;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Channel::class, 'Google_Service_Directory_Channel');

View File

@@ -0,0 +1,935 @@
<?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 ChromeOsDevice extends \Google\Collection
{
protected $collection_key = 'systemRamFreeReports';
protected $activeTimeRangesType = ChromeOsDeviceActiveTimeRanges::class;
protected $activeTimeRangesDataType = 'array';
/**
* @var string
*/
public $annotatedAssetId;
/**
* @var string
*/
public $annotatedLocation;
/**
* @var string
*/
public $annotatedUser;
/**
* @var string
*/
public $autoUpdateExpiration;
/**
* @var string
*/
public $autoUpdateThrough;
protected $backlightInfoType = BacklightInfo::class;
protected $backlightInfoDataType = 'array';
/**
* @var string
*/
public $bootMode;
/**
* @var string
*/
public $chromeOsType;
protected $cpuInfoType = ChromeOsDeviceCpuInfo::class;
protected $cpuInfoDataType = 'array';
protected $cpuStatusReportsType = ChromeOsDeviceCpuStatusReports::class;
protected $cpuStatusReportsDataType = 'array';
/**
* @var string
*/
public $deprovisionReason;
protected $deviceFilesType = ChromeOsDeviceDeviceFiles::class;
protected $deviceFilesDataType = 'array';
/**
* @var string
*/
public $deviceId;
/**
* @var string
*/
public $deviceLicenseType;
protected $diskSpaceUsageType = ByteUsage::class;
protected $diskSpaceUsageDataType = '';
protected $diskVolumeReportsType = ChromeOsDeviceDiskVolumeReports::class;
protected $diskVolumeReportsDataType = 'array';
/**
* @var string
*/
public $dockMacAddress;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $ethernetMacAddress;
/**
* @var string
*/
public $ethernetMacAddress0;
/**
* @var bool
*/
public $extendedSupportEligible;
/**
* @var bool
*/
public $extendedSupportEnabled;
/**
* @var string
*/
public $extendedSupportStart;
protected $fanInfoType = FanInfo::class;
protected $fanInfoDataType = 'array';
/**
* @var string
*/
public $firmwareVersion;
/**
* @var string
*/
public $firstEnrollmentTime;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $lastDeprovisionTimestamp;
/**
* @var string
*/
public $lastEnrollmentTime;
protected $lastKnownNetworkType = ChromeOsDeviceLastKnownNetwork::class;
protected $lastKnownNetworkDataType = 'array';
/**
* @var string
*/
public $lastSync;
/**
* @var string
*/
public $macAddress;
/**
* @var string
*/
public $manufactureDate;
/**
* @var string
*/
public $meid;
/**
* @var string
*/
public $model;
/**
* @var string
*/
public $notes;
/**
* @var string
*/
public $orderNumber;
/**
* @var string
*/
public $orgUnitId;
/**
* @var string
*/
public $orgUnitPath;
protected $osUpdateStatusType = OsUpdateStatus::class;
protected $osUpdateStatusDataType = '';
/**
* @var string
*/
public $osVersion;
/**
* @var string
*/
public $platformVersion;
protected $recentUsersType = ChromeOsDeviceRecentUsers::class;
protected $recentUsersDataType = 'array';
protected $screenshotFilesType = ChromeOsDeviceScreenshotFiles::class;
protected $screenshotFilesDataType = 'array';
/**
* @var string
*/
public $serialNumber;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $supportEndDate;
protected $systemRamFreeReportsType = ChromeOsDeviceSystemRamFreeReports::class;
protected $systemRamFreeReportsDataType = 'array';
/**
* @var string
*/
public $systemRamTotal;
protected $tpmVersionInfoType = ChromeOsDeviceTpmVersionInfo::class;
protected $tpmVersionInfoDataType = '';
/**
* @var bool
*/
public $willAutoRenew;
/**
* @param ChromeOsDeviceActiveTimeRanges[]
*/
public function setActiveTimeRanges($activeTimeRanges)
{
$this->activeTimeRanges = $activeTimeRanges;
}
/**
* @return ChromeOsDeviceActiveTimeRanges[]
*/
public function getActiveTimeRanges()
{
return $this->activeTimeRanges;
}
/**
* @param string
*/
public function setAnnotatedAssetId($annotatedAssetId)
{
$this->annotatedAssetId = $annotatedAssetId;
}
/**
* @return string
*/
public function getAnnotatedAssetId()
{
return $this->annotatedAssetId;
}
/**
* @param string
*/
public function setAnnotatedLocation($annotatedLocation)
{
$this->annotatedLocation = $annotatedLocation;
}
/**
* @return string
*/
public function getAnnotatedLocation()
{
return $this->annotatedLocation;
}
/**
* @param string
*/
public function setAnnotatedUser($annotatedUser)
{
$this->annotatedUser = $annotatedUser;
}
/**
* @return string
*/
public function getAnnotatedUser()
{
return $this->annotatedUser;
}
/**
* @param string
*/
public function setAutoUpdateExpiration($autoUpdateExpiration)
{
$this->autoUpdateExpiration = $autoUpdateExpiration;
}
/**
* @return string
*/
public function getAutoUpdateExpiration()
{
return $this->autoUpdateExpiration;
}
/**
* @param string
*/
public function setAutoUpdateThrough($autoUpdateThrough)
{
$this->autoUpdateThrough = $autoUpdateThrough;
}
/**
* @return string
*/
public function getAutoUpdateThrough()
{
return $this->autoUpdateThrough;
}
/**
* @param BacklightInfo[]
*/
public function setBacklightInfo($backlightInfo)
{
$this->backlightInfo = $backlightInfo;
}
/**
* @return BacklightInfo[]
*/
public function getBacklightInfo()
{
return $this->backlightInfo;
}
/**
* @param string
*/
public function setBootMode($bootMode)
{
$this->bootMode = $bootMode;
}
/**
* @return string
*/
public function getBootMode()
{
return $this->bootMode;
}
/**
* @param string
*/
public function setChromeOsType($chromeOsType)
{
$this->chromeOsType = $chromeOsType;
}
/**
* @return string
*/
public function getChromeOsType()
{
return $this->chromeOsType;
}
/**
* @param ChromeOsDeviceCpuInfo[]
*/
public function setCpuInfo($cpuInfo)
{
$this->cpuInfo = $cpuInfo;
}
/**
* @return ChromeOsDeviceCpuInfo[]
*/
public function getCpuInfo()
{
return $this->cpuInfo;
}
/**
* @param ChromeOsDeviceCpuStatusReports[]
*/
public function setCpuStatusReports($cpuStatusReports)
{
$this->cpuStatusReports = $cpuStatusReports;
}
/**
* @return ChromeOsDeviceCpuStatusReports[]
*/
public function getCpuStatusReports()
{
return $this->cpuStatusReports;
}
/**
* @param string
*/
public function setDeprovisionReason($deprovisionReason)
{
$this->deprovisionReason = $deprovisionReason;
}
/**
* @return string
*/
public function getDeprovisionReason()
{
return $this->deprovisionReason;
}
/**
* @param ChromeOsDeviceDeviceFiles[]
*/
public function setDeviceFiles($deviceFiles)
{
$this->deviceFiles = $deviceFiles;
}
/**
* @return ChromeOsDeviceDeviceFiles[]
*/
public function getDeviceFiles()
{
return $this->deviceFiles;
}
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param string
*/
public function setDeviceLicenseType($deviceLicenseType)
{
$this->deviceLicenseType = $deviceLicenseType;
}
/**
* @return string
*/
public function getDeviceLicenseType()
{
return $this->deviceLicenseType;
}
/**
* @param ByteUsage
*/
public function setDiskSpaceUsage(ByteUsage $diskSpaceUsage)
{
$this->diskSpaceUsage = $diskSpaceUsage;
}
/**
* @return ByteUsage
*/
public function getDiskSpaceUsage()
{
return $this->diskSpaceUsage;
}
/**
* @param ChromeOsDeviceDiskVolumeReports[]
*/
public function setDiskVolumeReports($diskVolumeReports)
{
$this->diskVolumeReports = $diskVolumeReports;
}
/**
* @return ChromeOsDeviceDiskVolumeReports[]
*/
public function getDiskVolumeReports()
{
return $this->diskVolumeReports;
}
/**
* @param string
*/
public function setDockMacAddress($dockMacAddress)
{
$this->dockMacAddress = $dockMacAddress;
}
/**
* @return string
*/
public function getDockMacAddress()
{
return $this->dockMacAddress;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setEthernetMacAddress($ethernetMacAddress)
{
$this->ethernetMacAddress = $ethernetMacAddress;
}
/**
* @return string
*/
public function getEthernetMacAddress()
{
return $this->ethernetMacAddress;
}
/**
* @param string
*/
public function setEthernetMacAddress0($ethernetMacAddress0)
{
$this->ethernetMacAddress0 = $ethernetMacAddress0;
}
/**
* @return string
*/
public function getEthernetMacAddress0()
{
return $this->ethernetMacAddress0;
}
/**
* @param bool
*/
public function setExtendedSupportEligible($extendedSupportEligible)
{
$this->extendedSupportEligible = $extendedSupportEligible;
}
/**
* @return bool
*/
public function getExtendedSupportEligible()
{
return $this->extendedSupportEligible;
}
/**
* @param bool
*/
public function setExtendedSupportEnabled($extendedSupportEnabled)
{
$this->extendedSupportEnabled = $extendedSupportEnabled;
}
/**
* @return bool
*/
public function getExtendedSupportEnabled()
{
return $this->extendedSupportEnabled;
}
/**
* @param string
*/
public function setExtendedSupportStart($extendedSupportStart)
{
$this->extendedSupportStart = $extendedSupportStart;
}
/**
* @return string
*/
public function getExtendedSupportStart()
{
return $this->extendedSupportStart;
}
/**
* @param FanInfo[]
*/
public function setFanInfo($fanInfo)
{
$this->fanInfo = $fanInfo;
}
/**
* @return FanInfo[]
*/
public function getFanInfo()
{
return $this->fanInfo;
}
/**
* @param string
*/
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
/**
* @return string
*/
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
/**
* @param string
*/
public function setFirstEnrollmentTime($firstEnrollmentTime)
{
$this->firstEnrollmentTime = $firstEnrollmentTime;
}
/**
* @return string
*/
public function getFirstEnrollmentTime()
{
return $this->firstEnrollmentTime;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLastDeprovisionTimestamp($lastDeprovisionTimestamp)
{
$this->lastDeprovisionTimestamp = $lastDeprovisionTimestamp;
}
/**
* @return string
*/
public function getLastDeprovisionTimestamp()
{
return $this->lastDeprovisionTimestamp;
}
/**
* @param string
*/
public function setLastEnrollmentTime($lastEnrollmentTime)
{
$this->lastEnrollmentTime = $lastEnrollmentTime;
}
/**
* @return string
*/
public function getLastEnrollmentTime()
{
return $this->lastEnrollmentTime;
}
/**
* @param ChromeOsDeviceLastKnownNetwork[]
*/
public function setLastKnownNetwork($lastKnownNetwork)
{
$this->lastKnownNetwork = $lastKnownNetwork;
}
/**
* @return ChromeOsDeviceLastKnownNetwork[]
*/
public function getLastKnownNetwork()
{
return $this->lastKnownNetwork;
}
/**
* @param string
*/
public function setLastSync($lastSync)
{
$this->lastSync = $lastSync;
}
/**
* @return string
*/
public function getLastSync()
{
return $this->lastSync;
}
/**
* @param string
*/
public function setMacAddress($macAddress)
{
$this->macAddress = $macAddress;
}
/**
* @return string
*/
public function getMacAddress()
{
return $this->macAddress;
}
/**
* @param string
*/
public function setManufactureDate($manufactureDate)
{
$this->manufactureDate = $manufactureDate;
}
/**
* @return string
*/
public function getManufactureDate()
{
return $this->manufactureDate;
}
/**
* @param string
*/
public function setMeid($meid)
{
$this->meid = $meid;
}
/**
* @return string
*/
public function getMeid()
{
return $this->meid;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param string
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return string
*/
public function getNotes()
{
return $this->notes;
}
/**
* @param string
*/
public function setOrderNumber($orderNumber)
{
$this->orderNumber = $orderNumber;
}
/**
* @return string
*/
public function getOrderNumber()
{
return $this->orderNumber;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
/**
* @param string
*/
public function setOrgUnitPath($orgUnitPath)
{
$this->orgUnitPath = $orgUnitPath;
}
/**
* @return string
*/
public function getOrgUnitPath()
{
return $this->orgUnitPath;
}
/**
* @param OsUpdateStatus
*/
public function setOsUpdateStatus(OsUpdateStatus $osUpdateStatus)
{
$this->osUpdateStatus = $osUpdateStatus;
}
/**
* @return OsUpdateStatus
*/
public function getOsUpdateStatus()
{
return $this->osUpdateStatus;
}
/**
* @param string
*/
public function setOsVersion($osVersion)
{
$this->osVersion = $osVersion;
}
/**
* @return string
*/
public function getOsVersion()
{
return $this->osVersion;
}
/**
* @param string
*/
public function setPlatformVersion($platformVersion)
{
$this->platformVersion = $platformVersion;
}
/**
* @return string
*/
public function getPlatformVersion()
{
return $this->platformVersion;
}
/**
* @param ChromeOsDeviceRecentUsers[]
*/
public function setRecentUsers($recentUsers)
{
$this->recentUsers = $recentUsers;
}
/**
* @return ChromeOsDeviceRecentUsers[]
*/
public function getRecentUsers()
{
return $this->recentUsers;
}
/**
* @param ChromeOsDeviceScreenshotFiles[]
*/
public function setScreenshotFiles($screenshotFiles)
{
$this->screenshotFiles = $screenshotFiles;
}
/**
* @return ChromeOsDeviceScreenshotFiles[]
*/
public function getScreenshotFiles()
{
return $this->screenshotFiles;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setSupportEndDate($supportEndDate)
{
$this->supportEndDate = $supportEndDate;
}
/**
* @return string
*/
public function getSupportEndDate()
{
return $this->supportEndDate;
}
/**
* @param ChromeOsDeviceSystemRamFreeReports[]
*/
public function setSystemRamFreeReports($systemRamFreeReports)
{
$this->systemRamFreeReports = $systemRamFreeReports;
}
/**
* @return ChromeOsDeviceSystemRamFreeReports[]
*/
public function getSystemRamFreeReports()
{
return $this->systemRamFreeReports;
}
/**
* @param string
*/
public function setSystemRamTotal($systemRamTotal)
{
$this->systemRamTotal = $systemRamTotal;
}
/**
* @return string
*/
public function getSystemRamTotal()
{
return $this->systemRamTotal;
}
/**
* @param ChromeOsDeviceTpmVersionInfo
*/
public function setTpmVersionInfo(ChromeOsDeviceTpmVersionInfo $tpmVersionInfo)
{
$this->tpmVersionInfo = $tpmVersionInfo;
}
/**
* @return ChromeOsDeviceTpmVersionInfo
*/
public function getTpmVersionInfo()
{
return $this->tpmVersionInfo;
}
/**
* @param bool
*/
public function setWillAutoRenew($willAutoRenew)
{
$this->willAutoRenew = $willAutoRenew;
}
/**
* @return bool
*/
public function getWillAutoRenew()
{
return $this->willAutoRenew;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDevice::class, 'Google_Service_Directory_ChromeOsDevice');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceAction extends \Google\Model
{
/**
* @var string
*/
public $action;
/**
* @var string
*/
public $deprovisionReason;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
/**
* @param string
*/
public function setDeprovisionReason($deprovisionReason)
{
$this->deprovisionReason = $deprovisionReason;
}
/**
* @return string
*/
public function getDeprovisionReason()
{
return $this->deprovisionReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceAction::class, 'Google_Service_Directory_ChromeOsDeviceAction');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceActiveTimeRanges extends \Google\Model
{
/**
* @var int
*/
public $activeTime;
/**
* @var string
*/
public $date;
/**
* @param int
*/
public function setActiveTime($activeTime)
{
$this->activeTime = $activeTime;
}
/**
* @return int
*/
public function getActiveTime()
{
return $this->activeTime;
}
/**
* @param string
*/
public function setDate($date)
{
$this->date = $date;
}
/**
* @return string
*/
public function getDate()
{
return $this->date;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceActiveTimeRanges::class, 'Google_Service_Directory_ChromeOsDeviceActiveTimeRanges');

View File

@@ -0,0 +1,97 @@
<?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 ChromeOsDeviceCpuInfo extends \Google\Collection
{
protected $collection_key = 'logicalCpus';
/**
* @var string
*/
public $architecture;
protected $logicalCpusType = ChromeOsDeviceCpuInfoLogicalCpus::class;
protected $logicalCpusDataType = 'array';
/**
* @var int
*/
public $maxClockSpeedKhz;
/**
* @var string
*/
public $model;
/**
* @param string
*/
public function setArchitecture($architecture)
{
$this->architecture = $architecture;
}
/**
* @return string
*/
public function getArchitecture()
{
return $this->architecture;
}
/**
* @param ChromeOsDeviceCpuInfoLogicalCpus[]
*/
public function setLogicalCpus($logicalCpus)
{
$this->logicalCpus = $logicalCpus;
}
/**
* @return ChromeOsDeviceCpuInfoLogicalCpus[]
*/
public function getLogicalCpus()
{
return $this->logicalCpus;
}
/**
* @param int
*/
public function setMaxClockSpeedKhz($maxClockSpeedKhz)
{
$this->maxClockSpeedKhz = $maxClockSpeedKhz;
}
/**
* @return int
*/
public function getMaxClockSpeedKhz()
{
return $this->maxClockSpeedKhz;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceCpuInfo::class, 'Google_Service_Directory_ChromeOsDeviceCpuInfo');

View File

@@ -0,0 +1,97 @@
<?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 ChromeOsDeviceCpuInfoLogicalCpus extends \Google\Collection
{
protected $collection_key = 'cStates';
protected $cStatesType = ChromeOsDeviceCpuInfoLogicalCpusCStates::class;
protected $cStatesDataType = 'array';
/**
* @var int
*/
public $currentScalingFrequencyKhz;
/**
* @var string
*/
public $idleDuration;
/**
* @var int
*/
public $maxScalingFrequencyKhz;
/**
* @param ChromeOsDeviceCpuInfoLogicalCpusCStates[]
*/
public function setCStates($cStates)
{
$this->cStates = $cStates;
}
/**
* @return ChromeOsDeviceCpuInfoLogicalCpusCStates[]
*/
public function getCStates()
{
return $this->cStates;
}
/**
* @param int
*/
public function setCurrentScalingFrequencyKhz($currentScalingFrequencyKhz)
{
$this->currentScalingFrequencyKhz = $currentScalingFrequencyKhz;
}
/**
* @return int
*/
public function getCurrentScalingFrequencyKhz()
{
return $this->currentScalingFrequencyKhz;
}
/**
* @param string
*/
public function setIdleDuration($idleDuration)
{
$this->idleDuration = $idleDuration;
}
/**
* @return string
*/
public function getIdleDuration()
{
return $this->idleDuration;
}
/**
* @param int
*/
public function setMaxScalingFrequencyKhz($maxScalingFrequencyKhz)
{
$this->maxScalingFrequencyKhz = $maxScalingFrequencyKhz;
}
/**
* @return int
*/
public function getMaxScalingFrequencyKhz()
{
return $this->maxScalingFrequencyKhz;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceCpuInfoLogicalCpus::class, 'Google_Service_Directory_ChromeOsDeviceCpuInfoLogicalCpus');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceCpuInfoLogicalCpusCStates extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $sessionDuration;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setSessionDuration($sessionDuration)
{
$this->sessionDuration = $sessionDuration;
}
/**
* @return string
*/
public function getSessionDuration()
{
return $this->sessionDuration;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceCpuInfoLogicalCpusCStates::class, 'Google_Service_Directory_ChromeOsDeviceCpuInfoLogicalCpusCStates');

View File

@@ -0,0 +1,79 @@
<?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 ChromeOsDeviceCpuStatusReports extends \Google\Collection
{
protected $collection_key = 'cpuUtilizationPercentageInfo';
protected $cpuTemperatureInfoType = ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo::class;
protected $cpuTemperatureInfoDataType = 'array';
/**
* @var int[]
*/
public $cpuUtilizationPercentageInfo;
/**
* @var string
*/
public $reportTime;
/**
* @param ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo[]
*/
public function setCpuTemperatureInfo($cpuTemperatureInfo)
{
$this->cpuTemperatureInfo = $cpuTemperatureInfo;
}
/**
* @return ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo[]
*/
public function getCpuTemperatureInfo()
{
return $this->cpuTemperatureInfo;
}
/**
* @param int[]
*/
public function setCpuUtilizationPercentageInfo($cpuUtilizationPercentageInfo)
{
$this->cpuUtilizationPercentageInfo = $cpuUtilizationPercentageInfo;
}
/**
* @return int[]
*/
public function getCpuUtilizationPercentageInfo()
{
return $this->cpuUtilizationPercentageInfo;
}
/**
* @param string
*/
public function setReportTime($reportTime)
{
$this->reportTime = $reportTime;
}
/**
* @return string
*/
public function getReportTime()
{
return $this->reportTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceCpuStatusReports::class, 'Google_Service_Directory_ChromeOsDeviceCpuStatusReports');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo extends \Google\Model
{
/**
* @var string
*/
public $label;
/**
* @var int
*/
public $temperature;
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param int
*/
public function setTemperature($temperature)
{
$this->temperature = $temperature;
}
/**
* @return int
*/
public function getTemperature()
{
return $this->temperature;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo::class, 'Google_Service_Directory_ChromeOsDeviceCpuStatusReportsCpuTemperatureInfo');

View File

@@ -0,0 +1,98 @@
<?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 ChromeOsDeviceDeviceFiles extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $downloadUrl;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
/**
* @return string
*/
public function getDownloadUrl()
{
return $this->downloadUrl;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceDeviceFiles::class, 'Google_Service_Directory_ChromeOsDeviceDeviceFiles');

View File

@@ -0,0 +1,43 @@
<?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 ChromeOsDeviceDiskVolumeReports extends \Google\Collection
{
protected $collection_key = 'volumeInfo';
protected $volumeInfoType = ChromeOsDeviceDiskVolumeReportsVolumeInfo::class;
protected $volumeInfoDataType = 'array';
/**
* @param ChromeOsDeviceDiskVolumeReportsVolumeInfo[]
*/
public function setVolumeInfo($volumeInfo)
{
$this->volumeInfo = $volumeInfo;
}
/**
* @return ChromeOsDeviceDiskVolumeReportsVolumeInfo[]
*/
public function getVolumeInfo()
{
return $this->volumeInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceDiskVolumeReports::class, 'Google_Service_Directory_ChromeOsDeviceDiskVolumeReports');

View File

@@ -0,0 +1,80 @@
<?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 ChromeOsDeviceDiskVolumeReportsVolumeInfo extends \Google\Model
{
/**
* @var string
*/
public $storageFree;
/**
* @var string
*/
public $storageTotal;
/**
* @var string
*/
public $volumeId;
/**
* @param string
*/
public function setStorageFree($storageFree)
{
$this->storageFree = $storageFree;
}
/**
* @return string
*/
public function getStorageFree()
{
return $this->storageFree;
}
/**
* @param string
*/
public function setStorageTotal($storageTotal)
{
$this->storageTotal = $storageTotal;
}
/**
* @return string
*/
public function getStorageTotal()
{
return $this->storageTotal;
}
/**
* @param string
*/
public function setVolumeId($volumeId)
{
$this->volumeId = $volumeId;
}
/**
* @return string
*/
public function getVolumeId()
{
return $this->volumeId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceDiskVolumeReportsVolumeInfo::class, 'Google_Service_Directory_ChromeOsDeviceDiskVolumeReportsVolumeInfo');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceLastKnownNetwork extends \Google\Model
{
/**
* @var string
*/
public $ipAddress;
/**
* @var string
*/
public $wanIpAddress;
/**
* @param string
*/
public function setIpAddress($ipAddress)
{
$this->ipAddress = $ipAddress;
}
/**
* @return string
*/
public function getIpAddress()
{
return $this->ipAddress;
}
/**
* @param string
*/
public function setWanIpAddress($wanIpAddress)
{
$this->wanIpAddress = $wanIpAddress;
}
/**
* @return string
*/
public function getWanIpAddress()
{
return $this->wanIpAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceLastKnownNetwork::class, 'Google_Service_Directory_ChromeOsDeviceLastKnownNetwork');

View File

@@ -0,0 +1,62 @@
<?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 ChromeOsDeviceRecentUsers extends \Google\Model
{
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceRecentUsers::class, 'Google_Service_Directory_ChromeOsDeviceRecentUsers');

View File

@@ -0,0 +1,98 @@
<?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 ChromeOsDeviceScreenshotFiles extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $downloadUrl;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
/**
* @return string
*/
public function getDownloadUrl()
{
return $this->downloadUrl;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceScreenshotFiles::class, 'Google_Service_Directory_ChromeOsDeviceScreenshotFiles');

View File

@@ -0,0 +1,63 @@
<?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 ChromeOsDeviceSystemRamFreeReports extends \Google\Collection
{
protected $collection_key = 'systemRamFreeInfo';
/**
* @var string
*/
public $reportTime;
/**
* @var string[]
*/
public $systemRamFreeInfo;
/**
* @param string
*/
public function setReportTime($reportTime)
{
$this->reportTime = $reportTime;
}
/**
* @return string
*/
public function getReportTime()
{
return $this->reportTime;
}
/**
* @param string[]
*/
public function setSystemRamFreeInfo($systemRamFreeInfo)
{
$this->systemRamFreeInfo = $systemRamFreeInfo;
}
/**
* @return string[]
*/
public function getSystemRamFreeInfo()
{
return $this->systemRamFreeInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceSystemRamFreeReports::class, 'Google_Service_Directory_ChromeOsDeviceSystemRamFreeReports');

View File

@@ -0,0 +1,134 @@
<?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 ChromeOsDeviceTpmVersionInfo extends \Google\Model
{
/**
* @var string
*/
public $family;
/**
* @var string
*/
public $firmwareVersion;
/**
* @var string
*/
public $manufacturer;
/**
* @var string
*/
public $specLevel;
/**
* @var string
*/
public $tpmModel;
/**
* @var string
*/
public $vendorSpecific;
/**
* @param string
*/
public function setFamily($family)
{
$this->family = $family;
}
/**
* @return string
*/
public function getFamily()
{
return $this->family;
}
/**
* @param string
*/
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
/**
* @return string
*/
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
/**
* @param string
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* @param string
*/
public function setSpecLevel($specLevel)
{
$this->specLevel = $specLevel;
}
/**
* @return string
*/
public function getSpecLevel()
{
return $this->specLevel;
}
/**
* @param string
*/
public function setTpmModel($tpmModel)
{
$this->tpmModel = $tpmModel;
}
/**
* @return string
*/
public function getTpmModel()
{
return $this->tpmModel;
}
/**
* @param string
*/
public function setVendorSpecific($vendorSpecific)
{
$this->vendorSpecific = $vendorSpecific;
}
/**
* @return string
*/
public function getVendorSpecific()
{
return $this->vendorSpecific;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDeviceTpmVersionInfo::class, 'Google_Service_Directory_ChromeOsDeviceTpmVersionInfo');

View File

@@ -0,0 +1,97 @@
<?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 ChromeOsDevices extends \Google\Collection
{
protected $collection_key = 'chromeosdevices';
protected $chromeosdevicesType = ChromeOsDevice::class;
protected $chromeosdevicesDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param ChromeOsDevice[]
*/
public function setChromeosdevices($chromeosdevices)
{
$this->chromeosdevices = $chromeosdevices;
}
/**
* @return ChromeOsDevice[]
*/
public function getChromeosdevices()
{
return $this->chromeosdevices;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsDevices::class, 'Google_Service_Directory_ChromeOsDevices');

View File

@@ -0,0 +1,45 @@
<?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 ChromeOsMoveDevicesToOu extends \Google\Collection
{
protected $collection_key = 'deviceIds';
/**
* @var string[]
*/
public $deviceIds;
/**
* @param string[]
*/
public function setDeviceIds($deviceIds)
{
$this->deviceIds = $deviceIds;
}
/**
* @return string[]
*/
public function getDeviceIds()
{
return $this->deviceIds;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ChromeOsMoveDevicesToOu::class, 'Google_Service_Directory_ChromeOsMoveDevicesToOu');

View File

@@ -0,0 +1,60 @@
<?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 CreatePrintServerRequest extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $printServerType = PrintServer::class;
protected $printServerDataType = '';
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param PrintServer
*/
public function setPrintServer(PrintServer $printServer)
{
$this->printServer = $printServer;
}
/**
* @return PrintServer
*/
public function getPrintServer()
{
return $this->printServer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreatePrintServerRequest::class, 'Google_Service_Directory_CreatePrintServerRequest');

View File

@@ -0,0 +1,60 @@
<?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 CreatePrinterRequest extends \Google\Model
{
/**
* @var string
*/
public $parent;
protected $printerType = Printer::class;
protected $printerDataType = '';
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param Printer
*/
public function setPrinter(Printer $printer)
{
$this->printer = $printer;
}
/**
* @return Printer
*/
public function getPrinter()
{
return $this->printer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreatePrinterRequest::class, 'Google_Service_Directory_CreatePrinterRequest');

View File

@@ -0,0 +1,186 @@
<?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 Customer extends \Google\Model
{
/**
* @var string
*/
public $alternateEmail;
/**
* @var string
*/
public $customerCreationTime;
/**
* @var string
*/
public $customerDomain;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $language;
/**
* @var string
*/
public $phoneNumber;
protected $postalAddressType = CustomerPostalAddress::class;
protected $postalAddressDataType = '';
/**
* @param string
*/
public function setAlternateEmail($alternateEmail)
{
$this->alternateEmail = $alternateEmail;
}
/**
* @return string
*/
public function getAlternateEmail()
{
return $this->alternateEmail;
}
/**
* @param string
*/
public function setCustomerCreationTime($customerCreationTime)
{
$this->customerCreationTime = $customerCreationTime;
}
/**
* @return string
*/
public function getCustomerCreationTime()
{
return $this->customerCreationTime;
}
/**
* @param string
*/
public function setCustomerDomain($customerDomain)
{
$this->customerDomain = $customerDomain;
}
/**
* @return string
*/
public function getCustomerDomain()
{
return $this->customerDomain;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLanguage($language)
{
$this->language = $language;
}
/**
* @return string
*/
public function getLanguage()
{
return $this->language;
}
/**
* @param string
*/
public function setPhoneNumber($phoneNumber)
{
$this->phoneNumber = $phoneNumber;
}
/**
* @return string
*/
public function getPhoneNumber()
{
return $this->phoneNumber;
}
/**
* @param CustomerPostalAddress
*/
public function setPostalAddress(CustomerPostalAddress $postalAddress)
{
$this->postalAddress = $postalAddress;
}
/**
* @return CustomerPostalAddress
*/
public function getPostalAddress()
{
return $this->postalAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customer::class, 'Google_Service_Directory_Customer');

View File

@@ -0,0 +1,188 @@
<?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 CustomerPostalAddress extends \Google\Model
{
/**
* @var string
*/
public $addressLine1;
/**
* @var string
*/
public $addressLine2;
/**
* @var string
*/
public $addressLine3;
/**
* @var string
*/
public $contactName;
/**
* @var string
*/
public $countryCode;
/**
* @var string
*/
public $locality;
/**
* @var string
*/
public $organizationName;
/**
* @var string
*/
public $postalCode;
/**
* @var string
*/
public $region;
/**
* @param string
*/
public function setAddressLine1($addressLine1)
{
$this->addressLine1 = $addressLine1;
}
/**
* @return string
*/
public function getAddressLine1()
{
return $this->addressLine1;
}
/**
* @param string
*/
public function setAddressLine2($addressLine2)
{
$this->addressLine2 = $addressLine2;
}
/**
* @return string
*/
public function getAddressLine2()
{
return $this->addressLine2;
}
/**
* @param string
*/
public function setAddressLine3($addressLine3)
{
$this->addressLine3 = $addressLine3;
}
/**
* @return string
*/
public function getAddressLine3()
{
return $this->addressLine3;
}
/**
* @param string
*/
public function setContactName($contactName)
{
$this->contactName = $contactName;
}
/**
* @return string
*/
public function getContactName()
{
return $this->contactName;
}
/**
* @param string
*/
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
/**
* @return string
*/
public function getCountryCode()
{
return $this->countryCode;
}
/**
* @param string
*/
public function setLocality($locality)
{
$this->locality = $locality;
}
/**
* @return string
*/
public function getLocality()
{
return $this->locality;
}
/**
* @param string
*/
public function setOrganizationName($organizationName)
{
$this->organizationName = $organizationName;
}
/**
* @return string
*/
public function getOrganizationName()
{
return $this->organizationName;
}
/**
* @param string
*/
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
/**
* @return string
*/
public function getPostalCode()
{
return $this->postalCode;
}
/**
* @param string
*/
public function setRegion($region)
{
$this->region = $region;
}
/**
* @return string
*/
public function getRegion()
{
return $this->region;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerPostalAddress::class, 'Google_Service_Directory_CustomerPostalAddress');

View File

@@ -0,0 +1,150 @@
<?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 DirectoryChromeosdevicesCommand extends \Google\Model
{
/**
* @var string
*/
public $commandExpireTime;
/**
* @var string
*/
public $commandId;
protected $commandResultType = DirectoryChromeosdevicesCommandResult::class;
protected $commandResultDataType = '';
/**
* @var string
*/
public $issueTime;
/**
* @var string
*/
public $payload;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setCommandExpireTime($commandExpireTime)
{
$this->commandExpireTime = $commandExpireTime;
}
/**
* @return string
*/
public function getCommandExpireTime()
{
return $this->commandExpireTime;
}
/**
* @param string
*/
public function setCommandId($commandId)
{
$this->commandId = $commandId;
}
/**
* @return string
*/
public function getCommandId()
{
return $this->commandId;
}
/**
* @param DirectoryChromeosdevicesCommandResult
*/
public function setCommandResult(DirectoryChromeosdevicesCommandResult $commandResult)
{
$this->commandResult = $commandResult;
}
/**
* @return DirectoryChromeosdevicesCommandResult
*/
public function getCommandResult()
{
return $this->commandResult;
}
/**
* @param string
*/
public function setIssueTime($issueTime)
{
$this->issueTime = $issueTime;
}
/**
* @return string
*/
public function getIssueTime()
{
return $this->issueTime;
}
/**
* @param string
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryChromeosdevicesCommand::class, 'Google_Service_Directory_DirectoryChromeosdevicesCommand');

View File

@@ -0,0 +1,98 @@
<?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 DirectoryChromeosdevicesCommandResult extends \Google\Model
{
/**
* @var string
*/
public $commandResultPayload;
/**
* @var string
*/
public $errorMessage;
/**
* @var string
*/
public $executeTime;
/**
* @var string
*/
public $result;
/**
* @param string
*/
public function setCommandResultPayload($commandResultPayload)
{
$this->commandResultPayload = $commandResultPayload;
}
/**
* @return string
*/
public function getCommandResultPayload()
{
return $this->commandResultPayload;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param string
*/
public function setExecuteTime($executeTime)
{
$this->executeTime = $executeTime;
}
/**
* @return string
*/
public function getExecuteTime()
{
return $this->executeTime;
}
/**
* @param string
*/
public function setResult($result)
{
$this->result = $result;
}
/**
* @return string
*/
public function getResult()
{
return $this->result;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryChromeosdevicesCommandResult::class, 'Google_Service_Directory_DirectoryChromeosdevicesCommandResult');

View File

@@ -0,0 +1,62 @@
<?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 DirectoryChromeosdevicesIssueCommandRequest extends \Google\Model
{
/**
* @var string
*/
public $commandType;
/**
* @var string
*/
public $payload;
/**
* @param string
*/
public function setCommandType($commandType)
{
$this->commandType = $commandType;
}
/**
* @return string
*/
public function getCommandType()
{
return $this->commandType;
}
/**
* @param string
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return string
*/
public function getPayload()
{
return $this->payload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryChromeosdevicesIssueCommandRequest::class, 'Google_Service_Directory_DirectoryChromeosdevicesIssueCommandRequest');

View File

@@ -0,0 +1,44 @@
<?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 DirectoryChromeosdevicesIssueCommandResponse extends \Google\Model
{
/**
* @var string
*/
public $commandId;
/**
* @param string
*/
public function setCommandId($commandId)
{
$this->commandId = $commandId;
}
/**
* @return string
*/
public function getCommandId()
{
return $this->commandId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DirectoryChromeosdevicesIssueCommandResponse::class, 'Google_Service_Directory_DirectoryChromeosdevicesIssueCommandResponse');

View File

@@ -0,0 +1,134 @@
<?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 DomainAlias extends \Google\Model
{
/**
* @var string
*/
public $creationTime;
/**
* @var string
*/
public $domainAliasName;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $parentDomainName;
/**
* @var bool
*/
public $verified;
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param string
*/
public function setDomainAliasName($domainAliasName)
{
$this->domainAliasName = $domainAliasName;
}
/**
* @return string
*/
public function getDomainAliasName()
{
return $this->domainAliasName;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setParentDomainName($parentDomainName)
{
$this->parentDomainName = $parentDomainName;
}
/**
* @return string
*/
public function getParentDomainName()
{
return $this->parentDomainName;
}
/**
* @param bool
*/
public function setVerified($verified)
{
$this->verified = $verified;
}
/**
* @return bool
*/
public function getVerified()
{
return $this->verified;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainAlias::class, 'Google_Service_Directory_DomainAlias');

View File

@@ -0,0 +1,79 @@
<?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 DomainAliases extends \Google\Collection
{
protected $collection_key = 'domainAliases';
protected $domainAliasesType = DomainAlias::class;
protected $domainAliasesDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @param DomainAlias[]
*/
public function setDomainAliases($domainAliases)
{
$this->domainAliases = $domainAliases;
}
/**
* @return DomainAlias[]
*/
public function getDomainAliases()
{
return $this->domainAliases;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainAliases::class, 'Google_Service_Directory_DomainAliases');

View File

@@ -0,0 +1,151 @@
<?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 Domains extends \Google\Collection
{
protected $collection_key = 'domainAliases';
/**
* @var string
*/
public $creationTime;
protected $domainAliasesType = DomainAlias::class;
protected $domainAliasesDataType = 'array';
/**
* @var string
*/
public $domainName;
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $isPrimary;
/**
* @var string
*/
public $kind;
/**
* @var bool
*/
public $verified;
/**
* @param string
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* @param DomainAlias[]
*/
public function setDomainAliases($domainAliases)
{
$this->domainAliases = $domainAliases;
}
/**
* @return DomainAlias[]
*/
public function getDomainAliases()
{
return $this->domainAliases;
}
/**
* @param string
*/
public function setDomainName($domainName)
{
$this->domainName = $domainName;
}
/**
* @return string
*/
public function getDomainName()
{
return $this->domainName;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setIsPrimary($isPrimary)
{
$this->isPrimary = $isPrimary;
}
/**
* @return bool
*/
public function getIsPrimary()
{
return $this->isPrimary;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param bool
*/
public function setVerified($verified)
{
$this->verified = $verified;
}
/**
* @return bool
*/
public function getVerified()
{
return $this->verified;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domains::class, 'Google_Service_Directory_Domains');

View File

@@ -0,0 +1,79 @@
<?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 Domains2 extends \Google\Collection
{
protected $collection_key = 'domains';
protected $domainsType = Domains::class;
protected $domainsDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @param Domains[]
*/
public function setDomains($domains)
{
$this->domains = $domains;
}
/**
* @return Domains[]
*/
public function getDomains()
{
return $this->domains;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domains2::class, 'Google_Service_Directory_Domains2');

View File

@@ -0,0 +1,96 @@
<?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 FailureInfo extends \Google\Model
{
/**
* @var string
*/
public $errorCode;
/**
* @var string
*/
public $errorMessage;
protected $printerType = Printer::class;
protected $printerDataType = '';
/**
* @var string
*/
public $printerId;
/**
* @param string
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param Printer
*/
public function setPrinter(Printer $printer)
{
$this->printer = $printer;
}
/**
* @return Printer
*/
public function getPrinter()
{
return $this->printer;
}
/**
* @param string
*/
public function setPrinterId($printerId)
{
$this->printerId = $printerId;
}
/**
* @return string
*/
public function getPrinterId()
{
return $this->printerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FailureInfo::class, 'Google_Service_Directory_FailureInfo');

View File

@@ -0,0 +1,44 @@
<?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 FanInfo extends \Google\Model
{
/**
* @var int
*/
public $speedRpm;
/**
* @param int
*/
public function setSpeedRpm($speedRpm)
{
$this->speedRpm = $speedRpm;
}
/**
* @return int
*/
public function getSpeedRpm()
{
return $this->speedRpm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FanInfo::class, 'Google_Service_Directory_FanInfo');

View File

@@ -0,0 +1,80 @@
<?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 Feature extends \Google\Model
{
/**
* @var string
*/
public $etags;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setEtags($etags)
{
$this->etags = $etags;
}
/**
* @return string
*/
public function getEtags()
{
return $this->etags;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Feature::class, 'Google_Service_Directory_Feature');

View File

@@ -0,0 +1,42 @@
<?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 FeatureInstance extends \Google\Model
{
protected $featureType = Feature::class;
protected $featureDataType = '';
/**
* @param Feature
*/
public function setFeature(Feature $feature)
{
$this->feature = $feature;
}
/**
* @return Feature
*/
public function getFeature()
{
return $this->feature;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FeatureInstance::class, 'Google_Service_Directory_FeatureInstance');

View File

@@ -0,0 +1,44 @@
<?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 FeatureRename extends \Google\Model
{
/**
* @var string
*/
public $newName;
/**
* @param string
*/
public function setNewName($newName)
{
$this->newName = $newName;
}
/**
* @return string
*/
public function getNewName()
{
return $this->newName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FeatureRename::class, 'Google_Service_Directory_FeatureRename');

View File

@@ -0,0 +1,97 @@
<?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 Features extends \Google\Collection
{
protected $collection_key = 'features';
/**
* @var string
*/
public $etag;
protected $featuresType = Feature::class;
protected $featuresDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Feature[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Feature[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Features::class, 'Google_Service_Directory_Features');

View File

@@ -0,0 +1,207 @@
<?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 Group extends \Google\Collection
{
protected $collection_key = 'nonEditableAliases';
/**
* @var bool
*/
public $adminCreated;
/**
* @var string[]
*/
public $aliases;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $directMembersCount;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $nonEditableAliases;
/**
* @param bool
*/
public function setAdminCreated($adminCreated)
{
$this->adminCreated = $adminCreated;
}
/**
* @return bool
*/
public function getAdminCreated()
{
return $this->adminCreated;
}
/**
* @param string[]
*/
public function setAliases($aliases)
{
$this->aliases = $aliases;
}
/**
* @return string[]
*/
public function getAliases()
{
return $this->aliases;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDirectMembersCount($directMembersCount)
{
$this->directMembersCount = $directMembersCount;
}
/**
* @return string
*/
public function getDirectMembersCount()
{
return $this->directMembersCount;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setNonEditableAliases($nonEditableAliases)
{
$this->nonEditableAliases = $nonEditableAliases;
}
/**
* @return string[]
*/
public function getNonEditableAliases()
{
return $this->nonEditableAliases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Group::class, 'Google_Service_Directory_Group');

View File

@@ -0,0 +1,116 @@
<?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 GroupAlias extends \Google\Model
{
/**
* @var string
*/
public $alias;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $primaryEmail;
/**
* @param string
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPrimaryEmail($primaryEmail)
{
$this->primaryEmail = $primaryEmail;
}
/**
* @return string
*/
public function getPrimaryEmail()
{
return $this->primaryEmail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupAlias::class, 'Google_Service_Directory_GroupAlias');

View File

@@ -0,0 +1,97 @@
<?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 Groups extends \Google\Collection
{
protected $collection_key = 'groups';
/**
* @var string
*/
public $etag;
protected $groupsType = Group::class;
protected $groupsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Group[]
*/
public function setGroups($groups)
{
$this->groups = $groups;
}
/**
* @return Group[]
*/
public function getGroups()
{
return $this->groups;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Groups::class, 'Google_Service_Directory_Groups');

View File

@@ -0,0 +1,61 @@
<?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 ListPrintServersResponse extends \Google\Collection
{
protected $collection_key = 'printServers';
/**
* @var string
*/
public $nextPageToken;
protected $printServersType = PrintServer::class;
protected $printServersDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrintServer[]
*/
public function setPrintServers($printServers)
{
$this->printServers = $printServers;
}
/**
* @return PrintServer[]
*/
public function getPrintServers()
{
return $this->printServers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrintServersResponse::class, 'Google_Service_Directory_ListPrintServersResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListPrinterModelsResponse extends \Google\Collection
{
protected $collection_key = 'printerModels';
/**
* @var string
*/
public $nextPageToken;
protected $printerModelsType = PrinterModel::class;
protected $printerModelsDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param PrinterModel[]
*/
public function setPrinterModels($printerModels)
{
$this->printerModels = $printerModels;
}
/**
* @return PrinterModel[]
*/
public function getPrinterModels()
{
return $this->printerModels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrinterModelsResponse::class, 'Google_Service_Directory_ListPrinterModelsResponse');

View File

@@ -0,0 +1,61 @@
<?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 ListPrintersResponse extends \Google\Collection
{
protected $collection_key = 'printers';
/**
* @var string
*/
public $nextPageToken;
protected $printersType = Printer::class;
protected $printersDataType = 'array';
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Printer[]
*/
public function setPrinters($printers)
{
$this->printers = $printers;
}
/**
* @return Printer[]
*/
public function getPrinters()
{
return $this->printers;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ListPrintersResponse::class, 'Google_Service_Directory_ListPrintersResponse');

View File

@@ -0,0 +1,173 @@
<?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 Member extends \Google\Model
{
protected $internal_gapi_mappings = [
"deliverySettings" => "delivery_settings",
];
/**
* @var string
*/
public $deliverySettings;
/**
* @var string
*/
public $email;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $role;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $type;
/**
* @param string
*/
public function setDeliverySettings($deliverySettings)
{
$this->deliverySettings = $deliverySettings;
}
/**
* @return string
*/
public function getDeliverySettings()
{
return $this->deliverySettings;
}
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setRole($role)
{
$this->role = $role;
}
/**
* @return string
*/
public function getRole()
{
return $this->role;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Member::class, 'Google_Service_Directory_Member');

View File

@@ -0,0 +1,97 @@
<?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 Members extends \Google\Collection
{
protected $collection_key = 'members';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
protected $membersType = Member::class;
protected $membersDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param Member[]
*/
public function setMembers($members)
{
$this->members = $members;
}
/**
* @return Member[]
*/
public function getMembers()
{
return $this->members;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Members::class, 'Google_Service_Directory_Members');

View File

@@ -0,0 +1,44 @@
<?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 MembersHasMember extends \Google\Model
{
/**
* @var bool
*/
public $isMember;
/**
* @param bool
*/
public function setIsMember($isMember)
{
$this->isMember = $isMember;
}
/**
* @return bool
*/
public function getIsMember()
{
return $this->isMember;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MembersHasMember::class, 'Google_Service_Directory_MembersHasMember');

View File

@@ -0,0 +1,745 @@
<?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 MobileDevice extends \Google\Collection
{
protected $collection_key = 'otherAccountsInfo';
/**
* @var bool
*/
public $adbStatus;
protected $applicationsType = MobileDeviceApplications::class;
protected $applicationsDataType = 'array';
/**
* @var string
*/
public $basebandVersion;
/**
* @var string
*/
public $bootloaderVersion;
/**
* @var string
*/
public $brand;
/**
* @var string
*/
public $buildNumber;
/**
* @var string
*/
public $defaultLanguage;
/**
* @var bool
*/
public $developerOptionsStatus;
/**
* @var string
*/
public $deviceCompromisedStatus;
/**
* @var string
*/
public $deviceId;
/**
* @var string
*/
public $devicePasswordStatus;
/**
* @var string[]
*/
public $email;
/**
* @var string
*/
public $encryptionStatus;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $firstSync;
/**
* @var string
*/
public $hardware;
/**
* @var string
*/
public $hardwareId;
/**
* @var string
*/
public $imei;
/**
* @var string
*/
public $kernelVersion;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $lastSync;
/**
* @var bool
*/
public $managedAccountIsOnOwnerProfile;
/**
* @var string
*/
public $manufacturer;
/**
* @var string
*/
public $meid;
/**
* @var string
*/
public $model;
/**
* @var string[]
*/
public $name;
/**
* @var string
*/
public $networkOperator;
/**
* @var string
*/
public $os;
/**
* @var string[]
*/
public $otherAccountsInfo;
/**
* @var string
*/
public $privilege;
/**
* @var string
*/
public $releaseVersion;
/**
* @var string
*/
public $resourceId;
/**
* @var string
*/
public $securityPatchLevel;
/**
* @var string
*/
public $serialNumber;
/**
* @var string
*/
public $status;
/**
* @var bool
*/
public $supportsWorkProfile;
/**
* @var string
*/
public $type;
/**
* @var bool
*/
public $unknownSourcesStatus;
/**
* @var string
*/
public $userAgent;
/**
* @var string
*/
public $wifiMacAddress;
/**
* @param bool
*/
public function setAdbStatus($adbStatus)
{
$this->adbStatus = $adbStatus;
}
/**
* @return bool
*/
public function getAdbStatus()
{
return $this->adbStatus;
}
/**
* @param MobileDeviceApplications[]
*/
public function setApplications($applications)
{
$this->applications = $applications;
}
/**
* @return MobileDeviceApplications[]
*/
public function getApplications()
{
return $this->applications;
}
/**
* @param string
*/
public function setBasebandVersion($basebandVersion)
{
$this->basebandVersion = $basebandVersion;
}
/**
* @return string
*/
public function getBasebandVersion()
{
return $this->basebandVersion;
}
/**
* @param string
*/
public function setBootloaderVersion($bootloaderVersion)
{
$this->bootloaderVersion = $bootloaderVersion;
}
/**
* @return string
*/
public function getBootloaderVersion()
{
return $this->bootloaderVersion;
}
/**
* @param string
*/
public function setBrand($brand)
{
$this->brand = $brand;
}
/**
* @return string
*/
public function getBrand()
{
return $this->brand;
}
/**
* @param string
*/
public function setBuildNumber($buildNumber)
{
$this->buildNumber = $buildNumber;
}
/**
* @return string
*/
public function getBuildNumber()
{
return $this->buildNumber;
}
/**
* @param string
*/
public function setDefaultLanguage($defaultLanguage)
{
$this->defaultLanguage = $defaultLanguage;
}
/**
* @return string
*/
public function getDefaultLanguage()
{
return $this->defaultLanguage;
}
/**
* @param bool
*/
public function setDeveloperOptionsStatus($developerOptionsStatus)
{
$this->developerOptionsStatus = $developerOptionsStatus;
}
/**
* @return bool
*/
public function getDeveloperOptionsStatus()
{
return $this->developerOptionsStatus;
}
/**
* @param string
*/
public function setDeviceCompromisedStatus($deviceCompromisedStatus)
{
$this->deviceCompromisedStatus = $deviceCompromisedStatus;
}
/**
* @return string
*/
public function getDeviceCompromisedStatus()
{
return $this->deviceCompromisedStatus;
}
/**
* @param string
*/
public function setDeviceId($deviceId)
{
$this->deviceId = $deviceId;
}
/**
* @return string
*/
public function getDeviceId()
{
return $this->deviceId;
}
/**
* @param string
*/
public function setDevicePasswordStatus($devicePasswordStatus)
{
$this->devicePasswordStatus = $devicePasswordStatus;
}
/**
* @return string
*/
public function getDevicePasswordStatus()
{
return $this->devicePasswordStatus;
}
/**
* @param string[]
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string[]
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string
*/
public function setEncryptionStatus($encryptionStatus)
{
$this->encryptionStatus = $encryptionStatus;
}
/**
* @return string
*/
public function getEncryptionStatus()
{
return $this->encryptionStatus;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setFirstSync($firstSync)
{
$this->firstSync = $firstSync;
}
/**
* @return string
*/
public function getFirstSync()
{
return $this->firstSync;
}
/**
* @param string
*/
public function setHardware($hardware)
{
$this->hardware = $hardware;
}
/**
* @return string
*/
public function getHardware()
{
return $this->hardware;
}
/**
* @param string
*/
public function setHardwareId($hardwareId)
{
$this->hardwareId = $hardwareId;
}
/**
* @return string
*/
public function getHardwareId()
{
return $this->hardwareId;
}
/**
* @param string
*/
public function setImei($imei)
{
$this->imei = $imei;
}
/**
* @return string
*/
public function getImei()
{
return $this->imei;
}
/**
* @param string
*/
public function setKernelVersion($kernelVersion)
{
$this->kernelVersion = $kernelVersion;
}
/**
* @return string
*/
public function getKernelVersion()
{
return $this->kernelVersion;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setLastSync($lastSync)
{
$this->lastSync = $lastSync;
}
/**
* @return string
*/
public function getLastSync()
{
return $this->lastSync;
}
/**
* @param bool
*/
public function setManagedAccountIsOnOwnerProfile($managedAccountIsOnOwnerProfile)
{
$this->managedAccountIsOnOwnerProfile = $managedAccountIsOnOwnerProfile;
}
/**
* @return bool
*/
public function getManagedAccountIsOnOwnerProfile()
{
return $this->managedAccountIsOnOwnerProfile;
}
/**
* @param string
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
/**
* @param string
*/
public function setMeid($meid)
{
$this->meid = $meid;
}
/**
* @return string
*/
public function getMeid()
{
return $this->meid;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param string[]
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string[]
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setNetworkOperator($networkOperator)
{
$this->networkOperator = $networkOperator;
}
/**
* @return string
*/
public function getNetworkOperator()
{
return $this->networkOperator;
}
/**
* @param string
*/
public function setOs($os)
{
$this->os = $os;
}
/**
* @return string
*/
public function getOs()
{
return $this->os;
}
/**
* @param string[]
*/
public function setOtherAccountsInfo($otherAccountsInfo)
{
$this->otherAccountsInfo = $otherAccountsInfo;
}
/**
* @return string[]
*/
public function getOtherAccountsInfo()
{
return $this->otherAccountsInfo;
}
/**
* @param string
*/
public function setPrivilege($privilege)
{
$this->privilege = $privilege;
}
/**
* @return string
*/
public function getPrivilege()
{
return $this->privilege;
}
/**
* @param string
*/
public function setReleaseVersion($releaseVersion)
{
$this->releaseVersion = $releaseVersion;
}
/**
* @return string
*/
public function getReleaseVersion()
{
return $this->releaseVersion;
}
/**
* @param string
*/
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
/**
* @return string
*/
public function getResourceId()
{
return $this->resourceId;
}
/**
* @param string
*/
public function setSecurityPatchLevel($securityPatchLevel)
{
$this->securityPatchLevel = $securityPatchLevel;
}
/**
* @return string
*/
public function getSecurityPatchLevel()
{
return $this->securityPatchLevel;
}
/**
* @param string
*/
public function setSerialNumber($serialNumber)
{
$this->serialNumber = $serialNumber;
}
/**
* @return string
*/
public function getSerialNumber()
{
return $this->serialNumber;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param bool
*/
public function setSupportsWorkProfile($supportsWorkProfile)
{
$this->supportsWorkProfile = $supportsWorkProfile;
}
/**
* @return bool
*/
public function getSupportsWorkProfile()
{
return $this->supportsWorkProfile;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
/**
* @param bool
*/
public function setUnknownSourcesStatus($unknownSourcesStatus)
{
$this->unknownSourcesStatus = $unknownSourcesStatus;
}
/**
* @return bool
*/
public function getUnknownSourcesStatus()
{
return $this->unknownSourcesStatus;
}
/**
* @param string
*/
public function setUserAgent($userAgent)
{
$this->userAgent = $userAgent;
}
/**
* @return string
*/
public function getUserAgent()
{
return $this->userAgent;
}
/**
* @param string
*/
public function setWifiMacAddress($wifiMacAddress)
{
$this->wifiMacAddress = $wifiMacAddress;
}
/**
* @return string
*/
public function getWifiMacAddress()
{
return $this->wifiMacAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileDevice::class, 'Google_Service_Directory_MobileDevice');

View File

@@ -0,0 +1,44 @@
<?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 MobileDeviceAction extends \Google\Model
{
/**
* @var string
*/
public $action;
/**
* @param string
*/
public function setAction($action)
{
$this->action = $action;
}
/**
* @return string
*/
public function getAction()
{
return $this->action;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileDeviceAction::class, 'Google_Service_Directory_MobileDeviceAction');

View File

@@ -0,0 +1,117 @@
<?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 MobileDeviceApplications extends \Google\Collection
{
protected $collection_key = 'permission';
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $packageName;
/**
* @var string[]
*/
public $permission;
/**
* @var int
*/
public $versionCode;
/**
* @var string
*/
public $versionName;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setPackageName($packageName)
{
$this->packageName = $packageName;
}
/**
* @return string
*/
public function getPackageName()
{
return $this->packageName;
}
/**
* @param string[]
*/
public function setPermission($permission)
{
$this->permission = $permission;
}
/**
* @return string[]
*/
public function getPermission()
{
return $this->permission;
}
/**
* @param int
*/
public function setVersionCode($versionCode)
{
$this->versionCode = $versionCode;
}
/**
* @return int
*/
public function getVersionCode()
{
return $this->versionCode;
}
/**
* @param string
*/
public function setVersionName($versionName)
{
$this->versionName = $versionName;
}
/**
* @return string
*/
public function getVersionName()
{
return $this->versionName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileDeviceApplications::class, 'Google_Service_Directory_MobileDeviceApplications');

View File

@@ -0,0 +1,97 @@
<?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 MobileDevices extends \Google\Collection
{
protected $collection_key = 'mobiledevices';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
protected $mobiledevicesType = MobileDevice::class;
protected $mobiledevicesDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param MobileDevice[]
*/
public function setMobiledevices($mobiledevices)
{
$this->mobiledevices = $mobiledevices;
}
/**
* @return MobileDevice[]
*/
public function getMobiledevices()
{
return $this->mobiledevices;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MobileDevices::class, 'Google_Service_Directory_MobileDevices');

View File

@@ -0,0 +1,188 @@
<?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
{
/**
* @var bool
*/
public $blockInheritance;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $orgUnitId;
/**
* @var string
*/
public $orgUnitPath;
/**
* @var string
*/
public $parentOrgUnitId;
/**
* @var string
*/
public $parentOrgUnitPath;
/**
* @param bool
*/
public function setBlockInheritance($blockInheritance)
{
$this->blockInheritance = $blockInheritance;
}
/**
* @return bool
*/
public function getBlockInheritance()
{
return $this->blockInheritance;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
/**
* @param string
*/
public function setOrgUnitPath($orgUnitPath)
{
$this->orgUnitPath = $orgUnitPath;
}
/**
* @return string
*/
public function getOrgUnitPath()
{
return $this->orgUnitPath;
}
/**
* @param string
*/
public function setParentOrgUnitId($parentOrgUnitId)
{
$this->parentOrgUnitId = $parentOrgUnitId;
}
/**
* @return string
*/
public function getParentOrgUnitId()
{
return $this->parentOrgUnitId;
}
/**
* @param string
*/
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');

View File

@@ -0,0 +1,79 @@
<?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 OrgUnits extends \Google\Collection
{
protected $collection_key = 'organizationUnits';
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $kind;
protected $organizationUnitsType = OrgUnit::class;
protected $organizationUnitsDataType = 'array';
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param OrgUnit[]
*/
public function setOrganizationUnits($organizationUnits)
{
$this->organizationUnits = $organizationUnits;
}
/**
* @return OrgUnit[]
*/
public function getOrganizationUnits()
{
return $this->organizationUnits;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OrgUnits::class, 'Google_Service_Directory_OrgUnits');

View File

@@ -0,0 +1,134 @@
<?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 OsUpdateStatus extends \Google\Model
{
/**
* @var string
*/
public $rebootTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $targetKioskAppVersion;
/**
* @var string
*/
public $targetOsVersion;
/**
* @var string
*/
public $updateCheckTime;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setRebootTime($rebootTime)
{
$this->rebootTime = $rebootTime;
}
/**
* @return string
*/
public function getRebootTime()
{
return $this->rebootTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setTargetKioskAppVersion($targetKioskAppVersion)
{
$this->targetKioskAppVersion = $targetKioskAppVersion;
}
/**
* @return string
*/
public function getTargetKioskAppVersion()
{
return $this->targetKioskAppVersion;
}
/**
* @param string
*/
public function setTargetOsVersion($targetOsVersion)
{
$this->targetOsVersion = $targetOsVersion;
}
/**
* @return string
*/
public function getTargetOsVersion()
{
return $this->targetOsVersion;
}
/**
* @param string
*/
public function setUpdateCheckTime($updateCheckTime)
{
$this->updateCheckTime = $updateCheckTime;
}
/**
* @return string
*/
public function getUpdateCheckTime()
{
return $this->updateCheckTime;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(OsUpdateStatus::class, 'Google_Service_Directory_OsUpdateStatus');

View File

@@ -0,0 +1,152 @@
<?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 PrintServer extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $orgUnitId;
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrintServer::class, 'Google_Service_Directory_PrintServer');

View File

@@ -0,0 +1,96 @@
<?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 PrintServerFailureInfo extends \Google\Model
{
/**
* @var string
*/
public $errorCode;
/**
* @var string
*/
public $errorMessage;
protected $printServerType = PrintServer::class;
protected $printServerDataType = '';
/**
* @var string
*/
public $printServerId;
/**
* @param string
*/
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @param string
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @param PrintServer
*/
public function setPrintServer(PrintServer $printServer)
{
$this->printServer = $printServer;
}
/**
* @return PrintServer
*/
public function getPrintServer()
{
return $this->printServer;
}
/**
* @param string
*/
public function setPrintServerId($printServerId)
{
$this->printServerId = $printServerId;
}
/**
* @return string
*/
public function getPrintServerId()
{
return $this->printServerId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrintServerFailureInfo::class, 'Google_Service_Directory_PrintServerFailureInfo');

View File

@@ -0,0 +1,205 @@
<?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 Printer extends \Google\Collection
{
protected $collection_key = 'auxiliaryMessages';
protected $auxiliaryMessagesType = AuxiliaryMessage::class;
protected $auxiliaryMessagesDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $id;
/**
* @var string
*/
public $makeAndModel;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $orgUnitId;
/**
* @var string
*/
public $uri;
/**
* @var bool
*/
public $useDriverlessConfig;
/**
* @param AuxiliaryMessage[]
*/
public function setAuxiliaryMessages($auxiliaryMessages)
{
$this->auxiliaryMessages = $auxiliaryMessages;
}
/**
* @return AuxiliaryMessage[]
*/
public function getAuxiliaryMessages()
{
return $this->auxiliaryMessages;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string
*/
public function setMakeAndModel($makeAndModel)
{
$this->makeAndModel = $makeAndModel;
}
/**
* @return string
*/
public function getMakeAndModel()
{
return $this->makeAndModel;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setOrgUnitId($orgUnitId)
{
$this->orgUnitId = $orgUnitId;
}
/**
* @return string
*/
public function getOrgUnitId()
{
return $this->orgUnitId;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* @param bool
*/
public function setUseDriverlessConfig($useDriverlessConfig)
{
$this->useDriverlessConfig = $useDriverlessConfig;
}
/**
* @return bool
*/
public function getUseDriverlessConfig()
{
return $this->useDriverlessConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Printer::class, 'Google_Service_Directory_Printer');

View File

@@ -0,0 +1,80 @@
<?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 PrinterModel extends \Google\Model
{
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $makeAndModel;
/**
* @var string
*/
public $manufacturer;
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setMakeAndModel($makeAndModel)
{
$this->makeAndModel = $makeAndModel;
}
/**
* @return string
*/
public function getMakeAndModel()
{
return $this->makeAndModel;
}
/**
* @param string
*/
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
/**
* @return string
*/
public function getManufacturer()
{
return $this->manufacturer;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrinterModel::class, 'Google_Service_Directory_PrinterModel');

View File

@@ -0,0 +1,151 @@
<?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 Privilege extends \Google\Collection
{
protected $collection_key = 'childPrivileges';
protected $childPrivilegesType = Privilege::class;
protected $childPrivilegesDataType = 'array';
/**
* @var string
*/
public $etag;
/**
* @var bool
*/
public $isOuScopable;
/**
* @var string
*/
public $kind;
/**
* @var string
*/
public $privilegeName;
/**
* @var string
*/
public $serviceId;
/**
* @var string
*/
public $serviceName;
/**
* @param Privilege[]
*/
public function setChildPrivileges($childPrivileges)
{
$this->childPrivileges = $childPrivileges;
}
/**
* @return Privilege[]
*/
public function getChildPrivileges()
{
return $this->childPrivileges;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param bool
*/
public function setIsOuScopable($isOuScopable)
{
$this->isOuScopable = $isOuScopable;
}
/**
* @return bool
*/
public function getIsOuScopable()
{
return $this->isOuScopable;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
/**
* @param string
*/
public function setPrivilegeName($privilegeName)
{
$this->privilegeName = $privilegeName;
}
/**
* @return string
*/
public function getPrivilegeName()
{
return $this->privilegeName;
}
/**
* @param string
*/
public function setServiceId($serviceId)
{
$this->serviceId = $serviceId;
}
/**
* @return string
*/
public function getServiceId()
{
return $this->serviceId;
}
/**
* @param string
*/
public function setServiceName($serviceName)
{
$this->serviceName = $serviceName;
}
/**
* @return string
*/
public function getServiceName()
{
return $this->serviceName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Privilege::class, 'Google_Service_Directory_Privilege');

View File

@@ -0,0 +1,79 @@
<?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 Privileges extends \Google\Collection
{
protected $collection_key = 'items';
/**
* @var string
*/
public $etag;
protected $itemsType = Privilege::class;
protected $itemsDataType = 'array';
/**
* @var string
*/
public $kind;
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param Privilege[]
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Privilege[]
*/
public function getItems()
{
return $this->items;
}
/**
* @param string
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return string
*/
public function getKind()
{
return $this->kind;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Privileges::class, 'Google_Service_Directory_Privileges');

View File

@@ -0,0 +1,82 @@
<?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\Resource;
use Google\Service\Directory\Asp;
use Google\Service\Directory\Asps as AspsModel;
/**
* The "asps" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $asps = $adminService->asps;
* </code>
*/
class Asps extends \Google\Service\Resource
{
/**
* Deletes an ASP issued by a user. (asps.delete)
*
* @param string $userKey Identifies the user in the API request. The value can
* be the user's primary email address, alias email address, or unique user ID.
* @param int $codeId The unique ID of the ASP to be deleted.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($userKey, $codeId, $optParams = [])
{
$params = ['userKey' => $userKey, 'codeId' => $codeId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Gets information about an ASP issued by a user. (asps.get)
*
* @param string $userKey Identifies the user in the API request. The value can
* be the user's primary email address, alias email address, or unique user ID.
* @param int $codeId The unique ID of the ASP.
* @param array $optParams Optional parameters.
* @return Asp
* @throws \Google\Service\Exception
*/
public function get($userKey, $codeId, $optParams = [])
{
$params = ['userKey' => $userKey, 'codeId' => $codeId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Asp::class);
}
/**
* Lists the ASPs issued by a user. (asps.listAsps)
*
* @param string $userKey Identifies the user in the API request. The value can
* be the user's primary email address, alias email address, or unique user ID.
* @param array $optParams Optional parameters.
* @return AspsModel
* @throws \Google\Service\Exception
*/
public function listAsps($userKey, $optParams = [])
{
$params = ['userKey' => $userKey];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], AspsModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Asps::class, 'Google_Service_Directory_Resource_Asps');

View File

@@ -0,0 +1,48 @@
<?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\Resource;
use Google\Service\Directory\Channel;
/**
* The "channels" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $channels = $adminService->channels;
* </code>
*/
class Channels extends \Google\Service\Resource
{
/**
* Stops watching resources through this channel. (channels.stop)
*
* @param Channel $postBody
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function stop(Channel $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('stop', [$params]);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Channels::class, 'Google_Service_Directory_Resource_Channels');

View File

@@ -0,0 +1,204 @@
<?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\Resource;
use Google\Service\Directory\ChromeOsDevice;
use Google\Service\Directory\ChromeOsDeviceAction;
use Google\Service\Directory\ChromeOsDevices as ChromeOsDevicesModel;
use Google\Service\Directory\ChromeOsMoveDevicesToOu;
/**
* The "chromeosdevices" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $chromeosdevices = $adminService->chromeosdevices;
* </code>
*/
class Chromeosdevices extends \Google\Service\Resource
{
/**
* Use [BatchChangeChromeOsDeviceStatus](/admin-
* sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus)
* instead. Takes an action that affects a Chrome OS Device. This includes
* deprovisioning, disabling, and re-enabling devices. *Warning:* *
* Deprovisioning a device will stop device policy syncing and remove device-
* level printers. After a device is deprovisioned, it must be wiped before it
* can be re-enrolled. * Lost or stolen devices should use the disable action. *
* Re-enabling a disabled device will consume a device license. If you do not
* have sufficient licenses available when completing the re-enable action, you
* will receive an error. For more information about deprovisioning and
* disabling devices, visit the [help
* center](https://support.google.com/chrome/a/answer/3523633).
* (chromeosdevices.action)
*
* @param string $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](/admin-
* sdk/directory/v1/reference/users).
* @param string $resourceId The unique ID of the device. The `resourceId`s are
* returned in the response from the [chromeosdevices.list](/admin-
* sdk/directory/v1/reference/chromeosdevices/list) method.
* @param ChromeOsDeviceAction $postBody
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function action($customerId, $resourceId, ChromeOsDeviceAction $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'resourceId' => $resourceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('action', [$params]);
}
/**
* Retrieves a Chrome OS device's properties. (chromeosdevices.get)
*
* @param string $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](/admin-
* sdk/directory/v1/reference/users).
* @param string $deviceId The unique ID of the device. The `deviceId`s are
* returned in the response from the [chromeosdevices.list](/admin-
* sdk/directory/v1/reference/chromeosdevices/list) method.
* @param array $optParams Optional parameters.
*
* @opt_param string projection Determines whether the response contains the
* full list of properties or only a subset.
* @return ChromeOsDevice
* @throws \Google\Service\Exception
*/
public function get($customerId, $deviceId, $optParams = [])
{
$params = ['customerId' => $customerId, 'deviceId' => $deviceId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], ChromeOsDevice::class);
}
/**
* Retrieves a paginated list of Chrome OS devices within an account.
* (chromeosdevices.listChromeosdevices)
*
* @param string $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](/admin-
* sdk/directory/v1/reference/users).
* @param array $optParams Optional parameters.
*
* @opt_param bool includeChildOrgunits Return devices from all child orgunits,
* as well as the specified org unit. If this is set to true, 'orgUnitPath' must
* be provided.
* @opt_param int maxResults Maximum number of results to return. Value should
* not exceed 300.
* @opt_param string orderBy Device property to use for sorting results.
* @opt_param string orgUnitPath The full path of the organizational unit (minus
* the leading `/`) or its unique ID.
* @opt_param string pageToken The `pageToken` query parameter is used to
* request the next page of query results. The follow-on request's `pageToken`
* query parameter is the `nextPageToken` from your previous response.
* @opt_param string projection Determines whether the response contains the
* full list of properties or only a subset.
* @opt_param string query Search string in the format given at
* https://developers.google.com/admin-sdk/directory/v1/list-query-operators
* @opt_param string sortOrder Whether to return results in ascending or
* descending order. Must be used with the `orderBy` parameter.
* @return ChromeOsDevicesModel
* @throws \Google\Service\Exception
*/
public function listChromeosdevices($customerId, $optParams = [])
{
$params = ['customerId' => $customerId];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ChromeOsDevicesModel::class);
}
/**
* Moves or inserts multiple Chrome OS devices to an organizational unit. You
* can move up to 50 devices at once. (chromeosdevices.moveDevicesToOu)
*
* @param string $customerId Immutable. ID of the Google Workspace account
* @param string $orgUnitPath Full path of the target organizational unit or its
* ID
* @param ChromeOsMoveDevicesToOu $postBody
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function moveDevicesToOu($customerId, $orgUnitPath, ChromeOsMoveDevicesToOu $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'orgUnitPath' => $orgUnitPath, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('moveDevicesToOu', [$params]);
}
/**
* Updates a device's updatable properties, such as `annotatedUser`,
* `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This
* method supports [patch semantics](/admin-
* sdk/directory/v1/guides/performance#patch). (chromeosdevices.patch)
*
* @param string $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](/admin-
* sdk/directory/v1/reference/users).
* @param string $deviceId The unique ID of the device. The `deviceId`s are
* returned in the response from the [chromeosdevices.list](/admin-
* sdk/v1/reference/chromeosdevices/list) method.
* @param ChromeOsDevice $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string projection Determines whether the response contains the
* full list of properties or only a subset.
* @return ChromeOsDevice
* @throws \Google\Service\Exception
*/
public function patch($customerId, $deviceId, ChromeOsDevice $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], ChromeOsDevice::class);
}
/**
* Updates a device's updatable properties, such as `annotatedUser`,
* `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`.
* (chromeosdevices.update)
*
* @param string $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](/admin-
* sdk/directory/v1/reference/users).
* @param string $deviceId The unique ID of the device. The `deviceId`s are
* returned in the response from the [chromeosdevices.list](/admin-
* sdk/v1/reference/chromeosdevices/list) method.
* @param ChromeOsDevice $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string projection Determines whether the response contains the
* full list of properties or only a subset.
* @return ChromeOsDevice
* @throws \Google\Service\Exception
*/
public function update($customerId, $deviceId, ChromeOsDevice $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], ChromeOsDevice::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Chromeosdevices::class, 'Google_Service_Directory_Resource_Chromeosdevices');

View File

@@ -0,0 +1,33 @@
<?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\Resource;
/**
* The "customer" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $customer = $adminService->customer;
* </code>
*/
class Customer extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customer::class, 'Google_Service_Directory_Resource_Customer');

View File

@@ -0,0 +1,33 @@
<?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\Resource;
/**
* The "devices" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $devices = $adminService->customer_devices;
* </code>
*/
class CustomerDevices extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerDevices::class, 'Google_Service_Directory_Resource_CustomerDevices');

View File

@@ -0,0 +1,73 @@
<?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\Resource;
use Google\Service\Directory\BatchChangeChromeOsDeviceStatusRequest;
use Google\Service\Directory\BatchChangeChromeOsDeviceStatusResponse;
use Google\Service\Directory\DirectoryChromeosdevicesIssueCommandRequest;
use Google\Service\Directory\DirectoryChromeosdevicesIssueCommandResponse;
/**
* The "chromeos" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $chromeos = $adminService->customer_devices_chromeos;
* </code>
*/
class CustomerDevicesChromeos extends \Google\Service\Resource
{
/**
* Changes the status of a batch of ChromeOS devices. For more information about
* changing a ChromeOS device state [Repair, repurpose, or retire ChromeOS
* devices](https://support.google.com/chrome/a/answer/3523633).
* (chromeos.batchChangeStatus)
*
* @param string $customerId Required. Immutable ID of the Google Workspace
* account.
* @param BatchChangeChromeOsDeviceStatusRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchChangeChromeOsDeviceStatusResponse
* @throws \Google\Service\Exception
*/
public function batchChangeStatus($customerId, BatchChangeChromeOsDeviceStatusRequest $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchChangeStatus', [$params], BatchChangeChromeOsDeviceStatusResponse::class);
}
/**
* Issues a command for the device to execute. (chromeos.issueCommand)
*
* @param string $customerId Immutable. ID of the Google Workspace account.
* @param string $deviceId Immutable. ID of Chrome OS Device.
* @param DirectoryChromeosdevicesIssueCommandRequest $postBody
* @param array $optParams Optional parameters.
* @return DirectoryChromeosdevicesIssueCommandResponse
* @throws \Google\Service\Exception
*/
public function issueCommand($customerId, $deviceId, DirectoryChromeosdevicesIssueCommandRequest $postBody, $optParams = [])
{
$params = ['customerId' => $customerId, 'deviceId' => $deviceId, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('issueCommand', [$params], DirectoryChromeosdevicesIssueCommandResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerDevicesChromeos::class, 'Google_Service_Directory_Resource_CustomerDevicesChromeos');

View File

@@ -0,0 +1,51 @@
<?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\Resource;
use Google\Service\Directory\DirectoryChromeosdevicesCommand;
/**
* The "commands" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $commands = $adminService->customer_devices_chromeos_commands;
* </code>
*/
class CustomerDevicesChromeosCommands extends \Google\Service\Resource
{
/**
* Gets command data a specific command issued to the device. (commands.get)
*
* @param string $customerId Immutable. ID of the Google Workspace account.
* @param string $deviceId Immutable. ID of Chrome OS Device.
* @param string $commandId Immutable. ID of Chrome OS Device Command.
* @param array $optParams Optional parameters.
* @return DirectoryChromeosdevicesCommand
* @throws \Google\Service\Exception
*/
public function get($customerId, $deviceId, $commandId, $optParams = [])
{
$params = ['customerId' => $customerId, 'deviceId' => $deviceId, 'commandId' => $commandId];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DirectoryChromeosdevicesCommand::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomerDevicesChromeosCommands::class, 'Google_Service_Directory_Resource_CustomerDevicesChromeosCommands');

View File

@@ -0,0 +1,79 @@
<?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\Resource;
use Google\Service\Directory\Customer as CustomerModel;
/**
* The "customers" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $customers = $adminService->customers;
* </code>
*/
class Customers extends \Google\Service\Resource
{
/**
* Retrieves a customer. (customers.get)
*
* @param string $customerKey Id of the customer to be retrieved
* @param array $optParams Optional parameters.
* @return CustomerModel
* @throws \Google\Service\Exception
*/
public function get($customerKey, $optParams = [])
{
$params = ['customerKey' => $customerKey];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], CustomerModel::class);
}
/**
* Patches a customer. (customers.patch)
*
* @param string $customerKey Id of the customer to be updated
* @param CustomerModel $postBody
* @param array $optParams Optional parameters.
* @return CustomerModel
* @throws \Google\Service\Exception
*/
public function patch($customerKey, CustomerModel $postBody, $optParams = [])
{
$params = ['customerKey' => $customerKey, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], CustomerModel::class);
}
/**
* Updates a customer. (customers.update)
*
* @param string $customerKey Id of the customer to be updated
* @param CustomerModel $postBody
* @param array $optParams Optional parameters.
* @return CustomerModel
* @throws \Google\Service\Exception
*/
public function update($customerKey, CustomerModel $postBody, $optParams = [])
{
$params = ['customerKey' => $customerKey, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], CustomerModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Customers::class, 'Google_Service_Directory_Resource_Customers');

View File

@@ -0,0 +1,33 @@
<?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\Resource;
/**
* The "chrome" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $chrome = $adminService->customers_chrome;
* </code>
*/
class CustomersChrome extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersChrome::class, 'Google_Service_Directory_Resource_CustomersChrome');

View File

@@ -0,0 +1,184 @@
<?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\Resource;
use Google\Service\Directory\AdminEmpty;
use Google\Service\Directory\BatchCreatePrintServersRequest;
use Google\Service\Directory\BatchCreatePrintServersResponse;
use Google\Service\Directory\BatchDeletePrintServersRequest;
use Google\Service\Directory\BatchDeletePrintServersResponse;
use Google\Service\Directory\ListPrintServersResponse;
use Google\Service\Directory\PrintServer;
/**
* The "printServers" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $printServers = $adminService->customers_chrome_printServers;
* </code>
*/
class CustomersChromePrintServers extends \Google\Service\Resource
{
/**
* Creates multiple print servers. (printServers.batchCreatePrintServers)
*
* @param string $parent Required. The [unique
* ID](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace
* account. Format: `customers/{id}`
* @param BatchCreatePrintServersRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchCreatePrintServersResponse
* @throws \Google\Service\Exception
*/
public function batchCreatePrintServers($parent, BatchCreatePrintServersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchCreatePrintServers', [$params], BatchCreatePrintServersResponse::class);
}
/**
* Deletes multiple print servers. (printServers.batchDeletePrintServers)
*
* @param string $parent Required. The [unique
* ID](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace
* account. Format: `customers/{customer.id}`
* @param BatchDeletePrintServersRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchDeletePrintServersResponse
* @throws \Google\Service\Exception
*/
public function batchDeletePrintServers($parent, BatchDeletePrintServersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDeletePrintServers', [$params], BatchDeletePrintServersResponse::class);
}
/**
* Creates a print server. (printServers.create)
*
* @param string $parent Required. The [unique
* ID](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace
* account. Format: `customers/{id}`
* @param PrintServer $postBody
* @param array $optParams Optional parameters.
* @return PrintServer
* @throws \Google\Service\Exception
*/
public function create($parent, PrintServer $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], PrintServer::class);
}
/**
* Deletes a print server. (printServers.delete)
*
* @param string $name Required. The name of the print server to be deleted.
* Format: `customers/{customer.id}/chrome/printServers/{print_server.id}`
* @param array $optParams Optional parameters.
* @return AdminEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AdminEmpty::class);
}
/**
* Returns a print server's configuration. (printServers.get)
*
* @param string $name Required. The [unique
* ID](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace
* account. Format: `customers/{id}`
* @param array $optParams Optional parameters.
* @return PrintServer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], PrintServer::class);
}
/**
* Lists print server configurations.
* (printServers.listCustomersChromePrintServers)
*
* @param string $parent Required. The [unique
* ID](https://developers.google.com/admin-
* sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace
* account. Format: `customers/{id}`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Search query in [Common Expression Language
* syntax](https://github.com/google/cel-spec). Supported filters are
* `display_name`, `description`, and `uri`. Example:
* `printServer.displayName=='marketing-queue'`.
* @opt_param string orderBy Sort order for results. Supported values are
* `display_name`, `description`, or `create_time`. Default order is ascending,
* but descending order can be returned by appending "desc" to the `order_by`
* field. For instance, `orderBy=='description desc'` returns the print servers
* sorted by description in descending order.
* @opt_param string orgUnitId If `org_unit_id` is present in the request, only
* print servers owned or inherited by the organizational unit (OU) are
* returned. If the `PrintServer` resource's `org_unit_id` matches the one in
* the request, the OU owns the server. If `org_unit_id` is not specified in the
* request, all print servers are returned or filtered against.
* @opt_param int pageSize The maximum number of objects to return (default
* `100`, max `100`). The service might return fewer than this value.
* @opt_param string pageToken A generated token to paginate results (the
* `next_page_token` from a previous call).
* @return ListPrintServersResponse
* @throws \Google\Service\Exception
*/
public function listCustomersChromePrintServers($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrintServersResponse::class);
}
/**
* Updates a print server's configuration. (printServers.patch)
*
* @param string $name Immutable. Resource name of the print server. Leave empty
* when creating. Format:
* `customers/{customer.id}/printServers/{print_server.id}`
* @param PrintServer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The list of fields to update. Some fields are
* read-only and cannot be updated. Values for unspecified fields are patched.
* @return PrintServer
* @throws \Google\Service\Exception
*/
public function patch($name, PrintServer $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], PrintServer::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersChromePrintServers::class, 'Google_Service_Directory_Resource_CustomersChromePrintServers');

View File

@@ -0,0 +1,199 @@
<?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\Resource;
use Google\Service\Directory\AdminEmpty;
use Google\Service\Directory\BatchCreatePrintersRequest;
use Google\Service\Directory\BatchCreatePrintersResponse;
use Google\Service\Directory\BatchDeletePrintersRequest;
use Google\Service\Directory\BatchDeletePrintersResponse;
use Google\Service\Directory\ListPrinterModelsResponse;
use Google\Service\Directory\ListPrintersResponse;
use Google\Service\Directory\Printer;
/**
* The "printers" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $printers = $adminService->customers_chrome_printers;
* </code>
*/
class CustomersChromePrinters extends \Google\Service\Resource
{
/**
* Creates printers under given Organization Unit.
* (printers.batchCreatePrinters)
*
* @param string $parent Required. The name of the customer. Format:
* customers/{customer_id}
* @param BatchCreatePrintersRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchCreatePrintersResponse
* @throws \Google\Service\Exception
*/
public function batchCreatePrinters($parent, BatchCreatePrintersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchCreatePrinters', [$params], BatchCreatePrintersResponse::class);
}
/**
* Deletes printers in batch. (printers.batchDeletePrinters)
*
* @param string $parent Required. The name of the customer. Format:
* customers/{customer_id}
* @param BatchDeletePrintersRequest $postBody
* @param array $optParams Optional parameters.
* @return BatchDeletePrintersResponse
* @throws \Google\Service\Exception
*/
public function batchDeletePrinters($parent, BatchDeletePrintersRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('batchDeletePrinters', [$params], BatchDeletePrintersResponse::class);
}
/**
* Creates a printer under given Organization Unit. (printers.create)
*
* @param string $parent Required. The name of the customer. Format:
* customers/{customer_id}
* @param Printer $postBody
* @param array $optParams Optional parameters.
* @return Printer
* @throws \Google\Service\Exception
*/
public function create($parent, Printer $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Printer::class);
}
/**
* Deletes a `Printer`. (printers.delete)
*
* @param string $name Required. The name of the printer to be updated. Format:
* customers/{customer_id}/chrome/printers/{printer_id}
* @param array $optParams Optional parameters.
* @return AdminEmpty
* @throws \Google\Service\Exception
*/
public function delete($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], AdminEmpty::class);
}
/**
* Returns a `Printer` resource (printer's config). (printers.get)
*
* @param string $name Required. The name of the printer to retrieve. Format:
* customers/{customer_id}/chrome/printers/{printer_id}
* @param array $optParams Optional parameters.
* @return Printer
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Printer::class);
}
/**
* List printers configs. (printers.listCustomersChromePrinters)
*
* @param string $parent Required. The name of the customer who owns this
* collection of printers. Format: customers/{customer_id}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Search query. Search syntax is shared between this
* api and Admin Console printers pages.
* @opt_param string orderBy The order to sort results by. Must be one of
* display_name, description, make_and_model, or create_time. Default order is
* ascending, but descending order can be returned by appending "desc" to the
* order_by field. For instance, "description desc" will return the printers
* sorted by description in descending order.
* @opt_param string orgUnitId Organization Unit that we want to list the
* printers for. When org_unit is not present in the request then all printers
* of the customer are returned (or filtered). When org_unit is present in the
* request then only printers available to this OU will be returned (owned or
* inherited). You may see if printer is owned or inherited for this OU by
* looking at Printer.org_unit_id.
* @opt_param int pageSize The maximum number of objects to return. The service
* may return fewer than this value.
* @opt_param string pageToken A page token, received from a previous call.
* @return ListPrintersResponse
* @throws \Google\Service\Exception
*/
public function listCustomersChromePrinters($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListPrintersResponse::class);
}
/**
* Lists the supported printer models. (printers.listPrinterModels)
*
* @param string $parent Required. The name of the customer who owns this
* collection of printers. Format: customers/{customer_id}
* @param array $optParams Optional parameters.
*
* @opt_param string filter Filer to list only models by a given manufacturer in
* format: "manufacturer:Brother". Search syntax is shared between this api and
* Admin Console printers pages.
* @opt_param int pageSize The maximum number of objects to return. The service
* may return fewer than this value.
* @opt_param string pageToken A page token, received from a previous call.
* @return ListPrinterModelsResponse
* @throws \Google\Service\Exception
*/
public function listPrinterModels($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('listPrinterModels', [$params], ListPrinterModelsResponse::class);
}
/**
* Updates a `Printer` resource. (printers.patch)
*
* @param string $name The resource name of the Printer object, in the format
* customers/{customer-id}/printers/{printer-id} (During printer creation leave
* empty)
* @param Printer $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string clearMask The list of fields to be cleared. Note, some of
* the fields are read only and cannot be updated. Values for not specified
* fields will be patched.
* @opt_param string updateMask The list of fields to be updated. Note, some of
* the fields are read only and cannot be updated. Values for not specified
* fields will be patched.
* @return Printer
* @throws \Google\Service\Exception
*/
public function patch($name, Printer $postBody, $optParams = [])
{
$params = ['name' => $name, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Printer::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersChromePrinters::class, 'Google_Service_Directory_Resource_CustomersChromePrinters');

View File

@@ -0,0 +1,109 @@
<?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\Resource;
use Google\Service\Directory\DomainAlias;
use Google\Service\Directory\DomainAliases as DomainAliasesModel;
/**
* The "domainAliases" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $domainAliases = $adminService->domainAliases;
* </code>
*/
class DomainAliases extends \Google\Service\Resource
{
/**
* Deletes a domain Alias of the customer. (domainAliases.delete)
*
* @param string $customer Immutable ID of the Google Workspace account.
* @param string $domainAliasName Name of domain alias to be retrieved.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($customer, $domainAliasName, $optParams = [])
{
$params = ['customer' => $customer, 'domainAliasName' => $domainAliasName];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves a domain alias of the customer. (domainAliases.get)
*
* @param string $customer The unique ID for the customer's Google Workspace
* account. In case of a multi-domain account, to fetch all groups for a
* customer, use this field instead of `domain`. You can also use the
* `my_customer` alias to represent your account's `customerId`. The
* `customerId` is also returned as part of the [Users](/admin-
* sdk/directory/v1/reference/users) resource. You must provide either the
* `customer` or the `domain` parameter.
* @param string $domainAliasName Name of domain alias to be retrieved.
* @param array $optParams Optional parameters.
* @return DomainAlias
* @throws \Google\Service\Exception
*/
public function get($customer, $domainAliasName, $optParams = [])
{
$params = ['customer' => $customer, 'domainAliasName' => $domainAliasName];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DomainAlias::class);
}
/**
* Inserts a domain alias of the customer. (domainAliases.insert)
*
* @param string $customer Immutable ID of the Google Workspace account.
* @param DomainAlias $postBody
* @param array $optParams Optional parameters.
* @return DomainAlias
* @throws \Google\Service\Exception
*/
public function insert($customer, DomainAlias $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], DomainAlias::class);
}
/**
* Lists the domain aliases of the customer. (domainAliases.listDomainAliases)
*
* @param string $customer The unique ID for the customer's Google Workspace
* account. In case of a multi-domain account, to fetch all groups for a
* customer, use this field instead of `domain`. You can also use the
* `my_customer` alias to represent your account's `customerId`. The
* `customerId` is also returned as part of the [Users](/admin-
* sdk/directory/v1/reference/users) resource. You must provide either the
* `customer` or the `domain` parameter.
* @param array $optParams Optional parameters.
*
* @opt_param string parentDomainName Name of the parent domain for which domain
* aliases are to be fetched.
* @return DomainAliasesModel
* @throws \Google\Service\Exception
*/
public function listDomainAliases($customer, $optParams = [])
{
$params = ['customer' => $customer];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], DomainAliasesModel::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DomainAliases::class, 'Google_Service_Directory_Resource_DomainAliases');

View File

@@ -0,0 +1,106 @@
<?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\Resource;
use Google\Service\Directory\Domains as DomainsModel;
use Google\Service\Directory\Domains2;
/**
* The "domains" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $domains = $adminService->domains;
* </code>
*/
class Domains extends \Google\Service\Resource
{
/**
* Deletes a domain of the customer. (domains.delete)
*
* @param string $customer Immutable ID of the Google Workspace account.
* @param string $domainName Name of domain to be deleted
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($customer, $domainName, $optParams = [])
{
$params = ['customer' => $customer, 'domainName' => $domainName];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves a domain of the customer. (domains.get)
*
* @param string $customer The unique ID for the customer's Google Workspace
* account. In case of a multi-domain account, to fetch all groups for a
* customer, use this field instead of `domain`. You can also use the
* `my_customer` alias to represent your account's `customerId`. The
* `customerId` is also returned as part of the [Users](/admin-
* sdk/directory/v1/reference/users) resource. You must provide either the
* `customer` or the `domain` parameter.
* @param string $domainName Name of domain to be retrieved
* @param array $optParams Optional parameters.
* @return DomainsModel
* @throws \Google\Service\Exception
*/
public function get($customer, $domainName, $optParams = [])
{
$params = ['customer' => $customer, 'domainName' => $domainName];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], DomainsModel::class);
}
/**
* Inserts a domain of the customer. (domains.insert)
*
* @param string $customer Immutable ID of the Google Workspace account.
* @param DomainsModel $postBody
* @param array $optParams Optional parameters.
* @return DomainsModel
* @throws \Google\Service\Exception
*/
public function insert($customer, DomainsModel $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], DomainsModel::class);
}
/**
* Lists the domains of the customer. (domains.listDomains)
*
* @param string $customer The unique ID for the customer's Google Workspace
* account. In case of a multi-domain account, to fetch all groups for a
* customer, use this field instead of `domain`. You can also use the
* `my_customer` alias to represent your account's `customerId`. The
* `customerId` is also returned as part of the [Users](/admin-
* sdk/directory/v1/reference/users) resource. You must provide either the
* `customer` or the `domain` parameter.
* @param array $optParams Optional parameters.
* @return Domains2
* @throws \Google\Service\Exception
*/
public function listDomains($customer, $optParams = [])
{
$params = ['customer' => $customer];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Domains2::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Domains::class, 'Google_Service_Directory_Resource_Domains');

View File

@@ -0,0 +1,150 @@
<?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\Resource;
use Google\Service\Directory\Group;
use Google\Service\Directory\Groups as GroupsModel;
/**
* The "groups" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $groups = $adminService->groups;
* </code>
*/
class Groups extends \Google\Service\Resource
{
/**
* Deletes a group. (groups.delete)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($groupKey, $optParams = [])
{
$params = ['groupKey' => $groupKey];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Retrieves a group's properties. (groups.get)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param array $optParams Optional parameters.
* @return Group
* @throws \Google\Service\Exception
*/
public function get($groupKey, $optParams = [])
{
$params = ['groupKey' => $groupKey];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], Group::class);
}
/**
* Creates a group. (groups.insert)
*
* @param Group $postBody
* @param array $optParams Optional parameters.
* @return Group
* @throws \Google\Service\Exception
*/
public function insert(Group $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Group::class);
}
/**
* Retrieves all groups of a domain or of a user given a userKey (paginated).
* (groups.listGroups)
*
* @param array $optParams Optional parameters.
*
* @opt_param string customer The unique ID for the customer's Google Workspace
* account. In case of a multi-domain account, to fetch all groups for a
* customer, use this field instead of `domain`. You can also use the
* `my_customer` alias to represent your account's `customerId`. The
* `customerId` is also returned as part of the [Users](/admin-
* sdk/directory/v1/reference/users) resource. You must provide either the
* `customer` or the `domain` parameter.
* @opt_param string domain The domain name. Use this field to get groups from
* only one domain. To return all domains for a customer account, use the
* `customer` query parameter instead.
* @opt_param int maxResults Maximum number of results to return. Max allowed
* value is 200.
* @opt_param string orderBy Column to use for sorting results
* @opt_param string pageToken Token to specify next page in the list
* @opt_param string query Query string search. Should be of the form "".
* Complete documentation is at https: //developers.google.com/admin-
* sdk/directory/v1/guides/search-groups
* @opt_param string sortOrder Whether to return results in ascending or
* descending order. Only of use when orderBy is also used
* @opt_param string userKey Email or immutable ID of the user if only those
* groups are to be listed, the given user is a member of. If it's an ID, it
* should match with the ID of the user object. Cannot be used with the
* `customer` parameter.
* @return GroupsModel
* @throws \Google\Service\Exception
*/
public function listGroups($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GroupsModel::class);
}
/**
* Updates a group's properties. This method supports [patch semantics](/admin-
* sdk/directory/v1/guides/performance#patch). (groups.patch)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param Group $postBody
* @param array $optParams Optional parameters.
* @return Group
* @throws \Google\Service\Exception
*/
public function patch($groupKey, Group $postBody, $optParams = [])
{
$params = ['groupKey' => $groupKey, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('patch', [$params], Group::class);
}
/**
* Updates a group's properties. (groups.update)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param Group $postBody
* @param array $optParams Optional parameters.
* @return Group
* @throws \Google\Service\Exception
*/
public function update($groupKey, Group $postBody, $optParams = [])
{
$params = ['groupKey' => $groupKey, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('update', [$params], Group::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Groups::class, 'Google_Service_Directory_Resource_Groups');

View File

@@ -0,0 +1,82 @@
<?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\Resource;
use Google\Service\Directory\Alias;
use Google\Service\Directory\Aliases;
/**
* The "aliases" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google\Service\Directory(...);
* $aliases = $adminService->groups_aliases;
* </code>
*/
class GroupsAliases extends \Google\Service\Resource
{
/**
* Removes an alias. (aliases.delete)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param string $alias The alias to be removed
* @param array $optParams Optional parameters.
* @throws \Google\Service\Exception
*/
public function delete($groupKey, $alias, $optParams = [])
{
$params = ['groupKey' => $groupKey, 'alias' => $alias];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params]);
}
/**
* Adds an alias for the group. (aliases.insert)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param Alias $postBody
* @param array $optParams Optional parameters.
* @return Alias
* @throws \Google\Service\Exception
*/
public function insert($groupKey, Alias $postBody, $optParams = [])
{
$params = ['groupKey' => $groupKey, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('insert', [$params], Alias::class);
}
/**
* Lists all aliases for a group. (aliases.listGroupsAliases)
*
* @param string $groupKey Identifies the group in the API request. The value
* can be the group's email address, group alias, or the unique group ID.
* @param array $optParams Optional parameters.
* @return Aliases
* @throws \Google\Service\Exception
*/
public function listGroupsAliases($groupKey, $optParams = [])
{
$params = ['groupKey' => $groupKey];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], Aliases::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GroupsAliases::class, 'Google_Service_Directory_Resource_GroupsAliases');

Some files were not shown because too many files have changed in this diff Show More