Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,94 @@
<?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.
*/
class Google_Service_Directory_AppAccessCollections extends Google_Collection
{
protected $collection_key = 'blockedApiAccessBuckets';
public $blockedApiAccessBuckets;
public $enforceSettingsForAndroidDrive;
public $errorMessage;
public $etag;
public $kind;
public $resourceId;
public $resourceName;
public $trustDomainOwnedApps;
public function setBlockedApiAccessBuckets($blockedApiAccessBuckets)
{
$this->blockedApiAccessBuckets = $blockedApiAccessBuckets;
}
public function getBlockedApiAccessBuckets()
{
return $this->blockedApiAccessBuckets;
}
public function setEnforceSettingsForAndroidDrive($enforceSettingsForAndroidDrive)
{
$this->enforceSettingsForAndroidDrive = $enforceSettingsForAndroidDrive;
}
public function getEnforceSettingsForAndroidDrive()
{
return $this->enforceSettingsForAndroidDrive;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setResourceId($resourceId)
{
$this->resourceId = $resourceId;
}
public function getResourceId()
{
return $this->resourceId;
}
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
public function getResourceName()
{
return $this->resourceName;
}
public function setTrustDomainOwnedApps($trustDomainOwnedApps)
{
$this->trustDomainOwnedApps = $trustDomainOwnedApps;
}
public function getTrustDomainOwnedApps()
{
return $this->trustDomainOwnedApps;
}
}

View File

@@ -0,0 +1,92 @@
<?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.
*/
class Google_Service_Directory_Building extends Google_Collection
{
protected $collection_key = 'floorNames';
public $buildingId;
public $buildingName;
protected $coordinatesType = 'Google_Service_Directory_BuildingCoordinates';
protected $coordinatesDataType = '';
public $description;
public $etags;
public $floorNames;
public $kind;
public function setBuildingId($buildingId)
{
$this->buildingId = $buildingId;
}
public function getBuildingId()
{
return $this->buildingId;
}
public function setBuildingName($buildingName)
{
$this->buildingName = $buildingName;
}
public function getBuildingName()
{
return $this->buildingName;
}
/**
* @param Google_Service_Directory_BuildingCoordinates
*/
public function setCoordinates(Google_Service_Directory_BuildingCoordinates $coordinates)
{
$this->coordinates = $coordinates;
}
/**
* @return Google_Service_Directory_BuildingCoordinates
*/
public function getCoordinates()
{
return $this->coordinates;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setEtags($etags)
{
$this->etags = $etags;
}
public function getEtags()
{
return $this->etags;
}
public function setFloorNames($floorNames)
{
$this->floorNames = $floorNames;
}
public function getFloorNames()
{
return $this->floorNames;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_Directory_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;
}
}

View File

@@ -0,0 +1,65 @@
<?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.
*/
class Google_Service_Directory_Buildings extends Google_Collection
{
protected $collection_key = 'buildings';
protected $buildingsType = 'Google_Service_Directory_Building';
protected $buildingsDataType = 'array';
public $etag;
public $kind;
public $nextPageToken;
/**
* @param Google_Service_Directory_Building
*/
public function setBuildings($buildings)
{
$this->buildings = $buildings;
}
/**
* @return Google_Service_Directory_Building
*/
public function getBuildings()
{
return $this->buildings;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,57 @@
<?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.
*/
class Google_Service_Directory_ChromeOsDeviceDeviceFiles extends Google_Model
{
public $createTime;
public $downloadUrl;
public $name;
public $type;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setDownloadUrl($downloadUrl)
{
$this->downloadUrl = $downloadUrl;
}
public function getDownloadUrl()
{
return $this->downloadUrl;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,75 @@
<?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.
*/
class Google_Service_Directory_ChromeOsDeviceTpmVersionInfo extends Google_Model
{
public $family;
public $firmwareVersion;
public $manufacturer;
public $specLevel;
public $tpmModel;
public $vendorSpecific;
public function setFamily($family)
{
$this->family = $family;
}
public function getFamily()
{
return $this->family;
}
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
}
public function getFirmwareVersion()
{
return $this->firmwareVersion;
}
public function setManufacturer($manufacturer)
{
$this->manufacturer = $manufacturer;
}
public function getManufacturer()
{
return $this->manufacturer;
}
public function setSpecLevel($specLevel)
{
$this->specLevel = $specLevel;
}
public function getSpecLevel()
{
return $this->specLevel;
}
public function setTpmModel($tpmModel)
{
$this->tpmModel = $tpmModel;
}
public function getTpmModel()
{
return $this->tpmModel;
}
public function setVendorSpecific($vendorSpecific)
{
$this->vendorSpecific = $vendorSpecific;
}
public function getVendorSpecific()
{
return $this->vendorSpecific;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_Directory_ChromeOsMoveDevicesToOu extends Google_Collection
{
protected $collection_key = 'deviceIds';
public $deviceIds;
public function setDeviceIds($deviceIds)
{
$this->deviceIds = $deviceIds;
}
public function getDeviceIds()
{
return $this->deviceIds;
}
}

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.
*/
class Google_Service_Directory_Feature extends Google_Model
{
public $etags;
public $kind;
public $name;
public function setEtags($etags)
{
$this->etags = $etags;
}
public function getEtags()
{
return $this->etags;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_Directory_FeatureInstance extends Google_Model
{
protected $featureType = 'Google_Service_Directory_Feature';
protected $featureDataType = '';
/**
* @param Google_Service_Directory_Feature
*/
public function setFeature(Google_Service_Directory_Feature $feature)
{
$this->feature = $feature;
}
/**
* @return Google_Service_Directory_Feature
*/
public function getFeature()
{
return $this->feature;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_Directory_FeatureRename extends Google_Model
{
public $newName;
public function setNewName($newName)
{
$this->newName = $newName;
}
public function getNewName()
{
return $this->newName;
}
}

View File

@@ -0,0 +1,65 @@
<?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.
*/
class Google_Service_Directory_Features extends Google_Collection
{
protected $collection_key = 'features';
public $etag;
protected $featuresType = 'Google_Service_Directory_Feature';
protected $featuresDataType = 'array';
public $kind;
public $nextPageToken;
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
/**
* @param Google_Service_Directory_Feature
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Google_Service_Directory_Feature
*/
public function getFeatures()
{
return $this->features;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_Directory_MembersHasMember extends Google_Model
{
public $isMember;
public function setIsMember($isMember)
{
$this->isMember = $isMember;
}
public function getIsMember()
{
return $this->isMember;
}
}

View File

@@ -0,0 +1,54 @@
<?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.
*/
/**
* The "resolvedAppAccessSettings" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google_Service_Directory(...);
* $resolvedAppAccessSettings = $adminService->resolvedAppAccessSettings;
* </code>
*/
class Google_Service_Directory_Resource_ResolvedAppAccessSettings extends Google_Service_Resource
{
/**
* Retrieves resolved app access settings of the logged in user.
* (resolvedAppAccessSettings.GetSettings)
*
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_AppAccessCollections
*/
public function GetSettings($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('GetSettings', array($params), "Google_Service_Directory_AppAccessCollections");
}
/**
* Retrieves the list of apps trusted by the admin of the logged in user.
* (resolvedAppAccessSettings.ListTrustedApps)
*
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_TrustedApps
*/
public function ListTrustedApps($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('ListTrustedApps', array($params), "Google_Service_Directory_TrustedApps");
}
}

View File

@@ -0,0 +1,128 @@
<?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.
*/
/**
* The "buildings" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google_Service_Directory(...);
* $buildings = $adminService->buildings;
* </code>
*/
class Google_Service_Directory_Resource_ResourcesBuildings extends Google_Service_Resource
{
/**
* Deletes a building. (buildings.delete)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $buildingId The ID of the building to delete.
* @param array $optParams Optional parameters.
*/
public function delete($customer, $buildingId, $optParams = array())
{
$params = array('customer' => $customer, 'buildingId' => $buildingId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Retrieves a building. (buildings.get)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $buildingId The unique ID of the building to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Building
*/
public function get($customer, $buildingId, $optParams = array())
{
$params = array('customer' => $customer, 'buildingId' => $buildingId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Directory_Building");
}
/**
* Inserts a building. (buildings.insert)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param Google_Service_Directory_Building $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Building
*/
public function insert($customer, Google_Service_Directory_Building $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Directory_Building");
}
/**
* Retrieves a list of buildings for an account.
* (buildings.listResourcesBuildings)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of results to return.
* @opt_param string pageToken Token to specify the next page in the list.
* @return Google_Service_Directory_Buildings
*/
public function listResourcesBuildings($customer, $optParams = array())
{
$params = array('customer' => $customer);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Directory_Buildings");
}
/**
* Updates a building. This method supports patch semantics. (buildings.patch)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $buildingId The ID of the building to update.
* @param Google_Service_Directory_Building $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Building
*/
public function patch($customer, $buildingId, Google_Service_Directory_Building $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'buildingId' => $buildingId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Directory_Building");
}
/**
* Updates a building. (buildings.update)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $buildingId The ID of the building to update.
* @param Google_Service_Directory_Building $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Building
*/
public function update($customer, $buildingId, Google_Service_Directory_Building $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'buildingId' => $buildingId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Directory_Building");
}
}

View File

@@ -0,0 +1,143 @@
<?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.
*/
/**
* The "features" collection of methods.
* Typical usage is:
* <code>
* $adminService = new Google_Service_Directory(...);
* $features = $adminService->features;
* </code>
*/
class Google_Service_Directory_Resource_ResourcesFeatures extends Google_Service_Resource
{
/**
* Deletes a feature. (features.delete)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $featureKey The unique ID of the feature to delete.
* @param array $optParams Optional parameters.
*/
public function delete($customer, $featureKey, $optParams = array())
{
$params = array('customer' => $customer, 'featureKey' => $featureKey);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
}
/**
* Retrieves a feature. (features.get)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $featureKey The unique ID of the feature to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Feature
*/
public function get($customer, $featureKey, $optParams = array())
{
$params = array('customer' => $customer, 'featureKey' => $featureKey);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Directory_Feature");
}
/**
* Inserts a feature. (features.insert)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param Google_Service_Directory_Feature $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Feature
*/
public function insert($customer, Google_Service_Directory_Feature $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Directory_Feature");
}
/**
* Retrieves a list of features for an account. (features.listResourcesFeatures)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults Maximum number of results to return.
* @opt_param string pageToken Token to specify the next page in the list.
* @return Google_Service_Directory_Features
*/
public function listResourcesFeatures($customer, $optParams = array())
{
$params = array('customer' => $customer);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Directory_Features");
}
/**
* Updates a feature. This method supports patch semantics. (features.patch)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $featureKey The unique ID of the feature to update.
* @param Google_Service_Directory_Feature $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Feature
*/
public function patch($customer, $featureKey, Google_Service_Directory_Feature $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'featureKey' => $featureKey, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Directory_Feature");
}
/**
* Renames a feature. (features.rename)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $oldName The unique ID of the feature to rename.
* @param Google_Service_Directory_FeatureRename $postBody
* @param array $optParams Optional parameters.
*/
public function rename($customer, $oldName, Google_Service_Directory_FeatureRename $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'oldName' => $oldName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('rename', array($params));
}
/**
* Updates a feature. (features.update)
*
* @param string $customer The unique ID for the customer's G Suite account. As
* an account administrator, you can also use the my_customer alias to represent
* your account's customer ID.
* @param string $featureKey The unique ID of the feature to update.
* @param Google_Service_Directory_Feature $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Directory_Feature
*/
public function update($customer, $featureKey, Google_Service_Directory_Feature $postBody, $optParams = array())
{
$params = array('customer' => $customer, 'featureKey' => $featureKey, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Directory_Feature");
}
}

View File

@@ -0,0 +1,66 @@
<?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.
*/
class Google_Service_Directory_TrustedAppId extends Google_Model
{
public $androidPackageName;
public $certificateHashSHA1;
public $certificateHashSHA256;
public $etag;
public $kind;
public function setAndroidPackageName($androidPackageName)
{
$this->androidPackageName = $androidPackageName;
}
public function getAndroidPackageName()
{
return $this->androidPackageName;
}
public function setCertificateHashSHA1($certificateHashSHA1)
{
$this->certificateHashSHA1 = $certificateHashSHA1;
}
public function getCertificateHashSHA1()
{
return $this->certificateHashSHA1;
}
public function setCertificateHashSHA256($certificateHashSHA256)
{
$this->certificateHashSHA256 = $certificateHashSHA256;
}
public function getCertificateHashSHA256()
{
return $this->certificateHashSHA256;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,65 @@
<?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.
*/
class Google_Service_Directory_TrustedApps extends Google_Collection
{
protected $collection_key = 'trustedApps';
public $etag;
public $kind;
public $nextPageToken;
protected $trustedAppsType = 'Google_Service_Directory_TrustedAppId';
protected $trustedAppsDataType = 'array';
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Directory_TrustedAppId
*/
public function setTrustedApps($trustedApps)
{
$this->trustedApps = $trustedApps;
}
/**
* @return Google_Service_Directory_TrustedAppId
*/
public function getTrustedApps()
{
return $this->trustedApps;
}
}

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.
*/
class Google_Service_Directory_UserGender extends Google_Model
{
public $addressMeAs;
public $customGender;
public $type;
public function setAddressMeAs($addressMeAs)
{
$this->addressMeAs = $addressMeAs;
}
public function getAddressMeAs()
{
return $this->addressMeAs;
}
public function setCustomGender($customGender)
{
$this->customGender = $customGender;
}
public function getCustomGender()
{
return $this->customGender;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

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.
*/
class Google_Service_Directory_UserKeyword extends Google_Model
{
public $customType;
public $type;
public $value;
public function setCustomType($customType)
{
$this->customType = $customType;
}
public function getCustomType()
{
return $this->customType;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_Directory_UserLanguage extends Google_Model
{
public $customLanguage;
public $languageCode;
public function setCustomLanguage($customLanguage)
{
$this->customLanguage = $customLanguage;
}
public function getCustomLanguage()
{
return $this->customLanguage;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
}

View File

@@ -0,0 +1,84 @@
<?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.
*/
class Google_Service_Directory_UserLocation extends Google_Model
{
public $area;
public $buildingId;
public $customType;
public $deskCode;
public $floorName;
public $floorSection;
public $type;
public function setArea($area)
{
$this->area = $area;
}
public function getArea()
{
return $this->area;
}
public function setBuildingId($buildingId)
{
$this->buildingId = $buildingId;
}
public function getBuildingId()
{
return $this->buildingId;
}
public function setCustomType($customType)
{
$this->customType = $customType;
}
public function getCustomType()
{
return $this->customType;
}
public function setDeskCode($deskCode)
{
$this->deskCode = $deskCode;
}
public function getDeskCode()
{
return $this->deskCode;
}
public function setFloorName($floorName)
{
$this->floorName = $floorName;
}
public function getFloorName()
{
return $this->floorName;
}
public function setFloorSection($floorSection)
{
$this->floorSection = $floorSection;
}
public function getFloorSection()
{
return $this->floorSection;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,102 @@
<?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.
*/
class Google_Service_Directory_UserPosixAccount extends Google_Model
{
public $accountId;
public $gecos;
public $gid;
public $homeDirectory;
public $primary;
public $shell;
public $systemId;
public $uid;
public $username;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setGecos($gecos)
{
$this->gecos = $gecos;
}
public function getGecos()
{
return $this->gecos;
}
public function setGid($gid)
{
$this->gid = $gid;
}
public function getGid()
{
return $this->gid;
}
public function setHomeDirectory($homeDirectory)
{
$this->homeDirectory = $homeDirectory;
}
public function getHomeDirectory()
{
return $this->homeDirectory;
}
public function setPrimary($primary)
{
$this->primary = $primary;
}
public function getPrimary()
{
return $this->primary;
}
public function setShell($shell)
{
$this->shell = $shell;
}
public function getShell()
{
return $this->shell;
}
public function setSystemId($systemId)
{
$this->systemId = $systemId;
}
public function getSystemId()
{
return $this->systemId;
}
public function setUid($uid)
{
$this->uid = $uid;
}
public function getUid()
{
return $this->uid;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

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.
*/
class Google_Service_Directory_UserSshPublicKey extends Google_Model
{
public $expirationTimeUsec;
public $fingerprint;
public $key;
public function setExpirationTimeUsec($expirationTimeUsec)
{
$this->expirationTimeUsec = $expirationTimeUsec;
}
public function getExpirationTimeUsec()
{
return $this->expirationTimeUsec;
}
public function setFingerprint($fingerprint)
{
$this->fingerprint = $fingerprint;
}
public function getFingerprint()
{
return $this->fingerprint;
}
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
}