Mise à jour des librairies
This commit is contained in:
@@ -20,6 +20,8 @@ class Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest extends Googl
|
||||
public $customerId;
|
||||
protected $deviceIdentifierType = 'Google_Service_AndroidProvisioningPartner_DeviceIdentifier';
|
||||
protected $deviceIdentifierDataType = '';
|
||||
protected $deviceMetadataType = 'Google_Service_AndroidProvisioningPartner_DeviceMetadata';
|
||||
protected $deviceMetadataDataType = '';
|
||||
public $sectionType;
|
||||
|
||||
public function setCustomerId($customerId)
|
||||
@@ -44,6 +46,20 @@ class Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest extends Googl
|
||||
{
|
||||
return $this->deviceIdentifier;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_DeviceMetadata
|
||||
*/
|
||||
public function setDeviceMetadata(Google_Service_AndroidProvisioningPartner_DeviceMetadata $deviceMetadata)
|
||||
{
|
||||
$this->deviceMetadata = $deviceMetadata;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
|
||||
*/
|
||||
public function getDeviceMetadata()
|
||||
{
|
||||
return $this->deviceMetadata;
|
||||
}
|
||||
public function setSectionType($sectionType)
|
||||
{
|
||||
$this->sectionType = $sectionType;
|
||||
|
||||
@@ -23,6 +23,7 @@ class Google_Service_AndroidProvisioningPartner_Company extends Google_Collectio
|
||||
public $companyName;
|
||||
public $name;
|
||||
public $ownerEmails;
|
||||
public $termsStatus;
|
||||
|
||||
public function setAdminEmails($adminEmails)
|
||||
{
|
||||
@@ -64,4 +65,12 @@ class Google_Service_AndroidProvisioningPartner_Company extends Google_Collectio
|
||||
{
|
||||
return $this->ownerEmails;
|
||||
}
|
||||
public function setTermsStatus($termsStatus)
|
||||
{
|
||||
$this->termsStatus = $termsStatus;
|
||||
}
|
||||
public function getTermsStatus()
|
||||
{
|
||||
return $this->termsStatus;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
class Google_Service_AndroidProvisioningPartner_DeviceClaim extends Google_Model
|
||||
{
|
||||
public $ownerCompanyId;
|
||||
public $resellerId;
|
||||
public $sectionType;
|
||||
|
||||
public function setOwnerCompanyId($ownerCompanyId)
|
||||
@@ -28,6 +29,14 @@ class Google_Service_AndroidProvisioningPartner_DeviceClaim extends Google_Model
|
||||
{
|
||||
return $this->ownerCompanyId;
|
||||
}
|
||||
public function setResellerId($resellerId)
|
||||
{
|
||||
$this->resellerId = $resellerId;
|
||||
}
|
||||
public function getResellerId()
|
||||
{
|
||||
return $this->resellerId;
|
||||
}
|
||||
public function setSectionType($sectionType)
|
||||
{
|
||||
$this->sectionType = $sectionType;
|
||||
|
||||
@@ -20,6 +20,7 @@ class Google_Service_AndroidProvisioningPartner_DeviceIdentifier extends Google_
|
||||
public $imei;
|
||||
public $manufacturer;
|
||||
public $meid;
|
||||
public $model;
|
||||
public $serialNumber;
|
||||
|
||||
public function setImei($imei)
|
||||
@@ -46,6 +47,14 @@ class Google_Service_AndroidProvisioningPartner_DeviceIdentifier extends Google_
|
||||
{
|
||||
return $this->meid;
|
||||
}
|
||||
public function setModel($model)
|
||||
{
|
||||
$this->model = $model;
|
||||
}
|
||||
public function getModel()
|
||||
{
|
||||
return $this->model;
|
||||
}
|
||||
public function setSerialNumber($serialNumber)
|
||||
{
|
||||
$this->serialNumber = $serialNumber;
|
||||
|
||||
@@ -21,6 +21,7 @@ class Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRes
|
||||
protected $devicesType = 'Google_Service_AndroidProvisioningPartner_Device';
|
||||
protected $devicesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_Device
|
||||
@@ -44,4 +45,12 @@ class Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRes
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ class Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerResponse exten
|
||||
protected $devicesType = 'Google_Service_AndroidProvisioningPartner_Device';
|
||||
protected $devicesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_Device
|
||||
@@ -44,4 +45,12 @@ class Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerResponse exten
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@ class Google_Service_AndroidProvisioningPartner_ListCustomersResponse extends Go
|
||||
protected $collection_key = 'customers';
|
||||
protected $customersType = 'Google_Service_AndroidProvisioningPartner_Company';
|
||||
protected $customersDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_Company
|
||||
@@ -35,4 +37,20 @@ class Google_Service_AndroidProvisioningPartner_ListCustomersResponse extends Go
|
||||
{
|
||||
return $this->customers;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
<?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_AndroidProvisioningPartner_ListVendorCustomersResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'customers';
|
||||
protected $customersType = 'Google_Service_AndroidProvisioningPartner_Company';
|
||||
protected $customersDataType = 'array';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_Company
|
||||
*/
|
||||
public function setCustomers($customers)
|
||||
{
|
||||
$this->customers = $customers;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_AndroidProvisioningPartner_Company
|
||||
*/
|
||||
public function getCustomers()
|
||||
{
|
||||
return $this->customers;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
<?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_AndroidProvisioningPartner_ListVendorsResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'vendors';
|
||||
public $nextPageToken;
|
||||
public $totalSize;
|
||||
protected $vendorsType = 'Google_Service_AndroidProvisioningPartner_Company';
|
||||
protected $vendorsDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
public function setTotalSize($totalSize)
|
||||
{
|
||||
$this->totalSize = $totalSize;
|
||||
}
|
||||
public function getTotalSize()
|
||||
{
|
||||
return $this->totalSize;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_AndroidProvisioningPartner_Company
|
||||
*/
|
||||
public function setVendors($vendors)
|
||||
{
|
||||
$this->vendors = $vendors;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_AndroidProvisioningPartner_Company
|
||||
*/
|
||||
public function getVendors()
|
||||
{
|
||||
return $this->vendors;
|
||||
}
|
||||
}
|
||||
@@ -28,8 +28,9 @@ class Google_Service_AndroidProvisioningPartner_Resource_PartnersCustomers exten
|
||||
/**
|
||||
* Creates a customer for zero-touch enrollment. After the method returns
|
||||
* successfully, admin and owner roles can manage devices and EMM configs by
|
||||
* calling API methods or using their zero-touch enrollment portal. The API
|
||||
* doesn't notify the customer that they have access. (customers.create)
|
||||
* calling API methods or using their zero-touch enrollment portal. The customer
|
||||
* receives an email that welcomes them to zero-touch enrollment and explains
|
||||
* how to sign into the portal. (customers.create)
|
||||
*
|
||||
* @param string $parent Required. The parent resource ID in the format
|
||||
* `partners/[PARTNER_ID]` that identifies the reseller.
|
||||
@@ -51,6 +52,11 @@ class Google_Service_AndroidProvisioningPartner_Resource_PartnersCustomers exten
|
||||
*
|
||||
* @param string $partnerId Required. The ID of the reseller partner.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken A token identifying a page of results returned by
|
||||
* the server.
|
||||
* @opt_param int pageSize The maximum number of results to be returned. If not
|
||||
* specified or 0, all the records are returned.
|
||||
* @return Google_Service_AndroidProvisioningPartner_ListCustomersResponse
|
||||
*/
|
||||
public function listPartnersCustomers($partnerId, $optParams = array())
|
||||
|
||||
@@ -108,7 +108,7 @@ class Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices extends
|
||||
*
|
||||
* @param string $metadataOwnerId Required. The owner of the newly set metadata.
|
||||
* Set this to the partner ID.
|
||||
* @param string $deviceId Required. The ID of the reseller partner.
|
||||
* @param string $deviceId Required. The ID of the device.
|
||||
* @param Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_AndroidProvisioningPartner_DeviceMetadata
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
<?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 "vendors" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
|
||||
* $vendors = $androiddeviceprovisioningService->vendors;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AndroidProvisioningPartner_Resource_PartnersVendors extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the vendors of the partner. (vendors.listPartnersVendors)
|
||||
*
|
||||
* @param string $parent Required. The resource name in the format
|
||||
* `partners/[PARTNER_ID]`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken A token identifying a page of results returned by
|
||||
* the server.
|
||||
* @opt_param int pageSize The maximum number of results to be returned.
|
||||
* @return Google_Service_AndroidProvisioningPartner_ListVendorsResponse
|
||||
*/
|
||||
public function listPartnersVendors($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_ListVendorsResponse");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?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 "customers" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...);
|
||||
* $customers = $androiddeviceprovisioningService->customers;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_AndroidProvisioningPartner_Resource_PartnersVendorsCustomers extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the customers of the vendor. (customers.listPartnersVendorsCustomers)
|
||||
*
|
||||
* @param string $parent Required. The resource name in the format
|
||||
* `partners/[PARTNER_ID]/vendors/[VENDOR_ID]`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken A token identifying a page of results returned by
|
||||
* the server.
|
||||
* @opt_param int pageSize The maximum number of results to be returned.
|
||||
* @return Google_Service_AndroidProvisioningPartner_ListVendorCustomersResponse
|
||||
*/
|
||||
public function listPartnersVendorsCustomers($parent, $optParams = array())
|
||||
{
|
||||
$params = array('parent' => $parent);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_ListVendorCustomersResponse");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user